[Insight-users] Different input and output types
Vikash Gupta
vikash.gupta at inria.fr
Mon May 20 17:28:45 EDT 2013
Hey David,
Yes I did that and It works now Thanks.
Can you please tell me what does ImageToImageFilter do ?
It was always unclear to me
Thanks
Vikash
----- Original Message -----
> From: "David Doria" <daviddoria at gmail.com>
> To: "Vikash Gupta" <vikash.gupta at inria.fr>
> Cc: "insight-users at itk org" <insight-users at itk.org>
> Sent: Monday, May 20, 2013 11:23:01 PM
> Subject: Re: [Insight-users] Different input and output types
>
> On Mon, May 20, 2013 at 9:19 AM, Vikash Gupta <vikash.gupta at inria.fr>
> wrote:
> > Hi David,
> > I followed this example
> >
> > http://www.itk.org/Wiki/ITK/Examples/Developer/ImageFilterMultipleOutputsDifferentType
> >
> > I am getting segmentation fault in itk::SmartPointer.h line 74
> >
> > I think it is because of different datatypes for input and output..
> >
> > Thanks
> > Vikash
>
> It looks like you are using several non-standard ITK components which
> is preventing me from compiling your code. Can you remove these, as
> well as provide a driver program that setups dummy input data and
> passes it through the filter?
>
> At first glance, you'd probably want to change
>
> class DifferentiateTensorImageFilter: public
> ImageToImageFilter<TImage, TImage>
>
> to
>
> class DifferentiateTensorImageFilter: public
> ImageToImageFilter<TImage, TTensorImage>
>
> David
>
More information about the Insight-users
mailing list