[Insight-developers] itk:FlipImageFilter

Kent Williams norman-k-williams at uiowa.edu
07 Jan 2004 16:30:20 -0600


That is what I thought.  Unfortunately that is not what I'm seeing --
In the OrienterImageFilter I am trying to flip the first dimension, so
I'm passing in { true, false, false }.  But when I dump out the pixel
data, it appears it's reversing the slices, not the rows.

On Wed, 2004-01-07 at 16:07, Luis Ibanez wrote:
> Kent,
> 
> The array of FlipAxes follows the same order of ITK indices,
> which is that the lowest index corresponds to the fastest
> moving dimension.
> 
> 
> In other words
> 
> Flip[0]   -->   Index[0] --->   contiguous pixels in memory
> Flip[1]   -->   Index[1] --->   pixels that are one row appart
> Flip[2]   -->   Index[2] --->   pixels that are one slice appart
> Flip[3]   -->   Index[3] --->   pixels that are one volume appart
> 
> ....and so on
> 
> 
> Luis
> 
> 
> ----------------------
> 
> Kent Williams wrote:
> 
> > Does the FlipImageFilter expect the argument to SetFlipAxes (a
> > FlipAxesArrayType) to be arranged slowest-moving-dimension first, or
> > last?
> > 
> > 
> > _______________________________________________
> > Insight-developers mailing list
> > Insight-developers at itk.org
> > http://www.itk.org/mailman/listinfo/insight-developers
> > 
> 
>