Class StaticSaliencySpectralResidual


  • public class StaticSaliencySpectralResidual
    extends StaticSaliency
    the Spectral Residual approach from CITE: SR Starting from the principle of natural image statistics, this method simulate the behavior of pre-attentive visual search. The algorithm analyze the log spectrum of each image and obtain the spectral residual. Then transform the spectral residual to spatial domain to obtain the saliency map, which suggests the positions of proto-objects.
    • Constructor Detail

      • StaticSaliencySpectralResidual

        protected StaticSaliencySpectralResidual​(long addr)
    • Method Detail

      • computeSaliency

        public boolean computeSaliency​(Mat image,
                                       Mat saliencyMap)
        Description copied from class: Saliency
        Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
        Overrides:
        computeSaliency in class Saliency
        Parameters:
        image - automatically generated
        saliencyMap - automatically generated
        Returns:
        automatically generated
      • getImageWidth

        public int getImageWidth()
      • setImageWidth

        public void setImageWidth​(int val)
      • getImageHeight

        public int getImageHeight()
      • setImageHeight

        public void setImageHeight​(int val)
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class StaticSaliency
        Throws:
        java.lang.Throwable