<div dir="ltr">Hi Mathieu,<br><br>Thank you for your help.<br>Yesterday, I succeeded in making and building gdcmviewer.<br>But, there seems to be some problems.<br><br>Problem 1:<br>&nbsp;The combination of the versions of VTK and GDCM are strictly limited as follows;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VTK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GDCM <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug mode:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtk-5.0.4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gdcm-2.0.9<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Release mode:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtk-5.2.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gdcm-2.0.8<br>&nbsp; The above results are correct?<br>
<br>Problem 2:<br>&nbsp;The process interval to the large DICOM data, i.e. moving and zooming, is a little bit late,<br>not only debug mode of vtk-5.0.4 and gdcm-2.0.9 but also release mode of vtk-5.2.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and gdcm-2.0.8. Moreover, those two gdcmviewers process time are almost the same.<br>
&nbsp;Is that right?<br><br>If there is missing anything, please let me know.<br><br>Thanks,<br><br>Maty<br><br><div class="gmail_quote">2008/10/2 Mathieu Malaterre <span dir="ltr">&lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You need to turn GDCM_USE_VTK:ON. You will need a build/and or<br>
installed version of VTK on your system (preferably VTK 5.2)<br>
<br>
2cts<br>
<br>
On Thu, Oct 2, 2008 at 1:19 PM, masabumi ishihara<br>
<div><div></div><div class="Wj3C7c">&lt;<a href="mailto:maty.ishihara@gmail.com">maty.ishihara@gmail.com</a>&gt; wrote:<br>
&gt; Hi Mathieu,<br>
&gt;<br>
&gt; Thank you for your reply.<br>
&gt; I immediately downloaded and built the gdcm-2.0.9 and got most of the<br>
&gt; library.<br>
&gt; But, the key tool, i.e. gdcmviewer, was not built, yet.<br>
&gt; Please tell me how to compile and build the gdcmviewer.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Maty<br>
&gt;<br>
&gt; 2008/10/1 Mathieu Malaterre &lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Maty,<br>
&gt;&gt;<br>
&gt;&gt; &nbsp;gdcm 2.x comes with a small debugging tool : gdcmviewer.<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://gdcm.sourceforge.net/wiki/index.php/Gdcmviewer" target="_blank">http://gdcm.sourceforge.net/wiki/index.php/Gdcmviewer</a><br>
&gt;&gt;<br>
&gt;&gt; &nbsp;Try it and let me know what you think is &lt;quote&gt;&quot;is not sufficient<br>
&gt;&gt; for DICOM viewer.&quot;&lt;/quote&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Oct 1, 2008 at 11:48 AM, masabumi ishihara<br>
&gt;&gt; &lt;<a href="mailto:maty.ishihara@gmail.com">maty.ishihara@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi Mathieu,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thank you for your infomation.<br>
&gt;&gt; &gt; Your infomation is always very helpful for me.<br>
&gt;&gt; &gt; By the way, I have a question about VTK.<br>
&gt;&gt; &gt; I think VTK is very strong tool for 3D rendering but its 2D viewer<br>
&gt;&gt; &gt; function<br>
&gt;&gt; &gt; is not sufficient for DICOM viewer.<br>
&gt;&gt; &gt; So, in my opinion, we need one more tool for DICOM viewer in addition to<br>
&gt;&gt; &gt; VTK.<br>
&gt;&gt; &gt; What do you think of it?<br>
&gt;&gt; &gt; If you think so, please recommend what is suitable for DICOM viewer.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Maty<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2008/9/30 Mathieu Malaterre &lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Tue, Sep 30, 2008 at 9:47 AM, masabumi ishihara<br>
&gt;&gt; &gt;&gt; &lt;<a href="mailto:maty.ishihara@gmail.com">maty.ishihara@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; Hi vtkusers,<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I am a newbie of this ML.<br>
&gt;&gt; &gt;&gt; &gt; I am an engineer of Medical Imaging in Japan, so I operate DICOM data<br>
&gt;&gt; &gt;&gt; &gt; everyday.<br>
&gt;&gt; &gt;&gt; &gt; This time, I have just started using VTK, so I need amount of sample<br>
&gt;&gt; &gt;&gt; &gt; source<br>
&gt;&gt; &gt;&gt; &gt; code using VTK and DICOM data.<br>
&gt;&gt; &gt;&gt; &gt; So, I would apriciate it if you give me the sample code.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; If you are lucky, vtkDICOMImageReader will work out of the box (raw<br>
&gt;&gt; &gt;&gt; data only). If it fails, try vtkGDCMImageReader (will support<br>
&gt;&gt; &gt;&gt; RAW/JPEG/JPEGLS/JPEG2000/RLE/Deflated and almost all Photometric<br>
&gt;&gt; &gt;&gt; Interpretation).<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; see my previous post where I list all examples using it:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; <a href="http://www.vtk.org/pipermail/vtkusers/2008-July/096145.html" target="_blank">http://www.vtk.org/pipermail/vtkusers/2008-July/096145.html</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; ref:<br>
&gt;&gt; &gt;&gt; <a href="http://www.vtk.org/doc/nightly/html/classvtkDICOMImageReader.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkDICOMImageReader.html</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; and<br>
&gt;&gt; &gt;&gt; <a href="http://gdcm.sourceforge.net/html/classvtkGDCMImageReader.html" target="_blank">http://gdcm.sourceforge.net/html/classvtkGDCMImageReader.html</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; 2cts<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; Mathieu<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Mathieu<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<font color="#888888">Mathieu<br>
</font></blockquote></div><br></div>