Class ScaleByDictionary
Scales by compressing a certain range of values into the 8-bit signal.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates the converter.doubledoublevoidsetDictionary(DictionaryProvider dictionary) voidsetKeyLower(String keyLower) voidsetKeyUpper(String keyUpper) voidsetScaleLower(double scaleLower) voidsetScaleUpper(double scaleUpper) Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ScaleByDictionary
public ScaleByDictionary()
-
-
Method Details
-
createConverter
Description copied from class:ConvertChannelToCreates the converter.- Specified by:
createConverterin classConvertChannelTo<UnsignedByteBuffer>- Returns:
- the created converter.
- Throws:
CreateException- if the converter cannot be successfully created.
-
getDictionary
-
getKeyLower
-
setKeyLower
-
getKeyUpper
-
setKeyUpper
-
getScaleLower
public double getScaleLower() -
setScaleLower
public void setScaleLower(double scaleLower) -
getScaleUpper
public double getScaleUpper() -
setScaleUpper
public void setScaleUpper(double scaleUpper)
-