Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

OpenCV4Android - BilateralFilter Problems

$
0
0
So I'm attempting to use a bilateralFilter and it's crashing for reasons unknown to me. I'm following these as a guide and I'm not seeing anything wrong: http://opencvexamples.blogspot.com/2013/10/applying-bilateral-filter.html http://docs.opencv.org/2.4/doc/tutorials/imgproc/gausian_median_blur_bilateral_filter/gausian_median_blur_bilateral_filter.html private Mat sharpen(Mat passedImage) { Mat bilateral = passedImage.clone(); Imgproc.cvtColor(bilateral, bilateral, Imgproc.COLOR_BGRA2BGR); int iSize = 9; Imgproc.bilateralFilter(bilateral, bilateral, iSize, iSize*2, iSize/2); return bilateral; }

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>