[Insight-users] itk and python
Lic. José M. Rodriguez Bacallao
jmrbcu at gmail.com
Thu Nov 19 14:41:54 EST 2009
another question, is possible to size down the python bindings, they
weight a lot
On 11/19/09, Mario Ceresa <mrceresa at gmail.com> wrote:
> Sure! But I've always found it pretty negligible compared to the size
> of the images themselves.
>
> I'm afraid I don't have any numeric values to show you and back my assertion
> :)
>
> M.
>
> 2009/11/19 Lic. José M. Rodriguez Bacallao <jmrbcu at gmail.com>:
>> but, importing modules from itk will not hit in memory consumption?
>>
>> On 11/19/09, Mario Ceresa <mrceresa at gmail.com> wrote:
>>> Hello José,
>>>
>>>>> where do I find CableSwig, in my linux distribution or in the itk
>>>>> source
>>>>> code?
>>>
>>> you might want to read:
>>>
>>> http://www.itk.org/ITK/resources/CableSwig.html
>>>
>>> for hints on how download and install CableSwig.
>>>
>>>> what about performance and memory consumption of WrapITK?
>>>
>>> While calling ITK from python might add a small overhead, performance
>>> are very good when you call directly the underling C++ code. As for
>>> memory, it largely depends upon the size of your images.
>>>
>>> Regards,
>>>
>>> Mario
>>>
>>> 2009/11/19 Lic. José M. Rodriguez Bacallao <jmrbcu at gmail.com>:
>>>> what about performance and memory consumption of WrapITK?
>>>>
>>>> On 11/19/09, Lic. José M. Rodriguez Bacallao <jmrbcu at gmail.com> wrote:
>>>>> where do I find CableSwig, in my linux distribution or in the itk
>>>>> source
>>>>> code?
>>>>>
>>>>> On 11/19/09, Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr> wrote:
>>>>>>
>>>>>> Le 19 nov. 09 à 16:45, Lic. José M. Rodriguez Bacallao a écrit :
>>>>>>
>>>>>>> which are the dependencies of WrapITK from code.google.com, do I need
>>>>>>> swig, cableswig and gccxml or just swig and gccxml?
>>>>>>
>>>>>> "Note that two tool packaged with CableSwig are still needed — gccxml
>>>>>> and cableidx — that's why you still have to install CableSwig package
>>>>>> to build WrapITK."
>>>>>>
>>>>>> http://code.google.com/p/wrapitk/wiki/Release030#Wrapping_process_re-design
>>>>>>
>>>>>>>
>>>>>>> On 11/19/09, Mario Ceresa <mrceresa at gmail.com> wrote:
>>>>>>>> Hello José,
>>>>>>>> I use a lot the bindings done with WrapITK. You might want to
>>>>>>>> download
>>>>>>>> it from google-code, as it is newer than the one that ships with
>>>>>>>> ITK.
>>>>>>>>
>>>>>>>> Here you can find some benchmarks that might be of interest:
>>>>>>>>
>>>>>>>> http://code.google.com/p/wrapitk/wiki/Release030#Python
>>>>>>>>
>>>>>>>> Feel free to ask again should you have any more questions.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Mario
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 2009/11/19 Lic. José M. Rodriguez Bacallao <jmrbcu at gmail.com>:
>>>>>>>>> hi folks, I have some questions about using itk and python. I am
>>>>>>>>> developing a medical image application using mainly python, PyQt4,
>>>>>>>>> vtk
>>>>>>>>> and wish to use itk. With python and vtk I got no problems but I
>>>>>>>>> really wish to use itk from python but I need some clarification:
>>>>>>>>>
>>>>>>>>> 1- How good are itk python wrappers (performance, memory
>>>>>>>>> consumption, etc)
>>>>>>>>> 2- Which of the available wrappers to use, the one from
>>>>>>>>> code.google.com (WrapITK), WrapITK from itk itself or other?
>>>>>>>>> 3- Which are the differences from WrapITK from code.google.com and
>>>>>>>>> WrapITK from itk.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Lic. José M. Rodriguez Bacallao
>>>>>>>>> Centro de Biofisica Medica
>>>>>>>>> -----------------------------------------------------------------
>>>>>>>>> Todos somos muy ignorantes, lo que ocurre es que no todos
>>>>>>>>> ignoramos lo
>>>>>>>>> mismo.
>>>>>>>>>
>>>>>>>>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>>>>>>>>> por profesionales
>>>>>>>>> -----------------------------------------------------------------
>>>>>>>>> _____________________________________
>>>>>>>>> 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.html
>>>>>>>>>
>>>>>>>>> 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://www.itk.org/mailman/listinfo/insight-users
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Lic. José M. Rodriguez Bacallao
>>>>>>> Centro de Biofisica Medica
>>>>>>> -----------------------------------------------------------------
>>>>>>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos
>>>>>>> lo mismo.
>>>>>>>
>>>>>>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>>>>>>> por profesionales
>>>>>>> -----------------------------------------------------------------
>>>>>>> _____________________________________
>>>>>>> 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.html
>>>>>>>
>>>>>>> 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://www.itk.org/mailman/listinfo/insight-users
>>>>>>
>>>>>> --
>>>>>> Gaëtan Lehmann
>>>>>> Biologie du Développement et de la Reproduction
>>>>>> INRA de Jouy-en-Josas (France)
>>>>>> tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
>>>>>> http://voxel.jouy.inra.fr http://www.itk.org
>>>>>> http://www.mandriva.org http://www.bepo.fr
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lic. José M. Rodriguez Bacallao
>>>>> Centro de Biofisica Medica
>>>>> -----------------------------------------------------------------
>>>>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
>>>>> mismo.
>>>>>
>>>>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>>>>> por profesionales
>>>>> -----------------------------------------------------------------
>>>>>
>>>>
>>>>
>>>> --
>>>> Lic. José M. Rodriguez Bacallao
>>>> Centro de Biofisica Medica
>>>> -----------------------------------------------------------------
>>>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
>>>> mismo.
>>>>
>>>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>>>> por profesionales
>>>> -----------------------------------------------------------------
>>>>
>>>
>>
>>
>> --
>> Lic. José M. Rodriguez Bacallao
>> Centro de Biofisica Medica
>> -----------------------------------------------------------------
>> Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo
>> mismo.
>>
>> Recuerda: El arca de Noe fue construida por aficionados, el titanic
>> por profesionales
>> -----------------------------------------------------------------
>>
>
--
Lic. José M. Rodriguez Bacallao
Centro de Biofisica Medica
-----------------------------------------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.
Recuerda: El arca de Noe fue construida por aficionados, el titanic
por profesionales
-----------------------------------------------------------------
More information about the Insight-users
mailing list