Added component view, and check for rgb image