[Insight-users] Listing all the ITK classes wrapped for Python

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Aug 12 05:25:08 EDT 2005


Hi Richard,

I'm working on wrapping more classes in ITK (with the hope that it will be  
integrated in ITK in a near future :-))
I'm not (yet) using registration in ITK, and so, I'm not able to add  
classes related to registration by my self, but if your interested in  
using those classes in python, I would be pleased if we can work together  
to wrap those classes.

Regards,

Gaetan

On Thu, 11 Aug 2005 14:54:38 +0200, Luis Ibanez <luis.ibanez at kitware.com>  
wrote:

>
> Hi Richard,
>
> I'm affraid that currently it is not possible to query
> the wrapped classes in this way.
>
> This is partly due to the way in which the registration
> framework is constructred. For example, you use:
>
>   * Interpolators
>   * Optimizers
>   * Metrics
>   * Transforms
>
> So,.. although they are mostly intended to be used in
> image registration, they have a generic purpose too.
>
>
> In general our policy with the wrapping has been to
> wrap most of the basic ITK classes, and then wait until
> we get users' requests for wrapping the advanced ones.
>
>
> You probably should log bug-entries as "feature requests"
> in the phpBugTracker in order to ask for specific classes
> to be added to the wrapping.
>
> The phpBugtracker can be found at:
>
>          http://public.kitware.com/Bug/index.php
>
> You can create your own account just by
> providing your email.
>
>
>
> Regards,
>
>
>     Luis
>
>
> --------------------
> Richard Beare wrote:
>> Hi,
>> I this case I was hoping to be able to explore the registration parts
>> of my project, so the short (unhelpful) answer would have been
>> "everything connected to registration".
>>  I'm doing things in C++ instead, so the python issues aren't important
>> for now. Ultimately it may be nice if I move some stuff to python to
>> ease the learning curve for other people, but I guess I'll wait to see
>> if there is any demand.
>>  On 8/11/05, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>>
>>> Hi Richard,
>>>
>>> You can check all the ITK classes that are available from
>>> Python by doing the following in the Python interpreter.
>>>
>>>
>>>         import InsightToolkit
>>>         dir(InsightToolkit)
>>>
>>>
>>> As you pointed out, not all the advanced registration
>>> funcitonalities are available through the wrapping.
>>>
>>> If you have specific clases in mind that are not being
>>> wrapped, please let us know.
>>>
>>>
>>>   Regards
>>>
>>>
>>>      Luis
>>>
>>>
>>> -------------------
>>> Richard Beare wrote:
>>>
>>>> Hi,
>>>> I have another, more general, question for you concerning development
>>>> methodologies.
>>>>
>>>> I was hoping to do a large proportion of the high level development
>>>> using python to make the procedures more accessible to the non
>>>> programmers in the lab (possibly a forlorn hope, but we'll see). It
>>>> appears to me that the more complex registration functionality isn't
>>>> available via python - I couldn't find any sign of 3D initializers,
>>>> and so on. Is this the case, or am I missing something?
>>>>
>>>> Is there any easy way to find out what is accessible from python
>>>> and/or a relatively simple way to add the missing functionality. I
>>>> have CableSwig installed and working.
>>>>
>>>> Thanks for any advice.
>>>>
>>>> On 8/9/05, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>>>>
>>>>
>>>>> Hi Richard,
>>>>>
>>>>> It is good that you asked, because there is indeed activity
>>>>> going on in the front of Image Orientation.
>>>>>
>>>>> Please look at the Wiki page:
>>>>>
>>>>>  http://www.itk.org/Wiki/Proposals:Orientation
>>>>>
>>>>>
>>>>> and the class
>>>>>
>>>>> itk::OrientedImage
>>>>> http://www.itk.org/Insight/Doxygen/html/classitk_1_1OrientedImage.html
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>>
>>>>>
>>>>>   Luis
>>>>>
>>>>>
>>>>>
>>>>> ---------------------
>>>>> Richard Beare wrote:
>>>>>
>>>>>
>>>>>> Hi,
>>>>>> I'm in the process of writing code to look through the dictionary
>>>>>> arrays produced by the SeriesReader and GDCM dicom readers to enable
>>>>>> me to insert the orientation tags into the dictionary so that the
>>>>>> analyze file I'm producing has the correct information in it. I just
>>>>>> wanted to check whether there was already anything available to do
>>>>>> this. I couldn't see any sign of it happening in the existing code,
>>>>>> but I could have been looking in the wrong place.
>>>>>>
>>>>>> Thanks
>>>>>> _______________________________________________
>>>>>> Insight-users mailing list
>>>>>> Insight-users at itk.org
>>>>>> http://www.itk.org/mailman/listinfo/insight-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



-- 
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 29 66
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
Web: http://voxel.jouy.inra.fr


More information about the Insight-users mailing list