Question: Picture channel's content

How do I check the content of the color channels in an image? I am using

if C[i,j]=[0,0,0] then...

where C is the image name, but it looks like it doesn't work

Thanks

Please Wait...