pub trait WindowGenerator<I>where
    I: GenericImageView,{
    // Required method
    fn windows<'a, 'b>(
        &'a self,
        image: &'b I
    ) -> Vec<ImageWindow<SubImage<&'b I>>>;
}
Expand description

Trait for generating windows over an image

Required Methods§

source

fn windows<'a, 'b>(&'a self, image: &'b I) -> Vec<ImageWindow<SubImage<&'b I>>>

Generates a series of windows over the given image

Arguments
  • image - the image to generate windows for
Returns

A vector of ImageWindows representing the windows over the image

Implementors§

source§

impl WindowGenerator<DynamicImage> for PyramidWindow

source§

impl WindowGenerator<DynamicImage> for SlidingWindow