Added handling of color image.
Added frame for preprocessing.