41 const itk::ImageBase<VImageDimension> & inputImage)
43 const auto & maskImage = itk::Deref(mask.GetImage());
44 return maskImage.GetLargestPossibleRegion() == inputImage.GetLargestPossibleRegion() &&
45 maskImage.GetOrigin() == inputImage.GetOrigin() && maskImage.GetSpacing() == inputImage.GetSpacing() &&
46 maskImage.GetDirection() == inputImage.GetDirection();