From 7907981d841eed70639e407e8ed2b9095f011e38 Mon Sep 17 00:00:00 2001 From: Fabian Isensee Date: Tue, 7 May 2024 08:00:40 +0200 Subject: [PATCH] add .gipl as supported file format in SimpleITKIO #2066 --- nnunetv2/imageio/simpleitk_reader_writer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nnunetv2/imageio/simpleitk_reader_writer.py b/nnunetv2/imageio/simpleitk_reader_writer.py index f8c645c11..19b4971f2 100644 --- a/nnunetv2/imageio/simpleitk_reader_writer.py +++ b/nnunetv2/imageio/simpleitk_reader_writer.py @@ -23,7 +23,8 @@ class SimpleITKIO(BaseReaderWriter): supported_file_endings = [ '.nii.gz', '.nrrd', - '.mha' + '.mha', + '.gipl' ] def read_images(self, image_fnames: Union[List[str], Tuple[str, ...]]) -> Tuple[np.ndarray, dict]: