<br><br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Why do you want to blow up your input from 12bit (typical medical) to
<br>16bit ?</blockquote><div><br>It's because a set of test images I need to pass. The one of the example I mentioned is 12 bit ( with 16 bit allocated for each pixel ) and i have to apply to the imgae that 16 bit lut
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>vtkImageMapToColors has a 8bit output ("The result is an image of type
<br>VTK_UNSIGNED_CHAR"). So you have to manage how your intensities should<br>be "pressed" from 12bit into these 8bit. </blockquote><div><br>Yes, this is one of my problems, and that's why I'm asking if this is the right procedure, or If I have to use another filters
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">One common way is the<br>level/window-concept as most dicom-viewers do.<br>I have realized this in my work by using
<br>itkIntensityWindowingImageFilter and itkCastImageFilter. But there is<br>also a vtk-viewer-class that supports the concept of level/window<br>directly (dont know its exact name - havent used it in my projects).</blockquote>
<div><br>Yes that's the one I'm using, vtkImageViewer2, but as I said is not only a window level transform what I need, I have to apply another transforms to the data through lookup tables<br><br>Thanks anyway Tom
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hth,<br>Tom<br><br><br>_______________________________________________<br>This is the private VTK discussion list.
<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">
http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>