Closed gdevenyi closed 8 years ago
@gdevenyi I just pushed a fix for this in libminc. Essentially we have to lie to Display and treat 2D files as 3D files with a singleton dimension. In the longer run it might be nice to convince Display to work with actual 1D or 2D files, but that would probably require major surgery.
What you did sounds like a fine fix for now.
Tested with Display and register, works fine.
If I try to load a 2D nifti file (a single brain slice), I get:
Example files here https://github.com/ntustison/antsRegistrationWithMaskExample