Skip to content

3D Blob

Operator Function

Find 3D point clusters in the input point cloud region; these clusters are called blobs, and output the center points of all selected blobs and the point sets within the blobs.

Input point cloud: blob_test_cloud


Output point cloud: blob_test_cloud

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80The IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Use Region Parameterstrue/falsefalseIf enabled, use Region as input; if not enabled, use Input Image as input
Region2D Window/BoxBoxManually select an appropriate ROI region
Can bind to select existing ROI regions
AlgorithmEuclidean ClusteringEuclidean ClusteringEuclidean Clustering
Maximum Distance Threshold0.500The distance threshold to distinguish between two different blobs. If the distance between adjacent blobs is small, try reducing this value.
Minimum Points per Blob1.000The minimum number of points that each blob must contain; can be used to filter blobs.
Maximum Points per Blob100000000.000The maximum number of points that each blob can contain; can be used to filter blobs.
Sorting MethodNo Sorting/Point Count/X/Y/ZNo SortingPoint Count: Sort blobs based on the number of points in each blob.
X: Sort blobs based on the centroid X coordinate of each blob.
Y: Sort blobs based on the centroid Y coordinate of each blob.
Z: Sort blobs based on the centroid Z coordinate of each blob.
Sorting DirectionDescending/AscendingAscending
Maximum Output Blob Count5Limit the maximum number of output blobs
Output Image0-80The IM number for image output

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Point Settrue/falsefalseTarget point set; if enabled, displayed in the image
Center Pointtrue/falsefalseBlob center; if enabled, displayed in the image
Sequence Numbertrue/falsefalseBlob sequence number; if enabled, displayed in the image
ROI Point Settrue/falsefalseOnly effective when Use Region Parameters is selected; the point set of the ROI selected region; if enabled, displayed in the image

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates there is a warning
false indicates there is none
MessagestringOutputs success, error, or warning information; if there is no error or warning, it is empty
TimefloatOperator execution time, unit: ms
blob_numfloatNumber of blobs found
blobspointset[]Point sets of the found blobs. Can be used for region binding in other operators
blob_center_pointspoint3d[]Center coordinates of the found blobs

Tip

For more detailed explanations of parameter types, please refer to Type Definitions

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1The input value is {0}, invalid region typeRegion TypeOnly supports window2d, box, pointset
2The input value is {0}, invalid maximum blob output...Current blob count (equal to 0...)Input blob count >= 0
3The input value is {0}, invalid sorting methodSorting MethodOnly supports no sorting, point count, X, Y, Z sorting methods
4The input value is {0}, invalid sorting directionSorting DirectionOnly supports descending, ascending
5Euclidean clustering failedCheck blob parameters for any values less than 0
6Blob detection failedCheck the distance threshold parameter in blob parameters; if set too small
7The input value is {0}, invalid blob search algorithmBlob Search AlgorithmOnly supports Euclidean cluster

Example Introduction

Engineering Design

  1. Select the Load 3D Point Cloud tool to load the 3D point cloud image to be processed into IM0.

  2. Select the 3D Blob tool.

Tool Usage

  1. Select the input image for operation; the image number must match the IM number where the image is located in the project.

  2. Select the region type as Box, move the box to the position to be measured, enclosing the point cloud to be measured.

Usage Tips

  1. Use the ROI controller on the image window to drag or scale the box;
  2. Directly modify the start or end coordinates of the box in the calculation parameters to adjust the box position and size;
  1. Set parameters

  2. Check the content you want to display in the result display section

  3. Click Test to check if the image window and parameters meet expectations

  4. If there are no issues, click Save, then run the operator in the run list to view the results in the corresponding IM

Local Image

AI-Vision, Making 3D Measurement Easier