Measure

The Measure module is capable of measuring dimensions of objects based on the distance between two points, when the measuring lines that were drawed by the end-user, crosses the outline of an object, as described on video below.

ย 

For adding a line, simply place each point beyond the borders of an object you are going to measure and the line automatically detects the outline of the object.

Multiple lines can be added and the object has to be between the points of each line.

For optimal outline detection, set โ€˜Thresholdโ€™ value so the object borders are clearly visible.

Turn off the โ€˜Original imageโ€™ so you can see how the image looks after applying โ€˜Cannyโ€™

Measurement Unit & Precision

Mention how the unit works and whatโ€™s the expected precision.

maybe perform a test with a camera, with known values and extrapolate values for precision?

Explain

Measurement in pixels, if you would like to know the pixel to cm/mm conversion, this can be done my including a ruler in

Evaluation

When the end-user click on โ€˜Evaluationโ€™ button, a threshold can be set for line length, alongside with comparisons rules, then click โ€˜Enable'. Lastly, click on Save and Closeโ€™.

Canny Settings

Canny settings can be modified by using the pointer or typing a desired value, this configuration is related to the canny edge detector. It should be adjusted when the the line is measuring other edges around the picture, causing meausing inconsistences.

Read more about atย PreProcess article - Canny Edge Detector.

ย 

Original Image

When Original image is enabled, the original image is then displayed. When is disabled, the image is displayed with canny edge filter enabled (edges/outline of the image highlighted).

ย