Added Processing for 3 channel images