On Mon, 2010-04-19 at 10:00 -0700, Christopher Barker wrote:

> you can just use (y,x) , or you can transpose the array:
> 
>  >     p = a.T.copy()

FYI, this will not work for anything that is not grayscale arrays. 
You need to use p = a.copy().transpose((1, 0, 2)).

Thanks again,
 
-- 
Sincerely yours,
Yury V. Zaytsev

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to