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
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