Attention! This forum will be made read-only by Dec-20. Please migrate to https://forum.opencv.org. Most of existing active users should've received invitation by e-mail.
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Equivalent of cvMean from opencv-2.4.5 in opencv-3.3.1?

I'm trying to compile osiris_v4.1(open source iris) an open source library. According to the documentation (while it doesn't explicitly state it) it uses opencv-2.4.5, I currently have 3.3.1 installed and I get this error while trying to compile the project

.../Iris_Osiris_v4.1/src/OsiProcessings.cpp:299:28: error: ‘cvMean’ was not declared in this scope double iris_mean = cvMean(pSrc,safe_area) ;

Is there and equivalent function I can replace it with in opencv-3.3.1?

Equivalent of cvMean from opencv-2.4.5 in opencv-3.3.1?

I'm trying to compile osiris_v4.1(open source iris) an open source library. According to the documentation (while it doesn't explicitly state it) it uses opencv-2.4.5, I currently have 3.3.1 installed and I get this error while trying to compile the project

.../Iris_Osiris_v4.1/src/OsiProcessings.cpp:299:28: error: ‘cvMean’ was not declared in this scope double iris_mean = cvMean(pSrc,safe_area) ;

Is there and an equivalent function I can replace it with in opencv-3.3.1?