[Insight-users] Modifying Mattes MI to provide a Normalized MI

Josem jose at apollomit.com
Mon Nov 26 17:58:31 EST 2012


Thanks T. I didn't know that class existed, I am going to see if I can use
it.
Meanwhile, I did a little modification to the 
itkMattesMutualInformationImageToImageMetric.hxx class

I changed the following line:
 //sum += jointPDFValue * ( pRatio - vcl_log(fixedImagePDFValue) );
 
with this one:
sum +=
vcl_log(fixedImagePDFValue*movingImagePDFValue)/vcl_log(jointPDFValue);

And I think this result will give me the NMI
thanks again.
Jose



--
View this message in context: http://itk-users.7.n7.nabble.com/Modifying-Mattes-MI-to-provide-a-Normalized-MI-tp30155p30159.html
Sent from the ITK - Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list