On 12 July 2010 13:24, K.-Michael Aye wrote:
> Dear numpy hackers,
>
> I can't find the syntax for unpacking the 3 dimensions of a rgb array.
> so i have a MxNx3 image array 'img' and would like to do:
>
> red, green, blue = img[magical_slicing]
>
> Which slicing magic do I need to apply?
Not sli
Dear numpy hackers,
I can't find the syntax for unpacking the 3 dimensions of a rgb array.
so i have a MxNx3 image array 'img' and would like to do:
red, green, blue = img[magical_slicing]
Which slicing magic do I need to apply?
Thanks for your help!
BR,
Michael
_