MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Kinesis::Vision::Contour Struct Reference

Closed contour extracted from a binary mask. More...

#include <Features.hpp>

+ Collaboration diagram for MayaFlux::Kinesis::Vision::Contour:

Public Attributes

float area
 Pixel coverage divided by total image area.
 
uint32_t label_id { 0 }
 1-based label id of the component this contour traces, matching ComponentResult::boxes and BoundingBox::label_id numbering, and the value written per pixel in ConnectedComponents' device label buffer.
 
uint32_t parent_label { no_parent }
 no_parent for an outer contour.
 
float perimeter
 Closed boundary length in pixels.
 
std::vector< glm::vec2 > points
 

Static Public Attributes

static constexpr uint32_t no_parent = 0xFFFFFFFFU
 Outer contour parent sentinel.
 

Detailed Description

Closed contour extracted from a binary mask.

Points are in normalised image coordinates [0, 1], top-left origin.

Definition at line 46 of file Features.hpp.


The documentation for this struct was generated from the following file: