|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inline |
Place up to requested pyramid levels for a w x h base image.
Levels stop early when the next one would have a side under min_extent, so small images get fewer levels rather than degenerate ones. requested is clamped to [1, PyramidLayout::k_max_levels].
| w | Base width in pixels. |
| h | Base height in pixels. |
| requested | Desired number of levels including the base. |
| min_extent | Smallest side a level may have. |
Definition at line 63 of file Pyramid.hpp.
References MayaFlux::Kinesis::Vision::PyramidLayout::atlas_h, MayaFlux::Kinesis::Vision::PyramidLayout::atlas_w, count, h, MayaFlux::Kinesis::Vision::PyramidLayout::k_max_levels, MayaFlux::Kinesis::Vision::PyramidLayout::level, and MayaFlux::Kinesis::Vision::PyramidLayout::levels.
Referenced by MayaFlux::Yantra::VisionGpuExecutor::build_flow_pyramid().
Here is the caller graph for this function: