[Insight-users] ploing pdf in mattes mutual information

mqutaish mqq at case.edu
Wed May 1 15:49:53 EDT 2013


I'm new to ITK , and I need to plot the histogram after each iteration for
mattes mutual information during registration process. I have looked online
a lot and I didn't find a way to do that. there was a thread about doing
that for older versions of ITK but not for the new threaded mattes mutual
information . 

I tried using the following
 
 typedef MetricType::JointPDFType histogramtype;
 typedef itk::ImageFileWriter< histogramtype >  pdfWriterType;
 pdfWriterType::Pointer pdfwriter =  pdfWriterType::New();
 pdfwriter->SetFileName(  argv[4] );
 pdfwriter->SetInput(metric->GetJointPDF());
 pdfwriter->Update();

but this resulted in crashing the program, can anybody please give me
directions on how to do that?

Thanks, 
Mo



--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ploing-pdf-in-mattes-mutual-information-tp7582934.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list