Skip to content

Commit 14d3a2e

Browse files
committed
stereo: remove duplicated data types in parametrized testcases
1 parent f80dc21 commit 14d3a2e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

modules/stereo/perf/perf_bm.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ typedef perf::TestBaseWithParam<s_bm_test_t> s_bm;
5353
PERF_TEST_P( s_bm, sgm_perf,
5454
testing::Combine(
5555
testing::Values( cv::Size(512, 283), cv::Size(320, 240)),
56-
testing::Values( CV_8UC1,CV_8U ),
57-
testing::Values( CV_8UC1,CV_8U,CV_16S )
56+
testing::Values( CV_8U ),
57+
testing::Values( CV_8U,CV_16S )
5858
)
5959
)
6060
{
@@ -80,8 +80,8 @@ PERF_TEST_P( s_bm, sgm_perf,
8080
PERF_TEST_P( s_bm, bm_perf,
8181
testing::Combine(
8282
testing::Values( cv::Size(512, 383), cv::Size(320, 240) ),
83-
testing::Values( CV_8UC1,CV_8U ),
84-
testing::Values( CV_8UC1,CV_8U )
83+
testing::Values( CV_8U ),
84+
testing::Values( CV_8U )
8585
)
8686
)
8787
{

modules/stereo/perf/perf_descriptor.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ typedef perf::TestBaseWithParam<descript_params_t> descript_params;
5252
PERF_TEST_P( descript_params, census_sparse_descriptor,
5353
testing::Combine(
5454
testing::Values( TYPICAL_MAT_SIZES ),
55-
testing::Values( CV_8UC1,CV_8U ),
55+
testing::Values( CV_8U ),
5656
testing::Values( CV_32SC4,CV_32S )
5757
)
5858
)
@@ -74,7 +74,7 @@ PERF_TEST_P( descript_params, census_sparse_descriptor,
7474
PERF_TEST_P( descript_params, star_census_transform,
7575
testing::Combine(
7676
testing::Values( TYPICAL_MAT_SIZES ),
77-
testing::Values( CV_8UC1,CV_8U ),
77+
testing::Values( CV_8U ),
7878
testing::Values( CV_32SC4,CV_32S )
7979
)
8080
)
@@ -96,7 +96,7 @@ PERF_TEST_P( descript_params, star_census_transform,
9696
PERF_TEST_P( descript_params, modified_census_transform,
9797
testing::Combine(
9898
testing::Values( TYPICAL_MAT_SIZES ),
99-
testing::Values( CV_8UC1,CV_8U ),
99+
testing::Values( CV_8U ),
100100
testing::Values( CV_32SC4,CV_32S )
101101
)
102102
)
@@ -120,7 +120,7 @@ PERF_TEST_P( descript_params, modified_census_transform,
120120
PERF_TEST_P( descript_params, center_symetric_census,
121121
testing::Combine(
122122
testing::Values( TYPICAL_MAT_SIZES ),
123-
testing::Values( CV_8UC1,CV_8U ),
123+
testing::Values( CV_8U ),
124124
testing::Values( CV_32SC4,CV_32S )
125125
)
126126
)

0 commit comments

Comments
 (0)