[SciPy-dev] [Numpy-discussion] rgb_to_hsv in scipy.misc ? (was: Optimizing speed for large-array inter-element algorithms (specifically, color space conversion))

Damian Eads eads at soe.ucsc.edu
Tue Jul 7 22:47:51 EDT 2009


Hi Stefan,

2009/7/7 Stéfan van der Walt <stefan at sun.ac.za>:
> Hi Damian
>
> 2009/7/7 Damian Eads <eads at soe.ucsc.edu>:
>> +1 on rgb_to_hsv making it into SciPy. I needed it recently for some
>> research code I'm working on.
>
> I've also needed that code recently, so I'd be glad to include it.

I used the code in this message,
http://www.mail-archive.com/numpy-discussion@scipy.org/msg15642.html .
I don't know if it's correct or not.

>> +1 on imread. Stefan, do you have any thoughts on its interface? I'm
>> an advocate for making it as similar to MATLAB's interface as possible
>> to make it easier for people to switch from MATLAB to Python.
>
> It's already in :-)  I'm open to any recommendations on the API.

Two other arguments in the imread function would be helpful, roi and
band. 'roi' is a 2 or 3 element tuple of coordinates to read, which is
useful when reading from a very large image.

Thanks!

Damian

>
> Cheers
> Stéfan
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>



-- 
-----------------------------------------------------
Damian Eads                             Ph.D. Candidate
Jack Baskin School of Engineering, UCSC        E2-489
1156 High Street                 Machine Learning Lab
Santa Cruz, CA 95064    http://www.soe.ucsc.edu/~eads



More information about the SciPy-Dev mailing list