How to erase black letters in an image

2 ビュー (過去 30 日間)
Joan Carreras Díaz
Joan Carreras Díaz 2024 年 2 月 8 日
I have an image like this:
Is it possible to erase these letters conserving the background?

回答 (1 件)

Akira Agata
Akira Agata 2024 年 2 月 8 日
How about the following?
I = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1611496/image.jpeg');
Igray = rgb2gray(I);
BW = Igray < 10;
se = strel('disk', 10);
BW = imdilate(BW, se);
I2 = inpaintCoherent(I, BW);
imshow(I2)
  1 件のコメント
Joan Carreras Díaz
Joan Carreras Díaz 2024 年 2 月 8 日
Is there no possibility to not blur the image?

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

カテゴリ

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