edu.jhu.pha.sdss.fits
Class SlowScaleUtils.ShortScaler

java.lang.Object
  extended byedu.jhu.pha.sdss.fits.SlowScaleUtils.ShortScaler
All Implemented Interfaces:
SlowScaleUtils.Scaler
Enclosing class:
SlowScaleUtils

public static class SlowScaleUtils.ShortScaler
extends java.lang.Object
implements SlowScaleUtils.Scaler


Constructor Summary
SlowScaleUtils.ShortScaler()
           
 
Method Summary
 short[] asinhScaleToUShort(java.lang.Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max, double sigma)
           
 short[] histEQScaleToUShort(java.lang.Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max, Histogram hist)
           
 short[] linearScaleToUShort(java.lang.Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max)
           
 short[] logScaleToUShort(java.lang.Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max)
           
 short[] sqrtScaleToUShort(java.lang.Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max)
           
 short[] squareScaleToUShort(java.lang.Object data, short[] result, int width, int height, double bZero, double bScale, double min, double max)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlowScaleUtils.ShortScaler

public SlowScaleUtils.ShortScaler()
Method Detail

linearScaleToUShort

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

logScaleToUShort

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

sqrtScaleToUShort

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

squareScaleToUShort

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

histEQScaleToUShort

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

asinhScaleToUShort

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