|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
inline |
Compute the normalised crop rectangle for a given VisionAnalysis.
Returns { nx, ny, nw, nh } in image space [0,1]. Used by callers to configure a TextureExecutionContext before GPU dispatch:
| std::out_of_range | if index exceeds the relevant detection collection. |
Definition at line 101 of file VisionExtractor.hpp.
References b, MayaFlux::Yantra::BBOX, MayaFlux::Yantra::DetectionSummary::boxes, MayaFlux::Journal::ComputeMatrix, MayaFlux::Yantra::CONTOUR_MASKED, MayaFlux::Yantra::CONTOUR_TIGHT, MayaFlux::Yantra::DetectionSummary::contours, MayaFlux::Yantra::VisionAnalysis::frame, MayaFlux::Yantra::VisionExtractor< InputType, OutputType >::m_index, MayaFlux::Yantra::VisionExtractor< InputType, OutputType >::m_mode, and MayaFlux::Journal::Yantra.
Referenced by MayaFlux::Yantra::VisionExtractor< InputType, OutputType >::apply_operation_internal(), and MayaFlux::Yantra::VisionExtractor< InputType, OutputType >::extract_implementation().
Here is the caller graph for this function: