필터 지우기
필터 지우기

I want to separate the colour RGB and HSV Image, how I do to separate and combine that?

조회 수: 5 (최근 30일)
example : RGB = the result are Red, Green, Blue image HSV = the result are Hue, Saturation, Value. every result in RGB already get then combine with result the HSV
  댓글 수: 3
Oman Wisni
Oman Wisni 2018년 9월 12일
Yes, please help, I calling the image from folder. Ex : ../pucuk1.bmp
Then I check every channel RGB. Which one good. After that I convert to hsv finding for hue, saturation and value.
After that I combine every channel. Which one good I continue for segmentastion using threshold and kmeans.
Oman Wisni
Oman Wisni 2018년 9월 12일
I mean every channel in RGB combine with every channel in hsv

댓글을 달려면 로그인하십시오.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 9월 12일
편집: KALYAN ACHARJYA 2018년 9월 12일
RGB Component from RGB Image
r=rgbimage(:,:,1) %Red Component
g=rgbimage(:,:,2) %Green Component
b=rgbimage(:,:,3) %Blue Component
Combine All;
rgbImage_combine=cat(3,r,g,b);
HSV Component from RGB Image
HSVimage=rgb2hsv(rgbimage);
H_component=HSVimage(:,:,1) %H Component
S_component=HSVimage(:,:,2) %S Component
I_component=HSVimage(:,:,3) %IComponent
  댓글 수: 3
KALYAN ACHARJYA
KALYAN ACHARJYA 2018년 9월 13일
@Oman My Pleasure!
If you wish to give credit to the answer, you can vote for it.
Happy To Help Always!
Regards,
Oman Wisni
Oman Wisni 2018년 9월 13일
I want to developt website using matlab, Can gui matlab show on website? What should I do or the step. May have some reference for that?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modify Image Colors에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by