jfits
Class ScaleFactory.ShortScaler

java.lang.Object
  extended by jfits.ScaleFactory.ShortScaler
All Implemented Interfaces:
ScaleFactory.Scaler
Enclosing class:
ScaleFactory

public static class ScaleFactory.ShortScaler
extends Object
implements ScaleFactory.Scaler


Constructor Summary
ScaleFactory.ShortScaler()
           
 
Method Summary
 short[] asinhScaleToUShort(Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max, double sigma)
           
 short[] histEQScaleToUShort(Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max, FitsHistogram hist)
           
 short[] linearScaleToUShort(Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max)
           
 short[] logScaleToUShort(Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max)
          There was an error in the original implementation.
 short[] sqrtScaleToUShort(Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max)
           
 short[] squareScaleToUShort(Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleFactory.ShortScaler

public ScaleFactory.ShortScaler()
Method Detail

linearScaleToUShort

public short[] linearScaleToUShort(Object data,
                                   short[] result,
                                   int width,
                                   int height,
                                   double bZero,
                                   double bScale,
                                   double min,
                                   double max)
Specified by:
linearScaleToUShort in interface ScaleFactory.Scaler

logScaleToUShort

public short[] logScaleToUShort(Object data,
                                short[] result,
                                int width,
                                int height,
                                double bZero,
                                double bScale,
                                double min,
                                double max)
There was an error in the original implementation.

Specified by:
logScaleToUShort in interface ScaleFactory.Scaler

sqrtScaleToUShort

public short[] sqrtScaleToUShort(Object data,
                                 short[] result,
                                 int width,
                                 int height,
                                 double bZero,
                                 double bScale,
                                 double min,
                                 double max)
Specified by:
sqrtScaleToUShort in interface ScaleFactory.Scaler

squareScaleToUShort

public short[] squareScaleToUShort(Object data,
                                   short[] result,
                                   int width,
                                   int height,
                                   double bZero,
                                   double bScale,
                                   double min,
                                   double max)
Specified by:
squareScaleToUShort in interface ScaleFactory.Scaler

histEQScaleToUShort

public short[] histEQScaleToUShort(Object data,
                                   short[] result,
                                   int width,
                                   int height,
                                   double bZero,
                                   double bScale,
                                   double min,
                                   double max,
                                   FitsHistogram hist)
Specified by:
histEQScaleToUShort in interface ScaleFactory.Scaler

asinhScaleToUShort

public short[] asinhScaleToUShort(Object data,
                                  short[] result,
                                  int width,
                                  int height,
                                  double bZero,
                                  double bScale,
                                  double min,
                                  double max,
                                  double sigma)
Specified by:
asinhScaleToUShort in interface ScaleFactory.Scaler