In this article I am going to demonstrate how to detect color using MATLAB

Step 1: GUI Elements Used :


2.two push buttons

3.edit text

Color Images
• A color model is a method for specifying colors in some standard way. It generally consists of a 3D coordinate system and a subspace of that system in which each color is represented by a single point.

• RGB: In this model, each color is represented as 3 values R, G and B, indicating the amounts of red, green and blue which make up the color.

Step 2: Coding Under Callback of Pushbutton1

Step 3: Coding Under Pushbutton2


This program detects different shades of Red , Green , Blue.

After clicking on SELECT IMAGE.

concept of 3-D Matrix: http://in.mathworks.com/help/matlab/math/multidime...

for further quires feel free to visit our site : http://www.dcubetechnologies.com

About This Instructable



More by Dcube Tech Ventures:Home Automation with Raspberry Pi using Relay board Motion Control with Raspberry Pi and LIS3DHTR, 3-Axis Accelerometer, using Python 3-Axis Accelerometer, ADXL345 with Raspberry Pi using Python 
Add instructable to: