Class 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 Details

    • ToByteUpperLowerQuantileIntensity

      public ToByteUpperLowerQuantileIntensity()
  • Method Details

    • createConverter

      Description copied from class: ConvertChannelToWithHistogram
      Creates the converter.
      Specified by:
      createConverter in class ConvertChannelToWithHistogram<UnsignedByteBuffer>
      Returns:
      the created converter.
    • 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.