How to give zero value to an object color in an image which is having less number of pixels than the rest of the objects in the image?

1 回表示 (過去 30 日間)
Hello everyone
I have an image which consist two colored fingers Say Red and Pink colores. Suppose the number of the pixels of the Pink colored Pixels are greater than the number of the pixels of the Red finger. In this case i want the Red finger's values Zero/black and return me an image which consist only the Pink colored Finger. Suggest me some MATALB dynamic code for this scenario. The Attached Picture Named as two-colors.PNG is an Example .. Thanks in Advance
  1 件のコメント
Image Analyst
Image Analyst 2019 年 7 月 4 日
Also attach the binary image that you used to mask that RGB image. The operation will need to be done on that mask image.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with Image Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by