フィルターのクリア

how to remove spot from an image.?

3 ビュー (過去 30 日間)
AKHILA GOUDA
AKHILA GOUDA 2020 年 6 月 29 日
回答済み: Image Analyst 2020 年 6 月 29 日
i want to remove the black spot with character L.
so i want write a piece of code which help me to find this spot and remove it.
bcz i have lots images and want to filter.

回答 (2 件)

Constantino Carlos Reyes-Aldasoro
Constantino Carlos Reyes-Aldasoro 2020 年 6 月 29 日
You should look for the extreme values of the intensities. The dark regions of the image are not as dark as the circle, so find the lowest values and those will correspond to the black. Use some morphological operators and then you will be able to select only those of the "L".

Image Analyst
Image Analyst 2020 年 6 月 29 日
What does "remove" mean to you? Do you want to crop the image? Do you want to fill it with white? Or black? Or smear in the pixels just outside of it with regionfill()?

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by