Class MotionSaliencyBinWangApr2014


  • public class MotionSaliencyBinWangApr2014
    extends MotionSaliency
    the Fast Self-tuning Background Subtraction Algorithm from CITE: BinWangApr2014
    • Constructor Detail

      • MotionSaliencyBinWangApr2014

        protected MotionSaliencyBinWangApr2014​(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
      • setImagesize

        public void setImagesize​(int W,
                                 int H)
        This is a utility function that allows to set the correct size (taken from the input image) in the corresponding variables that will be used to size the data structures of the algorithm.
        Parameters:
        W - width of input image
        H - height of input image
      • init

        public boolean init()
        This function allows the correct initialization of all data structures that will be used by the algorithm.
        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 MotionSaliency
        Throws:
        java.lang.Throwable