<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>You need to recompile you WrapITK to support the pixel types you need.</div><div><br></div><div>While you are waiting for that you should try a built distribution of SimpleITK 0.6rc1!<div><br></div><div>SimpleITK is compiled for just about all pixel types.</div><div><br></div><div>The ImageSeriesReader has a couple methods the get the GDCM series files names that can be feed into the reader to read.</div><div><br></div><div>SimpleITK also has the GetArrayFromImage function which convert the SimpleITK image into a numpy array. It should be easy to convert that into a VTK image, just a little bit of attention is going to be needed to get the meta-data converted correctly. We really should create a utility library to aid in this type of conversion.</div><div><br></div><div>Brad</div><div><br><div><div>On Jan 7, 2013, at 11:58 PM, Willi Huber <<a href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<div><div style="background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 10pt; "><div>Hello all,</div><div><br></div><div style="font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">I am using python(x,y) and I want to work on some dicom volumes in ITK and VTK.</div><div style="font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><br></div><div style="font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; ">My idea was to use ITK for reading the data and if necessary transfer them to VTK using the glue. <span style="background-color: transparent;">My problem now is that itk only supports itk.UC and/or itk.US as datatype for reading in python wrapped ITK which is not
sufficient.</span></div><div style="font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><span style="background-color: transparent;">Does it make sense to allow more datatypes for another users point of view. </span></div><div style="font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><span style="background-color: transparent;">If not it would be nice if someone could give me a hint how to easily transfer raw data to ITK using GDCM.</span></div><div style="font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><span style="background-color: transparent;"><br></span></div><div style="font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><span style="background-color: transparent;">Cheers,</span></div><div style="font-size: 13px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal; "><span style="background-color: transparent;">Willi</span></div></div></div>_____________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://www.kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-users<br></blockquote></div><br></div></div></body></html>