<font face="verdana, sans-serif">Hello David,</font><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">Thanks for the information. Please see the page 15, 16 of <a href="http://www.totoku.com/display/support/pdf/Required_Grayscale_Accuracy_in_Medical_Displays(En)_V10.pdf">Totoku white paper on GrayScale resolution</a></font></div>
<div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">I am not able to get any details about "Customized conversion table".</font></div><div><font face="verdana, sans-serif"><br>
</font></div><div><font face="verdana, sans-serif">Please clarify following questions regarding lookup table,</font></div><div><ul><li><font face="verdana, sans-serif"> We are using vtkColorTransferFunction and vtkImageResliceMapper. As per your suggestion, we will have to change this to vtkLookupTable with 4096 entries to support monochrome 12-bit display.</font></li>
</ul><div><div><div><font face="verdana, sans-serif"><span class="Apple-tab-span" style="white-space:pre">    </span>vtkSmartPointer <vtkColorTransferFunction> lookupTable = vtkSmartPointer <vtkColorTransferFunction> :: New();</font></div>
<div><font face="verdana, sans-serif"><span class="Apple-tab-span" style="white-space:pre">     </span>lookupTable -> AddRGBPoint(range[0], 0, 0, 0); // scalarmin</font></div><div><font face="verdana, sans-serif"><span class="Apple-tab-span" style="white-space:pre"> </span>lookupTable -> AddRGBPoint(range[1], 1, 1, 1); //scalarmax</font></div>
</div><div><font face="verdana, sans-serif"><br></font></div><div><div><font face="verdana, sans-serif"><span class="Apple-tab-span" style="white-space:pre">       </span>vtkSmartPointer <vtkImageProperty> imageProp = vtkSmartPointer <vtkImageProperty> :: New();</font></div>
<div><font face="verdana, sans-serif"><span class="Apple-tab-span" style="white-space:pre">     </span>imageProp -> SetLookupTable(lookupTable);</font></div><div><font face="verdana, sans-serif"><span class="Apple-tab-span" style="white-space:pre">   </span>imageProp -> SetInterpolationTypeToNearest();</font></div>
</div><div><font face="verdana, sans-serif"><br></font></div><div><div><font face="verdana, sans-serif">        vtkSmartPointer <vtkImageResliceMapper> mapper = vtkSmartPointer <vtkImageResliceMapper> :: New();</font></div>
<div><font face="verdana, sans-serif"><span class="Apple-tab-span" style="white-space:pre">     </span>mapper -> SetInputConnection(imageData -> GetProducerPort());</font></div></div></div><div><ul><li><font face="verdana, sans-serif">As per your suggestion in vtk-users forum, the following lookup table is created for 11-bit grayscale. Luminance is calculated based on the standard formula </font><span style="background-color:rgb(255,255,255)"><font face="Verdana, Geneva, Helvetica, Arial, sans-serif">Y = R*0.30 + G*0.59 + B*0.11.  Please verify and I will try to set this 2048 entries in vtkLookuptable.</font></span></li>
</ul></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> R,G,B ->  y</div></font></div>
</div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 0,0,0<span class="Apple-tab-span" style="white-space:pre">     </span>     0      </div>
</font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 0,0,1     0.11 (close to 0.125)  </div></font></div></div></div></blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 1,0,0     0.3 (close to 0.25)   </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div><div><font face="verdana, sans-serif"><div> 1,0,1     0.41 (close to 0.375)  </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div>
 1,0,2     0.52 (close to 0.5)    </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 0,1,0     0.59 (close to 0.625 )</div>
</font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 0,1,2     0.81 (close to 0.75)   </div></font></div></div></div></blockquote>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 1,1,0     0.89 (close to 0.875)  </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div><div><font face="verdana, sans-serif"><div> 1,1,1     1      </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div>
 1,1,2     ~1.125  </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 2,1,1     ~1.25   </div></font></div></div>
</div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 2,1,2     ~1.375  </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div><div><font face="verdana, sans-serif"><div> 2,1,3     ~1.5    </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div>
 1,2,1     ~1.625  </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 1,2,3     ~1.75   </div></font></div></div>
</div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div><font face="verdana, sans-serif"><div> 2,2,1     ~1.875 </div></font></div></div></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><div><div><font face="verdana, sans-serif"><div> 2,2,2     2  (....etc upto 2048 entries)</div></font></div></div></div></blockquote></blockquote><div><div><div><ul><li><font face="verdana, sans-serif">How to build 4096 entries lookup table?  For example, What R, G,B value should be used to get 0.0625 luminance?  Do we have to use alpha channel for generating 4096 entries?</font></li>
</ul><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font face="verdana, sans-serif"> R,G,B,A->       y</font></blockquote><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font face="verdana, sans-serif"> 0,0,0<span class="Apple-tab-span" style="white-space:pre">      </span>,0          0      <br>
 0,0,0,128       ~0.0625<br></font><span style="font-family:verdana,sans-serif"> 0,0,1,0           ~0.125<br></span><span style="font-family:verdana,sans-serif"> 0,0,1,128        ~0.1875....like this etc upto 4096 entries?</span><font face="verdana, sans-serif"><br>
  </font></blockquote></div></div></div></div><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">Thanks,</font></div><div><font face="verdana, sans-serif">Uma</font><br><div class="gmail_quote">
On Wed, Feb 6, 2013 at 10:56 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">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">
<div class="HOEnZb"><div class="h5">On Wed, Feb 6, 2013 at 8:58 AM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
> On Wed, Feb 6, 2013 at 8:56 AM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
>> On Wed, Feb 6, 2013 at 7:27 AM, Uma A <<a href="mailto:uma@lucidindia.com">uma@lucidindia.com</a>> wrote:<br>
>>> Hello, We are planning to use Totoku M53i2 monochrome monitor to visualize<br>
>>> industrial digital radiographic image. 12-bit display is in wishlist of<br>
>>> VTKImage rendering classes It is mentioned in the wishlist that "Likelihood:<br>
>>> high if someone is willing to test"- Could you please share the examples or<br>
>>> through an idea on how to test & achieve 12bit grayscale display? We can<br>
>>> possibly check and test the various cases.<br>
>><br>
>> Page 8 of the following NVidia whitepaper describe the method that would be<br>
>> used (except that the lookup table would not be stored in a texture, it would<br>
>> be stored in a vtkLookupTable with 4096 entries.).  This method requires that<br>
>> your monitor internally converts the RGB DVI signal to a greyscale signal, like<br>
>> the monitors described in the NVidia whitepaper.<br>
><br>
> Here is the whitepaper that I forgot to link to in my last email:<br>
> <a href="http://www.nvidia.ca/docs/IO/40049/Grayscale10bit_v03.pdf" target="_blank">http://www.nvidia.ca/docs/IO/40049/Grayscale10bit_v03.pdf</a><br>
<br>
</div></div>Follow-up: The following page on the Totoku website indicates that they use<br>
the same method as described in the NVidia whitepaper:<br>
<a href="http://www.totoku.com/display/products/feature/01.shtml" target="_blank">http://www.totoku.com/display/products/feature/01.shtml</a><br>
You can easily use this method with VTK if you can get their<br>
"customized conversion table", because you would just have to create a<br>
vtkLookupTable that has the same values.<br>
<span class="HOEnZb"><font color="#888888"><br>
 - David<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks & regards</span></div><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div>
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Uma</span></div><div><a href="http://www.kovidndt.com" target="_blank">www.kovidndt.com</a></div></span><font color="#333333" face="arial, sans-serif"><i><br>
</i></font>
</div>