Skip to content

3D Contour Extraction

Operator Function

This operator extracts contours from the input point cloud based on user-defined cutting plane, cutting position, and cutting width. Running the operator will plot the extracted points on the image and output them to the XY plane of the input image.

As shown in the figure, setting the cutting plane to XZ plane will plot the extracted points on the input image:
Original Display extracted contour points on the input image:
Contour

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80The IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionImage
Extraction PlaneXY Plane/XZ Plane/YZ PlaneXZ PlaneSelect cutting plane; will cut the plane in this direction
XY Plane: Set cutting plane as XY plane
XZ Plane: Set cutting plane as XZ plane
YZ Plane: Set cutting plane as YZ plane
Extraction Position0.000Set cutting plane
Value: Perform cutting at this value position
Extraction ModeNearest/Fusion-AverageFusion-AverageThese modes only support extraction planes XZ plane and YZ plane
Nearest: This mode only supports organized point cloud as input, will extract the contour closest to the extraction position
Fusion (Average): This mode will extract points within the set extraction width, outputting contours fitted by averaging based on extraction width and resolution
Resolution0.100Enabled when extraction mode is Fusion (Average)
When extraction plane is XZ plane, this resolution is the X-direction resolution of fitted contour
When extraction plane is YZ plane, this resolution is the Y-direction resolution of fitted contour
Extraction Width0.030Set cutting width value; points within the range of ± this value from the cutting position will be used as extracted contour points
Output Image0-80The IM number for image output

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Extracted Pointstrue/falsefalseIf enabled, display extracted points in the input image

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates there is a warning
false indicates there is none
MessagestringOutputs success, error, or warning information; if there is no error or warning, it is empty
TimefloatOperator execution time, unit: ms

Tip

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

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Extracted contour is emptyNoneAdjust region start and end parameters to ensure valid points exist in selected area
2Organized point cloud required as inputNoneInput using organized point cloud image
3Input extraction mode is {0}, invalid extraction modeExtraction ModeSelect extraction mode as Fusion-Average/Nearest
4Input extraction plane is {0}, invalid extraction planeExtraction PlaneSelect extraction plane as XY Plane/XZ Plane/YZ Plane
5No contour exists at input extraction position or resolution is much smaller than point spacingNoneAdjust extraction position or resolution
6Input point cloud is emptyNoneConfirm if IM contains valid points; if no valid points, load point cloud or switch to IM with valid points

Example Introduction

Engineering Design

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

  2. Select the 3D Contour Extraction tool

Tool Usage

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

  2. Set parameters

  3. Check the content you want to display in the result display section

  4. Click Test to check if the image window and parameters meet expectations

  5. If there are no issues, click Save, then run the operator in the run list to view the results in the corresponding IM

Original Image

Local Image

Extracted XY Plane Contour

Local Image

Extracted YZ Plane Contour

Local Image

Extracted XZ Plane Contour

Local Image

AI-Vision, Making 3D Measurement Easier