MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ VisionExtractionMode

enum class MayaFlux::Yantra::VisionExtractionMode : uint8_t
strong

Selects the spatial mask used to crop pixels from a container.

Enumerator
BBOX 

Crop the axis-aligned rectangle of a BoundingBox.

CONTOUR_TIGHT 

Crop the tight bounding rect of a Contour; no polygon mask.

CONTOUR_MASKED 

Crop the tight bounding rect of a Contour; zero pixels outside polygon.

Definition at line 17 of file VisionExtractor.hpp.

17 : uint8_t {
18 BBOX, ///< Crop the axis-aligned rectangle of a BoundingBox.
19 CONTOUR_TIGHT, ///< Crop the tight bounding rect of a Contour; no polygon mask.
20 CONTOUR_MASKED, ///< Crop the tight bounding rect of a Contour; zero pixels outside polygon.
21};
@ BBOX
Crop the axis-aligned rectangle of a BoundingBox.
@ CONTOUR_MASKED
Crop the tight bounding rect of a Contour; zero pixels outside polygon.
@ CONTOUR_TIGHT
Crop the tight bounding rect of a Contour; no polygon mask.