How to extend an image using convolution

10 views (last 30 days)
Mahi Nazir
Mahi Nazir on 16 May 2014
Commented: Mahi Nazir on 16 May 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?

Answers (1)

Image Analyst
Image Analyst on 16 May 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 Comments
Mahi Nazir
Mahi Nazir on 16 May 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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!