[Insight-developers] Const-Correctness problem in itk::ImageToImageMetric?

Kent Williams kent at psychiatry.uiowa.edu
Tue Jul 25 12:34:19 EDT 2006


This came up when I was working on setting masks for image registration.

Is there a reason that itk::ImageToImageMetric::SetFixedImageMask takes 
a non-const pointer to an Image mask type?  Given that the class is 
never going to modify the Mask, shouldn't it be const?



More information about the Insight-developers mailing list