[Insight-developers] Statistics library

Stephen R. Aylward Stephen.Aylward at Kitware.com
Fri Sep 28 16:23:12 EDT 2007


Hi,

Am I missing some deeper motivation:  ImageToImageFilter (via 
ImageSource) has a GetOutput that returns a non-const object; however, 
the statistics library (code/numerics/statistics/) has some classes 
whose GetOutput returns a const object (itkImageToHistogramGenerator and 
5 others) and others that return a non-const object (itkKdTreeGenerator 
and 5 others).

I recall this discussion only vaguely.

Should the statistics library be updated to be internally consistent and 
consistent with the image filters?   Seems like making all non-const 
would be backward compatible...seems like Luis had an argument against 
this at one time :)

Thanks,
Stephen

-- 
=============================================================
Stephen R. Aylward, Ph.D.
Chief Medical Scientist
Kitware, Inc. - Chapel Hill Office
http://www.kitware.com
Phone: (518)371-3971 x300


More information about the Insight-developers mailing list