Generate Path Given Depth Map
Function
This Step generates inward spiraling path’s targets based on an object’s point cloud edge and depth map.
Input and Output
Input
| Input port | Data type | Description |
|---|---|---|
Object Mask |
Image/Color/Mask |
A mask image of the object input at this port is used to determine the object’s contour range. |
Scene Depth Map |
Image/Depth |
A depth map of the scene input at this port is used to obtain surface depth information of the object. |
Object Point Cloud (with normals if by contours and usePointNormal) |
PointCloud/XYZNormal |
A point cloud of the target object input at this port is used to compute the normal vector direction of path target points. |
Parameter Description
| Parameter | Description |
|---|---|
Trajectory Generation Method |
Parameter description: This parameter is used to set the method to generate the waypoints of the path. Value list:
Default value: ByCorners. |
Trajectory Settings
| Parameter | Description |
|---|---|
Erosion Scale |
Parameter description: This parameter is used to set the scaling value (px) for erosion on object masks when generating the path.
|
Erode Kernel Size |
Parameter description: This parameter is used to set the kernel size for erosion on object masks during path generation.
|
Sample Distance |
Parameter description: This parameter is used to specify the sampling distance in the generated path. The unit is pixels.
|
Final Point Distance Redundancy Ratio |
Parameter description: This parameter is used to set the redundancy of the most important distance in generating the path.
|
Corner Sorting Settings
| Parameter | Description |
|---|---|
Pose Sorting Strategy |
Parameter description: This parameter is used to set the strategy for sorting the corners. Value list:
Default value: NONE. |
Ascending |
Parameter description: This parameter is used to set the sorting direction. When this parameter is selected, it will be sorted in ascending order, and when this parameter is not selected, it will be sorted in descending order.
|
Corner Detection
| Parameter | Description |
|---|---|
Confidence |
Parameter description: This parameter is used to set the confidence threshold for corner detection. A larger value indicates a higher quality requirement for the detected corners.
|
Min Corner Distance |
Parameter description: This parameter is used to set the minimum allowable distance (in pixels) between neighboring corners. Corners with distances smaller than this value will be merged or filtered.
|
Max Corner Num |
Parameter description: This parameter is used to set the upper limit of the number of detected corners. The excess points will be discarded.
|
Block Size |
Parameter description: This parameter is used to set the block size for corner detection.
|
Use Harris Detector |
Parameter description: This parameter is used to determine whether to use the Harris detector to detect corners. Once this option is selected, you will need to set the K value.
|
K |
Parameter description: This parameter is used to set the response coefficient K of the Harris detector.
|
Sub-pixel Corner Extraction Window Size |
Parameter description: This parameter is used to set the window size for extracting sub-pixel corners.
|
Sub-pixel Corner Extraction Iteration Num |
Parameter description: This parameter is used to set the maximum number of iterations for extracting sub-pixel corners.
|
Sub-pixel Corner Accuracy |
Parameter description: This parameter is used to set the accuracy requirement for extracting sub-pixel corners.
|
Point Validation Settings
| Parameter | Description |
|---|---|
Max Point Distance |
Parameter description: This parameter is used to set the maximum distance between points in the search area and waypoints when generating waypoints.
|