Image format for exercise 1.7 Extracting Slices

Hi,
I am going through the guide for ITK. I am not sure which image file format I need to use for exercise 1.7 to extract a slice. Could anyone please advise?

thank you.

Can you provide a link to the material you are going through?

Hey dzenanz,
Thanks for your reply. I used a nifti image for this exercise.
And I am using the software guide (book2)
https://itk.org/ItkSoftwareGuide.pdf
Thank you.

You should be able to use any file format, including nifti. But the third command line argument (slicer number) is required, and PR 2532 enforces that.

If you already used 3 arguments, can you share how you invoke the example, and dimensions of your input image?

1 Like