Please share a code to remove Text and Green Mask in the attached Medical image

Share a Matlab Code to remove the Text and the Green MAsk

댓글 수: 4

What should they be replaced with?
I had the idea of trying to use ocr to detect the text, as distinct from the bright highlights (which is not text shaped.) But it turns out that the lettering, especially in the green area, is not nearly as distinct from its surroundings as it first appears. It is a JPEG image, and JPEG blurs sharp edges, so the white lettering in the green section has a lot of green blended in to the edges, making it more difficult to detect characters.
If the text overlay is in a repeatable location, it might be possible to create a template mask such that operations can be restricted to the locations where characters may potentially appear.
If there is only one or two images that need to be processed, this might be simpler to mask manually.
What would you replace the text with? The green overlay? Those parts of the image are irretrievably lost. So you cannot just remove them, and then have the image that was once there recovered.
Using some scheme to extrapolate what the lost regions MIGHT have been from the rest of the image would arguably be inappropriate, depending on the use for that image.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2022년 12월 17일

댓글:

2023년 2월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by