🟠 3D ROI to 2D ROI

Function Description

This operator is used to project a region of interest (3D ROI) defined in three-dimensional space onto a camera’s two-dimensional image plane, thereby obtaining a corresponding two-dimensional region of interest (2D ROI).

Usage Scenarios

  • 3D and 2D coordination: After determining an analysis region in three-dimensional point clouds (for example, through the "Dynamic ROI Generation" operator), this operator can be used to find exactly the same region on the original two-dimensional color or grayscale image for subsequent two-dimensional image processing.

  • Visualization and debugging: In the user interface, both highlighted 3D ROI and its corresponding 2D ROI can be displayed simultaneously, making it convenient for users to intuitively understand the mapping relationship between three-dimensional spatial regions and two-dimensional image pixels.

Input Output

Input

Camera intrinsics: Camera 3x3 intrinsic matrix

3D ROI: A list composed of one or more 3D ROIs.

Output

2D ROI: A list composed of one or more 2D ROIs.