Function kernel_centre

Source
pub fn kernel_centre(rows: usize, cols: usize) -> (usize, usize)
Expand description

Get the centre of a kernel. Determines the pixel to be modified as a window is moved over an image