ImageFileWriter requires an image as an input, not a filter

Bug #400202 reported by Mario Ceresa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TITK
Fix Committed
Medium
Mario Ceresa

Bug Description

Currently the pipeline connects all the filters with the pattern:

fil2.SetInput(fil1)

Nevertheless it doesn't work for ImageFileWriter:

In [1]: import itk
In [2]: reader = itk.ImageFileReader.ISS3.New()
In [3]: writer = itk.ImageFileWriter.ISS3.New()
In [4]: writer.SetInput(reader)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)

titk/src/titk/<ipython console> in <module>()

TypeError: in method 'itkImageFileWriterISS3_SetInput', argument 2 of type 'itkImageSS3 const *'

Related branches

Mario Ceresa (mrceresa)
Changed in titk:
assignee: nobody → ceres83 (ceres83)
importance: Undecided → Medium
status: New → Confirmed
Mario Ceresa (mrceresa)
Changed in titk:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.