Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to use pyramid as input of calcOpticalFlowPyrLK in Android

The function which is used to calculate pyramid in android is public static int buildOpticalFlowPyramid(Mat img, List<mat> pyramid, Size winSize, int maxLevel),

whereas the function used to calculate optical flow is public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)

How to use the List<mat> pyramid as input of the structure Mat prevImg. A error say it's incompatible.

Thank you very much

click to hide/show revision 2
retagged

updated 2014-01-28 10:08:43 -0600

berak gravatar image

How to use pyramid as input of calcOpticalFlowPyrLK in Android

The function which is used to calculate pyramid in android is public static int buildOpticalFlowPyramid(Mat img, List<mat> pyramid, Size winSize, int maxLevel),

whereas the function used to calculate optical flow is public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)

How to use the List<mat> pyramid as input of the structure Mat prevImg. A error say it's incompatible.

Thank you very much

click to hide/show revision 3
No.3 Revision

updated 2014-01-28 10:11:38 -0600

berak gravatar image

How to use pyramid as input of calcOpticalFlowPyrLK in Android

The function which is used to calculate pyramid in android is :

public static int buildOpticalFlowPyramid(Mat img, List<mat> List<Mat> pyramid, Size winSize, int maxLevel),

maxLevel),

whereas the function used to calculate optical flow is :

public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)

minEigThreshold)

How to use the List<mat> pyramid List<Mat> pyramid as input of the structure Mat prevImg. A error say it's incompatible.

Thank you very much

click to hide/show revision 4
retagged

updated 2014-01-28 10:20:51 -0600

berak gravatar image

How to use pyramid as input of calcOpticalFlowPyrLK in Android

The function which is used to calculate pyramid in android is :

public static int buildOpticalFlowPyramid(Mat img, List<Mat> pyramid, Size winSize, int maxLevel),

whereas the function used to calculate optical flow is :

public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)

How to use the List<Mat> pyramid as input of the structure Mat prevImg. A error say it's incompatible.

Thank you very much

click to hide/show revision 5
Title more clear.

How to use the pyramid list from buildOpticalFlowPyramid as input of calcOpticalFlowPyrLK in Androidfor calcOpticalFlowPyrLK?

The function which is used to calculate pyramid in android is :

public static int buildOpticalFlowPyramid(Mat img, List<Mat> pyramid, Size winSize, int maxLevel),

whereas the function used to calculate optical flow is :

public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)

How to use the List<Mat> pyramid as input of the structure Mat prevImg. A error say it's incompatible.

Thank you very much