IDS peak ICV v1.6.0
Loading...
Searching...
No Matches
XYZImage Class Reference
Inheritance diagram for XYZImage:

Public Member Functions

XYZImage create_from_undistorted_image (cls, UndistortedImage undistorted_depth_map)
 Constructs a cartesian coordinate image from an undistorted depth map.
 
XYZImage create_from_file (cls, str image_path, PixelFormat|None forced_pixel_format=None)
 The loaded image is forced to use the pixel format PixelFormat.COORD3D_ABC32F.
 
None __init__ (self, *Any args, **Any kwargs)
 In order to create a xyz image, please refer to the class methods.
 
XYZImage transform_to_workspace (self, ExtrinsicParameters extrinsic_parameters)
 Transforms the camera-centric coordinates into workspace coordinates.
 

Protected Attributes

 _handle
 

Detailed Description

Represents a three-channel image encoding cartesian coordinates (x, y, z) of a 3D point.

This image is derived from an undistorted depth map that contains embedded intrinsic parameters and uses radial coordinates.

In contrast to radial coordinates, which measure the direct distance from the optical center to the object, cartesian coordinates project these measurements onto a uniform plane.

For example: If the camera faces a flat wall, only the cartesian coordinates will form a flat plane, whereas radial values will increase towards the image edges.

Since
ids_peak_icv 1.1

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
*Any args,
**Any kwargs )

In order to create a xyz image, please refer to the class methods.

Since
ids_peak_icv 1.1

Reimplemented from Image.

Member Function Documentation

◆ create_from_file()

XYZImage create_from_file ( cls,
str image_path,
PixelFormat | None forced_pixel_format = None )

The loaded image is forced to use the pixel format PixelFormat.COORD3D_ABC32F.

Because this is floating-point 3D data, the typical supported image formats for this operation are:

  • Tag Image File Format (TIFF)
Since
ids_peak_icv 1.6

Reimplemented from Image.

◆ create_from_undistorted_image()

XYZImage create_from_undistorted_image ( cls,
UndistortedImage undistorted_depth_map )

Constructs a cartesian coordinate image from an undistorted depth map.

To convert a distorted depth map into the required format, use the Undistortion class beforehand.

Supported pixel formats
  • Coord3D_C32f

See the Pixel and Pixel Format Specifications for a detailed description of the pixel formats.

Parameters
undistorted_depth_mapAn image encoding radial distances to 3D points that contains embedded intrinsic camera parameters.
Since
ids_peak_icv 1.1

◆ transform_to_workspace()

XYZImage transform_to_workspace ( self,
ExtrinsicParameters extrinsic_parameters )

Transforms the camera-centric coordinates into workspace coordinates.

This applies the inverse of the provided extrinsic matrix to map the 3D points from the camera's perspective into the physical workspace.

Parameters
extrinsic_parametersExtrinsic parameters from the workspace calibration.
Since
ids_peak_icv 1.1

Field Documentation

◆ _handle

_handle
protected