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.double
double
void
setDictionary
(DictionaryProvider dictionary) void
setKeyLower
(String keyLower) void
setKeyUpper
(String keyUpper) void
setScaleLower
(double scaleLower) void
setScaleUpper
(double scaleUpper) Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods 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:ConvertChannelTo
Creates the converter.- Specified by:
createConverter
in 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)
-