|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Core::VKImage > MayaFlux::Yantra::VisionExtractor::silhouettes | ( | const std::shared_ptr< Core::VKImage > & | source, |
| const Kinesis::Vision::VisionAnalysis & | analysis, | ||
| uint32_t | tile_w, | ||
| uint32_t | tile_h | ||
| ) |
Silhouette of every element cut from its contour polygons: the outer contour and its holes, even-odd filled.
Needs no executor and no label buffer, so it works on any analysis kept from earlier. Same atlas layout as crops(). Contours truncated by max_points_per_contour fill wrongly.
Definition at line 458 of file VisionExtractor.cpp.
References fill_elements(), MayaFlux::Kinesis::Vision::VisionAnalysis::find_elements, indices, tile_h, and tile_w.
Referenced by run_operation().
Here is the call graph for this function:
Here is the caller graph for this function: