Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Image pixel coordiates interpolation from a limited points

$
0
0
Hi,

I would like to set pixels in an image to a specific value along with the intermediate pixels (pixels that lie between two points). What I have is a set of X,Y coordinates of some points on a line segment. I can work out a code that interpolates the in-between values but I wonder if MATLAB has a built-in function which can be used for that or if there is a function posted in the file exchange blog?

[X Y]

ans =

          27 1096
         603 734
        1162 345
        1545 44
        3929 33
        4011 60
      

Cheers,
Abbas

Viewing all articles
Browse latest Browse all 19628

Trending Articles