Skip to content

mlnotebook/surfaceDistanceFunction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Surface Distance Function

A surface distance function in Python used for evaluating image segmentations

After being unsuccessful at finding a pre-written function online, I created my own function for calculating the surface distance between two segmentations in Python.

For two image-segmentations, this function will return the surface distances (difference in mm between each corresponding pixel in the two segmentations).

It is also possible from this to calculate:

  • Mean surface distance (MSD)
  • Residual Mean-Square surface distance (RMS)
  • Hausdorff Distance (HS)

For full details on how this function works, and a tutorial on how to implement it, visit https://mlnotbook.com/post/surface-distance-function

For more turorials and general machine learning interestingness, follow @MLNotebook on Twitter. For any questions, please end a tweet or use the contact form at https://mlnotebook.github.io/contact

About

A surface distance function in Python used for evaluating image segmentations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages