[Insight-users] One of the common Errors-want to know why it occurs

David Doria daviddoria at gmail.com
Mon Sep 3 07:57:36 EDT 2012


On Mon, Sep 3, 2012 at 2:17 AM, D, Yamini <Yamini.D at philips.com> wrote:
> Hi,
>
>
>
> Can you tell me what would be the cause of  the following error ? I have
> come across this lot of times and want to know why this occurs.
>
>
>
> error C2664: 'void
> itk::ImageToImageFilter<TInputImage,TOutputImage>::SetInput(const
> itk::Image<TPixel,VImageDimension> *)' : cannot convert parameter 1 from
> 'itk::Image<TPixel,VImageDimension> *' to 'const
> itk::Image<TPixel,VImageDimension> *'

Can you please give this some context? I.e. make a minimal compilable
example of where you are calling this function that produces the error
you are seeing.

David


More information about the Insight-users mailing list