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§
Sourcefn compute_image_pyramid(
&self,
params: Option<&ImagePyramidParams>,
) -> Result<ImagePyramid, ImagePyramidError>
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:
SmoothingType::Box- This smoothing type is not yet supported in theimagecrate and is also not yet implemented manuallyImagePyramidType::Steerable- Not yet implemented