use SkeletonToleranceFunction for groundtruth from skeletons