Evaluate Image Clarity

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

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.

Input and Output

evaluate image clarity input and output

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. It is defined as follows.

evaluate image clarity energy of gradient
  • Brenner: This method is based on the Brenner function. It is defined as follows.

evaluate image clarity brenner
  • 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.

evaluate image clarity roberts cross
  • SML: The method is improved on the basis of Laplace operator and has better noise immunity. It is defined as follows.

evaluate image clarity sml
  • Sobel: The method is based on the Sobel operator (the Sobel function for short). It is defined as follows. The formula contains the first difference of sobel operator in the X- and Y-direction of the image.

evaluate image clarity sobel
  • Tenegrad: This method is another function based on the Sobel operator. It is defined as follows.

evaluate image clarity tenegrad

Default value: Brenner

Tuning recommendation: Select the method for evaluating the image clarity according to the actual requirement.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.