[Insight-users] Loading DICOM RTStructs
Mark Roden
mmroden at gmail.com
Fri Oct 16 11:54:35 EDT 2009
Hi Jason,
That would be very useful, thanks.
My code, as I said, is written using the C# wrappers to gdcm. It then
converts the masks into a char image, where a 1 indicates the presence
of a mask and a 0 does not, and I was going to implement a marching
squares algorithm to go back to an rtstruct. I'm guessing that your
code goes to an itk mesh; is there a way to convert a mesh into an
image and back again? I'm messing around with segmentations, and the
papers I'm finding are all pixel-based rather than mesh-based, so
getting the mesh is just part of the problem.
Thanks!
Mark
On Fri, Oct 16, 2009 at 12:27 AM, <Jason.Dowling at csiro.au> wrote:
> Hi Mathieu and Mark,
>
> Yes, I've written a C++ DICOM-RT Struct importer which uses ITK and GDCM 2. I've been testing it on MR and CT volumes of the pelvis (I have also testing it on some head and neck and chest volumes) over the past few weeks.
> I have been planning to write an Insight Journal paper over the past week and will try to do this over the weekend. I'm happy to send you the code today (as is) if you would like to test/compare it?
>
> Cheers,
> Jason
>
>
> -----Original Message-----
> From: Mathieu Malaterre [mailto:mathieu.malaterre at gmail.com]
> Sent: Friday, October 16, 2009 6:13 PM
> To: Mark Roden
> Cc: insight-users at itk.org; Dowling, Jason (ICT Centre, Herston - RBWH); gdcm-developers
> Subject: Re: [Insight-users] Loading DICOM RTStructs
>
> Hi Mark,
>
> I made a mistake and had a private conversation with Jason Dowling (CC), without CCing gdcm-dev sorry :(
> He also has been working on a C++ RT Importer using gdcm 2.x. This has been tested on multilpe platform and gives proper results.
> If you would like we could compare both C++ code and merge them. I know Jason was really close to making a release to the IJ. Jason, any comments ?
>
> cheers
>
> On Fri, Oct 16, 2009 at 1:43 AM, Mark Roden <mmroden at gmail.com> wrote:
>> Hi all,
>>
>> I note that there is now the capability of exporting DICOM RT structs:
>>
>> http://www.insight-journal.org/browse/publication/316
>>
>> However, I can't find any information on how to import these structs.
>> It may just be that my google-fu is weak, so if there is such an
>> example or the like, please let me know.
>>
>> I've written C# code to wrap around gdcm to go into my own image
>> format, so I can use that if I have to, but the conversion would
>> probably be irritating since I'm extremely inexperienced with the itk.
>> I'd rather follow some sample code.
>>
>> Barring that, should I just post my importer to the development list
>> to get some help on converting it into an itk C++ class?
>>
>> Thanks!
>> Mark
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.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
>>
>
>
>
> --
> Mathieu
>
More information about the Insight-users
mailing list