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.
When a single image or a group of images captured by the camera under different focusing conditions are input into this Step, it can output the result that can help judge whether the camera focuses. Greater image clarity means more accurate focusing of the camera.
Since the scales for evaluating the image clarity when different methods are used are different, the clarity values with different methods cannot be compared. |
Usage Scenario
This Step is usually used to assist the parameter and position adjustment of the camera in measurement scenarios.
Parameter Description
Method
Parameter description: This parameter selects the method to evaluate image clarity.
Value list: Energy of Gradient, Brenner, Roberts Cross, SML, Sobel, and 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. It is defined as follows.
-
Brenner: This method is based on the Brenner function, which is defined as follows.
-
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.
-
SML: The method is improved on the basis of Laplace operator and has better noise immunity. It is defined as follows.
-
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.
-
Tenegrad: This method is another function based on the Sobel operator, which is defined as follows.
Default value: Brenner
Tuning recommendation: Select the method for evaluating the image clarity according to the actual requirement.