In this article I am going to demonstrate how to detect color using MATLAB
Step 1: GUI Elements Used :
2.two push buttons
• 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