Borrar filtros
Borrar filtros

How to extend an image using convolution

2 visualizaciones (últimos 30 días)
Mahi Nazir
Mahi Nazir el 16 de Mayo de 2014
Comentada: Mahi Nazir el 16 de Mayo de 2014
Hi I have this plot which I saved as an image. I need to extend it to a certain width. I think I can use convolution? I haven't done any image processing before. Absolutely new to this. Read about convolution so have an idea what it is. Can someone please guide me through this. How do I perform convolution for this?

Respuestas (1)

Image Analyst
Image Analyst el 16 de Mayo de 2014
Convolution will enlarge an image but it filters the image and you haven't said that you want to blur or sharpen the image. Why not try padarray() to just add some layers of zero value pixels around the outer edge of the image?
  12 comentarios
Image Analyst
Image Analyst el 16 de Mayo de 2014
Try the surf() function.
Mahi Nazir
Mahi Nazir el 16 de Mayo de 2014
For surf we need to have a matrix, I have a vector... that's why I was trying to get additional values from convolution? Any idea how convolution can be done here?

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by