|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< T > MayaFlux::Kakshya::extract_region_data | ( | const std::span< const T > & | source_data, |
| const Region & | region, | ||
| const std::vector< DataDimension > & | dimensions | ||
| ) |
Extract a region of data from a flat data span using a Region and dimension info.
| T | Data type. |
| source_data | Source data span. |
| region | Region to extract. |
| dimensions | Dimension descriptors. |
| std::out_of_range | if region is out of bounds. |
Definition at line 67 of file RegionUtils.hpp.
References coordinates_to_linear(), MayaFlux::Kakshya::Region::end_coordinates, MayaFlux::Kakshya::Region::get_volume(), and MayaFlux::Kakshya::Region::start_coordinates.
Referenced by extract_region(), extract_region(), extract_region_data(), and extract_region_data().
Here is the call graph for this function:
Here is the caller graph for this function: