View source: R/hausdorffDistance.R
hausdorffDistance | R Documentation |
Wrapper for the ITK class HausdorffDistanceImageFilter. More documentaiton available here:
hausdorffDistance(inputImage1, inputImage2)
inputImage1 |
image 1. |
inputImage2 |
image 2. |
https://itk.org/Doxygen/html/classitk_1_1HausdorffDistanceImageFilter.html
data frame with overlap measures
Tustison NJ
sourceImage <- antsImageRead(getANTsRData("r16"), 2)
sourceSegmentation <- kmeansSegmentation(sourceImage, 3)$segmentation
referenceImage <- antsImageRead(getANTsRData("r16"), 2)
referenceSegmentation <- kmeansSegmentation(referenceImage, 3)$segmentation
hausdorff <- hausdorffDistance(sourceImage, referenceImage)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.