Comments (8)
The way I usually deal with this situation in practice is by opening the CT window, clicking on the "correct" electrode centers rather than the one in the middle as shown there, and adding "new electrode here". Then I deselect the other one and add the new ones in its place.
If I'm really concerned the positions aren't right I click on the electrodes in the CT in sequence and do "track cursor". It's not easy to make track cursor go faster than it does currently because of some issues with memory management in mayavi.
All of the tools for dealing with this are pretty much things that exist already in the CT window. The enhancements you suggested to do it better are reasonable, however they are UI improvements over something that already exists and I will probably be a bit slow about addressing them.
from ielu.
Ah, I didn't realize that you could do this with the CT view. Probably something that documentation can fix. If it was clear in the instructions, then I think that it wouldn't be necessary to do a UI overhaul.
FWIW, this would be much easier to use if it would display a point where each electrode was, so that you could tell what was there and what wasn't.
from ielu.
Hitting track cursor shows this slightly larger white dot where the cursor was indicated.
It wouldn't be that difficult to add multiple tracked points. It also wouldn't be that difficult to add a bunch of pins (but the tracked points would be easier to navigate since the pins are represented in 2D, currently you have to scroll to somewhere near the correct slice for the pin to show up).
from ielu.
Sounds like track cursor would be useful in this situation. Right now, I can only click "track cursor" once, and it shows the white sphere where the cursor was when I clicked the button. However, if I re-click anywhere on the CT then the position doesn't update. Is this a bug or just where this function is at right now?
from ielu.
You have to click "track cursor" again at the new location for it to update.
There's only one cursor currently.
from ielu.
Ah ok - in that case, is it possible for the update to occur without re-drawing the whole MRI? Right now every time I click "track cursor" it zooms out and repositions the MR at the center of the screen. So if I click a new spot on the CT, I also have to then zoom back in, and rotate the brain to the view I had before.
from ielu.
It's not as straightforward as it might seem. There's a memory issue with adding and removing dots because of some bugs in mayavi that are very hard to trace (but its easy to clear the memory by rebuilding the scene).
It would probably be possible now that I think of it to just update the cursor's position as long as there is only one cursor and it is going to stay in the image for a while. If there are many dots, its harder to keep track of them all internally. To avoid memory leakage, the scene should be rebuilt whenever any dots are removed.
from ielu.
Ah that makes sense - maybe it wouldn't be such a big deal once the bug is fixed so that it will highlight in white a highlighted electrode. 3D plotting is always a PITA :)
from ielu.
Related Issues (12)
- Errors on basic co-registrations HOT 10
- registration improvements
- run does not exist
- Compatibility issue Python 2.7 vs Python 3.x for the code HOT 2
- Problems with using 'Examine CT' option
- Error when manually bringing up electrodes HOT 5
- ENH: Add new electrode without linear interpolation HOT 7
- BUG: Error when open the "examine CT window" HOT 1
- BUG: Error when snapping electrodes to surface HOT 21
- Manual steps instead of pipeline? HOT 10
- intermittent IOError errno 0 in geometry.py/get_vox2rasxfm() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ielu.