Class ScaleByDictionary
Object
AnchorBean<ConvertChannelTo<UnsignedByteBuffer>>
InitializableBean<ConvertChannelTo<UnsignedByteBuffer>, ImageInitialization>
ImageBean<ConvertChannelTo<UnsignedByteBuffer>>
ConvertChannelTo<UnsignedByteBuffer>
ScaleByDictionary
public class ScaleByDictionary
extends ConvertChannelTo<UnsignedByteBuffer>
Scales by compressing a certain range of values into the 8-bit signal.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChannelConverter<UnsignedByteBuffer> DictionaryProviderdoubledoublevoidsetDictionary(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
public ChannelConverter<UnsignedByteBuffer> createConverter() throws CreateException- Specified by:
createConverterin classConvertChannelTo<UnsignedByteBuffer>- Throws:
CreateException
-
getDictionary
public DictionaryProvider 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)
-