often necessary to find out
>
> what the parameters of a function should be;
>
> - it may be overkill if you just want to do some basic image processing
>
> (maybe scikits-image is a better choice there?).
>
>
>
> Hope this helps,
>
>
>
> Adrien
opment seems to
have stalled since 2009.
On Thursday, 29 November 2012 05:14:30 UTC+11, Michael Torrie wrote:
> On 11/28/2012 05:30 AM, Alasdair McAndrew wrote:
>
> > I'm investigating Python for image processing (having used Matlab,
>
> > then Octave for some years)
I'm investigating Python for image processing (having used Matlab, then Octave
for some years). And I'm spoiled for choice: PIL and its fork pillow,
scipy.ndimage, scikits-image, mahotas, the Python interface to openCV...
However, PIL doesn't seem to be in active development. What I want to kn
Thank you for your speedy response! And yes, I was too hasty in firing off a
request without the necessary details.
And in fact the resize from the PIL Image module does work:
f = Image.open('bird-of-paradise-flower-1.jpg')
r,c = f.size
f2 = f.resize((r//2,c//2))
f2.show()
shape(f) # returns(7
I can resize a 2d image "im" with a command something like:
r,c = shape(im)
im2 = resize(im,(r//2,c//2))
However, resize doesn't seem to work with an RGB image:
r,c,n = shape(im) # returns, say 500 600 3
I then need to take each band separately, resize it, and put them all back
together with