hausdorffDistance.Rd
Wrapper for the ITK class HausdorffDistanceImageFilter. More documentaiton available here:
hausdorffDistance(inputImage1, inputImage2)
data frame with overlap measures
sourceImage <- antsImageRead(getANTsRData("r16"), 2)
sourceSegmentation <- kmeansSegmentation(sourceImage, 3)$segmentation
referenceImage <- antsImageRead(getANTsRData("r16"), 2)
referenceSegmentation <- kmeansSegmentation(referenceImage, 3)$segmentation
hausdorff <- hausdorffDistance(sourceImage, referenceImage)