help > Projecting crosshair onto 3d rendered image
Showing 1-5 of 5 posts
Aug 4, 2021 10:08 PM | estephens
Projecting crosshair onto 3d rendered image
Good morning,
I'm a clinician (epilepsy fellow) who has been using MRIcro/MRIcron/MRIcroGL daily to help in detailed review of imaging for subtle structural abnormalities.
One of the processes we go through is implanting depth electrodes to try to localise epileptogenic foci - I've attached a test version of the printouts we use to help orient ourselves. We have been generating these by using MRIcro to 3d render a crosshair of the entry and target points which we estimate from the clinical software and then draw those onto a still of the render in different orientations.
I would love to be able to shift this process over to either MRIcron or MRIcroGL (right now the tendency to lose L/R orientation on MRIcro can be a pain) but neither software has the ability to project a crosshair on a 3d rendered image - is there a way I can manage this with the MRIcroGL as they stand? If not, is there any chance you are considering reintroducing the render crosshair function from the older MRIcro tool into GL?
Many thanks!
I'm a clinician (epilepsy fellow) who has been using MRIcro/MRIcron/MRIcroGL daily to help in detailed review of imaging for subtle structural abnormalities.
One of the processes we go through is implanting depth electrodes to try to localise epileptogenic foci - I've attached a test version of the printouts we use to help orient ourselves. We have been generating these by using MRIcro to 3d render a crosshair of the entry and target points which we estimate from the clinical software and then draw those onto a still of the render in different orientations.
I would love to be able to shift this process over to either MRIcron or MRIcroGL (right now the tendency to lose L/R orientation on MRIcro can be a pain) but neither software has the ability to project a crosshair on a 3d rendered image - is there a way I can manage this with the MRIcroGL as they stand? If not, is there any chance you are considering reintroducing the render crosshair function from the older MRIcro tool into GL?
Many thanks!
Aug 4, 2021 10:08 PM | estephens
RE: Projecting crosshair onto 3d rendered image
I see I'm not the first to ask after reading the previous forum
post. I'll have a go at that, but what I'm after is the inverse of
that function - where you click on a spot on a
coronal/axial/sagittal slice and it displays a crosshair onto the
render - is that feasible?
Aug 5, 2021 11:08 AM | Chris Rorden
RE: Projecting crosshair onto 3d rendered image
If you want to suggest a new feature, you can create a feature
request on
https://github.com/rordenlab/MRIcroGL
Select the "Issues" button and then choose to report a "New Issue". Crosshairs are a little tricky to draw in volume rendering, as that mode is dealing with voxels (e.g. 3D bitmap textures) not vectors. It is doable, just tricky. It is an open source project, so if anyone wants to contribute a solution they can generate a pull request.
https://github.com/rordenlab/MRIcroGL
Select the "Issues" button and then choose to report a "New Issue". Crosshairs are a little tricky to draw in volume rendering, as that mode is dealing with voxels (e.g. 3D bitmap textures) not vectors. It is doable, just tricky. It is an open source project, so if anyone wants to contribute a solution they can generate a pull request.
Aug 5, 2021 11:08 AM | Chris Rorden
RE: Projecting crosshair onto 3d rendered image
For feature requests use Github to generate a new issue (select
issues, then select new issue):
https://github.com/rordenlab/MRIcroGL/issues
It is feasible, but a bit tricky to implement.
https://github.com/rordenlab/MRIcroGL/issues
It is feasible, but a bit tricky to implement.
Aug 16, 2021 12:08 PM | Chris Rorden
RE: Projecting crosshair onto 3d rendered image
Can you please try out the latest MRIcroGL pre-release
(v1.2.20210816). When you choose the "Multi-Planar A+C+S+R" from
the "Disply" menu, you will see all four views show a cross-hair
and all interactively move to the location of a mouse click:
https://github.com/rordenlab/MRIcroGL/releases/tag/v1.2.20210816
The formula is described here
https://github.com/rordenlab/MRIcroGL/tree/master/DepthPicking
https://github.com/rordenlab/MRIcroGL/releases/tag/v1.2.20210816
The formula is described here
https://github.com/rordenlab/MRIcroGL/tree/master/DepthPicking