Setting Up the Advanced Threshold

NI OCR Training Interface

Setting Up the Advanced Threshold

Use the Advanced Threshold tab to set up additional options for the Non-Linear threshold methods. If you selected Fixed Range in Mode on the Threshold tab, the options on the Advanced Threshold tab are not available.

Complete the following steps to set up additional options for thresholding:

  1. Use Lower Value and Higher Value to determine the threshold limit that OCR uses to calculate the threshold.
  2. Enter the # of Blocks you want to use with the Linear and Non-Linear threshold calculation methods.
  3. If speed takes precedence in calculating the threshold, enable Optimize for Speed to perform the thresholding calculation more quickly, but less accurately. If accuracy takes precedence, disable Optimize for Speed to perform the thresholding calculation more slowly, but more accurately.

    If you enable Optimize for Speed, you also can enable Bi modal Calculation to enable OCR to calculate both the upper and lower threshold levels for images that are dominated by two pixel intensity levels. If you enable Bi modal Calculation, OCR disregards the pixel intensity level setting you selected in Characters on the Threshold tab.

    Tip  If the objects in the ROI are not segmented as you expect them to be, experiment with settings on the Threshold, Advanced Threshold, and Size & Spacing tabs to improve the segmentation.