added itk3 compatibility