<br><br><div class="gmail_quote">On Thu, Nov 3, 2011 at 3:32 PM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Jesus,<br>
<br>
Most 10-bit displays use a 24-bit RGB to 10-bit greyscale conversion.<br>
The vtkImageActor is fully capable of 24 bits.<br></blockquote><div><br></div><div>How can you achieve 24bits with vtkImageActor? I can&#39;t see how to setup the pipeline.</div><div><br></div><div>Say we have a 10 or 12 bit grayscale image (common case in DICOM) stored in a vtkImageData (2 bytes per pixel). How can you build a pipeline where you can apply at least a window level operation to your image and achieve a 10bit image in the output?</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<span class="HOEnZb"><font color="#888888"><br>
 - David<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, Nov 3, 2011 at 6:57 AM, Jesús Spí­nola &lt;<a href="mailto:jspinola@gmail.com">jspinola@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt; I am also interested on this topic.<br>
&gt; My question is, how can you achieve 10-bit display when vtkImageActor<br>
&gt; requires data to be of unsigned char type?<br>
&gt; (<a href="http://www.vtk.org/doc/release/5.6/html/a00819.html" target="_blank">http://www.vtk.org/doc/release/5.6/html/a00819.html</a>) This means data is cut<br>
&gt; down to 8-bit, so the resolution is already lost though your vtkImageData<br>
&gt; were of short  type (2 bytes).<br>
&gt; On Fri, Apr 29, 2011 at 3:43 PM, David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Mark,<br>
&gt;&gt;<br>
&gt;&gt; Some (maybe most?) 10-bit displays use a 24-bit RGB to 10-bit<br>
&gt;&gt; greyscale conversion.  In other words, they are designed to work with<br>
&gt;&gt; standard 24-bit frame buffers and 24-bit DVI cables.  The 24-bit to<br>
&gt;&gt; 10-bit conversion may vary from manufacturer to manufacturer, but the<br>
&gt;&gt; basic idea is that you can achieve 10-bit display simply by applying<br>
&gt;&gt; the correct RGB lookup table in VTK when displaying the image.<br>
&gt;&gt;<br>
&gt;&gt; Is there a specific 10-bit monitor that you are planning to use?<br>
&gt;&gt;<br>
&gt;&gt;  - David<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Apr 29, 2011 at 5:13 AM, endlosschleife1<br>
&gt;&gt; &lt;<a href="mailto:endlosschleife1@googlemail.com">endlosschleife1@googlemail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I would like to render 2D images, potentially also on 10 bit greyscale<br>
&gt;&gt; &gt; displays. VtkImageActor2D only supports 8 bit (it uses GL_UNSIGNED_BYTE<br>
&gt;&gt; &gt; as<br>
&gt;&gt; &gt; format for the glTexImage2D calls). Is there currently in way in VTK to<br>
&gt;&gt; &gt; use<br>
&gt;&gt; &gt; short scalars for 2D texture based image rendering?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Mark<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jesús Spínola<br>