[Insight-users] problem when using itkImageToHistogramFilter

David Doria daviddoria at gmail.com
Thu Nov 29 12:21:57 EST 2012


On Thu, Nov 29, 2012 at 12:17 PM, David Didierlaurent
<dadidierlaurent at gmail.com> wrote:
> ImageToHistogramFilterType::HistogramType* histogram =
> imageToHistogramFilter->GetOutput();"

It looks like it is complaining that you are trying to assign a const
pointer to a non-const pointer. Try:

const ImageToHistogramFilterType::HistogramType* histogram =
imageToHistogramFilter->GetOutput();"

David


More information about the Insight-users mailing list