[Insight-users] itk or vtk to load series of DICOM images

Lic. José M. Rodriguez Bacallao jmrbcu at gmail.com
Thu Nov 26 15:00:17 EST 2009


I will test it!!!

On 11/26/09, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> Hi Jose,
>
> Copy the classes in the directory:
>
>     Insight/Wrapping/WrapITK/ExternalProjects/ItkVtkGlue/src
>
> and then go to the directory:
>
>    Insight/Wrapping/WrapITK/ExternalProjects/ItkVtkGlue/Wrapping
>
> and add .cmake files for them.
>
> Something like:
>
>                 wrap_vtkKWImage.cmake
>                 wrap_vtkKWImageIO.cmake
>
>
> each one of them with a single line such as
>
>     WRAP_NON_TEMPLATE_CLASS("vtkKWImage"       POINTER)
>
> and
>
>     WRAP_NON_TEMPLATE_CLASS("vtkKWImageIO"       POINTER)
>
>
> respectively.
>
>
>      Regards,
>
>
>             Luis
>
>
> ----------------------------------------------------------------------
> On Thu, Nov 26, 2009 at 2:28 PM, Lic. José M. Rodriguez Bacallao
> <jmrbcu at gmail.com> wrote:
>> and how do I wrap this classes to python?
>>
>> On 11/26/09, Luis Ibanez <luis.ibanez at kitware.com> wrote:
>>> Hi Jose,
>>>
>>> Methods for managing multiple pixel types have been discussed
>>> often in the list.
>>>
>>> On simple approach is to use the code described in the following
>>> paper of the Insight Journal
>>>
>>>      http://www.insight-journal.org/browse/publication/146
>>>
>>> the code from the paper is now available in the InsightApplications
>>> directory, under:
>>>
>>>                 InsightApplications/Auxiliary/vtk/
>>>                                 vtkKWImage.cxx
>>>                                 vtkKWImage.h
>>>                                 vtkKWImageIO.cxx
>>>                                 vtkKWImageIO.h
>>>
>>> Note that, although the class is mostly intended for integrating
>>> ITK and VTK, it necessarily addresses the issue of managing
>>> multiple Pixel types in the ITK image.
>>>
>>> Note also that the vtkKWImageIO class will read and write DICOM
>>> files and DICOM series for you (by delegating the task to GDCM).
>>>
>>>
>>>        Regards,
>>>
>>>
>>>               Luis
>>>
>>>
>>> ------------------------------------------------------
>>> On Tue, Nov 24, 2009 at 9:17 AM, Lic. José M. Rodriguez Bacallao
>>> <jmrbcu at gmail.com> wrote:
>>>> this way (ITK using system gdcm) is better than using vtk and gdcm to
>>>> load series?
>>>> how do I manage several pixel types with itk if I must know in advance
>>>> the pixel type of images I will read?
>>>>
>>>> On 11/24/09, John Drescher <drescherjm at gmail.com> wrote:
>>>>> On Tue, Nov 24, 2009 at 8:26 AM, Lic. José M. Rodriguez Bacallao
>>>>> <jmrbcu at gmail.com> wrote:
>>>>>> so?
>>>>>>
>>>>> USE ITK with system GDCM 2.X
>>>>>
>>>>> John
>>>>>
>>>>
>>>>
>>>> --
>>>> 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
>> -----------------------------------------------------------------
>>
>


-- 
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