Segment Depth Map

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 is used to segment depth map according to specified rules and output areas that meet the rules.

segment depth image functional description

Usage Scenario

This Step is widely used for depth map processing and is usually connected with Steps such as Invalidate Depth Pixels outside 3D ROI, Get Highest Layer Regions in Depth Map, and Merge Mask Images.

Input and Output

segment depth image input and output

Parameters

Segmentation Settings

Max Height Diff between Neighbouring Pixels

Description: This parameter is used to determine the maximum tolerance of depth difference (in mm) between neighboring pixels in the process of segmenting the depth map. When the depth difference between neighboring pixels is less than the set value, the two pixels will be considered as belonging to the same region; otherwise, the pixels will be considered as belonging to different segmented areas. The larger the value, the more segmented areas.

Default value: 7.000 mm

Tuning recommendation: Please set the value according to the actual situation.

Min Segment Area

Description: This parameter specifies the minimum size of the segmented areas (in pixel). The segmented areas smaller than this value will be discarded. The smaller the value, the more segmented areas.

Default value: 1500 px

Tuning recommendation: Please set the value according to the actual situation.

Depth ROI File Name

Description: This parameter is used to select an ROI on the color image.

Tuning recommendation: Please refer to Instructions for Setting 2D ROI for detailed instructions.

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.