Class MotionSaliencyBinWangApr2014
java.lang.Object
org.opencv.core.Algorithm
org.opencv.saliency.Saliency
org.opencv.saliency.MotionSaliency
org.opencv.saliency.MotionSaliencyBinWangApr2014
the Fast Self-tuning Background Subtraction Algorithm from CITE: BinWangApr2014
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MotionSaliencyBinWangApr2014__fromPtr__(long addr) booleancomputeSaliency(Mat image, Mat saliencyMap) Compute the saliency \param image The image.static MotionSaliencyBinWangApr2014create()intintbooleaninit()This function allows the correct initialization of all data structures that will be used by the algorithm.voidsetImageHeight(int val) voidsetImagesize(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.voidsetImageWidth(int val) Methods inherited from class Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
Constructor Details
-
MotionSaliencyBinWangApr2014
protected MotionSaliencyBinWangApr2014(long addr)
-
-
Method Details
-
__fromPtr__
-
create
-
computeSaliency
Description copied from class:SaliencyCompute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise- Overrides:
computeSaliencyin classSaliency- Parameters:
image- automatically generatedsaliencyMap- 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 imageH- 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)
-