# No LineIterator class in itk/Python?

**URL:** https://discourse.itk.org/t/no-lineiterator-class-in-itk-python/3823
**Category:** Beginner Questions
**Tags:** python
**Created:** [February 2, 2021, 12:47pm UTC](https://discourse.itk.org/t/no-lineiterator-class-in-itk-python/3823 "2021-02-02T12:47:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Tuelle](https://discourse.itk.org/user_avatar/discourse.itk.org/tuelle/32/1894_2.png) [@Tuelle](https://discourse.itk.org/u/Tuelle)
#### Post date: [February 2, 2021, 12:47pm UTC](https://discourse.itk.org/t/no-lineiterator-class-in-itk-python/3823/1 "2021-02-02T12:47:54Z")

</div>

I want to use the functionality of the LineIterator class ([https://itk.org/Doxygen/html/classitk\_1\_1LineIterator.html](https://itk.org/Doxygen/html/classitk_1_1LineIterator.html)) in itk with Python (not simple-itk). However, the class seems to be not available in the itk namespace. Is that the case or how can I access the class?

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [February 2, 2021, 4:56pm UTC](https://discourse.itk.org/t/no-lineiterator-class-in-itk-python/3823/2 "2021-02-02T16:56:48Z")

</div>

ITK’s iterators are generally not available via Python wrapping because of significant overhead when accessing pixels via Python wrapper.
