[Insight-users] xxxxxSPAMxxxxx Why the result of itk::MattesMutualInformationImageToImageMetric is negated?

水灵 348774226 at qq.com
Thu Mar 25 05:49:04 EDT 2010


Hello!
  
 The last line of the GetValue() method in itkMattesMutualInformationImageToImageMetric.txx. It reads : return static_cast<MeasureType>( -1.0 * sum );
why not : return static_cast<MeasureType>( sum ) ? Yet in other MI metric it's positive.
  
 thank you!
  
 Ling Luo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100325/19b79376/attachment.htm>


More information about the Insight-users mailing list