|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| Region MayaFlux::Kakshya::remove_channel_dimension | ( | const Region & | region, |
| const std::vector< DataDimension > & | dimensions | ||
| ) |
Remove the channel dimension from a Region.
| region | The original Region. |
| dimensions | Dimension descriptors to identify the channel dimension. |
This function identifies the channel dimension based on the provided dimension descriptors and removes it from the region's start and end coordinates.
This is useful for operations that need to ignore the channel dimension, such as spatial-only processing or planar data handling.
Definition at line 374 of file RegionUtils.cpp.
References MayaFlux::Kakshya::Region::end_coordinates, remove_channel_dimension(), and MayaFlux::Kakshya::Region::start_coordinates.
Referenced by extract_region_data(), remove_channel_dimension(), and set_or_update_region_data().
Here is the call graph for this function:
Here is the caller graph for this function: