/external/opencv3/apps/traincascade/ |
D | imagestorage.cpp | 83 bool CvCascadeImageReader::NegReader::get( Mat& _img ) in get() argument 85 CV_Assert( !_img.empty() ); in get() 86 CV_Assert( _img.type() == CV_8UC1 ); in get() 87 CV_Assert( _img.cols == winSize.width ); in get() 88 CV_Assert( _img.rows == winSize.height ); in get() 96 mat.copyTo(_img); in get() 150 bool CvCascadeImageReader::PosReader::get( Mat &_img ) in get() argument 152 CV_Assert( _img.rows * _img.cols == vecSize ); in get() 165 for( int r = 0; r < _img.rows; r++ ) in get() 167 for( int c = 0; c < _img.cols; c++ ) in get() [all …]
|
D | imagestorage.h | 10 bool getNeg(cv::Mat &_img) { return negReader.get( _img ); } in getNeg() argument 11 bool getPos(cv::Mat &_img) { return posReader.get( _img ); } in getPos() argument 20 bool get( cv::Mat &_img ); 36 bool get( cv::Mat& _img );
|
/external/opencv3/modules/imgcodecs/src/ |
D | grfmt_jpeg2000.cpp | 199 jas_image_t *_img = jas_image_chclrspc( image, clrprof, JAS_CMXFORM_INTENT_RELCLR ); in readData() local 200 if( _img ) in readData() 203 m_image = image = _img; in readData() 438 bool Jpeg2KEncoder::write( const Mat& _img, const std::vector<int>& ) in write() argument 440 int width = _img.cols, height = _img.rows; in write() 441 int depth = _img.depth(), channels = _img.channels(); in write() 474 result = writeComponent8u( img, _img ); in write() 476 result = writeComponent16u( img, _img ); in write() 494 bool Jpeg2KEncoder::writeComponent8u( void *__img, const Mat& _img ) in writeComponent8u() argument 497 int w = _img.cols, h = _img.rows, ncmpts = _img.channels(); in writeComponent8u() [all …]
|
D | grfmt_hdr.cpp | 83 bool HdrDecoder::readData(Mat& _img) in readData() argument 94 if(_img.depth() == img.depth()) { in readData() 95 img.convertTo(_img, _img.type()); in readData() 97 img.convertTo(_img, _img.type(), 255); in readData()
|
D | grfmt_jpeg2000.hpp | 87 bool writeComponent8u( void *img, const Mat& _img ); 88 bool writeComponent16u( void *img, const Mat& _img );
|
/external/opencv3/modules/features2d/src/ |
D | fast.cpp | 56 void FAST_t(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppressi… in FAST_t() argument 58 Mat img = _img.getMat(); in FAST_t() 259 static bool ocl_FAST( InputArray _img, std::vector<KeyPoint>& keypoints, in ocl_FAST() argument 262 UMat img = _img.getUMat(); in ocl_FAST() 331 void FAST(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression… in FAST() argument 333 if( ocl::useOpenCL() && _img.isUMat() && type == FastFeatureDetector::TYPE_9_16 && in FAST() 334 ocl_FAST(_img, keypoints, threshold, nonmax_suppression, 10000)) in FAST() 342 FAST_t<8>(_img, keypoints, threshold, nonmax_suppression); in FAST() 345 FAST_t<12>(_img, keypoints, threshold, nonmax_suppression); in FAST() 349 if(tegra::useTegra() && tegra::FAST(_img, keypoints, threshold, nonmax_suppression)) in FAST() [all …]
|
/external/opencv3/modules/imgproc/test/ |
D | test_floodfill.cpp | 237 cvTsFloodFill( CvMat* _img, CvPoint seed_pt, CvScalar new_val, in cvTsFloodFill() argument 245 CvMat* tmp = _img; in cvTsFloodFill() 253 int cn = CV_MAT_CN(_img->type); in cvTsFloodFill() 255 int cols = _img->cols, rows = _img->rows; in cvTsFloodFill() 259 if( CV_MAT_DEPTH(_img->type) == CV_8U || CV_MAT_DEPTH(_img->type) == CV_32S ) in cvTsFloodFill() 261 tmp = cvCreateMat( rows, cols, CV_MAKETYPE(CV_32F,CV_MAT_CN(_img->type)) ); in cvTsFloodFill() 262 cvtest::convert(cvarrToMat(_img), cvarrToMat(tmp), -1); in cvTsFloodFill() 411 if( tmp != _img ) in cvTsFloodFill() 482 if( tmp != _img ) in cvTsFloodFill() 485 cvtest::convert(cvarrToMat(tmp), cvarrToMat(_img), -1); in cvTsFloodFill()
|
D | test_contours.cpp | 285 Mat _img[4]; in validate_test_results() local 287 _img[i] = cvarrToMat(img[i]); in validate_test_results() 289 …code = cvtest::cmpEps2(ts, _img[0], _img[3], 0, true, "Comparing original image with the map of fi… in validate_test_results() 294 code = cvtest::cmpEps2( ts, _img[1], _img[2], 0, true, in validate_test_results()
|
/external/opencv3/modules/highgui/src/ |
D | window.cpp | 267 void cv::imshow( const String& winname, InputArray _img ) in imshow() argument 269 const Size size = _img.size(); in imshow() 273 Mat img = _img.getMat(); in imshow() 283 Mat img = _img.getMat(); in imshow() 300 if (_img.kind() == _InputArray::CUDA_GPU_MAT) in imshow() 303 buf.copyFrom(_img); in imshow() 311 tex.copyFrom(_img); in imshow() 393 CvMat _img = img; in addText() local 394 cvAddText( &_img, text.c_str(), org, (CvFont*)&font); in addText()
|
/external/libvpx/libvpx/ |
D | y4minput.c | 992 int y4m_input_fetch_frame(y4m_input *_y4m, FILE *_fin, vpx_image_t *_img) { in y4m_input_fetch_frame() argument 1029 memset(_img, 0, sizeof(*_img)); in y4m_input_fetch_frame() 1031 _img->fmt = _y4m->vpx_fmt; in y4m_input_fetch_frame() 1032 _img->w = _img->d_w = _y4m->pic_w; in y4m_input_fetch_frame() 1033 _img->h = _img->d_h = _y4m->pic_h; in y4m_input_fetch_frame() 1034 _img->x_chroma_shift = _y4m->dst_c_dec_h >> 1; in y4m_input_fetch_frame() 1035 _img->y_chroma_shift = _y4m->dst_c_dec_v >> 1; in y4m_input_fetch_frame() 1036 _img->bps = _y4m->bps; in y4m_input_fetch_frame() 1044 _img->stride[VPX_PLANE_Y] = _img->stride[VPX_PLANE_ALPHA] = in y4m_input_fetch_frame() 1046 _img->stride[VPX_PLANE_U] = _img->stride[VPX_PLANE_V] = c_w; in y4m_input_fetch_frame() [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | drawing.cpp | 1661 void line( InputOutputArray _img, Point pt1, Point pt2, const Scalar& color, in line() argument 1664 Mat img = _img.getMat(); in line() 1695 void rectangle( InputOutputArray _img, Point pt1, Point pt2, in rectangle() argument 1699 Mat img = _img.getMat(); in rectangle() 1737 void circle( InputOutputArray _img, Point center, int radius, in circle() argument 1740 Mat img = _img.getMat(); in circle() 1764 void ellipse( InputOutputArray _img, Point center, Size axes, in ellipse() argument 1768 Mat img = _img.getMat(); in ellipse() 1791 void ellipse(InputOutputArray _img, const RotatedRect& box, const Scalar& color, in ellipse() argument 1794 Mat img = _img.getMat(); in ellipse() [all …]
|
D | templmatch.cpp | 542 static bool ocl_matchTemplate( InputArray _img, InputArray _templ, OutputArray _result, int method) in ocl_matchTemplate() argument 544 int cn = _img.channels(); in ocl_matchTemplate() 549 typedef bool (*Caller)(InputArray _img, InputArray _templ, OutputArray _result); in ocl_matchTemplate() 558 return caller(_img, _templ, _result); in ocl_matchTemplate() 818 static void matchTemplateMask( InputArray _img, InputArray _templ, OutputArray _result, int method,… in matchTemplateMask() argument 820 int type = _img.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type); in matchTemplateMask() 822 CV_Assert( (depth == CV_8U || depth == CV_32F) && type == _templ.type() && _img.dims() <= 2 ); in matchTemplateMask() 824 Mat img = _img.getMat(), templ = _templ.getMat(), mask = _mask.getMat(); in matchTemplateMask() 900 void cv::matchTemplate( InputArray _img, InputArray _templ, OutputArray _result, int method, InputA… in matchTemplate() argument 904 cv::matchTemplateMask(_img, _templ, _result, method, _mask); in matchTemplate() [all …]
|
D | connectedcomponents.cpp | 367 int cv::connectedComponents(InputArray _img, OutputArray _labels, int connectivity, int ltype){ in connectedComponents() argument 368 const cv::Mat img = _img.getMat(); in connectedComponents() 382 int cv::connectedComponentsWithStats(InputArray _img, OutputArray _labels, OutputArray statsv, in connectedComponentsWithStats() argument 385 const cv::Mat img = _img.getMat(); in connectedComponentsWithStats()
|
/external/opencv3/modules/videoio/src/ |
D | cap.cpp | 678 IplImage* _img = cvRetrieveFrame(cap, channel); in retrieve() local 679 if( !_img ) in retrieve() 684 if(_img->origin == IPL_ORIGIN_TL) in retrieve() 685 cv::cvarrToMat(_img).copyTo(image); in retrieve() 688 Mat temp = cv::cvarrToMat(_img); in retrieve() 807 IplImage _img = image; in write() local 808 cvWriteFrame(writer, &_img); in write()
|
/external/opencv3/modules/stitching/src/ |
D | timelapsers.cpp | 66 void Timelapser::process(InputArray _img, InputArray /*_mask*/, Point tl) in process() argument 70 Mat img = _img.getMat(); in process()
|
D | blenders.cpp | 80 void Blender::feed(InputArray _img, InputArray _mask, Point tl) in feed() argument 82 Mat img = _img.getMat(); in feed() 129 void FeatherBlender::feed(InputArray _img, InputArray mask, Point tl) in feed() argument 131 Mat img = _img.getMat(); in feed() 275 void MultiBandBlender::feed(InputArray _img, InputArray mask, Point tl) in feed() argument 281 UMat img = _img.getUMat(); in feed() 317 copyMakeBorder(_img, img_with_border, top, bottom, left, right, in feed()
|
/external/opencv3/modules/features2d/src/opencl/ |
D | fast.cl | 54 __global const uchar * _img, int step, int img_offset, 64 __global const uchar* img = _img + mad24(i, step, j + img_offset); 130 __global const uchar * _img, int step, int img_offset, 139 __global const uchar* img = _img + mad24(y, step, x + img_offset);
|
/external/opencv3/modules/objdetect/src/ |
D | hog.cpp | 537 const Mat& _img, const Size& _paddingTL, const Size& _paddingBR, in HOGCache() argument 540 init(_descriptor, _img, _paddingTL, _paddingBR, _useCache, _cacheStride); in HOGCache() 544 const Mat& _img, const Size& _paddingTL, const Size& _paddingBR, in init() argument 551 descriptor->computeGradient(_img, grad, qangle, _paddingTL, _paddingBR); in init() 1085 static bool ocl_compute_gradients_8UC1(int height, int width, InputArray _img, float angle_scale, in ocl_compute_gradients_8UC1() argument 1092 UMat img = _img.getUMat(); in ocl_compute_gradients_8UC1() 1326 static bool ocl_compute(InputArray _img, Size win_stride, std::vector<float>& _descriptors, int des… in ocl_compute() argument 1329 Size imgSize = _img.size(); in ocl_compute() 1353 … if(!ocl_computeGradient(_img, grad, qangle, nbins, effect_size, gammaCorrection, signedGradient)) in ocl_compute() 1395 void HOGDescriptor::compute(InputArray _img, std::vector<float>& descriptors, in compute() argument [all …]
|
/external/opencv3/modules/cudalegacy/src/ |
D | image_pyramid.cpp | 69 ImagePyramidImpl::ImagePyramidImpl(InputArray _img, int numLayers, Stream& stream) in ImagePyramidImpl() argument 71 GpuMat img = _img.getGpuMat(); in ImagePyramidImpl()
|
/external/opencv3/modules/cudaobjdetect/src/ |
D | hog.cpp | 286 … void HOG_Impl::detect(InputArray _img, std::vector<Point>& hits, std::vector<double>* confidences) in detect() argument 288 const GpuMat img = _img.getGpuMat(); in detect() 363 void HOG_Impl::detectMultiScale(InputArray _img, in detectMultiScale() argument 367 const GpuMat img = _img.getGpuMat(); in detectMultiScale() 438 void HOG_Impl::compute(InputArray _img, in compute() argument 442 const GpuMat img = _img.getGpuMat(); in compute()
|
/external/opencv3/modules/imgcodecs/test/ |
D | test_drawing.cpp | 252 void CV_DrawingTest_C::draw( Mat& _img ) in draw() argument 255 _img.create( imgSize, CV_8UC3 ); in draw() 256 CvMat img = _img; in draw() 393 int CV_DrawingTest_C::checkLineIterator( Mat& _img ) in checkLineIterator() argument 396 CvMat img = _img; in checkLineIterator() 400 Vec3b v = (Vec3b)(*(it.ptr)) - _img.at<Vec3b>(300,i); in checkLineIterator()
|
/external/opencv3/modules/imgproc/perf/opencl/ |
D | perf_imgproc.cpp | 311 Mat _img = imread(getDataPath("gpu/stereobm/aloe-L.png"), cv::IMREAD_GRAYSCALE); variable 312 ASSERT_TRUE(!_img.empty()) << "can't open aloe-L.png"; 315 _img.copyTo(img);
|
/external/opencv3/modules/calib3d/src/ |
D | quadsubpix.cpp | 164 bool cv::find4QuadCornerSubpix(InputArray _img, InputOutputArray _corners, Size region_size) in find4QuadCornerSubpix() argument 166 Mat img = _img.getMat(), cornersM = _corners.getMat(); in find4QuadCornerSubpix()
|
/external/opencv3/modules/calib3d/test/ |
D | test_stereomatching.cpp | 72 void computeTextureBasedMasks( const Mat& _img, Mat* texturelessMask, Mat* texturedMask, in computeTextureBasedMasks() argument 77 if( _img.empty() ) in computeTextureBasedMasks() 80 Mat img = _img; in computeTextureBasedMasks() 81 if( _img.channels() > 1) in computeTextureBasedMasks() 83 Mat tmp; cvtColor( _img, tmp, COLOR_BGR2GRAY ); img = tmp; in computeTextureBasedMasks()
|
/external/opencv/cv/src/ |
D | cvtemplmatch.cpp | 45 icvCrossCorr( const CvArr* _img, const CvArr* _templ, CvArr* _corr, CvPoint anchor ) in icvCrossCorr() argument 58 CvMat istub, *img = (CvMat*)_img; in icvCrossCorr() 324 cvMatchTemplate( const CvArr* _img, const CvArr* _templ, CvArr* _result, int method ) in cvMatchTemplate() argument 336 CvMat stub, *img = (CvMat*)_img; in cvMatchTemplate()
|