Evaluate Image Clarity

Function

This Step measures the clarity of the input images according to the specified method. Different methods have different scales and standards of clarity.

Clarity evaluation is a quantitative evaluation of the clarity of a given image. Since the scales for evaluating the image clarity when different methods are used are different, the clarity values with different methods cannot be compared.

If a group of similar images is input, the values of the images’ clarity can be used to evaluate whether the camera focuses. If a single image is input, a relative clarity value of the image can be obtained.

Usage Scenario

This Step is usually used to assist the parameter and position adjustment of the camera in measurement scenarios.

Input and Output

../../../../_images/input_and_output22.png

Parameter Description

Method

Parameter description: This parameter selects the method to evaluate image clarity.
Value list: Energy of Gradient, Brenner, Roberts Cross, SML, Sobel, Tenegrad
Tuning recommendation: The tuning recommendations of using different methods are as follows.
  • Energy of Gradient: This method is based on the Energy of Gradient (EOG) function, which is defined as follows.

../../../../_images/energy_of_gradient.png
  • Brenner: This method is based on the Brenner function, which is defined as follows.

../../../../_images/brenner.png
  • Roberts Cross: The method is based on a function of the differential absolute value sum of the Robert operator (the Robert function for short). It is defined as follows.

../../../../_images/roberts_cross.png
  • SML: The method is improved on the basis of Laplace operator and has better noise immunity. It is defined as follows.

../../../../_images/sml.png
  • Sobel: This method is based on the Sobel operator function, which is defined as follows. The equation contains the first-order Sobel operator difference in the X and Y directions of the image.

../../../../_images/sobel.png
  • Tenegrad: This method is another function based on the Sobel operator, which is defined as follows.

../../../../_images/tenegrad.png
Default value: Brenner
Tuning recommendation: Select the method for evaluating the image clarity according to the actual requirement.