IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
PointCloudXYZI Class Reference
Inheritance diagram for PointCloudXYZI:

Public Member Functions

 PointCloudXYZI (XYZImage image, Image intensityImage)
 Constructs a point cloud from the specified XYZ image and intensity image.
 
 PointCloudXYZI (UndistortedImage undistortedDepthMap, Image intensityImage)
 Constructs a point cloud from the specified undistorted depth map and intensity image.
 
 PointCloudXYZI (string filePath, PixelFormat pixelFormat)
 Constructs a point cloud by loading it from the specified file.
 
 PointCloudXYZI (PointXYZI[] points, PixelFormat pixelFormat)
 Constructs a point cloud from the specified list of points.
 
PointCloudXYZI Transform (TransformationMatrix3D matrix)
 Applies a transformation to the point cloud.
 
PointCloudXYZI TransformToWorkspace (ExtrinsicParameters extrinsicParameters)
 Transforms the point cloud to the workspace coordinate system using the extrinsic parameters.
 
override string ToString ()
 Returns a string representation of the point cloud.
 

Properties

override PointXYZI[] Points [get]
 
static IEqualityComparer< PointCloudXYZI > Comparer = new PointCloudEqualityComparer() [get]
 Gets a default equality comparer for comparing PointCloudXYZI data values.
 

Detailed Description

Represents a point cloud consisting of points with x, y, z coordinates and an intensity value.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 17 of file PointCloudXYZI.cs.

Constructor & Destructor Documentation

◆ PointCloudXYZI() [1/4]

PointCloudXYZI ( XYZImage image,
Image intensityImage )
inline

Constructs a point cloud from the specified XYZ image and intensity image.

The region of the intensity image is disregarded.

Parameters
imageImage containing x, y, and z coordinates per pixel.
intensityImageImage containing intensity values per pixel.
Exceptions
IcvNotSupportedExceptionThe image format is not supported.
IcvMismatchExceptionThe specified xyzImage and intensityImage do not have the same dimensions.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 39 of file PointCloudXYZI.cs.

◆ PointCloudXYZI() [2/4]

PointCloudXYZI ( UndistortedImage undistortedDepthMap,
Image intensityImage )
inline

Constructs a point cloud from the specified undistorted depth map and intensity image.

The intrinsic parameters must be embedded in the image. The depth values must represent distances measured in a spherical coordinate system centered at the camera origin. Each pixel must encode the radial distance to a 3D point. Use the Undistortion class to convert a distorted depth map into an UndistortedImage. The region of the intensity image is disregarded.

Parameters
undistortedDepthMapImage containing distance values per pixel, along with intrinsic camera parameters.
intensityImageImage containing intensity values per pixel.
Exceptions
IcvNotSupportedExceptionThe image format is not supported.
IcvMismatchExceptionThe specified xyzImage and intensityImage do not have the same dimensions.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 69 of file PointCloudXYZI.cs.

◆ PointCloudXYZI() [3/4]

PointCloudXYZI ( string filePath,
PixelFormat pixelFormat )
inline

Constructs a point cloud by loading it from the specified file.

The file format is determined by the specified file extension of the file name. Supported file formats (with required file extensions):

  • PLY (.ply) – Polygon File Format.
Parameters
filePathPath to the point cloud file.
pixelFormatSpecifies the pixel format of the intensity values.
Exceptions
IcvIOExceptionThe specified filePath is invalid or lacks read permissions, or the file is in an unsupported format or contains invalid data.
IcvNotSupportedExceptionThe pixel format is not supported.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 101 of file PointCloudXYZI.cs.

◆ PointCloudXYZI() [4/4]

PointCloudXYZI ( PointXYZI[] points,
PixelFormat pixelFormat )
inline

Constructs a point cloud from the specified list of points.

Parameters
pointsArray of 3D points with intensity..
pixelFormatSpecifies the pixel format of the intensity values.
Exceptions
IcvNotSupportedExceptionThe pixel format is not supported.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 119 of file PointCloudXYZI.cs.

Member Function Documentation

◆ ToString()

override string ToString ( )
inlineinherited

Returns a string representation of the point cloud.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 146 of file PointCloud.cs.

◆ Transform()

PointCloudXYZI Transform ( TransformationMatrix3D matrix)
inline

Applies a transformation to the point cloud.

Parameters
matrixThe transformation matrix.
Returns
A new transformed point cloud.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 199 of file PointCloudXYZI.cs.

◆ TransformToWorkspace()

PointCloudXYZI TransformToWorkspace ( ExtrinsicParameters extrinsicParameters)
inline

Transforms the point cloud to the workspace coordinate system using the extrinsic parameters.

Parameters
extrinsicParametersExtrinsic parameters of the workspace calibration.
Returns
A new transformed point cloud.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 219 of file PointCloudXYZI.cs.

Property Documentation

◆ Comparer

IEqualityComparer<PointCloudXYZI> Comparer = new PointCloudEqualityComparer()
staticget

Gets a default equality comparer for comparing PointCloudXYZI data values.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 186 of file PointCloudXYZI.cs.

◆ Points

override PointXYZI [] Points
get
Since
IDSImaging.Peak.ICV 1.3

Definition at line 135 of file PointCloudXYZI.cs.