Skip to content

Commit 7bfb380

Browse files
author
elenagvo
committed
remove matrix release
1 parent 8151953 commit 7bfb380

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

modules/imgproc/src/smooth.cpp

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth,
15621562
anchor.x, anchor.y, normalize, borderType&~BORDER_ISOLATED);
15631563

15641564
CV_OVX_RUN(true,
1565-
openvx_boxfilter(_src, _dst, ddepth, ksize, anchor, normalize, borderType))
1565+
openvx_boxfilter(src, dst, ddepth, ksize, anchor, normalize, borderType))
15661566

15671567
CV_IPP_RUN_FAST(ipp_boxfilter(src, dst, ksize, anchor, normalize, borderType));
15681568

@@ -2124,15 +2124,12 @@ void cv::GaussianBlur( InputArray _src, OutputArray _dst, Size ksize,
21242124
ofs.x, ofs.y, wsz.width - src.cols - ofs.x, wsz.height - src.rows - ofs.y, ksize.width, ksize.height,
21252125
sigma1, sigma2, borderType&~BORDER_ISOLATED);
21262126

2127-
src.release();
2128-
dst.release();
2129-
21302127
CV_OVX_RUN(true,
2131-
openvx_gaussianBlur(_src, _dst, ksize, sigma1, sigma2, borderType))
2128+
openvx_gaussianBlur(src, dst, ksize, sigma1, sigma2, borderType))
21322129

2133-
CV_IPP_RUN_FAST(ipp_GaussianBlur(_src, _dst, ksize, sigma1, sigma2, borderType));
2130+
CV_IPP_RUN_FAST(ipp_GaussianBlur(src, dst, ksize, sigma1, sigma2, borderType));
21342131

2135-
sepFilter2D(_src, _dst, sdepth, kx, ky, Point(-1, -1), 0, borderType);
2132+
sepFilter2D(src, dst, sdepth, kx, ky, Point(-1, -1), 0, borderType);
21362133
}
21372134

21382135
/****************************************************************************************\

0 commit comments

Comments
 (0)