[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.
    
    
More information about the Insight-users
mailing list