Skip to content

Commit

Permalink
Add numInvalidateEdgePixels option
Browse files Browse the repository at this point in the history
  • Loading branch information
SzabolcsGergely committed Mar 27, 2023
1 parent aaf0a94 commit aa3e056
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion include/depthai-shared/datatype/RawStereoDepthConfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ struct RawStereoDepthConfig : public RawBuffer {
*/
tl::optional<float> centerAlignmentShiftFactor;

/**
* Invalidate X amount of pixels at the edge of disparity frame.
* For right and center alignment X pixels will be invalidated from the right edge,
* for left alignment from the left edge.
*/
std::int32_t numInvalidateEdgePixels = 0;

DEPTHAI_SERIALIZE(AlgorithmControl,
depthAlign,
depthUnit,
Expand All @@ -116,7 +123,8 @@ struct RawStereoDepthConfig : public RawBuffer {
leftRightCheckThreshold,
subpixelFractionalBits,
disparityShift,
centerAlignmentShiftFactor);
centerAlignmentShiftFactor,
numInvalidateEdgePixels);
};

/**
Expand Down

0 comments on commit aa3e056

Please sign in to comment.