I have an image in matlab read in from a movie file. The image is a 3d array. How would I go through that image and if the colors are mostly red(eg. red>200 blue<50 green<50) make that part of the image black and ther other areas white?
Eventually I would like to do this for the whole video, but I need to understand this first!