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
Have a look at James's code here:
http://github.com/jehturner/scikits.image/commit/28f5b9faf7d8840b0d120705ad…
Cheers
Stéfan
On 3 July 2010 15:48, James Turner <jturner(a)gemini.edu> wrote:
> After bothering Stefan and Chris a lot, I've added a plugin for FITS
> files and some tests at the sprint, implementing imread() and
> imread_collection().
>
> Cheers,
>
> James.
>
After bothering Stefan and Chris a lot, I've added a plugin for FITS
files and some tests at the sprint, implementing imread() and
imread_collection().
Cheers,
James.
Hey Chris,
I wonder if you would be interested in seeing more color space
> conversions being added to the colorconv.py module, or if you are
> deliberately keeping it simple? For instance, I would like to add
> conversions to and from CIE LAB, and to allow alternative white
> points.
>
+1 on more color conversions!
> I'm also interested in seeing conversions to and from human cone LMS
> spaces available somewhere for SciPy users. I'm not sure whether or
> not this kind of thing would be appropriate for scikits.image.
>
LMS is definitely interesting. We also have some code around to reproduce
other human-like color spaces (e.g. opponent space from Itti & Walther, see
Walther's PhD Thesis, Appendix A.2 http://bit.ly/deN6iU), as well as all the
color spaces used in Geusebroek & van de Sande (as in http://bit.ly/bKg9nBorhttp://bit.ly/bYLF21). Would you be interested in these? I'll be happy to
add them too.
Please feel free to contribute any color space you'd like, possibly using
Cython if you need speed.
Thanks.
Cheers,
N
> I thought I should first post a short message about this before
> starting anything. I'm aware that the SciPy image sandbox used to
> contain more conversions, probably in a slightly confusing way
> (e.g.http://projects.scipy.org/scipy/browser/trunk/Lib/sandbox/image/
> color.py?rev=1698<http://projects.scipy.org/scipy/browser/trunk/Lib/sandbox/image/color.py?re…>).
> Anyway, please let me know what you think.
>
> Thanks,
> Chris
--
Nicolas Pinto
Ph.D. Candidate, Brain & Computer Sciences
Massachusetts Institute of Technology, USA
http://web.mit.edu/pinto
Yeah there are definately issues when using pure numpy for color conversions. The most salient is the inability to use a LUT to speed up the computation. This of course is trivial to do in cython and the chief reason why the fancy imshow widget is so fast when manipulating the color space. The downside is handling all the different numpy datatypes. Stefan and i are talking about the best way to do some templating with cython to avlleviate some of this.
----- Original message -----
> Hi Chris
>
> Sorry for the delayed response; your message was stuck in Google
> Groups moderation.
>
> On Jun 30, 7:00 am, Chris Ball <ceb...(a)gmail.com> wrote:
> > Some time ago, there was a thread about what color spaces to include
> > in
> > scikits.image:http://groups.google.com/group/scikits-image/browse_thread/th…...
> >
> > I wonder if you would be interested in seeing more color space
> > conversions being added to the colorconv.py module, or if you are
> > deliberately keeping it simple? For instance, I would like to add
> > conversions to and from CIE LAB, and to allow alternative white
> > points.
>
> We are definitely interested in building out the colour space
> manipulation. Chris (Colbert) and I have been discussing the best way
> to improve the speed of these conversions, and it may be that we'll
> simply rewrite them in Cython.
>
> Regards
> Stéfan
Hi Chris
Sorry for the delayed response; your message was stuck in Google
Groups moderation.
On Jun 30, 7:00 am, Chris Ball <ceb...(a)gmail.com> wrote:
> Some time ago, there was a thread about what color spaces to include
> in scikits.image:http://groups.google.com/group/scikits-image/browse_thread/th…...
>
> I wonder if you would be interested in seeing more color space
> conversions being added to the colorconv.py module, or if you are
> deliberately keeping it simple? For instance, I would like to add
> conversions to and from CIE LAB, and to allow alternative white
> points.
We are definitely interested in building out the colour space
manipulation. Chris (Colbert) and I have been discussing the best way
to improve the speed of these conversions, and it may be that we'll
simply rewrite them in Cython.
Regards
Stéfan