IMcHistogramSetThresholdParameters Method
|
|
Sets the method and parameters used to compute the Thresholds
property.
Namespace:
MediaCy.IQL.Operations
Assembly:
MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
SyntaxSub SetThresholdParameters (
Optional Method As mcHistThresholdsMethod = mcHistThresholdsMethod.mchmMinimumVarianceMethod,
Optional NumberOfPhases As Integer = 2,
Optional TrimLeftPercent As Double = 0,
Optional TrimRightPercent As Double = 0,
Optional MethodDependent As Double = 0
)
Parameters
- Method (Optional)
- Type: MediaCy.IQL.OperationsmcHistThresholdsMethod
- NumberOfPhases (Optional)
- Type: SystemInt32
- TrimLeftPercent (Optional)
- Type: SystemDouble
- TrimRightPercent (Optional)
- Type: SystemDouble
- MethodDependent (Optional)
- Type: SystemDouble
RemarksIf the mchmIgnoreBlack or mchmIgnoreWhite flags are set in the Method,
then the black (leftmost bin) or white (rightmost bin) pixels are removed before
applying any TrimLeftPercent or TrimRightPercent, respectively. That is, the
trim percentages refer to percentages of total number of pixels after, not
before, the optional removal of saturated pixels.
A SetThresholdParameters Property Changed notify is fired when
any of the parameters is changed.
See Also