Introduction: COLOR DETECTION USING MATLAB

About: We are a group of makers. We work in IoT, IOS app, android app, embedded design, sensor design, raspberry pi, arduino, beaglebone, particle electron, particle photon, Bluetooth.

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

Step 1: GUI Elements Used :

1.axes

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

Step 4: SELECT IMAGE

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