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 Details

    • StaticSaliencySpectralResidual

      protected StaticSaliencySpectralResidual(long addr)
  • Method Details

    • __fromPtr__

      public static StaticSaliencySpectralResidual __fromPtr__(long addr)
    • create

      public static StaticSaliencySpectralResidual create()
    • 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)