Found solution to avoid conflict: only Scan.h Scan.cpp and main_scan.cpp include OpenCv. Scan export vector<cv::Mat> to vector< vector<double> > to make conversion before going out the class. Added smoothMesh function in PostProcessor: compiled but not tested. New data: ball