You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- :code:`isp` - :ref:`ImgFrame` - YUV420 planar (same as YU12/IYUV/I420)
51
+
- :code:`still` - :ref:`ImgFrame` - NV12, suitable for bigger size frames. The image gets created when a capture event is sent to the ColorCamera, so it's like taking a photo
52
+
- :code:`preview` - :ref:`ImgFrame` - RGB (or BGR planar/interleaved if configured), mostly suited for small size previews and to feed the image into :ref:`NeuralNetwork`
Copy file name to clipboardExpand all lines: docs/source/components/nodes/stereo_depth.rst
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,26 +53,26 @@ Inputs and Outputs
53
53
Disparity
54
54
#########
55
55
56
-
When calculating the disparity, each pixel in the disparity map gets assigned a confidence value 0..255 by the stereo matching algorithm, as:
57
-
- 0 - maximum confidence that it holds a valid value
58
-
- 255 - minimum confidence, so there are chances the value is incorrect
56
+
When calculating the disparity, each pixel in the disparity map gets assigned a confidence value :code:`0..255` by the stereo matching algorithm,
57
+
as:
58
+
59
+
- :code:`0` - maximum confidence that it holds a valid value
60
+
- :code:`255` - minimum confidence, so there is more chance that the value is incorrect
61
+
59
62
(this confidence score is kind-of inverted, if say comparing with NN)
60
63
61
64
For the final disparity map, a filtering is applied based on the confidence threshold value: the pixels that have their confidence score larger than
62
-
the threshold get invalidated, i.e. their disparity value is set to zero.
65
+
the threshold get invalidated, i.e. their disparity value is set to zero. You can set the confidence threshold with :code:`stereo.setConfidenceThreshold()`.
63
66
64
67
Current limitations
65
68
###################
66
69
67
-
If one or more of the additional depth modes (lrcheck, extended, subpixel) are enabled, then:
68
-
69
-
- :code:`depth` output is FP16.
70
-
- median filtering is disabled on device.
71
-
- with subpixel, either depth or disparity has valid data.
70
+
If one or more of the additional depth modes (:code:`lrcheck`, :code:`extended`, :code:`subpixel`) are enabled, then:
72
71
73
-
Otherwise, depth output is U16 (in milimeters) and median is functional.
72
+
- median filtering is disabled on device
73
+
- with subpixel, if both :code:`depth` and :code:`disparity` are used, only :code:`depth` will have valid output
74
74
75
-
Like on Gen1, either :code:`depth` or :code:`disparity` has valid data.
75
+
Otherwise, :code:`depth` output is **U16** (in millimeters) and median is functional.
0 commit comments