[Insight-users] ScalarImageToHistogramGenerator returns const output
Benjamin King
king . benjamin at mh-hannover . de
Tue, 09 Dec 2003 14:15:09 +0100
Hello,
ScalarImageToHistogramGenerator::GetOutput() returns a const object (in
contrast to for example ListSampleToHistogramGenerator).
This is a problem when one wants to access the histogram with an iterator
because there is no const version of itk::Statistics::Histogram::Iterator.
cheers,
Benjamin
--
Benjamin King
Institut für Medizinische Informatik
Medizinische Hochschule Hannover
Tel.: +49 511 532-2663