Expand description
Sailiency map is computed using Maximum Symmetric Surround algorithm by Radhakrishna Achanta.
Structs§
- Img
- Basic struct used for both owned (alias
ImgVec
) and borrowed (aliasImgRef
) image fragments. - Pixels
Iter - Iterates over pixels in the (sub)image. Call
Img.pixels()
to create it. - Pixels
Iter Mut - Iterates over pixels in the (sub)image. Call
Img.pixels_mut()
to create it. - Pixels
RefIter - Iterates over pixels in the (sub)image. Call
Img.pixels_ref()
to create it. - RGB
- The RGB pixel
- Rows
Iter - Rows of the image. Call
Img.rows()
to create it. - Rows
Iter Mut - Rows of the image. Call
Img.rows_mut()
to create it.
Traits§
- ImgExt
- Additional methods that depend on buffer size
- ImgExt
Mut - Additional methods that depend on buffer size
Functions§
- maximum_
symmetric_ surround_ saliency - Create a saliency map.
- maximum_
symmetric_ surround_ saliency_ f32 - Same as
maximum_symmetric_surround_saliency
, but works onf32
. - maximum_
symmetric_ surround_ saliency_ rgb - Same as
maximum_symmetric_surround_saliency
, but returns maximum of 3 channels.