Tegra version of cv::detail::createLaplacePyr
This commit is contained in:
parent
be63ce723f
commit
4ebb66362c
@ -429,6 +429,11 @@ void createWeightMap(const Mat &mask, float sharpness, Mat &weight)
|
||||
|
||||
void createLaplacePyr(const Mat &img, int num_levels, vector<Mat> &pyr)
|
||||
{
|
||||
#ifdef HAVE_TEGRA_OPTIMIZATION
|
||||
if(tegra::createLaplacePyr(img, num_levels, pyr))
|
||||
return;
|
||||
#endif
|
||||
|
||||
pyr.resize(num_levels + 1);
|
||||
|
||||
if(img.depth() == CV_8U)
|
||||
|
Loading…
x
Reference in New Issue
Block a user