[ITK Community] [Insight-developers] translation binary image

Matt McCormick matt.mccormick at kitware.com
Sat Jan 4 23:38:45 EST 2014


Hi EM,

When the registration starts, is the parameter initialization
insufficient?  That is, is there sufficient overlap at the start of
registration?

Thanks,
Matt

On Mon, Dec 30, 2013 at 1:22 PM, elhadj meljane
<elhadj.meljane at gmail.com> wrote:
> Hi all,
>
> I used the ”Hello World” Registration code example in the itkGuide to
> register tow binary images. Each image contains a white full rectangle
> on a black background. Let's say image A and image B. When I use the
> image A as fixed image and the image B as moving image, the
> registration works, I get the good translation. But when I use the
> image A as moving image and B as fixed, I get a bad translation: the
> registered image is black. Note that this second case that is useful
> to my application. I tried two different metrics:
> MatchCardinalityImageToImageMetric and MeanSquaresImageToImageMetric.
> The First metric leads to the behavior describe above; with the second
> metric I get the a 2D translation X = 0 and Y = 0.
>
>
> I would appreciate your comment on this issue!
>
> Best regards,
> EM
> _______________________________________________
> 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://kitware.com/products/protraining.php
>
> 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-developers
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
_______________________________________________
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://kitware.com/products/protraining.php

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-developers



More information about the Community mailing list