JuliaIO / NRRD.jl

Julia support for the Nearly Raw Raster Data (NRRD) image file format
Other
10 stars 9 forks source link

Orientation woes #12

Open timholy opened 7 years ago

timholy commented 7 years ago

In #11 I noticed an orientation mismatch, and according to http://teem.sourceforge.net/nrrd/format.html#general.4 Fiji is right and we are wrong. Gack. Another breaking change, coming up...

timholy commented 7 years ago

Ah, wait. That example is just illustrative, and it's valid to use a different ordering. But it's such a pervasive assumption that I suspect we should follow it in the absence of evidence to the contrary. The main negative is that if we return a lazy-permuted array (necessary if we're using mmapped files), then operations on these arrays will generally not be very cache-friendly.