Skip to main content

create_patches

Function create_patches 

Source
pub fn create_patches<T>(
    image: ArrayView2<'_, T>,
    patch_size: (usize, usize),
    stride: (usize, usize),
) -> Vec<Array2<T>> 
where T: Clone,
Expand description

Create patches from image with specified stride and size