Advanced Usage

Analyzing the Results

Tuning the Transition Measurement Parameters for Unclear Transitions

The EasyGauge default parameters and working modes are good for clear transitions.

More complex situations may need the tuning of additional parameters. Here, we show how to tune a point gauge. However, you can apply the same method to the other gauges by analyzing their sample paths.

  1. Set the gauge point location and tolerance.

    • Sets the nominal line of the point gauge. Its center position .NET Python and orientation .NET Python are easy to decide based on a sample image or on the coordinate considerations.

    • The tolerance .NET Python depends on the edge position variations. A larger tolerance increases the likelihood of hitting an edge, but it may be a false edge or an extraneous feature.

    ../../../_images/17836.webp

    Placing the gauge.

  2. Decide whether a noise reduction is required.

    • Lay the gauge over the desired location and observe the profile curve and its derivative (play with the filtering parameters while looking at the plotted curve).

    • The curve regularity gives an indication of the spread of the gray-level values.

    • When these coefficients are set, the gray-level profile will not change anymore.

    ../../../_images/17837.webp

    Filtering noise.

  3. Set the threshold value.

    • Set a value low enough for useful parts of the peaks to cover enough pixels (to achieve better sub-pixel accuracy), but not lower than the ambient image noise.

    ../../../_images/17838.webp

    Thresholding.

  4. Remove weak or false transitions.

    • Use the list of peak amplitudes and areas.

    • Plotting these values along with good and extraneous peaks can help find appropriate peak rejection limits.

    ../../../_images/17839.webp

    Using the amplitude and area to filter out weak or false transitions.

  5. Choose whether all transition points are needed or just the most relevant.

    • If all the transition points are required, you can query them one after the other.

    • Otherwise, choose a point selection strategy based on the strength, the order or the transition polarity (black to white and/or conversely).

    ../../../_images/17840.webp

    Select the relevant transition point.