1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Drop cv:: prefix from cv::String used inside the cv namespace

This commit is contained in:
Andrey Kamaev
2013-03-22 20:37:49 +04:00
parent 75513a46dc
commit be7bbe3aa9
122 changed files with 1077 additions and 1077 deletions
+2 -2
View File
@@ -150,7 +150,7 @@ public:
virtual void read(const FileNode& fn)
{
CV_Assert( (cv::String)fn["name"] == name_ );
CV_Assert( (String)fn["name"] == name_ );
history = (int)fn["history"];
nmixtures = (int)fn["nmixtures"];
backgroundRatio = (double)fn["backgroundRatio"];
@@ -167,7 +167,7 @@ protected:
double varThreshold;
double backgroundRatio;
double noiseSigma;
cv::String name_;
String name_;
};
+2 -2
View File
@@ -251,7 +251,7 @@ public:
virtual void read(const FileNode& fn)
{
CV_Assert( (cv::String)fn["name"] == name_ );
CV_Assert( (String)fn["name"] == name_ );
history = (int)fn["history"];
nmixtures = (int)fn["nmixtures"];
backgroundRatio = (float)fn["backgroundRatio"];
@@ -320,7 +320,7 @@ protected:
//Tau= 0.5 means that if pixel is more than 2 times darker then it is not shadow
//See: Prati,Mikic,Trivedi,Cucchiarra,"Detecting Moving Shadows...",IEEE PAMI,2003.
cv::String name_;
String name_;
};
struct GaussBGStatModel2Params
+2 -2
View File
@@ -152,7 +152,7 @@ public:
virtual void read(const FileNode& fn)
{
CV_Assert( (cv::String)fn["name"] == name_ );
CV_Assert( (String)fn["name"] == name_ );
maxFeatures = (int)fn["maxFeatures"];
learningRate = (double)fn["defaultLearningRate"];
numInitializationFrames = (int)fn["numFrames"];
@@ -189,7 +189,7 @@ private:
Size frameSize_;
int frameNum_;
cv::String name_;
String name_;
Mat_<int> nfeatures_;
Mat_<unsigned int> colors_;