<br><br><div class="gmail_quote">On Thu, Nov 3, 2011 at 3:32 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></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'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 <<a href="mailto:jspinola@gmail.com">jspinola@gmail.com</a>> wrote:<br>
> Hi,<br>
> I am also interested on this topic.<br>
> My question is, how can you achieve 10-bit display when vtkImageActor<br>
> requires data to be of unsigned char type?<br>
> (<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>
> down to 8-bit, so the resolution is already lost though your vtkImageData<br>
> were of short type (2 bytes).<br>
> On Fri, Apr 29, 2011 at 3:43 PM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
>><br>
>> Hi Mark,<br>
>><br>
>> Some (maybe most?) 10-bit displays use a 24-bit RGB to 10-bit<br>
>> greyscale conversion. In other words, they are designed to work with<br>
>> standard 24-bit frame buffers and 24-bit DVI cables. The 24-bit to<br>
>> 10-bit conversion may vary from manufacturer to manufacturer, but the<br>
>> basic idea is that you can achieve 10-bit display simply by applying<br>
>> the correct RGB lookup table in VTK when displaying the image.<br>
>><br>
>> Is there a specific 10-bit monitor that you are planning to use?<br>
>><br>
>> - David<br>
>><br>
>><br>
>> On Fri, Apr 29, 2011 at 5:13 AM, endlosschleife1<br>
>> <<a href="mailto:endlosschleife1@googlemail.com">endlosschleife1@googlemail.com</a>> wrote:<br>
>> > Hi,<br>
>> ><br>
>> > I would like to render 2D images, potentially also on 10 bit greyscale<br>
>> > displays. VtkImageActor2D only supports 8 bit (it uses GL_UNSIGNED_BYTE<br>
>> > as<br>
>> > format for the glTexImage2D calls). Is there currently in way in VTK to<br>
>> > use<br>
>> > short scalars for 2D texture based image rendering?<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > Mark<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jesús Spínola<br>