[Insight-users] [Re] Correct use of MRIBiasFieldCorrectionFilter
? & SliceIterator
Luis Ibanez
luis.ibanez@kitware.com
Sat, 01 Mar 2003 00:42:08 -0500
Jisung,
The ImageSliceIteratorWithIndex will walk through
the image in an ordered way. This iterator cares
about three out of the N dimensions.
The user select which ones out of the N dimension
are going to be considered the three basic dimension
and in which order.
This iterator can also be an option.
Luis
---------------------------
Joshua Cates wrote:
> Hi Jisung,
>
> Have a look at itkSliceIterator, it may or may not be what you need.
>
> Josh.
>
> ______________________________
> Josh Cates
> School of Computer Science
> University of Utah
> Email: cates@sci.utah.edu
> Phone: (801) 587-7697
> URL: http://www.sci.utah.edu/~cates
>
>
> On Fri, 28 Feb 2003, Jisung Kim wrote:
>
>
>>Hi Martin.
>>
>>Iterators don't care about the dimension at all. As
>>you already know, an iterator provides a sequential
>>access method for a type of container. Current
>>implementation of the interator in Legendre polynom
>>just iterates over the whole bias field (represented
>>by a Legendre polynom). In the case of 3D bias field,
>>the iterator iterates from (0,0,0) (1, 0, 0), ...
>>(size of x, y, z ). I can implement a slice iterator
>>that has offsets for each dimension. I guess you
>>prefer the slice iterator to the random acces
>>iterator. I will look at the STL slice iterator's
>>implementation and try to provide slice iterator
>>implementataion that is general enough for other
>>purpose and complies as much as possilbe to the STL
>>way. It will take some time. When it's done. I'll
>>email you.
>>
>>
>>Thanks,
>>
>>
>>