[Insight-users] Simple registration question (ImageRegistartion1.cxx )

marco giordano marco.giord at gmail.com
Fri Sep 24 15:43:29 EDT 2010


Yes, exactly the last slice of the registered image.

Is there anyway to limit this effect?

What if one adds empty slices on the lowest (highest) border? does that
affect the registration?

Thx

2010/9/24 Kishore Mosaliganti <kishoreraom at gmail.com>

> By last image, did you mean the last slice of the registered (moving)
> image?
>
> If so, I think this is because of the image transform applied that
> moves the image totally out of that image plane. It will happen to the
> boundary slices usually.
>
> Kishore
>
> On Fri, Sep 24, 2010 at 10:56 AM, marco giordano <marco.giord at gmail.com>
> wrote:
> > Hi,
> >
> > I have a simple issue that I can not solve neither understand the cause
> of
> > it.
> >
> > I run the Example ImageRegistartion1.cxx on 2 3D CT images (256x256x11)
> > modyfing the code to take into account the third dimension and float
> number
> > for representation.
> >
> > Output looks like this:
> >
> > ....
> > 25 = 104.112 : [0.097946, -0.00159973, 0.00035025]
> > 26 = 104.082 : [0.0979543, -0.00155174, 0.000494857]
> > Result =
> >  Translation X = 0.0979543
> >  Translation Y = -0.00155174
> >  Translation Z = 0.000494857
> >  Iterations    = 28
> >  Metric value  = 104.135
> >
> > Registration runs succeffully but I notice in my registrated image that
> the
> > last slice (slice Number 11) is all set to the Deafult Value 100.
> >
> > Is that due to the interpolation or something I did not specify in my
> code?
> >
> > Is it possible to avoid this effect?
> >
> > Thank you very much.
> >
> >
> > --
> > M. Giordano
> >
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
>



-- 
Marco Giordano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100924/539600a7/attachment.htm>


More information about the Insight-users mailing list