[Dcmlib] pixel data OpenGL compatiable

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Jul 27 02:30:28 CEST 2005


Luca,

	If you need to remove the archive from your website you can go ahead I 
did get a copy of it. JP might not answer your mail in a while since he 
is away for vacation.

Mathieu

Luca Picello wrote:
> 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
>> .
>>
> 
> _______________________________________________
> 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