-
The scale and id_width are easy to understand. The rest are not intuitive. I did some tests. but still not sure how they work in different model |
Beta Was this translation helpful? Give feedback.
Answered by
pragma37
Mar 20, 2022
Replies: 2 comments 2 replies
-
in some of my tests I noticed that the normal threshold makes the lines disappear depending on the distance between the object and the camera |
Beta Was this translation helpful? Give feedback.
2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pragma37
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The line detection works by detecting ID, depth, and normal discontinuities between nearby pixels.
The line width scale just multiplies the final result.
By default, the first channel (ID.x) is a unique number for each object, and the other 3 channels are set to 0.
So, by default, the ID detection will create contour lines at object boundaries.
The other channels can be used for custom boundaries:
The depth detection detects a line when the depth difference is larger than the depth threshold (expressed in world units).
The other parameters are used in a range mapping function.
So the line width will be equal to depth width at depth threshold, and it will be equal to depth width + depth w…