Skip to content

3D Bounding Box

Operator Function

For the selected point cloud, choose the type of bounding box to output, calculate and output the bounding box information.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Use Region Parameterstrue/falsefalseIf enabled, use Region as input; if disabled, use Input Image as input
Region2D Window/2D Circular Window/2D Polygon Window/Box/Cylindrical Box/Rotated Box/Point Set (binding only)BoxManually select appropriate ROI region
Can bind to select existing ROI region
Bounding Box TypeAxis-Aligned Bounding Box/Oriented Bounding BoxAxis-Aligned Bounding BoxSet the type of output bounding box. Axis-aligned bounding box is a cuboid with length, width, and height parallel to the three axes of the 3D coordinate system. Oriented bounding box is the minimum bounding cuboid of the point cloud.

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Bounding Boxtrue/falsefalseDisplay bounding box on 2D image

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates a warning
false indicates no warning
MessagestringOutput success, error, or warning messages. Empty if no error or warning.
TimefloatOperator execution time, unit: ms
bounding_boxgroup[]/orientedbox[]Output bounding box. Axis-aligned bounding box outputs an array composed of length, width, height (length>width), start point, and end point of the box. Oriented bounding box outputs orientedbox[] type.

Tip

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

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input region type is {0}, invalid region typeRegion TypeRegion input type must be one of: 2D Window/2D Circular Window/2D Polygon Window/Box/Cylindrical Box/Rotated Box/Point Set
2Region is empty1. Check if selection is empty 2. Check if point set is empty
3Input point cloud is emptyConfirm if IM contains valid points. If no valid points, load point cloud or switch to IM with valid points
4Input bounding box type is {0}, invalid bounding box typeIndexConfirm bounding box type is one of: Axis-Aligned Bounding Box/Oriented Bounding Box
5Input polygon vertex count is less than 3, cannot form polygonAdd 2D polygon window vertices so that vertex count is at least three

Example Introduction

Engineering Design

  1. Select the Load Point Cloud tool to load the required 3D point cloud image to IM0;

  2. Select the 3D Bounding Box tool.

Tool Usage

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

  2. Either disable "Use Region Parameters" or enable region and select region type as Box, move the box to the position to be measured, enclosing the point cloud to be tested.

Usage Tips

  1. Use the ROI controller on the image window to drag or scale the box;
  2. Directly modify the box's start or end point coordinates in the calculation parameters to adjust the box position and size
  1. Set the 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. Run the operator in the run list, and then view the running results in the corresponding IM.

Axis-Aligned Bounding Box

Local ImageLocal Image

Oriented Bounding Box

Local ImageLocal Image

AI-Vision, Making 3D Measurement Easier