: [Numpy-discussion] Using where with tuples
Hello
I am trying to use the where function on a numpy array which was obtained
from an image using the asarray function. The code is as follows:
from numpy import *
from Image import *
im=open("a.gif")
im2=im.convert("RGBA"
Hello
I am trying to use the where function on a numpy array which was obtained
from an image using the asarray function. The code is as follows:
from numpy import *
from Image import *
im=open("a.gif")
im2=im.convert("RGBA")
a2 = asarray(im2,uint8)
c = zeros((140,90,4),uint8)
c[:,:]