Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

images color

조회 수: 4 (최근 30일)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 5월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
how to apply a particular color(e.g., green) in particular area.

답변 (2개)

Stefan
Stefan 2012년 5월 10일
is the area under a curve or between two curves?
otherwise, do you have a mask, in which every point which shall be green =1 and ever other =0?
then apply:
rgb=size(mask);
rgb(:,:,1)=0;
rgb(:,:,2)=mask;
rgb(:,:,3)=0;
imhsow(rgb);
if you do not have a mask, you have to create one... hope i could help you
  댓글 수: 4
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 5월 10일
Hi Image Analyst,
Thanks for writing. now the problem has been solved from the guidance of your reply, which you gave in the link http://www.mathworks.in/matlabcentral/answers/34880-images.
Thank you
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 5월 10일
Hi Image Analyst,
Thanks for writing. now the problem has been solved from the guidance of your reply, which you gave in the link http://www.mathworks.in/matlabcentral/answers/34880-images.
Thank you

Stefan
Stefan 2012년 5월 10일
look at this example, i think its the easiest way to get a mask
consider if the output values are correct. extraction of concrete pattern can be quite difficult and is an issue in many segmentation research studies...
  댓글 수: 1
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 5월 10일
Thanks stefan. I found the right code for my project now. thanks for your support.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by