<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hello,
<div><br>
</div>
<div>I am trying to load DICOMRT structure data into a tbd ITK class via a python script. I found some <a href="http://www.insight-journal.org/browse/publication/887">useful C++ code</a> by Jason Dowling that extracts contours from DICOMRT and draws them on
the corresponding image data. I’ve managed to get this code to work on my own DICOM data. While trying to port sections of this code to python, I realized that Jason was directly instantiating GDCM classes to access the structure data. This is where I got
stuck.</div>
<div><br>
</div>
<div>My install of ITK used the built-in GDCM library, and it does’t appear that Python wrappings for GDCM were built. Is there a way to build GDCM python wrappers in ITK? I couldn’t find a CMAKE flag for it. Would it be simpler to just build GDCM separately,
rebuild ITK setting the system GDCM flag, and then import GDCM into Python?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>-Kris</div>
</body>
</html>