[][src]Function mss_saliency::maximum_symmetric_surround_saliency

pub fn maximum_symmetric_surround_saliency(image: Img<&[u8]>) -> Img<Vec<u16>>

Create a saliency map.

The input is a single channel 2D 8-bit image (see imgref crate). The maximum image size is about 16Mpix, because internal u32 counters will start overflowing on larger images.

The output is a 2D array of the same size of u16 values. Max value is 65025 (255*255), but expect most values to be low.