Closed GoogleCodeExporter closed 9 years ago
Please provide an actual script which reproduces the above issue.
Original comment by grizzly.nyo
on 12 Nov 2013 at 7:26
For example, this does not work:
import itk
reader = itk.ImageFileReader[itk.F,3].New()
reader.SetFileName('image.nii.gz')
reader.UpdateLargestPossibleRegion()
reader.Update()
image = reader.GetOutput()
filter = itk.ConnectedComponentImageFilter[itk.Image[itk.F,3],itk.Image[itk.F,3]].New()
filter.FullyConnectedOn()
filter.SetInput(image)
filter.Update()
If you replace the image types with for example itk.UC the above script works,
error also reproducible with other filters.
Original comment by goo...@lazlo.me
on 12 Nov 2013 at 7:36
There were considerable changes to ITK 4.X wrapping.
The above code should use
reader = itk.ImageFileReader[itk.Image.F3].New().
Please refer to the ITK mailing list and issue tracker for further details.
Original comment by grizzly.nyo
on 10 Feb 2014 at 1:31
Original issue reported on code.google.com by
goo...@lazlo.me
on 11 Nov 2013 at 8:38