Chafouin
10-30-2004, 09:33 AM
Hey,
I am developing an application to visualize CT data ( volume's size 512x512x128) using opengl.
As for the implementation, I used a Texture3D and it works just fine on volume coded on 8 bits.
My problem is that real data are stored on 16 bits (gray level stored on 16 bits). I want to be able to change the lookup table to only see the texture's pixels that belong to a specific intensity range.
I found stuffs about Color map Extension, but I have an ATI graphic card, so this extension is not supported. Therefore I guess I have to used the ARB_fragment_program extension (but I am not quite sure).
Could anyone give me hints about how to setup a 16 bits texture lookup table? Or any otherway to reach my goals?
Thanks
I am developing an application to visualize CT data ( volume's size 512x512x128) using opengl.
As for the implementation, I used a Texture3D and it works just fine on volume coded on 8 bits.
My problem is that real data are stored on 16 bits (gray level stored on 16 bits). I want to be able to change the lookup table to only see the texture's pixels that belong to a specific intensity range.
I found stuffs about Color map Extension, but I have an ATI graphic card, so this extension is not supported. Therefore I guess I have to used the ARB_fragment_program extension (but I am not quite sure).
Could anyone give me hints about how to setup a 16 bits texture lookup table? Or any otherway to reach my goals?
Thanks