Hi Michael I'm re-posting your question to the mailing list. Hopefully Chris or someone else familiar with the OpenCV functionality will be able to answer. Kind regards Stéfan ---------- Forwarded message ---------- Hi Stefan, I made it work eventually. But found a problem: cvSmooth does not work for BILATERAL filtering. If param3 and param4 are 0, just a black image is returned (even so param3 and 4 are not required for BILATERAL, and if they are set to values !=0, the source image is being returned. :( Does it work for you? On top of that I am not even able to submit a bug to OpenCV, because the ros account I had to create as mentioned here: https://code.ros.org/trac/opencv does not let me log into Trac, so I can't open a new bug. Weird... Best regards, Michael _____________________________ Universität Bern Physikalisches Institut Space and Planetary Sciences K.-Michael Aye, PhD BELA Assistant Project Manager
Well, first things first. The scikits.image wrappers wrap the C interface to the OpenCV library, and there is no such thing as an optional argument in C, so param3 and 4 are required to be passed to the C layer (although they all have default kwargs at the Python layer). And the bi-lateral filter DOES require params 3 and 4 as they are the standard deviations of the filter. A look at the docs for that function describes what the parameters should be: http://stefanv.github.com/scikits.image/api/scikits.image.opencv.html#cvsmoo... That said, a quick google will reveal that this is indeed an OpenCV issue: e.g. http://forum.visionopen.com/viewtopic.php?f=31&t=4243 Cheers! Chris On 07/15/2010 01:13 AM, St�fan van der Walt wrote:
Hi Michael
I'm re-posting your question to the mailing list. Hopefully Chris or someone else familiar with the OpenCV functionality will be able to answer.
Kind regards St�fan
---------- Forwarded message ---------- Hi Stefan,
I made it work eventually. But found a problem: cvSmooth does not work for BILATERAL filtering. If param3 and param4 are 0, just a black image is returned (even so param3 and 4 are not required for BILATERAL, and if they are set to values !=0, the source image is being returned. :(
Does it work for you?
On top of that I am not even able to submit a bug to OpenCV, because the ros account I had to create as mentioned here: https://code.ros.org/trac/opencv does not let me log into Trac, so I can't open a new bug. Weird...
Best regards, Michael
_____________________________ Universit�t Bern Physikalisches Institut Space and Planetary Sciences
K.-Michael Aye, PhD BELA Assistant Project Manager
participants (2)
-
S. Chris Colbert
-
Stéfan van der Walt