The depthProjection component uses the given camera intrinsic properties to project a 2D depth map image into a 3D point cloud. The resulting point cloud is stored in a floating point texture which can be used as an instancing source for rendering point clouds.

PythonIcon.pngPallette:depthProjection Ext

Parameters - Projection Page

Depth Type Depthtype - - Determines what kind of depth is stored in the source depth image i.e. whether the point cloud is projected in rays from a single camera point, or from the image plane.

  • Distance to Camera Point distance - The depth in the source image is the radial distance from the real world object position and the camera point. This method is more common in lidar scanners.
  • Z Depth zpos - The values in the source image are the distances from the real work object position and the corresponding point on the image plane.

From Range Fromrange - - Used for scaling the point cloud depth. This parameter defines the range of depths in the source image. Depths outside this range are extrapolated.

  • From Range Fromrange1 -
  • From Range Fromrange2 -

To Range Torange - - Determines the output range for the depth values. The range of input values is mapped linearly to the output range and values outside of the range are extrapolated.

  • To Range Torange1 -
  • To Range Torange2 -

View Angle Method Viewanglemethod - - Determines how the field of view is defined for the projection.

  • Horizontal FOV horzfov - The field of view is determined by the horizontal angle. The vertical field of view is based on the aspect ratio of the input
  • Focal Lengths focallengths - The field of view is determined by the vertical and horizontal focal lengths. The focal lengths are give in normalized values relative to the resolution of the source image, so camera intrinsics provided in pixels should generally be divided by the horizontal resolution.

FOV Angle Fov - The field of view measured in degrees when using Horizontal FOV mode.

Focal Lengths (Fx, Fy) Focallengths - - The normalized focal length values when using the Focal Length view angle method.

  • Focal Lengths (Fx, Fy) Focallengths1 -
  • Focal Lengths (Fx, Fy) Focallengths2 -

Optical Center (Cx, Cy) Center - - The position of the camera relative to the image plane in normalized values i.e. (0.5, 0.5) assumes the camera point is directly in the center of the image plane.

  • Optical Center (Cx, Cy) Center1 -
  • Optical Center (Cx, Cy) Center2 -

Parameters - About Page

Help Help -

Version Version -

.tox Save Build Toxsavebuild -

Operator Inputs

  • Input 0: -

Info CHOP Channels

Extra Information for the can be accessed via an Info CHOP. Info Channels Common Page

Common Operator Info Channels

  • total_cooks - Number of times the operator has cooked since the process started.
  • cook_time - Duration of the last cook in milliseconds.
  • cook_frame - Frame number when this operator was last cooked relative to the component timeline.
  • cook_abs_frame - Frame number when this operator was last cooked relative to the absolute time.
  • cook_start_time - Time in milliseconds at which the operator started cooking in the frame it was cooked.
  • cook_end_time - Time in milliseconds at which the operator finished cooking in the frame it was cooked.
  • cooked_this_frame - 1 if operator was cooked this frame.
  • warnings - Number of warnings in this operator if any.
  • errors - Number of errors in this operator if any.