フィルターのクリア

How do you convert the left picture (a) into the right picture (b) using image processing toolbox?

1 回表示 (過去 30 日間)
From the left picture (a), there is a "delamination area" which surrounds the hole and has bright yellow color (lighter than the rest of the material which has darker yellow). This "delamination area" is the one that got converted into black colored area in the right picture (b), while all the other color got converted into white. Atm, I used CorelDraw to convert picture a to picture b. I want to know how to do this in MATLAB using image processing toolbox.
Thanks.

採用された回答

Matt J
Matt J 2023 年 12 月 14 日
編集済み: Matt J 2023 年 12 月 14 日
[R,G,B]=imsplit(imread('Image.png'));
BW=imfill( bwareaopen(R>130 & G>130 & B>110,10) ,'holes');
imshow(~BW)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by