26 Nisan 2012 Perşembe

How to extract the regions with different colors from the input image

I developed a MATLAB function color_extract that extracts the regions with different colors from
the input image using a color model different than RGB. The purpose of it is to use different color models.




Processing of Color Images:

1. Convert to another color model YIQ, HSV, etc.
(You can use matlab functions ex: rgb2hsv)
2. Process the image, make changes.
3. Then convert it back to RGB.
(You can use matlab functions ex: hsv2rgb)












Note: I used HSV. To obtain Hue values easily, you can use MS Paint by clicking "EditColors".























Download Code

1 yorum:

Unknown dedi ki...

Mantığını anlama açısından çok yardımcı oldu.Teşekkür ederim.Ellerinize Sağlık :)

Yorum Gönder