[Insight-developers] Coordinate system semantics of ImageIOBase?

Luis Ibanez luis.ibanez at kitware.com
Thu Jan 15 18:31:40 EST 2009


Rupert Brooks wrote:
> 
> If the spacing is negative (legal in MINC) then the direction cosine
> gets flipped.  Good so far, but Isn't it also necessary
> to either flip the image in memory, or shift the origin to the other
> end of the negative axis?
> 
> 
> Cheers,
> Rupert B.
> 
--------------------------------------------------------------


Hi Rupert,

You bring up a good point here.

Spacing can indeed be negative, and unfortunately not all filters
in ITK will manage that notion nicely.

It would be great if the negative sign of the spacing was absorbed
by the image Direction at the moment the image is read by the
ImageIO class.



    My 2 cents,


      Luis




More information about the Insight-developers mailing list