zero padding

7 visualizaciones (últimos 30 días)
amar kshirsagar
amar kshirsagar el 24 de Ag. de 2011
Editada: DGM el 13 de Feb. de 2024
how zero padding is done in matlab with matlab code
  1 comentario
Hans Scharler
Hans Scharler el 13 de Feb. de 2024
I saw your Discussion thread @Image Analyst and thought maybe there is a MATLAB answer for this question - https://www.mathworks.com/matlabcentral/discussions/tips/845271-trick-to-enlarge-a-matrix-by-padding-it-with-zeros

Iniciar sesión para comentar.

Respuesta aceptada

Jason
Jason el 24 de Ag. de 2011
Refer to padarray function.
  2 comentarios
Sean de Wolski
Sean de Wolski el 24 de Ag. de 2011
Image Processing Toolbox required.
DGM
DGM el 13 de Feb. de 2024
Editada: DGM el 13 de Feb. de 2024
While it wasn't an option in 2011, MIMT does have a wrapper function padarrayFB(), which will work either with or without IPT installed. Downloading MIMT just for a simple zero padding task seems a bit like overkill, but I guess it depends what it's worth.

Iniciar sesión para comentar.

Más respuestas (1)

Steven Lord
Steven Lord el 13 de Feb. de 2024
If you're using release R2023b or later, see the paddata function introduced in MATLAB in release R2023b.

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by