compute_stereo_depth_map

Configuration

Variable

Default

Tunable

Description

computer

(no default value)

NO

Algorithm configuration subblock

Input Ports

Port name

Data Type

Flags

Description

left_image

kwiver:image

_required

Single frame left image.

right_image

kwiver:image

_required

Single frame right image.

Output Ports

Port name

Data Type

Flags

Description

depth_map

kwiver:image

(none)

Depth map stored in image form.

Pipefile Usage

The following sections describe the blocks needed to use this process in a pipe file.

Pipefile block

# ================================================================
process <this-proc>
  :: compute_stereo_depth_map
# Algorithm configuration subblock
  computer = <value>
# ================================================================

Process connections

The following Input ports will need to be set

# This process will consume the following input ports
connect from <this-proc>.left_image
         to   <upstream-proc>.left_image
connect from <this-proc>.right_image
         to   <upstream-proc>.right_image

The following Output ports will need to be set

# This process will produce the following output ports
connect from <this-proc>.depth_map
         to   <downstream-proc>.depth_map

Class Description

class compute_stereo_depth_map_process : public sprokit::process

Compute stereo depth map image.

\process This process generates a depth map image from a pair of stereo images. The actual calculation is done by the selected compute_stereo_depth_map algorithm implementation.

\iports

\iport{left_image} Left image of the stereo image pair.

\iport{right_image} Right image if the stereo pair.

\oports

\oport{depth_map} Resulting depth map.

\configs

\config{computer} Name of the configuration subblock that selects and configures the algorithm.

class priv