Skip to content

3D Region Operation

Operator Function

Perform operations on several regions to output a new region.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionImage
ModeSee ModeMode
Region 1true/falsefalseIf enabled, include it as part of the region operation
Region 2true/falsefalseIf enabled, include it as part of the region operation
Region 3true/falsefalseIf enabled, include it as part of the region operation

Mode

ParameterRangeDefault ValueDescriptionImage
Point Cloud AdditionCalculate the union of input regionsAddition
Point Cloud IntersectionCalculate the intersection of input regionsIntersection
Point Cloud SubtractionCalculate the first input region minus the remaining regionsSubtraction

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Point Settrue/falsefalseTarget region point set. If enabled, display in the image
ROI Point Settrue/falsefalseRegion point set selected by ROI box. If enabled, display in the 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
regionpointsetRegion point set

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input point cloud is emptyCheck if input point cloud is empty
2Input value is {0}, invalid Region 1 inputRegion 1 TypeOnly window2d, box, pointset supported
3Input value is {0}, invalid Region 2 inputRegion 2 TypeOnly window2d, box, pointset supported
4Input value is {0}, invalid Region 3 inputRegion 3 TypeOnly window2d, box, pointset supported
5Input value is {0}, invalid region calculation modeModeOnly intersection, subtract, add supported

Example Introduction

Engineering Design

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

  2. Select the 3D Point Cloud Crop tool to copy IM0 to IM1 and IM2 respectively.

  3. Select the 3D Region Operation tool to obtain regions in different modes (point cloud addition, point cloud subtraction, point cloud intersection).

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. Select the region as 2D Window, move the window to the position to be measured.

Usage Tips

  1. Use the ROI controller on the image window to drag or scale the window;
  2. Directly modify the window's start or end point coordinates in the calculation parameters to adjust the window 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.

Local Image

AI-Vision, Making 3D Measurement Easier