[SciPy-User] Image Enhancing in Python

Eraldo Pomponi eraldo.pomponi@gmail....
Fri Oct 7 05:51:39 CDT 2011


Dear Lorenzo,

Check the scipy.ndimage package.

http://docs.scipy.org/doc/scipy/reference/ndimage.html#module-scipy.ndimage

Cheers,
Eraldo


On Fri, Oct 7, 2011 at 12:46 PM, Lorenzo Isella <lorenzo.isella@gmail.com>wrote:

> Dear All,
> I hope this is not too off topic.
> I saw some wikis about Python and image analysis. What I am trying to
> do should not be too difficult, but I am unsure about how to proceed.
> It is my understanding that a color image (RGB), for Python (and not
> only) is nothing else that a combination of 3 different 2D arrays.
> What I would like to do is the following: take this color image, turn
> it into a grayscale image (and this is the easy bit) with the
> exception of the red color (which should be preserved).
> The final image should therefore be grayscale and red. I suppose I
> will have to do some thresholding by hand to select which red shades I
> want to keep, but I am unsure about how to proceed.
> Any suggestion is welcome.
> Cheers
>
> Lorenzo
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20111007/43f96da7/attachment.html 


More information about the SciPy-User mailing list