NIOCRProcessingOptions

NI Vision for Visual Basic

NIOCRProcessingOptions

Configures how NI Vision trains or reads characters.

Properties

DarkCharacters Indicates the pixel intensity of the characters in the image.
HighThreshold Specifies the high threshold value when threshold mode is set to niocrFixedThresholdRange.
LowerThresholdLimit Retrieves the lower threshold limit and works in conjunction with the UpperThresholdLimit to establish a limit on the threshold calculated by the automatic threshold calculation algorithms.
LowThreshold Specifies the low threshold value when threshold mode is set to niocrFixedThresholdRange.
NumberOfBlocks Specifies the number of blocks for automatic thresholding algorithms that require blocks.
NumberOfErosions Sets the number of erosions NI Vision performs to remove small particles.
OptimizeForSpeed Indicates if the NI Vision threshold calculation is optimized.
PerformBimodalCalculation Indicates how NI Vision is configured to calculate low and high threshold values when the threshold calculation is optimized.
RemoveParticlesTouchingROI Indicates if NI Vision is configured to remove particles that touch the ROI.
ThresholdMode Selects the thresholding mode.
UpperThresholdLimit Retrieves the upper threshold limit and works in conjunction with the LowerThresholdLimit to establish a limit on the threshold calculated by the automatic threshold calculation algorithms.

Methods

SetThresholdLimits Sets the limits for the threshold value that the automatic calculation algorithms can generate.
SetThresholdRange Sets the threshold range.