[ITK-users] Iterator for python supported ITK

沈庄明 zhuangming.shen at sphic.org.cn
Sun May 22 20:20:48 EDT 2016


Hi Matt,

Thanks for your prompt reply. Actually, I'd like to know how to further improve the performance when I need to get each pixel value from an image using python supported ITK. 


Regards,

Zhuangming Shen
________________________________________
From: Matt McCormick <matt.mccormick at kitware.com>
Sent: Friday, May 20, 2016 8:00 PM
To: 沈庄明
Cc: insight-users at itk.org
Subject: Re: [ITK-users] Iterator for python supported ITK

Hi Zhuangming,

Iterating through pixels is slow in Python -- the iterators may not be
wrapped because it is always a good idea to use C++ in this case.

HTH,
Matt

On Fri, May 20, 2016 at 5:00 AM, 沈庄明 <zhuangming.shen at sphic.org.cn> wrote:
> Hi all,
>
>
> Could anyone give me an example on "itk::ImageRegionIterator" using Python
> supported ITK? I can't find the wrapped "iterator". Thanks in advance.
>
>
>
> Regards,
>
>
> Zhuangming Shen
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list