how to black out part of an image ?

4 ビュー (過去 30 日間)
Nicholas Deosaran
Nicholas Deosaran 2020 年 9 月 17 日
回答済み: Image Analyst 2020 年 9 月 17 日
Hello all I have a question on how to black out part of my image. (the clown smile)
i have the code to load it all in.
But need to black out the smile of the image
im=imread(im=imread('scaryclown.png'); % loadimage;
im=double(rgb2gray(im));% make double and gray scale.
subplot(211); %make a subplot
imagesc(im); % show image on screen
and after the simle is black out need save it on a second subplot
subplot (212)
imagesc(im_mod);
Thank you in advance

採用された回答

Image Analyst
Image Analyst 2020 年 9 月 17 日
See my masking and copy and paste demos.
Also check out the Color Thresholder on the Apps tab or the tool ribbon.

その他の回答 (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