finding x and y coordinates of the image and spline fit
Ältere Kommentare anzeigen
I have binary image 'sceleton.tif' (black line and white background) How can I find x and y coordinates for pixels to make spline fit of the image?
Im=imread('sceleton.tif')
Antworten (3)
if your boundary is black on the binary image, you can try the following:
[a,b]= find(Im==0);
Image Analyst
am 26 Jun. 2013
0 Stimmen
What do you mean by spline fit? Spline fit of what? The skeleton is continuous so there's nothing to interpolate, unless for some reason you want sub pixel resolution but that wouldn't make sense since the skeletonization was done with pixel resolution.
1 Kommentar
Natalja
am 26 Jun. 2013
You have to define the coordinate system then decide which points you want to use for interpolation. Why are you after an equation as opposed to just the (x,y) coordinates?
1 Kommentar
Natalja
am 26 Jun. 2013
Kategorien
Mehr zu Splines finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!