Convert Depth Image to Pseudo-Color

Description

This operator converts single-channel depth images into pseudo-color, grayscale, or mixed texture images. It visualizes depth variations by mapping depth values to color scales or intensity levels.

Overview

Visualization of depth maps with pseudo-color, grayscale, or mixed modes.

Scenarios

  • Image visualization: Convert low-contrast grayscale depth maps into high-contrast color images for easier observation.

  • Defect detection: Quickly locate depth discontinuities or anomalous regions by color.

  • Effect overlay: Overlay depth information as semi-transparent pseudo-color on the original texture map to view appearance and depth together.

Inputs and Outputs

Inputs

Depth map: Depth image from point-cloud Z values.

Color Image (Optional): Color image.

Outputs

Pseudo-color Image: Pseudo-color image, grayscale image, or a blended image of pseudo-color and the color image.

Parameters

Auto Mode

Description

Controls whether to automatically calculate the Z-value extremes of the point cloud to set the color range.

Tuning Instructions

  • True (Default): Automatically computes mapping based on height, adaptive to objects of various heights.

  • False: Disables auto-calculation; uses manually specified 'Min Range' and 'Max Range' as fixed bounds.

Parameter Range

Default: True

Output Type

Description

Selection of output visualization type.

Tuning Instructions

  • Pseudo-color (Default): Smaller depth values (near) appear red; larger values (far) appear blue.

  • Mixed Image: Blends pseudo-color with input 'Color Image', preserving texture while showing depth.

  • Grayscale: Standard grayscale visualization. Smaller depth (near) is white; larger depth (far) is black.

Parameter Range

Values/Range:

  • Pseudo-color

  • Composite

  • Grayscale

Default: Pseudo-color

Min Height

Description

Effective only when 'Auto Mode' is False; defines the depth range for color mapping.

Tuning Instructions

Depths less than or equal to this value will be rendered as red (Pseudo-color) or white (Grayscale). Recommended setting based on actual working distance.

Parameter Range

[0, 10000], Unit: mm

Parameter Range

Values/Range: [0, 10000]

Default: 0

Max Height

Description

Effective only when 'Auto Mode' is False; defines the depth range for color mapping.

Tuning Instructions

Depths greater than or equal to this value will be rendered as blue (Pseudo-color) or black (Grayscale). Recommended setting based on actual working distance.

Parameter Range

[0, 10000], Unit: mm

Parameter Range

Values/Range: [0, 10000]

Default: 3000

Color Blend Ratio

Description

Effective only when 'Result Type' is 'Mixed Image'; controls the blend intensity between pseudo-color and original texture.

Tuning Instructions

  • Lower Value: Result closer to pure pseudo-color; texture less visible.

  • Higher Value: Texture color has more influence.

Parameter Range

[0, 1], Default: 0.5

Parameter Range

Values/Range: [0, 1]

Default: 0.5