How to clean binary image borders?

Hi everybody, I have a grayscale RECTAGULAR image. I changed it in black and white and I would like to remove some white pixels along the UPPER and LOWER borders. I used "imclearborder" but it clears ALL the borders while I want to clean just the upper and lower borders. How can I do to exclude the sides borders from the cleaning?
Thank you Vale

1 comentario

Image Analyst
Image Analyst el 25 de Abr. de 2014
You forgot to post your image, like people usually do when they want advice on image processing.

Iniciar sesión para comentar.

Respuestas (0)

Preguntada:

el 25 de Abr. de 2014

Comentada:

el 25 de Abr. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by