Lines Matching refs:depth
78 int depth = cvtest::randInt(rng) % 3, cn = cvtest::randInt(rng) % 4 + 1; in get_test_array_types_and_sizes() local
80 depth = depth == 0 ? CV_8U : depth == 1 ? CV_16S : CV_32F; in get_test_array_types_and_sizes()
82 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn); in get_test_array_types_and_sizes()
85 if( depth == CV_8U ) in get_test_array_types_and_sizes()
92 else if( depth == CV_16S ) in get_test_array_types_and_sizes()
126 int depth = _src.depth(), cn = _src.channels(); in test_threshold() local
131 if( depth == CV_8U ) in test_threshold()
136 else if( depth == CV_16S ) in test_threshold()
147 assert( depth == CV_8U || depth == CV_16S || depth == CV_32F ); in test_threshold()
154 if( depth == CV_8U ) in test_threshold()
161 else if( depth == CV_16S ) in test_threshold()
180 if( depth == CV_8U ) in test_threshold()
187 else if( depth == CV_16S ) in test_threshold()
206 if( depth == CV_8U ) in test_threshold()
216 else if( depth == CV_16S ) in test_threshold()
241 if( depth == CV_8U ) in test_threshold()
251 else if( depth == CV_16S ) in test_threshold()
276 if( depth == CV_8U ) in test_threshold()
286 else if( depth == CV_16S ) in test_threshold()