What does zero padding mean?

Integral image zero-pads the top and left side of the output integral image, by this do they mean, are they referring to the padsize vector which is a vector of nonnegative integers that specifies the amount of padding to add to the dimension and the dimension along which to add it to?
Cheers, Neo Cornel

 Respuesta aceptada

Image Analyst
Image Analyst el 30 de Dic. de 2015

1 voto

It means you add a layer of pixels all the way around the image that have value 0. This is done by padarray() in the Image Processing Toolbox.

3 comentarios

Neo
Neo el 30 de Dic. de 2015
Editada: Neo el 30 de Dic. de 2015
Thank you, do you mean add a layer of pixels around the image where the image has the value 0? Cheers,
Neo
Image Analyst
Image Analyst el 30 de Dic. de 2015
No. It means to enlarge the image by adding rectangular strips of zeros outside the rectangular edge of the image, so that you have a new larger rectangular image with a black frame around it.
Neo
Neo el 30 de Dic. de 2015
Crystal. Cheers, mate.

Iniciar sesión para comentar.

Más respuestas (0)

Preguntada:

Neo
el 30 de Dic. de 2015

Comentada:

Neo
el 30 de Dic. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by