Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

How to use MedianBlur to Mat data CV_32FC1

$
0
0
Hi there I want to use MedianBlur to CV_32FC1 data. but, it use only 8bit data format data ? what would be a good way to do it? so, my soce code is this. but , I run this code , and downed the median blure with no error code. cv::Mat depthMat = cv::Mat(HEIGHT_BASE_PIC, WIDTH_BASE_PIC, CV_32FC1, SDepthImage->depthImage); // cv::imshow("******DepthMat******"+cameraID, depthMat / 4500.0f); cv::Mat noiseDeletedMatDepth ; cv::medianBlur(depthMat, noiseDeletedMatDepth,7); so, how to use medianBlur for 32bit-float depth data ?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



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