<div dir="ltr">Thanks!, <div><br></div><div>How do I setup that to a mapper? I am using a vtkGDCMImageReader and then a
vtkImageViewer2 but can't find a way of "configuring" the mapper. I can get this:<div><br></div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,0)">imageViewer</span><span style="color:rgb(0,0,0)">-></span><span style="font-style:italic;color:rgb(0,0,0)">GetImageActor</span><span style="color:rgb(0,0,0)">()-></span><span style="font-style:italic;color:rgb(0,0,0)">GetMapper</span><span style="color:rgb(0,0,0)">()</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(0,0,0)"><br></span></pre>but not sure if that's ok and how to continue. Maybe I should not use the imageviewr and do all "by hand" (like reader -> mapper -> actor -> renderer -> ...) but I failed to move through slices with this approach (something pretty easy to do using the imageviewer).</div>
<div><br></div><div>Thanks in advance!</div><div>Manuel.<br><pre style="margin-top:0px;margin-bottom:0px"></pre><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 4:23 PM, Christopher Mullins <span dir="ltr"><<a href="mailto:christopher.mullins@kitware.com" target="_blank">christopher.mullins@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You may want to edit a Window Level.<div><br></div><div><a href="http://www.vtk.org/doc/release/5.0/html/a02215.html" target="_blank">http://www.vtk.org/doc/release/5.0/html/a02215.html</a><br>
</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div class="h5">On Thu, Jun 6, 2013 at 3:05 PM, Manuel Corrales <span dir="ltr"><<a href="mailto:manuelcorrales@gmail.com" target="_blank">manuelcorrales@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hello, I need to get a better contrast from my image and improve the contrast. Let say my viewer using gdcm show something like this:<div><br></div><div><a href="http://tinypic.com/r/2rxxgzl/5" target="_blank">http://tinypic.com/r/2rxxgzl/5</a><br>
</div><div><br></div><div>and I would like to see something like this:</div><div><br></div><div><a href="http://tinypic.com/r/fz7v41/5" target="_blank">http://tinypic.com/r/fz7v41/5</a><br></div><div><br></div><div>
Any hints? I am new to vtk /itk and not sure if I should use ITK or VTK to process this. Also I am opening the image using gdcm directly but not sure if use ITK / VTK / GDCM or what to open the DICOM files.</div><div>
<br></div><div>Regards,</div><div>Manuel.</div></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Christopher Mullins<div>R&D Engineer</div><div>Kitware Inc.,</div><div>919.869.8871</div>
</font></span></div>
</blockquote></div><br></div>