using namespace cv;\r
using namespace perf;\r
using namespace testing;\r
-using std::tr1::make_tuple;
-using std::tr1::get;
+using std::tr1::make_tuple;\r
+using std::tr1::get;\r
\r
\r
CV_ENUM(BorderMode, BORDER_CONSTANT, BORDER_REPLICATE);\r
{\r
Size sz;\r
int borderMode, interType;\r
- //tr1::tie(sz, borderMode, interType) = GetParam();\r
sz = get<0>(GetParam());\r
borderMode = get<1>(GetParam());\r
interType = get<2>(GetParam());\r
Mat warpMat = getRotationMatrix2D(Point2f(src.cols/2.f, src.rows/2.f), 30., 2.2);\r
Mat dst(sz, CV_8UC4);\r
\r
- //declare.in(src).out(dst);\r
+ declare.in(src).out(dst);\r
\r
TEST_CYCLE() warpAffine( src, dst, warpMat, sz, interType, borderMode, Scalar::all(150) );\r
\r
{\r
Size sz;\r
int borderMode, interType;\r
- //tr1::tie(sz, borderMode, interType) = GetParam();\r
sz = get<0>(GetParam());\r
borderMode = get<1>(GetParam());\r
interType = get<2>(GetParam());\r
warpMat.at<double>(2, 2) = 1;\r
Mat dst(sz, CV_8UC4);\r
\r
- //declare.in(src).out(dst);\r
+ declare.in(src).out(dst);\r
\r
TEST_CYCLE() warpPerspective( src, dst, warpMat, sz, interType, borderMode, Scalar::all(150) );\r
\r
alphanum_keyselector = lambda key: [ convert(c) for c in re.split('([0-9]+)', key) ]
def getSetName(tset, idx, columns, short = True):
- if columns and len(columns) >= idx:
+ if columns and len(columns) > idx:
prefix = columns[idx]
else:
prefix = None