[Dcmlib] pixel data OpenGL compatiable

Luca Picello luca.picello at libero.it
Tue Jul 26 19:34:16 CEST 2005


JP, I'm uploading an entire dataset on 
http://www.surgisystems.com/pronto.zip
I've anonimized the frames manually: hope it's good enough ;-)

bye everybody,
Luca



Jean-Pierre ROUX wrote:

>> what i woudl like to see in gdcm is the way to get pixeldata from dicmo
>> iamge in such fashion that is 100% compatible with opengl (for 
>> loading a 2D texture or just as pixels).
>>
>> That would have to enforce some conversions (12bit packed into 16bit
>> would have to be ajusted)
>
>
>
> -->Do you mean "Bits Allocated = 12", "Bits Stored = 12" ?
> (In our data set, we just have *one* image like that, and it works 
> with gdcm.
> If your images don't, could you send us one, to allow us to fix the bug)
>
> --> Whe have thousands of "unsigned" images where "Bits Allocated = 
> 16", Bits Stored = {9, or 10, or 11, or 12, or 13 }, and gdcm works on 
> them.
>
> -> All our 'signed images' but one have "Bits Allocated = 16", "Bits 
> Stored = 15",  and gdc works on them.
>
>> signed images (pixeld ata needs to be ajusted [using openGL signed types
>> doesnt work ] ).
>
>
> gdcm works also with 'signed' pixels, "Bits Allocated = 8", but VTK 
> doesn't.
>
> You can, use vtkgdcmViewer to check.
> We are interested in any DICOM / ACR-NEMA image that hangs gdcm.
> Thx
> Jean-Pierre
>
>> [...]
>> Aris
>> _______________________________________________
>> Dcmlib mailing list
>> Dcmlib at creatis.insa-lyon.fr
>> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>
>
>   Jean-Pierre ROUX
>   CREATIS - CNRS UMR 5515, INSERM U 630
>   Laboratoire de Radiologie Experimentale
>   Hopital Cardiologique
>   28 Avenue du Doyen LEPINE
>   B.P. Lyon-Montchat
>   69394 Lyon Cedex 03
>
>   Tel      : (+33) 04 72 35 74 12
>   Fax      : (+33) 04 72 68 49 16
>   URL      : http://www.creatis.univ-lyon1.fr
>   e-mail   : jpr at creatis.univ-lyon1.fr
>                                    
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
> .
>




More information about the Dcmlib mailing list