Class ScaleByMinMaxValue

Object
AnchorBean<ConvertChannelTo<UnsignedByteBuffer>>
InitializableBean<ConvertChannelTo<UnsignedByteBuffer>, ImageInitialization>
ImageBean<ConvertChannelTo<UnsignedByteBuffer>>
ConvertChannelTo<UnsignedByteBuffer>
ScaleByMinMaxValue

public class ScaleByMinMaxValue extends ConvertChannelTo<UnsignedByteBuffer>
Scales by compressing a certain range of values into the 8-bit signal
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ChannelConverter<UnsignedByteBuffer>
     
    int
     
    int
     
    void
    setMax(int max)
     
    void
    setMin(int min)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ScaleByMinMaxValue

      public ScaleByMinMaxValue()
  • Method Details

    • createConverter

      public ChannelConverter<UnsignedByteBuffer> createConverter()
      Specified by:
      createConverter in class ConvertChannelTo<UnsignedByteBuffer>
    • getMin

      public int getMin()
    • setMin

      public void setMin(int min)
    • getMax

      public int getMax()
    • setMax

      public void setMax(int max)