Try using rgb2hsv command. this command will give you
hue ,saturation and value components ie 3 dimensional
matrix, use the first matrix which contains hue.
here is the small code. >> IM=imread('sunflower.bmp');
>> HU=HSV(:,:,1);%HU is hue component
--- lowtechorhightech <lowtechorhightech@lowt...>
> Please explain how to obtain the hue of a colored
> image in MATLAB __________________________________
>Please explain how to obtain the hue of a colored image in MATLAB
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
lowtechorhightech <l...@yahoo.com> wrote:
Please explain how to obtain the hue of a colored image in MATLAB
NEW! You can now post a message or access and search the archives of this group on DSPRelated.com:
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group.
About this discussion group:
To Post: Send an email to m...@yahoogroups.com
Other DSP Related Groups: http://www.dsprelated.com/groups.php