<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px">Thank you so much for the great help.<br><div><span></span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Monday, February 12, 2018 2:27 PM, Matt McCormick <matt.mccormick@kitware.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div dir="ltr">Hi Majid,<br clear="none"><br clear="none">For the best DICOM image compatibility, use itk::DCMTKImageIO:<br clear="none"><br clear="none">  <a shape="rect" href="https://github.com/InsightSoftwareConsortium/ITK/blob/8a2a15f41218c925c0a89119e09419d48f83eb22/Modules/IO/DCMTK/test/itkDCMTKSeriesReadImageWrite.cxx" target="_blank">https://github.com/InsightSoftwareConsortium/ITK/blob/8a2a15f41218c925c0a89119e09419d48f83eb22/Modules/IO/DCMTK/test/itkDCMTKSeriesReadImageWrite.cxx</a><br clear="none"><br clear="none">This also supports reading in the DICOM image orientation into the<br clear="none">itk::Image. This information is not retained in vtkImageData.<br clear="none"><br clear="none"><br clear="none">Writing the image to disk can be avoided with ITKVtkGlue:<br clear="none"><br clear="none">  <a shape="rect" href="https://itk.org/ITKExamples/src/Bridge/VtkGlue/ConvertAnitkImageTovtkImageData/Documentation.html" target="_blank">https://itk.org/ITKExamples/src/Bridge/VtkGlue/ConvertAnitkImageTovtkImageData/Documentation.html</a><br clear="none"><br clear="none">but again, be aware of the loss of the Direction information.<br clear="none"><br clear="none"><br clear="none">Both ITK and VTK support image volumes written in MetaImage, NRRD, or<br clear="none">VTK Legacy file format.<br clear="none"><br clear="none"><br clear="none">A state-of-the-art edge preserving filter is the anisotropic diffusion<br clear="none">lattice basis reduction filter in ITK. For more information, see the<br clear="none">Insight Journal article:<br clear="none"><br clear="none">  <a shape="rect" href="http://www.insight-journal.org/browse/publication/953" target="_blank">http://www.insight-journal.org/browse/publication/953</a><br clear="none"><br clear="none">and instructions on how to install the Python package or enable its<br clear="none">module in ITK's build here:<br clear="none"><br clear="none">  <a shape="rect" href="https://github.com/InsightSoftwareConsortium/ITKAnisotropicDiffusionLBR" target="_blank">https://github.com/InsightSoftwareConsortium/ITKAnisotropicDiffusionLBR</a><br clear="none"><br clear="none"><br clear="none">Hope this helps,<br clear="none">Matt<br clear="none"><div class="yqt2612493736" id="yqtfd77453"><br clear="none">On Mon, Feb 12, 2018 at 6:41 AM, Majid M. Sadeghi via Insight-users<br clear="none"><<a shape="rect" ymailto="mailto:insight-users@itk.org" href="mailto:insight-users@itk.org">insight-users@itk.org</a>> wrote:<br clear="none">> Dear All,<br clear="none">><br clear="none">> I am using a vtkGDCMImageReader to import 3D DICOM images. Then I adjust the<br clear="none">> spacing and reslice. After that I can save it as both image<br clear="none">> data|(vtkXMLImageDataWriter) or polydata(vtkImageDataGeometryFilter).<br clear="none">><br clear="none">> I want to apply edge preserving noise removal to the data either just after<br clear="none">> reading images, or after saving as .vtp files.<br clear="none">><br clear="none">> I have setup ITK and scanned the ITK book, but I have no experience on it.<br clear="none">><br clear="none">> Is there any link or example which can guide me on how to perform this?<br clear="none">> (what type of structure is common between ITK and VTK? Should I perform the<br clear="none">> filter after saving in VTK or before that? which filter do you suggest for<br clear="none">> the best speed and perfomance?)<br clear="none">><br clear="none">> Thanks a lot.<br clear="none">><br clear="none">><br clear="none">> The ITK community is transitioning from this mailing list to<br clear="none">> discourse.itk.org. Please join us there!<br clear="none">> ________________________________<br clear="none">> Powered by www.kitware.com<br clear="none">><br clear="none">> Visit other Kitware open-source projects at<br clear="none">> <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none">><br clear="none">> Kitware offers ITK Training Courses, for more information visit:<br clear="none">> <a shape="rect" href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br clear="none">><br clear="none">> Please keep messages on-topic and check the ITK FAQ at:<br clear="none">> <a shape="rect" href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br clear="none">><br clear="none">> Follow this link to subscribe/unsubscribe:<br clear="none">> <a shape="rect" href="https://itk.org/mailman/listinfo/insight-users" target="_blank">https://itk.org/mailman/listinfo/insight-users</a><br clear="none">><br clear="none"></div></div><br><br></div>  </div> </div>  </div></div></body></html>