imageJ and Jogl

Hi,

is there any way to pass ImageJ ImageStack to a JOGL obect???
I should want to create an interactive rotating rendering of a volume.

Thank you.

I much doubt there’s anything specific for this task that you could use directly. I did a bit with ImageJ and JOGL a while ago, although getting screenshots from jogl and analysing with ImageJ.

You should be able to either turn each slice into a Texture via ImageStack.getProcessor(int n).createImage() and TextureIO…

Perhaps better given that you want to render a volume would be to create a 3d texture and more manually populate each sample of the texture.

Thank you,

can you postt an example code???
I’m new to Jogl…
Can you suggest me an interesting Jogl guide???

No such luck, I’m afraid. I suggest googling “opengl volume rendering”.

[quote]I’m new to Jogl…
Can you suggest me an interesting Jogl guide???
[/quote]
Well, there’s a lot more general OpenGL stuff out there than JOGL specific. JOGL has a few helper classes which can be useful but I suspect may not be relevant to your application. As long as you’ve got a basic application setup that works with JOGL, any general OpenGL stuff you find should be useful.