Completely separate C and C++ API of OpenCV core

This commit is contained in:
Andrey Kamaev
2013-03-29 12:59:55 +04:00
parent 715fa3303e
commit 2b1ef95415
46 changed files with 201 additions and 183 deletions

View File

@@ -137,7 +137,7 @@ public:
name = name + "BRISK";
break;
default:
CV_Error( CV_StsBadArg, "Specified feature detector type is not supported." );
CV_Error( Error::StsBadArg, "Specified feature detector type is not supported." );
break;
}
@@ -231,7 +231,7 @@ public:
name = "BruteForce-SL2";
break;
default:
CV_Error( CV_StsBadArg, "Specified descriptor matcher type is not supported." );
CV_Error( Error::StsBadArg, "Specified descriptor matcher type is not supported." );
break;
}
@@ -323,7 +323,7 @@ public:
name = name + "FREAK";
break;
default:
CV_Error( CV_StsBadArg, "Specified descriptor extractor type is not supported." );
CV_Error( Error::StsBadArg, "Specified descriptor extractor type is not supported." );
break;
}
@@ -412,7 +412,7 @@ public:
name = "FERN";
break;
default:
CV_Error( CV_StsBadArg, "Specified generic descriptor matcher type is not supported." );
CV_Error( Error::StsBadArg, "Specified generic descriptor matcher type is not supported." );
break;
}