필터 지우기
필터 지우기

How to remove shadow from image ?

조회 수: 25 (최근 30일)
Zaheer Abbas
Zaheer Abbas 2017년 3월 26일
댓글: Zaheer Abbas 2017년 3월 27일
I am building a braille dots recognition program. After i acquire image through the camera and convert it into binary, the shadow also becomes significant and hence the result gets affected. Can you suggest me a code to avoid the effect of shadows?? Here is the example image(shadow is on the bottom half part of the image):
Here is the Binary image:
Histogram of the Orignal Image:

채택된 답변

Image Analyst
Image Analyst 2017년 3월 27일
Other methods that would also work are adapthisteq() and imtophat() or imbothat().
You can also use John D'Errico's polyfitn() to fit the background to a 2-D polymonial. See my attached demo.
  댓글 수: 1
Zaheer Abbas
Zaheer Abbas 2017년 3월 27일
Thanks alot. This example worked :)

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by