Skip to content

Commit 708d9a8

Browse files
author
SzabolcsGergely
committed
Update docs
1 parent 9e4af24 commit 708d9a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/depthai/pipeline/node/StereoDepth.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,8 @@ class StereoDepth : public NodeCRTP<Node, StereoDepth, StereoDepthProperties> {
388388
/**
389389
* Free scaling parameter between 0 (when all the pixels in the undistorted image are valid)
390390
* and 1 (when all the source image pixels are retained in the undistorted image).
391+
* On some high distortion lenses, and/or due to rectification (image rotated) invalid areas may appear even with alpha=0,
392+
* in these cases alpha < 0.0 helps removing invalid areas.
391393
* See getOptimalNewCameraMatrix from opencv for more details.
392394
*/
393395
void setAlphaScaling(float alpha);

0 commit comments

Comments
 (0)