Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to use cvRandInit() and cvRandState in opencv 2.4

Hi, I found some old code that uses OpenCV's C API. I'm trying to run it but the function cvRandInit() and the variable type cvRandState are not being recognized. Right now I'm only including opencv2/opencv.hpp. Is there another header file that I can use to access these older keywords? If not, are there newer functions that can be used to replace them?

Thank You!

How to use cvRandInit() and cvRandState in opencv 2.4

Hi, I found some old code that uses OpenCV's C API. I'm trying to run it but the function cvRandInit()CvRandInit() and the variable type cvRandState are not being recognized. Right now I'm only including opencv2/opencv.hpp. Is there another header file that I can use to access these older keywords? If not, are there newer functions that can be used to replace them?

Thank You!

How to use cvRandInit() and cvRandState in opencv 2.4

Hi, I found some old code that uses OpenCV's C API. I'm trying to run it but the function CvRandInit()cvRandInit() and the variable type cvRandStateCvRandState are not being recognized. Right now I'm only including opencv2/opencv.hpp. Is there another header file that I can use to access these older keywords? If not, are there newer functions that can be used to replace them?

Thank You!