COLOR DETECTION USING MATLAB

by Dcube Tech Ventures in Craft > Digital Graphics

7161 Views, 7 Favorites, 0 Comments

COLOR DETECTION USING MATLAB

matlab.jpg

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

GUI Elements Used :

Screenshot (21).png

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.

Coding Under Callback of Pushbutton1

Screenshot (22).png

Coding Under Pushbutton2

Screenshot (23).png

SELECT IMAGE

Screenshot (24).png
Screenshot (25).png

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