#include #include using namespace cv; using namespace std; int main(int argc, char* argv[]) { //! [create] Ptr stereo = stereo::QuasiDenseStereo::create(cv::Size(5,5)); //! [create] //! [write] std::string parameterFileLocation = "./parameters.yaml"; if (argc > 1) parameterFileLocation = argv[1]; stereo->saveParameters(parameterFileLocation); //! [write] return 0; }