Trait CanComputePyramid

Source
pub trait CanComputePyramid {
    // Required method
    fn compute_image_pyramid(
        &self,
        params: Option<&ImagePyramidParams>,
    ) -> Result<ImagePyramid, ImagePyramidError>;
}
Expand description

Describes types that can compute their own image pyramid

Required Methods§

Source

fn compute_image_pyramid( &self, params: Option<&ImagePyramidParams>, ) -> Result<ImagePyramid, ImagePyramidError>

Compute an image pyramid for this instance’s data, using the optionally provided parameters.

If no parameters are passed, the default parameters will be used.

§Errors

Errors of type ImagePyramidError::NotImplemented are raised for the following parameter values, which are not yet implemented:

Implementors§