[Insight-developers] mutual information image to image metric

Joshua Cates cates@sci.utah.edu
Mon, 6 May 2002 07:51:08 -0600 (MDT)


Registration folks,

I'm getting a new run-time exception in previously working code while
using MutualInformationImageToImageMetric in ImageRegistrationMethod with
GradientDescentOptimizer:

itk::ExceptionObject (0x81645a0)
Location: "Unknown"
File:
/home/sci/cates/itk/Insight/Code/Algorithms/itkImageToImageMetric.txx
Line: 91
Description: itk::ERROR: MutualInformationImageToImageMetric(0x81644c8):
FixedImageRegion is empty


Can't this ivar (metric::FixedImageRegion) be set by
ImageRegistrationMethod like it is in
MultiResolutionImageRegistrationMethod, or must the user now set it
explicitly?

Thanks,

Josh.





______________________________
 Josh Cates
 School of Computer Science
 University of Utah
 Email: cates@sci.utah.edu
 Phone: (801) 587-7697
 URL:   www.cs.utk.edu/~cates