Crate mss_saliency
source · [−]Expand description
Sailiency map is computed using Maximum Symmetric Surround algorithm by Radhakrishna Achanta.
Structs
Basic struct used for both owned (alias
ImgVec
) and borrowed (alias ImgRef
) image fragments.Iterates over pixels in the (sub)image. Call
Img.pixels()
to create it.Iterates over pixels in the (sub)image. Call
Img.pixels_mut()
to create it.Iterates over pixels in the (sub)image. Call
Img.pixels_ref()
to create it.The RGB pixel
Rows of the image. Call
Img.rows()
to create it.Rows of the image. Call
Img.rows_mut()
to create it.Traits
Additional methods that depend on buffer size
Additional methods that depend on buffer size
Functions
Create a saliency map.
Same as
maximum_symmetric_surround_saliency
, but works on f32
.Same as
maximum_symmetric_surround_saliency
, but returns maximum of 3 channels.