Compute Point Cloud Bounding Box
Functional Description
This operator computes a 3D bounding box for each input point cloud and outputs the geometric information of the bounding box.
Two types of bounding boxes are optional:
-
Axis-Aligned Bounding Box (AABB): The faces of the bounding box are parallel to the X, Y, and Z axes of the coordinate system. Calculation is simple and fast, suitable for situations where the object’s orientation is roughly aligned with the coordinate axes.
-
Oriented Bounding Box (OBB): The orientation of the bounding box is determined by the principal directions of the point cloud itself, allowing it to more tightly enclose arbitrarily oriented objects.
Usage Scenarios
-
Object Size and Position Estimation: Obtain the 3D dimensions and center position of the object represented by the point cloud.
-
Coarse Pose Estimation: OBB can provide orientation information of the object.
-
Spatial Occupancy Analysis: Determine the approximate range occupied by the object in space.
-
ROI Generation: Quickly generate a region enclosing the point cloud for subsequent finer processing.
-
Collision Detection: Use a simple AABB or a tighter OBB for preliminary collision judgment.
Inputs and Outputs
Input Items |
Pointcloud: Input point cloud or list of point clouds. |
Output Items |
Bounding box normal: A list of normal vectors for the calculated bounding box. Bounding box center point: A list of center points for each calculated bounding box, the calculation method is determined by the Center point type parameter. Bounding box: A list of detailed information for each bounding box. Bounding box size: A list of X, Y, Z dimensions for each bounding box along its principal axes. 3D ROI: A list of 3D ROIs generated based on the calculated bounding box, possibly scaled or adjusted. |
Parameter Description
This operator has two versions:
Both have identical core functionality and parameters, only differing in the type of point cloud data they process. |
|
Calculation method
Parameter Description |
Select the type of bounding box to calculate. |
Tuning Description |
|
Center point type
Parameter Description |
Selects how the output "Bounding box center point" is calculated. |
Tuning Description |
|
Normal Z direction
Parameter Description |
Specifies whether the Z-component of the output "Bounding box normal" should be positive or negative. The operator adjusts the calculated normal vector direction based on this setting. |
Tuning Description |
Used to unify the orientation of the output normal vector. If you want the normal vector to always point in the positive Z-axis direction ("upwards"), select "Positive Z"; if you want it to point in the negative Z-axis direction ("downwards"), select "Negative Z". |
Zoom method
Parameter Description |
Selects how to adjust (scale/expand) the final output 3D ROI region. |
Tuning Description |
|
Scale range in X direction/Scale range in Y direction/Z scaling range
Parameter Description |
Effective when "Zoom method" is set to "Specified value". Specifies the distance to expand outwards (positive value) or shrink inwards (negative value) in the X, Y, and Z directions of the bounding box, respectively (Note: for OBB, this refers to the bounding box’s own coordinate axes). |
Tuning Description |
Used for precise control of ROI size. For example, X=10 means the ROI is 20mm wider in the bounding box’s own X-axis direction than the original bounding box (10mm added to each side). |
Parameter Range |
"[-5000, 10000], Default: 0, Unit: mm" |
Scale X/Scale Y/Zoom
Parameter Description |
Effective when "Zoom method" is set to "Specified ratio". Specifies the scaling factor for the ROI (and possibly the bounding box) in the X, Y, and Z directions (bounding box’s own coordinate axes), respectively. |
Tuning Description |
A scaling factor of 1 means maintaining the original size, greater than 1 means enlarging, and less than 1 means shrinking. For example, x=1.1 means the size of the ROI in the bounding box’s own X-axis direction becomes 1.1 times the original. |
Parameter Range |
"[0, 5], Default: 1" |