Dynamic ROI Generation With Normals
Description
This operator applies a standard ROI, defined relative to a model or scene point cloud, to all matched model instances.
Overview
Pre-configure template ROI and dynamically generate ROIs at corresponding positions for each pose based on a pose list.
Scenarios
-
Multi-target area definition: When poses of multiple objects are obtained via matching or other methods, define an ROI of the same size and relative direction for each object.
-
Pose-based area filtering: Precisely filter the scene point cloud around each object based on the recognized target object poses.
Inputs and Outputs
Inputs |
ROI Reference Point Pose: Input pose list that defines the initial center and orientation of each dynamic ROI. Scene Point Cloud (Optional): Input scene point cloud or list of point clouds with normals to be filtered. |
Outputs |
Point Cloud After ROI: If a scene point cloud is provided, outputs the point cloud list filtered by the dynamic ROI; otherwise this output is empty. 3D ROI: ROI list dynamically generated from the input poses and the template ROI. |
Parameters
Initialization Parameters
Model Point Cloud File
Description |
Specifies a model point cloud file (.ply format). If provided, the operator loads it during initialization, mainly to help the user configure the "3D ROI" parameter in the interface so it matches the model’s dimensions. Note: This is an optional parameter — the operator does not require this model to exist at runtime, but at least one of the input scene point cloud or this model file must be provided. |
Tuning Instructions |
If you want to define the template ROI based on a specific model, select the corresponding .ply file. If a model reference is not needed, you can leave it unset, but you must ensure a scene point cloud is provided as input at runtime. |
Parameter Range |
Values/Range:
|
3D ROI
Description |
Defines the template ROI; at runtime, the operator transforms the template ROI according to each input reference point pose to generate the final dynamic ROI. |
Tuning Instructions |
Besides entering the ROI parameters directly, it is recommended to click the "eye" icon in the upper-right corner of the parameter panel to open the view window and configure the ROI visually, which is more convenient and intuitive. |
Parameter Range |
Default: [{"min": [0, 0, 0], "max": [0, 0, 0], "transform": [0, 0, 0, 0, 0, 0]}] |
Run Parameters
Keep Organized
Description |
Controls whether the output point cloud retains the original structure of the input. |
Tuning Instructions |
|
Parameter Range |
Default: False |
Keep Original Size
Description |
Only takes effect when "Keep Organized" is enabled and the input point cloud has an ordered structure. Controls whether, while keeping the ordered structure, rows and columns consisting entirely of invalid points are cropped out. |
Tuning Instructions |
|
Parameter Range |
Default: True |
Enable Invert
Description |
Inverts the filtering logic. |
Tuning Instructions |
Disabled (Default): Keeps the point cloud inside the ROI and removes the point cloud outside the ROI. Enabled: Keeps the point cloud outside the ROI and removes the point cloud inside the ROI. Useful for removing interference from a specific region. |
Parameter Range |
Values/Range:
Default: False |
Split Multi-ROI Results
Description |
Only effective when "Enable Invert" is disabled. Controls how to handle the filtering results of the same input point cloud when multiple ROIs are input. |
Tuning Instructions |
|
Parameter Range |
Default: True |