Blobs3D Vision Data Access Functions
This section lists the available 3D Vision Data Access Functions that get values from a Blobs3D structure, created by an ExtractBlob3D, ExtractBlobFromCylinder3D, ExtractBlobFromSphere3D, or SortBlob3D function.
| Function | Description |
| GetBoundingBox(Blobs3D, [Index]) |
Returns the minimum area rectangle of the object projection. The projection of the object is onto the reference plane. After computing the minimum area rectangle of the box projection, the height is extended from the reference plane to include all points in the blob. Note:
The top face of the bounding box is always parallel to the reference plane.
|
| GetCenterOfMass(Blobs3D, [Index]) | Returns the center of mass of the blob with the specified index as a Point3D structure. |
| GetHeight(Blobs3D, [Index]) | Returns the height of the blob with the specified index. |
| GetHeightHistogram(Blobs3D, [Index], [BinSize], [MinValue], [MaxValue]) | Returns the height histogram data of the blob with the specified index as a Histogram3D structure. |
| GetNFound(Blobs3D) | Returns the number of blobs extracted by the function. |
| GetNPoints(Blobs3D) | Returns the number of points for the specified blob. |
| GetPrincipalBoundingBox(Blobs3D, [Index]) |
GetPrincipalBoundingBox first computes the principal axes of the blob (also known as the principal axes of inertia). The principal axes of inertia represent the axes around which the object would naturally rotate. There are three axes and they define a coordinate system. Returns the axis-aligned bounding box for the computed principal axes. Note: The computation assumes uniform density between the top surface of the blob and the reference plane.
Note: The principal axes are not necessarily the same as the sensor XYZ axes.
Note: The resulting bounding box may not have a face that is parallel to the reference plane.
|
| GetScore(Blobs3D, [Index]) | Returns the score of the extracted blob with the specified index, as a value between 0 – 100. |
| GetType(Blobs3D, [Index]) | Returns the blob type of the blob with the specified index in numeric data. |
| GetTypeText(Blobs3D, [Index]) | Returns the blob type of the blob with the specified index in text. |
| GetVolume(Blobs3D, [Index]) | Returns the volume of the blob with the specified index. |