2016-03-12 15:00:25 -0600 | answered a question | Median filter greater than 5. I haven;t tried it, but have a look here, it is the same algorithm as openCV's however it is extended to 16 bits per pixel, |
2016-03-12 11:50:16 -0600 | asked a question | Median filter support for large kernel in the documentation src – input 1-, 3-, or 4-channel image; when ksize is 3 or 5, the image depth should be CV_8U, CV_16U, or CV_32F, for larger aperture sizes, it can only be CV_8U. Large aperture size are not supported for more than 8 bit. Can someone please explain why? I'm trying to convert matlab code which uses medfilt2 function with a 7x7 kernel, however my image is 16 bits per pixel. I know that openCV integrated this algorithm into median filter http://nomis80.org/ctmf.html Is there a plan to add 16 bit support for large kernels? I would like to try to use Intel Cilk plus to optimize the code for larger bits and larger kernels. has anyone come across this issue before? optimizing for 7x7 kernel for 16 bit depth images? |
2015-09-07 02:55:33 -0600 | received badge | ● Supporter (source) |
2015-09-06 08:42:51 -0600 | commented question | FindContours hirerarcy issue @LBerger I added the original image, I don't know what you mean by parity test.. Can you explain please? |
2015-09-06 08:24:18 -0600 | received badge | ● Editor (source) |
2015-09-06 07:56:27 -0600 | asked a question | FindContours hirerarcy issue I'm trying to convert the following Matlab code into openCV. My code works really great for most of the examples I have(~700), except this one. Original Image Here is the matlab output: Here is the openCV output: Here is what happens when I remove CV_Fill: Here is my C++/OpenCV code so as far as I understand I can use the Hierarchy feature in order to understand if there is a contour which holds other contours. Hierarchy and I added a switch to check for hierarchy[i][2] == -1 (meaning it has no children) however this ruins my results for other images. Can you please explain the difference between regionprops and findcontours? and maybe suggests a way to solve my issue? |