pandora2d.constants
This module contains all the parameters related to the criteria dataset, defining each bit.
Module Contents
-
class pandora2d.constants.Criteria[source]
Bases: enum.IntFlag
Criteria class
-
VALID = 0[source]
-
P2D_LEFT_BORDER[source]
The pixel is invalid : border of left image according to window size.
-
P2D_LEFT_NODATA[source]
The pixel is invalid : nodata in left mask.
-
P2D_RIGHT_NODATA[source]
The pixel is invalid : nodata in right mask.
-
P2D_RIGHT_DISPARITY_OUTSIDE[source]
The pixel is invalid : disparity is out the right image.
-
P2D_INVALID_MASK_LEFT[source]
The pixel is invalid : invalidated by validity mask of left image.
-
P2D_INVALID_MASK_RIGHT[source]
The pixel is invalid : invalidated by validity mask of right image.
-
P2D_PEAK_ON_EDGE[source]
The pixel is invalid : The correlation peak is at the edge of disparity range.
The calculations stopped at the pixellic stage.
-
P2D_INVALID_INIT_DISPARITY[source]
The pixel is invalid : initial disparity of the pixel is invalid.
-
is_in(array: numpy.typing.NDArray)[source]
Returns a bool array, where True if Criteria value is part of array element.