[Insight-developers] resampling image

Leila baghdadi baghdadi at sickkids.ca
Sun Nov 27 16:18:10 EST 2005


Hello Master Luis,

Thanks so much for all the advice, I figured out the problem,

will clean up the code, submit paper to the journal and wait for
approval to commit the minc2.0 IO code,

Leila

p.s you are SO very sweet despite all Colombian coffee!!

On Sat, 2005-11-26 at 14:07 -0500, Luis Ibanez wrote:
> Hi Leila,
> 
> The easy way to start is to set the Transform
> to Identity and do a resampling.
> 
> Once you interpret the output, then you can start
> setting the actual values of the translation that
> you want to perform.
> 
> 
> You will find many examples of resampling in the
> second edition of the ITK Software Guide
> 
>     http://www.itk.org/ItkSoftwareGuide.pdf
> 
> and the corresponding source code under
> 
> 
> 
>     Insight/Examples/Filtering/
>              ResampleImageFilter.cxx
>              ResampleImageFilter2.cxx
>              ResampleImageFilter3.cxx
>              ResampleImageFilter4.cxx
>              ResampleImageFilter5.cxx
>              ResampleImageFilter6.cxx*
>              ResampleImageFilter7.cxx
>              ResampleImageFilter8.cxx
>              ResampleImageFilter9.cxx*
>              ResampleOrientedImageFilter.cxx
>              ResampleVolumesToBeIsotropic.cxx*
> 
> 
> Additional advice may require that you post
> your source code ..   :-)
> 
> 
> 
>    Regards,
> 
> 
>       Luis
> 
> 
> 
> ----------------------
> Leila baghdadi wrote:
> > Hey guys,
> > 
> > I have been trying to use itkResampleImageFilter to do a simple
> > translation on an image which has not been very successful,
> > 
> > I have made sure the resampler get the origin, spacing and direction
> > cosines properly, not sure what else I can do,
> > 
> > The result seem to have alot of values which are assigned to Default
> > pixel value out of the input extent so it looks like there are alot of
> > missing data values in it.
> > 
> > any suggesstions,
> > 
> > Thanks
> > 
> > _______________________________________________
> > Insight-developers mailing list
> > Insight-developers at itk.org
> > http://www.itk.org/mailman/listinfo/insight-developers
> > 
> > 
-- 
Leila baghdadi <baghdadi at sickkids.ca>



More information about the Insight-developers mailing list