|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Per-element shape descriptors, parallel to FindElementsAnalysis::boxes (shapes[i] describes boxes[i]). More...
#include <VisionInsight.hpp>
Collaboration diagram for MayaFlux::Kinesis::Vision::ElementShape:Public Attributes | |
| float | aspect_ratio { 0.0F } |
| float | compactness { 0.0F } |
Per-element shape descriptors, parallel to FindElementsAnalysis::boxes (shapes[i] describes boxes[i]).
compactness is 4*pi*area/perimeter^2 in pixel units (1.0 for a perfect circle, lower for elongated or irregular shapes). aspect_ratio is the element's own bounding box width/height in pixel units.
Definition at line 95 of file VisionInsight.hpp.