-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add stylus/probe visualization #808
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stylus visualization is working with Aalto Polaris TODO: add a stylus calibration tab to GUI
…both Windows and Ubuntu 22
… a warning in this case, but allow navigation to work as normal
…e functions were identical, except for r_img in corregistrate_probe... This rotation does not change ICP behavior since ICP only affects the translation
lukatolo
force-pushed
the
stylus
branch
2 times, most recently
from
July 21, 2024 13:02
fe3cee8
to
65d8bbd
Compare
…hether to follow the coil or probe with marker. Join the two Corregistrate threads into one. Edit CoilVisualizer and GUI to work with this change. Please excuse some stray comments and var-definitions (eg. n_coils)... I will clean these up in future multicoil PR.
… object and remove bogus 'navigation-stylus' object
…tion is started/stopped. Automatically show coil/probe when Track coil is pressed/unpressed
…s as opposed to y-axis. Also, removed unnecessary disabling of 'Track coil' button before navigation.
vhosouza
added
enhancement
neuronavigation
Issues related to neuronavigation software
labels
Jul 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To correctly orient the stylus in VTK relative to the head, a manual calibration must be done.
(This is because the head-reference-marker-tool can be placed on the physical head at an arbitrary orientation. Even though the stylus is already calibrated with the camera, it is not calibrated with the physical head, hence the manual step.)
The calibration is defined by 3x3 rotation matrix r_stylus, which rotates the stylus to the correct orientation relative to head. The manual step can be skipped if precise stylus orientation is not important. If the plane of the head-marker-tool is aligned with the physical head's face, the stylus may even look right without calibration.
Additions to code:
Refactors to code (last commit):
Note on aligning passive tracker tools (eg. with Polaris ROM files)
Stylus: