You're reading the documentation for a development version. For the latest released version, please have a look at master.
3D Object Finder Node
Overview
The 3D Object Node is used to find the 3D locations of an object using point cloud features related algorithms. At the creation of the node, users need to select which type of point cloud features to use (normal or edge mode).
Input and Output
Input |
Type |
Description |
---|---|---|
Search Type |
Int32 |
Select from one of Normal and Edge search type. |
Scene Cloud |
Cloud |
A vector of point clouds to find objects within. |
Output |
Type |
Description |
---|---|---|
cloudModel |
Cloud |
The cloud of the active model used for searching. |
edgesModel |
Cloud |
The edge of the active model used for searching. Available in Edge mode. |
meshModel |
Mesh |
The mesh of the active model used for searching. Available only for model defined by mesh. |
resultPoses |
vector<Pose> |
A list of poses representing the result of search. |
success |
bool |
Indicates whether the search is successful (found at least one position). |
Node Settings
Search Type
Select a search type from one of Normal and Edge.
For the Edge search type, the scene cloud needs to be to pre-processed to contain normals. This is because after edge extraction is performed on point cloud, it will be very hard to compute its normals, which are used in searching. This can be done using Cloud Process node’s “Normal” operation.
Source
- Scene Cloud
A vector of point clouds to find objects within.
Models
There are two ways to define a model, “From Mesh” and “From Scene”.
- “From Mesh”:
Select “From Mesh” model type.
Click browse to select the mesh file for the model.
Click “Load Mesh” to Load the model.
- “From Scene”:
Select “From Scene” model type.
Click “Define Model”.
Use the bounding box to define the model from the source Scene Cloud.
Click “Exit Interactor” to finish defining the model.
Model Parameters
- Label (Default: 0)
The label for this model.
- Feature Detail (Default: MEDIUM DETAIL)
Controls the amount of model features calculated.
- Downsample Strength (Default: MEDIUM)
Controls the strength of the downsample filter applied to the model.
Pose Constraints
- Constraint Search Region (Default: false)
Controls whether to use the user-defined search region.
- X-Axis/Y-Axis/Z-Axis rotation (Default: false)
Controls whether to enable X/Y/Z axis rotation constraints when searching for object poses.
- Min. angle (Default: -180)
Minimum rotation angle about the X/Y/Z axis when searching for object poses.
- Max. angle (Default: 180)
Maximum rotation angle about the X/Y/Z axis when searching for object poses.
Export
- Export to
The path used when exporting the model as a .ply or .pcd file, depending on how the model is defined. The file type will be .ply for “From Mesh” and .pcd for “From Scene”.
Finder Settings
- Downsample Strength (Default: MEDIUM)
Controls the strength of the downsample filter applied to the scene.
- Search Detail (Default: MEDIUM DETAIL)
Controls the quality of the search. Larger values mean more thorough search.
- Object Separations (Default: LOW)
Controls expected distance between target objects. Larger values mean more separation expected between objects.
- Timeout (Default: 3000 ms)
Timeout in milliseconds. The search stops when exceed the timeout value.
- Acceptance Threshold (Range: [0,inf]; Default: 50)
Controls the threshold used when filtering possible poses.
Edge Settings (available in Edge search type)
- NAN Edges filter (Default: true)
When enabled, extract edges based on borders of invalid point cloud regions.
- RGB/Depth Smoothness (Range: [0,100]; Default: NONE)
Edge smoothness (denoising strength). Larger values provide stronger noise reduction.
- Occluding (Range: [1,100]; Default: MEDIUM DETAIL)
The occluding edge detail level. Larger values provide more edges.
- Depth Edges (Range: [1,100]; Default: MEDIUM DETAIL)
The Depth detail level. Larger values provide more edges.
- RGB Edges (Range: [1,100]; Default: MEDIUM DETAIL)
The RGB detail level. Larger values provide more edges.
Procedure to Use
Here are the files used in this section. We will demonstrate the Edge search type here, so we will need a Cloud Process node.
- Create a virtual camera with the provided file. Please refer to Camera Node for more detailed instructions.
Exercise
Please select the correct option for the following questions.
You noticed 3D Object Finder failed to detect all objects. What could you do to improve the detection?
Increase search detail, and increase acceptance threshold.
Increase search detail, and decrease acceptance threshold.
Decrease search detail, and increase acceptance threshold.
Decrease search detail, and decrease acceptance threshold.
3D Object Finder finds many false positives. Which option could improve the detection?
Increase downsample strength, and increase feature detail.
Increase downsample strength, and decrease feature detail.
Decrease downsample strength, and increase feature detail.
Decrease downsample strength, and decrease feature detail.
Answers for Exercise
Increase search detail, and decrease acceptance threshold.
Increase the search detail. This will increase the number of computed scene features.
Decrease acceptance threshold. This lowers the acceptance threshold of the score filter, keeping poses with lower scores
Decrease downsample strength, and increase feature detail.
This makes the downsample voxel size smaller, preserving more detail in the scene and remove false positives.
Reducing downsample strength can also improve poses that are badly oriented.
Increasing model feature detail will increase the amount of model features calculated, making it more likely to accurately find the object in the scene.