[ITK] [ITK-users] MutualInformationImageToImageMetric without transformation
jan
jan.bergmeier at imes.uni-hannover.de
Tue Aug 26 09:31:46 EDT 2014
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
More information about the Community
mailing list