Lines Matching refs:_src
53 static bool calcLut(cv::InputArray _src, cv::OutputArray _dst, in calcLut() argument
70 cv::UMat src = _src.getUMat(); in calcLut()
92 static bool transform(cv::InputArray _src, cv::OutputArray _dst, cv::InputArray _lut, in transform() argument
104 cv::UMat src = _src.getUMat(); in transform()
352 void CLAHE_Impl::apply(cv::InputArray _src, cv::OutputArray _dst) in apply() argument
354 CV_Assert( _src.type() == CV_8UC1 || _src.type() == CV_16UC1 ); in apply()
357 …bool useOpenCL = cv::ocl::useOpenCL() && _src.isUMat() && _src.dims()<=2 && _src.type() == CV_8UC1; in apply()
360 int histSize = _src.type() == CV_8UC1 ? 256 : 4096; in apply()
365 if (_src.size().width % tilesX_ == 0 && _src.size().height % tilesY_ == 0) in apply()
367 tileSize = cv::Size(_src.size().width / tilesX_, _src.size().height / tilesY_); in apply()
368 _srcForLut = _src; in apply()
375 …cv::copyMakeBorder(_src, usrcExt_, 0, tilesY_ - (_src.size().height % tilesY_), 0, tilesX_ - (_src… in apply()
382 …cv::copyMakeBorder(_src, srcExt_, 0, tilesY_ - (_src.size().height % tilesY_), 0, tilesX_ - (_src.… in apply()
400 if( clahe::transform(_src, _dst, ulut_, tilesX_, tilesY_, tileSize) ) in apply()
407 cv::Mat src = _src.getMat(); in apply()
411 lut_.create(tilesX_ * tilesY_, histSize, _src.type()); in apply()
414 if (_src.type() == CV_8UC1) in apply()
416 else if (_src.type() == CV_16UC1) in apply()
424 if (_src.type() == CV_8UC1) in apply()
426 else if (_src.type() == CV_16UC1) in apply()