standard deviation of points from line
Ältere Kommentare anzeigen
I have some sample points and a line. How do I calculate the standard deviation of points from line ? See the image attached showing the points and red line.
Antworten (1)
Walter Roberson
am 14 Nov. 2016
0 Stimmen
Use either bwdist or bwdistgeodesic after having created a mask in which the line pixels are set to 1. Then access it at the points of interest to find the distance to the line. You can then std() the distances.
1 Kommentar
Walter Roberson
am 14 Nov. 2016
How do you represent the line?
Kategorien
Mehr zu Region and Image Properties 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!