Package com.flir.thermalsdk.image
Class PlateauHistogramEqSettings
java.lang.Object
com.flir.thermalsdk.image.ColorDistributionSettings
com.flir.thermalsdk.image.PlateauHistogramEqSettings
Specifies parameters for the plateau histogram equalization mode.
The colors are evenly distributed over the existing temperatures of the image and will preserve brightness while enhancing the contrast.
Note: This color distribution can be particularly successful when the image contains few peaks of very low or high temperature's values.
If you would like to capture images that look identical to the MyFLIR app, use the following settings:
The colors are evenly distributed over the existing temperatures of the image and will preserve brightness while enhancing the contrast.
Note: This color distribution can be particularly successful when the image contains few peaks of very low or high temperature's values.
If you would like to capture images that look identical to the MyFLIR app, use the following settings:
PlateauHistogramEqSettings settings = new PlateauHistogramEqSettings(); settings.maxGain = 0.375f; settings.percentPerBin = 0.39f; settings.linearPercent = 20.0f; settings.outlierPercent = 0.05f; settings.gamma = 0.97f; thermalImage.setColorDistributionSettings(settings);
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
Used to adjust the perceived brightness of the image.float
Increasing values of Linear Percent more accurately preserves the visual representation of an object.float
Limits the maximum slope of the mapping function.float
Determines the percentage of the histogram tails which are not ignored when generating the mapping function.float
Limits the population of any single histogram bin. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
maxGain
public float maxGainLimits the maximum slope of the mapping function. -
percentPerBin
public float percentPerBinLimits the population of any single histogram bin. -
linearPercent
public float linearPercentIncreasing values of Linear Percent more accurately preserves the visual representation of an object. -
outlierPercent
public float outlierPercentDetermines the percentage of the histogram tails which are not ignored when generating the mapping function. -
gamma
public float gammaUsed to adjust the perceived brightness of the image.
-
-
Constructor Details
-
PlateauHistogramEqSettings
public PlateauHistogramEqSettings()Construct an instance with default settings.
-
-
Method Details