[Insight-users] Scaling on two 3D masks
Sylvain Jaume
sylvain at csail.mit.edu
Fri Feb 12 00:24:31 EST 2010
Hello John,
You can use itk::ChangeInformationImageFilter to change the origin and
spacing of the second image. You also need to call ChangeOriginOn()
and ChangeSpacingOn().
HTH,
Sylvain
On Fri, Feb 12, 2010 at 12:14 AM, J. Pura <puraj at mail.nih.gov> wrote:
>
> Hello,
>
> I have two 3D binary masks, with both images having the same pixel sizes, as
> well as the same dimensions in x,y,z. Prior to performing a fine, local
> rigid registration on the two images, I need to normalize their center of
> masses (COM) and their scaling. Normalizing COM seems to be fine, but I am
> wondering how I can scale one image based on the scale of the other image.
> My thinking is to do a registration in ITK using the itkScaleTransform for
> my transform. Can someone please point me in the right direction?
>
> Thanks,
>
> John
> --
> View this message in context: http://old.nabble.com/Scaling-on-two-3D-masks-tp27559029p27559029.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
>
> _____________________________________
> 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
>
More information about the Insight-users
mailing list