Can I fill empty pixels in a vector?

3 views (last 30 days)
bkshn
bkshn on 23 Feb 2014
Commented: Image Analyst on 3 Mar 2014
Hello
I try to explain my question better. I have an image in size of 466*700 and I have a vector on this image in size of 233*1, then some pixels of image hadn't been cover by vector, as you can see in figure1. Could you help me How can I fill these empty pixels on my vector and connect my vector?
Right know my vector is in size of 233*1 and by filling empty pixels I want to have a vector in size of 466*1.
I'll appreciate your help.

Answers (1)

Image Analyst
Image Analyst on 23 Feb 2014
I'd use interp1(). By the way, your figure is not showing up.
  4 Comments
bkshn
bkshn on 3 Mar 2014
Hello Image Analyst
I search again,But I don't know How can I apply interpolation ,when I don't have any function.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!