cvtColor HSV 2 RGB u8

This commit is contained in:
Ilya Lavrenov
2015-01-12 10:59:29 +03:00
parent c4c86a8990
commit 51e7fb76b6
2 changed files with 95 additions and 4 deletions

View File

@@ -204,12 +204,12 @@ PERF_TEST_P(Size_CvtMode, cvtColor8u,
)
{
Size sz = GetParam();
int mode = COLOR_XYZ2RGB;
int mode = COLOR_RGB2HLS;
ChPair ch = getConversionInfo(mode);
mode %= COLOR_COLORCVT_MAX;
Mat src(sz, CV_32FC(3));
Mat dst(sz, CV_32FC(3));
Mat src(sz, CV_8UC(3));
Mat dst(sz, CV_8UC(3));
declare.time(100);
declare.in(src, WARMUP_RNG).out(dst);