How to extend an image using convolution

8 次查看(过去 30 天)
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?

回答(1 个)

Image Analyst
Image Analyst 2014-5-16
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 个评论
Mahi Nazir
Mahi Nazir 2014-5-16
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?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by