[ITK] [ITK-users] MutualInformationImageToImageMetric without transformation

Tobias Gass gass at vision.ee.ethz.ch
Tue Aug 26 09:36:46 EDT 2014


Have you checked whether your images are physically overlapping?

You could also try to change the number of MI samples to avoid accidentally
sampling only from homogeneous regions.

Best of luck,
Tobias


2014-08-26 15:31 GMT+02:00 jan <jan.bergmeier at imes.uni-hannover.de>:

> Hi,
>
> my attempt with the identity transform would be this:
>
>     typedef itk::IdentityTransform< double, 2 > TransformType;
>     typedef itk::MutualInformationImageToImageMetric< UChar2DImageType,
> UChar2DImageType > MetricType;
>
>     TransformType::Pointer transform = TransformType::New();
>     MetricType::Pointer metric = MetricType::New();
>
>     metric->SetFixedImage( fixedImage );
>     metric->SetMovingImage( movingImage );
>     metric->GetValue( transform->GetParameters() );
>
> For me it's the same problem. The program crashes when I use GetValue(). It
> seems to me as if the parameters need to be OptimizerParameters....
>
> Thanks,
> Jan
>
>
>
> --
> View this message in context:
> http://itk-insight-users.2283740.n2.nabble.com/MutualInformationImageToImageMetric-without-transformation-tp7586081p7586120.html
> Sent from the ITK Insight 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.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://public.kitware.com/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140826/d1794932/attachment-0002.html>
-------------- next part --------------
_____________________________________
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.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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list