<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1518436099515_72302"><span id="yui_3_16_0_ym19_1_1518436099515_72367">Thakn you so much for the great help.</span></div><div id="yui_3_16_0_ym19_1_1518436099515_72301"> </div><div class="signature" id="yui_3_16_0_ym19_1_1518436099515_72300"><br></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:02 PM, Jon Haitz Legarreta <jhlegarreta@vicomtech.org> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div id="yiv1000917650"><div><div dir="ltr">Dear Majid,<div>if you are processing a 2D/3D (medical image) volumetric dataset, I'd say that it'd be easier to just use ITK as a starting point. If you then need visualization capabilities, then you'd need to use VTK as well.</div><div><br clear="none"></div><div>For resampling, and reslicing purposes, you may want to have a look at</div><div><a rel="nofollow" shape="rect" target="_blank" href="https://itk.org/Doxygen/html/classitk_1_1ResampleImageFilter.html">https://itk.org/Doxygen/html/classitk_1_1ResampleImageFilter.html</a><br clear="none"></div><div><br clear="none"></div><div>and the examples</div><div><a rel="nofollow" shape="rect" target="_blank" href="https://itk.org/ITKExamples/src/Filtering/ImageGrid/ResampleAnImage/Documentation.html">https://itk.org/ITKExamples/src/Filtering/ImageGrid/ResampleAnImage/Documentation.html</a><br clear="none"></div><div><br clear="none"></div><div>For using VTK with medical datasets:</div><div><a rel="nofollow" shape="rect" target="_blank" href="https://lorensen.github.io/VTKExamples/site/Cxx/#medical">https://lorensen.github.io/VTKExamples/site/Cxx/#medical</a><br clear="none"></div><div><br clear="none"></div><div>For edge preserving noise removal, you can have a look at</div><div><a rel="nofollow" shape="rect" target="_blank" href="https://itk.org/Doxygen/html/classitk_1_1AnisotropicDiffusionImageFilter.html">https://itk.org/Doxygen/html/classitk_1_1AnisotropicDiffusionImageFilter.html</a><br clear="none"></div><div><br clear="none"></div><div>Edge preserving noise removal is described in Section 2.7.3. of the ITK Software Guide:</div><div><a rel="nofollow" shape="rect" target="_blank" href="https://itk.org/ItkSoftwareGuide.pdf">https://itk.org/ItkSoftwareGuide.pdf</a><br clear="none"></div><div><br clear="none"></div><div>For storing your image, ITK tends to use metaimage format:</div><div><a rel="nofollow" shape="rect" target="_blank" href="https://itk.org/Doxygen/html/classitk_1_1MetaImageIO.html">https://itk.org/Doxygen/html/classitk_1_1MetaImageIO.html</a><br clear="none"></div><div><br clear="none"></div><div>VTK can also write/read it.</div><div><br clear="none"></div><div>HTH,</div><div>JON HAITZ</div><div><br clear="none"></div><div><br clear="none"></div><div>PS: ITK has transitioned to <a rel="nofollow" shape="rect" target="_blank" href="http://discourse.itk.org/">discourse.itk.org</a> as a discussion forum. So if your question is only about ITK, it would be advisable to post it there.</div><div class="yiv1000917650gmail_extra"><br clear="all"><div><div class="yiv1000917650gmail_signature">--<br clear="none"><br clear="none"></div></div>
<br clear="none"><div class="yiv1000917650gmail_quote">On 12 February 2018 at 12:27, Majid M. Sadeghi via vtkusers <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:vtkusers@vtk.org" target="_blank" href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>></span> wrote:<br clear="none"><blockquote class="yiv1000917650gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div class="yiv1000917650yqt1083062240" id="yiv1000917650yqt21190"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><div id="yiv1000917650gmail-m_-8368103362698873541yiv2497776001"><div id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13509"><div id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13508" style="color:rgb(0,0,0);background-color:rgb(255,255,255);"><div id="yiv1000917650gmail-m_-8368103362698873541yiv2497776001yui_3_16_0_ym19_1_1518171436705_91742"><span></span></div><div id="yiv1000917650gmail-m_-8368103362698873541yiv2497776001yui_3_16_0_ym19_1_1518171436705_91743"><div id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13657">Dear All,</div><div id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13658"><br clear="none"></div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13659">I am using a vtkGDCMImageReader to import 3D DICOM images. Then I adjust the spacing and reslice. After that I can save it as both image data|(vtkXMLImageDataWriter) or polydata( vtkImageDataGeometryFilter).</div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13897"><br clear="none"></div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13986">I want to apply edge preserving noise removal to the data either just after reading images, or after saving as .vtp files.</div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13987"><br clear="none"></div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13988">I have setup ITK and scanned the ITK book, but I have no experience on it. <br clear="none"></div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13989"><br clear="none"></div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_13991">Is there any link or example which can guide me on how to perform this? (what type of structure is common between ITK and VTK? Should I perform the filter after saving in VTK or before that? which filter do you suggest for the best speed and perfomance?)</div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_14118"><br clear="none"></div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_14104">Thanks a lot.</div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_14105"><br clear="none"></div><div dir="ltr" id="yiv1000917650gmail-m_-8368103362698873541yui_3_16_0_ym19_1_1518436099515_14106"><br clear="none"></div></div><div class="yiv1000917650gmail-m_-8368103362698873541yiv2497776001signature" id="yiv1000917650gmail-m_-8368103362698873541yiv2497776001yui_3_16_0_ym19_1_1518171436705_91744"><br clear="none"></div></div></div></div></div></div></div><br clear="none">______________________________ _________________<br clear="none">
Powered by <a rel="nofollow" shape="rect" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br clear="none">
<br clear="none">
Visit other Kitware open-source projects at <a rel="nofollow" shape="rect" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/ opensource/opensource.html</a><br clear="none">
<br clear="none">
Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" shape="rect" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_ FAQ</a><br clear="none">
<br clear="none">
Search the list archives at: <a rel="nofollow" shape="rect" target="_blank" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q= vtkusers</a><br clear="none">
<br clear="none">
Follow this link to subscribe/unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="https://vtk.org/mailman/listinfo/vtkusers">https://vtk.org/mailman/ listinfo/vtkusers</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div></div><br><br></div>  </div> </div>  </div></div></body></html>