[Insight-users] Different input and output types

Vikash Gupta vikash.gupta at inria.fr
Mon May 20 09:19:30 EDT 2013


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
----- 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 3:02:33 PM
> Subject: Re: [Insight-users] Different input and output types
> 
> On Sun, May 19, 2013 at 7:59 PM, Vikash Gupta <vikash.gupta at inria.fr>
> wrote:
> > Hey everyone,
> > I need to write a multi-threaded filter which takes scalar images
> > but the
> > output is a tensor Image.
> >
> > Can anyone tell me like what do I need to change in order to do
> > this?
> > Because I followed the example on the wiki regarding images with
> > multiple
> > different output, But I am getting segmentation faults
> >
> > Anyone has some suggestions ?
> > Thanks
> > Vikash
> 
> 
> Which example did you follow? Please provide the smallest possible
> code that produces the segfault you are seeing.
> 
> David
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkDifferentiateTensorImageFilter.h
Type: text/x-chdr
Size: 2180 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130520/b575111c/attachment.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkDifferentiateTensorImageFilter.txx
Type: application/octet-stream
Size: 3259 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130520/b575111c/attachment.obj>


More information about the Insight-users mailing list