Parameters for 2D Image

The parameters in the 2D Parameters category affect the quality of the 2D image.

The general criteria for a good 2D image:

  • Not over-exposed.

  • Not under-exposed.

  • The details that you need are visible and clear enough.

    Note

    Depending on your project needs, you may not need to ensure that the entire 2D image has the right brightness. As long as the parts needed for subsequent processes (such as deep learning inference and template matching) are clear enough for the processing, it is acceptable for irrelevant parts to be over- or under-exposed.

Note

Before proceeding, make sure you are familiar with the components and functions of the parameter panel.

The Beginner level parameters are basic parameters, and the additional parameters in Expert level are advanced parameters.

It is recommended to adjust the basic parameters first. If the quality of the 2D image is still unsatisfactory, adjust the advanced parameters.

Basic Parameters for 2D Image

Depending on what camera is connected, you may see different parameters in the 2D Parameters category, and the options therein also differ.

  • If you are connected to a LSR or DEEP series camera: Color Camera Exposure Mode and Monochrome Camera Exposure Mode are displayed.

  • If you are connected to a camera from another series: Exposure Mode is displayed.

    Note

    For the LSR and DEEP series:

    • Color Camera Exposure Mode affects the color 2D camera. The 2D image is obtained by this camera.

    • Monochrome Camera Exposure Mode affects the monochrome 2D cameras. The images obtained by these cameras are used for checking camera intrinsic parameters, setting the ROI, and calibrating camera extrinsic parameters with Mech-Vision’s Camera Calibration.

The following table summarizes the options available for each of the above parameters.

Exposure Mode

Color Camera Exposure Mode

Monochrome Camera Exposure Mode

Timed

icon_yes

icon_yes

icon_yes

Auto

icon_yes

icon_yes

HDR

icon_yes

icon_yes

Flash

icon_yes

icon_yes

The following table summarizes the suitable scenarios for each exposure mode option.

Exposure mode

Suitable scenario

Timed

Usually used in stable lighting conditions.

Auto

Usually used in varying lighting conditions.

HDR

Usually used for objects with various colors or textures.

Flash

Usually used in dark environments.

The exposure mode option selected determines what other parameters are displayed in the 2D Parameters category. The following sections explain the parameters corresponding to each option.

Timed Exposure Mode

With the Timed option, you can set a single exposure time for capturing the image.

  • For Exposure Mode and Color Camera Exposure Mode: adjust the value of Exposure Time.

  • For Monochrome Camera Exposure Mode: adjust the value of Monochrome Camera Exposure Time.

Exposure Time/Monochrome Camera Exposure Time

The value of Exposure Time/Monochrome Camera Exposure Time affects the brightness of the image.

Usually, long exposure time is used in dark environments, and short exposure time is used in bright environments.

  • 2D images captured with different Exposure Time values (all other conditions identical):

    30 ms

    120 ms

    220 ms

    ../../../../_images/exposure_time_30.png
    ../../../../_images/exposure_time_120.png
    ../../../../_images/exposure_time_220.png
  • Monochrome images captured with different Monochrome Camera Exposure Time values (all other conditions identical):

    10 ms

    40 ms

    80 ms

    ../../../../_images/lsr_timed_10.png
    ../../../../_images/lsr_timed_40.png
    ../../../../_images/lsr_timed_80.png

Auto Exposure Mode

With the Auto option, the exposure time is automatically adjusted based on your settings for Auto-Exposure ROI and Gray Value.

Auto-Exposure ROI

If an auto-exposure ROI is set, the exposure time is adjusted based on the lighting, object colors, etc., in the selected region.

Note

If you do not set an auto-exposure ROI, the entire camera FOV is taken into consideration during exposure time adjustment.

To set an auto-exposure ROI:

  1. Double-click Edit next to Auto-Exposure ROI.

  2. Drag the cursor on the image to select an auto-exposure ROI. Adjust the size and position of the selection box if needed.

    Hint

    Please select the area where the target objects are located and avoid including irrelevant objects as much as possible.

  3. Click Apply to finish setting the auto-exposure ROI.

    Hint

    Click Clear to delete the set auto-exposure ROI.

  4. Click icon_single_cap or icon_continuous_cap to perform image capturing. The brightness of the 2D image is automatically adjusted based on the auto-exposure ROI.

  • 2D images captured with different auto-exposure ROIs (all other conditions identical):

    Auto-Exposure ROI

    2D Image

    ../../../../_images/auto_roi_1.png
    ../../../../_images/auto_roi_scan_1.png
    ../../../../_images/auto_roi_2.png
    ../../../../_images/auto_roi_scan_2.png
    ../../../../_images/auto_roi_3.png
    ../../../../_images/auto_roi_scan_3.png

Gray Value

This parameter affects the brightness of the 2D image:

  • Increasing the parameter value makes the 2D image brighter.

  • Decreasing the parameter value makes the 2D image darker.

It is recommended to set an auto-exposure ROI first. Adjust this parameter if the brightness of the 2D image is still unsatisfactory.

  • 2D images captured with different Gray Value values (all other conditions identical):

    50

    100

    150

    ../../../../_images/gray_value_50.png
    ../../../../_images/gray_value_100.png
    ../../../../_images/gray_value_150.png

Note

  • For monochrome images, this parameter sets the intensity of the image.

  • For color images, this parameter sets the intensity of each color channel.

HDR Exposure Mode

With the HDR option, you can set multiple exposure times, and the captured images are merged to generate a 2D image that retains more details in the highlights and shadows.

The parameters available with the HDR option are Exposure Sequence and Tone Mapping.

Exposure Sequence

Set an exposure sequence of multiple exposure times, and the captured images are merged to generate a 2D image that retains more details in the highlights and shadows.

To set a exposure sequence:

  1. Double-click Edit next to Exposure Sequence.

  2. Click + to add an exposure time. Then, adjust the duration of this exposure time.

    Hint

    To delete an exposure time, select it and click -.

  3. Click Apply to save the exposure sequence.

Hint

  • Click Reset to delete all the set exposure times.

  • Click Cancel to exit the window without saving the changes.

Note

If you add only one exposure time to the sequence, it is the same as selecting the Timed mode.

  • 2D images captured with different exposure sequences (all other conditions identical):

    700 ms

    500 ms and 900 ms

    500 ms, 700 ms and 900 ms

    ../../../../_images/hdr_false_1.png
    ../../../../_images/hdr_false_2.png
    ../../../../_images/hdr_false_3.png
  • For comparison: 2D images captured with single exposure times (all other conditions identical):

    500 ms

    700 ms

    900 ms

    ../../../../_images/hdr_false_500ms.png
    ../../../../_images/hdr_false_700ms.png
    ../../../../_images/hdr_false_900ms.png

Tone Mapping

Enabling Tone Mapping can make the colors of the image look more natural. If the 2D image appears very different from the actual objects, please enable this function.

  • 2D images captured with Tone Mapping disabled and enabled (all other conditions identical):

    Disabled

    Enabled

    ../../../../_images/tone_mapping_false.png
    ../../../../_images/tone_mapping_true.png

Flash Exposure Mode

With the Flash option, the projector is used to project supplemental light.

  • 2D images obtained with the Flash exposure mode and Timed exposure mode (all other conditions identical):

    Flash

    Timed

    ../../../../_images/flash.png
    ../../../../_images/flash_no.png

The brightness of the 2D image obtained with the Flash exposure mode can be adjusted by Exposure Time in the 3D Parameters Category.

  • 2D images obtained with different Exposure Time values (all other conditions identical):

    4 ms

    10 ms

    15 ms

    ../../../../_images/time_3d_4.png
    ../../../../_images/time_3d_10.png
    ../../../../_images/time_3d_15.png

Advanced Parameters for 2D Image

The Gain parameter in the 3D Parameters category also affects the 2D image. This parameter is available at Expert and Guru visibility level.

Gain

This parameter belongs to the 3D Parameters category. It affects the brightness of the captured image. At the same time, more noise is introduced.

The higher the value of Gain, the brighter the captured image, and the more noise introduced.

Note

If adjusting exposure mode/time does not produce the desired image brightness, you can increase the value of Gain. However, this introduces more noise to the 2D image.

  • 2D images captured with different Gain values (all other conditions identical):

    0

    5

    10

    ../../../../_images/gain_0_2d.png
    ../../../../_images/gain_5_2d.png
    ../../../../_images/gain_10_2d.png

Hint

For models with color 2D cameras, the color of the 2D image may differ significantly from that of the actual objects. In such cases, you can adjust the white balance setting of the color 2D camera. For detailed information, please refer to Auto White Balance.

Continue reading for descriptions of the basic parameters for the depth map and point cloud.