ImageRegionIterator object in python

lwyyy
Sun, 01 Apr 2018 13:48:03 +0000
Beginner Questions

Hi,

I installed ITK on mac python 2.7 using command “python -m pip install itk”, and when I wanted to create an ImageRegionIterator object, it had an error – “AttributeError: ‘LazyITKModule’ object has no attribute ‘ImageRegionIterator’”. I had read the source code and found that there isn’t any file containing ImageRegionIterator.
I need to use the ImageRegionIterator and ImageRegionConstIterator in python. How can I create an ImageRegionIterator object in python script?

Thanks a lot!

Wanyu

3 posts - 2 participants