itkwidgets icon indicating copy to clipboard operation
itkwidgets copied to clipboard

itk.image() to itk.output() in _type_aliases.py

Open GingerSpacetail opened this issue 1 year ago • 2 comments

I'm not sure yet, as the whole itk module is currently not working for me... But meanwhile you might want to check if this line should be updated to match the fact that itk.image() is deprecated, and we should use itk.output() instead

https://github.com/InsightSoftwareConsortium/ITK/blob/2a1265d75f96ff7a072791629ff23b8c42123b3d/Wrapping/Generators/Python/itk/support/extras.py#L137

GingerSpacetail avatar Apr 16 '24 16:04 GingerSpacetail

Hi, thanks for the patch!

thewtex avatar Apr 17 '24 15:04 thewtex

What issue are you seeing?

Note that itk.Image identifies a type, itk.image is a function to return the image instance that is either an itk.Image instance directly or the instance that would be produced by an itk filter.

thewtex avatar Apr 17 '24 15:04 thewtex