Info

この質問は閉じられています。 編集または回答するには再度開いてください。

images color

2 ビュー (過去 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