Home
last modified time | relevance | path

Searched refs:CV_MAKETYPE (Results 1 – 25 of 96) sorted by relevance

1234

/external/opencv3/modules/core/include/opencv2/core/
Dcvdef.h113 #define CV_MAKETYPE(depth,cn) (CV_MAT_DEPTH(depth) + (((cn)-1) << CV_CN_SHIFT)) macro
114 #define CV_MAKE_TYPE CV_MAKETYPE
116 #define CV_8UC1 CV_MAKETYPE(CV_8U,1)
117 #define CV_8UC2 CV_MAKETYPE(CV_8U,2)
118 #define CV_8UC3 CV_MAKETYPE(CV_8U,3)
119 #define CV_8UC4 CV_MAKETYPE(CV_8U,4)
120 #define CV_8UC(n) CV_MAKETYPE(CV_8U,(n))
122 #define CV_8SC1 CV_MAKETYPE(CV_8S,1)
123 #define CV_8SC2 CV_MAKETYPE(CV_8S,2)
124 #define CV_8SC3 CV_MAKETYPE(CV_8S,3)
[all …]
Dtraits.hpp117 type = CV_MAKETYPE(depth, channels)
132 type = CV_MAKETYPE(depth, channels)
147 type = CV_MAKETYPE(depth, channels)
162 type = CV_MAKETYPE(depth, channels)
177 type = CV_MAKETYPE(depth, channels)
192 type = CV_MAKETYPE(depth, channels)
207 type = CV_MAKETYPE(depth, channels)
222 type = CV_MAKETYPE(depth, channels)
237 type = CV_MAKETYPE(depth, channels)
252 type = CV_MAKETYPE(depth, channels)
Dtypes.hpp103 type = CV_MAKETYPE(depth, channels) };
194 type = CV_MAKETYPE(depth, channels)
261 type = CV_MAKETYPE(depth, channels)
321 type = CV_MAKETYPE(depth, channels)
422 type = CV_MAKETYPE(depth, channels)
498 type = CV_MAKETYPE(depth, channels)
554 type = CV_MAKETYPE(depth, channels)
610 type = CV_MAKETYPE(depth, channels)
713 type = CV_MAKETYPE(depth, channels)
756 type = CV_MAKETYPE(depth, channels)
[all …]
/external/opencv/cxcore/include/
Dcxtypes.h477 #define CV_MAKETYPE(depth,cn) ((depth) + (((cn)-1) << CV_CN_SHIFT)) macro
478 #define CV_MAKE_TYPE CV_MAKETYPE
480 #define CV_8UC1 CV_MAKETYPE(CV_8U,1)
481 #define CV_8UC2 CV_MAKETYPE(CV_8U,2)
482 #define CV_8UC3 CV_MAKETYPE(CV_8U,3)
483 #define CV_8UC4 CV_MAKETYPE(CV_8U,4)
484 #define CV_8UC(n) CV_MAKETYPE(CV_8U,(n))
486 #define CV_8SC1 CV_MAKETYPE(CV_8S,1)
487 #define CV_8SC2 CV_MAKETYPE(CV_8S,2)
488 #define CV_8SC3 CV_MAKETYPE(CV_8S,3)
[all …]
/external/opencv3/modules/calib3d/test/
Dtest_fundam.cpp67 CvMat _r = cvMat( src->rows, src->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(src->type)), r); in cvTsRodrigues()
215 CvMat _r = cvMat( dst->rows, dst->cols, CV_MAKETYPE(CV_64F, CV_MAT_CN(dst->type)), r ); in cvTsRodrigues()
370 dst.create(dst.size(), CV_MAKETYPE(CV_64F, _dst.channels())); in test_convertHomogeneous()
573 types[INPUT][0] = CV_MAKETYPE(depth, 1); in get_test_array_types_and_sizes()
578 types[INPUT][0] = CV_MAKETYPE(depth, 3); in get_test_array_types_and_sizes()
586 types[OUTPUT][0] = CV_MAKETYPE(depth, 1); in get_test_array_types_and_sizes()
588 types[OUTPUT][1] = CV_MAKETYPE(depth, 1); in get_test_array_types_and_sizes()
628 Mat _r( arr.rows, arr.cols, CV_MAKETYPE(CV_64F,arr.channels()), r ); in fill_array()
848 types[INPUT][0] = CV_MAKETYPE(pt_depth, 1); in get_test_array_types_and_sizes()
857 types[INPUT][0] = CV_MAKETYPE(pt_depth, dims); in get_test_array_types_and_sizes()
[all …]
/external/opencv3/modules/imgcodecs/src/
Dloadsave.cpp281 type = CV_MAKETYPE(CV_8U, CV_MAT_CN(type)); in imread_()
285 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 3); in imread_()
287 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 1); in imread_()
368 type = CV_MAKETYPE(CV_8U, CV_MAT_CN(type)); in imreadmulti_()
372 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 3); in imreadmulti_()
374 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 1); in imreadmulti_()
507 type = CV_MAKETYPE(CV_8U, CV_MAT_CN(type)); in imdecode_()
511 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 3); in imdecode_()
513 type = CV_MAKETYPE(CV_MAT_DEPTH(type), 1); in imdecode_()
Dgrfmt_tiff.cpp163 m_type = CV_MAKETYPE(CV_8U, photometric > 1 ? wanted_channels : 1); in readHeader()
166 m_type = CV_MAKETYPE(CV_16U, photometric > 1 ? wanted_channels : 1); in readHeader()
170 m_type = CV_MAKETYPE(CV_32F, photometric > 1 ? 3 : 1); in readHeader()
173 m_type = CV_MAKETYPE(CV_64F, photometric > 1 ? 3 : 1); in readHeader()
Dgrfmt_pxm.cpp167 m_type = CV_MAKETYPE(CV_16U, CV_MAT_CN(m_type)); in readHeader()
390 int t = CV_MAKETYPE(img.depth(), channels); in write()
/external/opencv3/modules/core/perf/
Dperf_convertTo.cpp29 Mat src(sz, CV_MAKETYPE(depthSrc, channels));
31 Mat dst(sz, CV_MAKETYPE(depthDst, channels));
Dperf_split.cpp25 Mat m(sz, CV_MAKETYPE(depth, channels));
Dperf_merge.cpp28 mv.push_back( Mat(sz, CV_MAKETYPE(srcDepth, 1)) );
/external/opencv3/modules/imgproc/test/ocl/
Dtest_pyramids.cpp74 …randomSubMat(src, src_roi, src_roiSize, srcBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_V… in PARAM_TEST_CASE()
77 …randomSubMat(dst, dst_roi, dst_roiSize, dstBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_V… in PARAM_TEST_CASE()
/external/opencv3/modules/cudaimgproc/test/
Dtest_match_template.cpp82 cv::Mat image = randomMat(size, CV_MAKETYPE(CV_8U, cn)); in CUDA_TEST_P()
83 cv::Mat templ = randomMat(templ_size, CV_MAKETYPE(CV_8U, cn)); in CUDA_TEST_P()
141 cv::Mat image = randomMat(size, CV_MAKETYPE(CV_32F, cn)); in CUDA_TEST_P()
142 cv::Mat templ = randomMat(templ_size, CV_MAKETYPE(CV_32F, cn)); in CUDA_TEST_P()
/external/opencv3/modules/imgproc/test/
Dtest_filter.cpp138 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
202 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
410 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
463 types[INPUT][0] = CV_MAKETYPE(depth,1); in get_test_array_types_and_sizes()
464 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth==CV_8U?CV_16S:CV_32F,1); in get_test_array_types_and_sizes()
644 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn); in get_test_array_types_and_sizes()
689 types[OUTPUT][0] = types[REF_OUTPUT][0] = types[INPUT][0] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
693 types[INPUT][0] = CV_MAKETYPE(depth, 1); in get_test_array_types_and_sizes()
694 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth==CV_8U?CV_16S:CV_32F,1); in get_test_array_types_and_sizes()
869 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn); in get_test_array_types_and_sizes()
[all …]
Dtest_imgwarp.cpp108 types[INPUT][0] = types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
837 type = CV_MAKETYPE( CV_8U, CV_MAT_CN(type) ); in get_test_array_types_and_sizes()
899 Mat _k(_k0.rows,_k0.cols, CV_MAKETYPE(CV_64F,_k0.channels()),k); in prepare_test_case()
1052 Mat _k(_k0.rows,_k0.cols, CV_MAKETYPE(CV_64F,_k0.channels()),k); in prepare_test_case()
1175 types[INPUT][0] = CV_MAKETYPE(src_depth,cn); in get_test_array_types_and_sizes()
1176 types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(dst_depth,cn); in get_test_array_types_and_sizes()
1232 int ftype = CV_MAKETYPE(CV_32F,src0.channels()); in prepare_to_validation()
1282 types[INPUT][0] = CV_MAKETYPE(src_depth,cn); in get_test_array_types_and_sizes()
1283 types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(dst_depth,cn); in get_test_array_types_and_sizes()
1356 int ftype = CV_MAKETYPE(CV_32F,src0.channels()); in prepare_to_validation()
/external/opencv3/modules/core/test/
Dtest_countnonzero.cpp87 src.create(size, CV_MAKETYPE(type, 1)); in generate_src_data()
106 src = Mat::zeros(size, CV_MAKETYPE(type, 1)); in generate_src_data()
132 src.create(size, CV_MAKETYPE(type, 1)); in generate_src_stat_data()
/external/opencv3/modules/features2d/src/
Dmatchers.cpp95 …ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_F… in ocl_matchSingle()
195 …ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_F… in ocl_knnMatchSingle()
304 …ocl::typeToStr(depth), ocl::typeToStr(CV_MAKETYPE(depth, kercn)), kercn, depth == CV_32F ? "-D T_F… in ocl_radiusMatchSingle()
1092 case CV_MAKETYPE(CV_USRTYPE1,2): in read()
1095 case CV_MAKETYPE(CV_USRTYPE1,3): in read()
1131 case CV_MAKETYPE(CV_USRTYPE1,2): in read()
1134 case CV_MAKETYPE(CV_USRTYPE1,3): in read()
1174 case CV_MAKETYPE(CV_USRTYPE1,2): in write()
1175 case CV_MAKETYPE(CV_USRTYPE1,3): in write()
1225 case CV_MAKETYPE(CV_USRTYPE1,2): in write()
[all …]
/external/opencv3/modules/imgproc/src/
Dderiv.cpp207 int dtype = CV_MAKETYPE(ddepth, cn); in IPPDerivScharr()
325 dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) );
619 int dtype = CV_MAKETYPE(ddepth, cn); in Scharr()
734 ocl::typeToStr(CV_MAKETYPE(sdepth, cn)), in ocl_Laplacian5()
735 ocl::typeToStr(CV_MAKETYPE(ddepth, cn)), in ocl_Laplacian5()
736 ocl::typeToStr(CV_MAKETYPE(wdepth, cn)), in ocl_Laplacian5()
808 _dst.create( _src.size(), CV_MAKETYPE(ddepth, cn) ); in Laplacian()
904 int wtype = CV_MAKETYPE(wdepth, cn); in Laplacian()
/external/opencv3/modules/photo/src/
Dmerge.cpp71 int CV_32FCC = CV_MAKETYPE(CV_32F, channels); in process()
161 int CV_32FCC = CV_MAKETYPE(CV_32F, channels); in process()
310 int CV_32FCC = CV_MAKETYPE(CV_32F, channels); in process()
Dhdr_common.cpp98 Mat response = Mat(LDR_SIZE, 1, CV_MAKETYPE(CV_32F, channels)); in linearResponse()
Dcalibrate.cpp75 int CV_32FCC = CV_MAKETYPE(CV_32F, channels); in process()
195 int CV_32FCC = CV_MAKETYPE(CV_32F, channels); in process()
/external/opencv3/modules/video/test/
Dtest_accum.cpp84 types[INPUT][i] = CV_MAKETYPE(depth,cn); in get_test_array_types_and_sizes()
86 types[INPUT_OUTPUT][0] = types[REF_INPUT_OUTPUT][0] = CV_MAKETYPE(accdepth,cn); in get_test_array_types_and_sizes()
/external/opencv3/modules/cudaimgproc/perf/
Dperf_color.cpp83 cv::Mat src(size, CV_MAKETYPE(depth, info.scn));
122 cv::Mat src(size, CV_MAKETYPE(depth, info.scn));
/external/opencv/cv/src/
Dcvundistort.cpp164 CV_MAKETYPE(CV_32F, CV_MAT_CN(dist_coeffs->type)), k ); in cvUndistort2()
227 CV_MAKETYPE(CV_32F, CV_MAT_CN(dist_coeffs->type)), k ); in cvInitUndistortMap()
330 CV_MAKETYPE(CV_64F, CV_MAT_CN(distCoeffs->type)), k ); in cvInitUndistortRectifyMap()
403 CV_MAKETYPE(CV_64F,CV_MAT_CN(_distCoeffs->type)), k); in cvUndistortPoints()
/external/opencv/otherlibs/highgui/
Dloadsave.cpp442 CV_CALL( matrix = cvCreateMat( size.height, size.width, CV_MAKETYPE(type, cn) )); in icvLoadImage()
536 image->cols, CV_MAKETYPE(CV_8U,channels)) ); in cvSaveImage()

1234