Class ToByteUpperLowerQuantileIntensity

Object
AnchorBean<ConvertChannelToWithHistogram<UnsignedByteBuffer>>
ConvertChannelToWithHistogram<UnsignedByteBuffer>
ToByteUpperLowerQuantileIntensity

public class ToByteUpperLowerQuantileIntensity extends ConvertChannelToWithHistogram<UnsignedByteBuffer>
Converts a channel to unsigned byte format using upper and lower quantile intensities from a histogram.

This class extends ConvertChannelToWithHistogram to provide a specific implementation for converting channels to unsigned byte format based on quantile intensities.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ChannelConverterAttached<Histogram, UnsignedByteBuffer>
     
    double
    The lower quantile value for intensity scaling.
    double
    The upper quantile value for intensity scaling.
    double
    Sets the min by multiplying the quantileLower by this constant.
    double
    Sets the max by multiplying the quantileUpper by this constant.
    void
    setQuantileLower(double quantileLower)
    The lower quantile value for intensity scaling.
    void
    setQuantileUpper(double quantileUpper)
    The upper quantile value for intensity scaling.
    void
    setScaleLower(double scaleLower)
    Sets the min by multiplying the quantileLower by this constant.
    void
    setScaleUpper(double scaleUpper)
    Sets the max by multiplying the quantileUpper by this constant.

    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

    • ToByteUpperLowerQuantileIntensity

      public ToByteUpperLowerQuantileIntensity()
  • Method Details

    • createConverter

      public ChannelConverterAttached<Histogram, UnsignedByteBuffer> createConverter()
      Specified by:
      createConverter in class ConvertChannelToWithHistogram<UnsignedByteBuffer>
    • getQuantileLower

      public double getQuantileLower()
      The lower quantile value for intensity scaling.
    • setQuantileLower

      public void setQuantileLower(double quantileLower)
      The lower quantile value for intensity scaling.
    • getQuantileUpper

      public double getQuantileUpper()
      The upper quantile value for intensity scaling.
    • setQuantileUpper

      public void setQuantileUpper(double quantileUpper)
      The upper quantile value for intensity scaling.
    • getScaleLower

      public double getScaleLower()
      Sets the min by multiplying the quantileLower by this constant.
    • setScaleLower

      public void setScaleLower(double scaleLower)
      Sets the min by multiplying the quantileLower by this constant.
    • getScaleUpper

      public double getScaleUpper()
      Sets the max by multiplying the quantileUpper by this constant.
    • setScaleUpper

      public void setScaleUpper(double scaleUpper)
      Sets the max by multiplying the quantileUpper by this constant.