Borrar filtros
Borrar filtros

How to remove shadow from image ?

25 visualizaciones (últimos 30 días)
Zaheer Abbas
Zaheer Abbas el 26 de Mzo. de 2017
Comentada: Zaheer Abbas el 27 de Mzo. de 2017
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:

Respuesta aceptada

Image Analyst
Image Analyst el 27 de Mzo. de 2017
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 comentario
Zaheer Abbas
Zaheer Abbas el 27 de Mzo. de 2017
Thanks alot. This example worked :)

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by