Skip to main content

project

Function project 

Source
pub fn project(
    image: &ImageOutput,
    region: Option<Rect>,
    storage: &StorageBudget,
    pulse: Option<&dyn Pulse>,
) -> Result<ImageOutput, Cause>
Expand description

Geometric projection only. All mapped planes are validated before payload admission. Cropping is in oriented canvas coordinates; unsupported raw views, placement, component codes or unaligned auxiliary grids refuse explicitly. Source decoding/composition has already happened and retains its own costs. Auxiliary registration must be explicitly established by its adapter; dimensions alone do not authorize projection. Other grids require their own geometry representation and resampling mechanism before they can be offered. None adds no per-call control; geometry and storage checks still apply.