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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates the converter.doubleThe lower quantile value for intensity scaling.doubleThe upper quantile value for intensity scaling.doubleSets the min by multiplying the quantileLower by this constant.doubleSets the max by multiplying the quantileUpper by this constant.voidsetQuantileLower(double quantileLower) The lower quantile value for intensity scaling.voidsetQuantileUpper(double quantileUpper) The upper quantile value for intensity scaling.voidsetScaleLower(double scaleLower) Sets the min by multiplying the quantileLower by this constant.voidsetScaleUpper(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
-
Constructor Details
-
ToByteUpperLowerQuantileIntensity
public ToByteUpperLowerQuantileIntensity()
-
-
Method Details
-
createConverter
Description copied from class:ConvertChannelToWithHistogramCreates the converter.- Specified by:
createConverterin classConvertChannelToWithHistogram<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.
-