-
Notifications
You must be signed in to change notification settings - Fork 163
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
Automatic EEG localization and labelling using Revopoint 3D #716
base: master
Are you sure you want to change the base?
Automatic EEG localization and labelling using Revopoint 3D #716
Conversation
…llar/toolbox) required for warping and interpolating points on EEG cap
- it is always going to be a meshed OBJ so 'FileType' parameter is unnecessary - renamed 'tri' as 'faces' - renamed 'pos' as 'vertices'
- ANT 65 is a modeifed version of ANT Waveguard 64 - Acticap 66 is a modified version of Acticap 65
to be used for registration to MRI
Needs work on a more generic approach to handle different EEG caps
- Limit display of 'Auto' and 'Random' buttons for Revopoint only - Correct display order of EEG labels based on the initialization labels required as per the EEG cap - Removed unwanted code for sketch points (was used for debugging) - Creating montages from EEG cap layout mat files (only for Revopoint)
required as the updated surface will be saved to database
`ft_convert_units` is part of spm12/external/fieldtrip
I have made all the changes based on the comments and discussions above and on Slack. Let me know if you find any errors on your side. To summarize:
Tutorial updated partially. Should be good for your testing. Will do a final update of tutorial after it is ready to merge. |
- updated the code reference from where this was inspired - for some obj, obtained from 3D software like Maya and Blender, when parsed using 'readtable', the vertex coordinates start from the 3rd column - `refine` is a FT function to improve resolution. Using this creates a processing and loading delay which can be avoided as the scans would already be in a good resolution.
For importing an OBJ into brainstorm:
Both these functions are available as part of spm12 plugin (/external/fieldtrip) and also the fieldtrip plugin. How do we go about this ? |
In short, it does not makes too much sense to request the user to install FieldTrip as plugin and Load it to perform trivial operations and things that already in the Brainstorm source code. Moreover, not all functions in FieldTrip are available in the compiled version of Brainstorm.
|
@rcassani thanks for pointing out the resources. That makes things much simpler. I don't think we will need FT now. |
inspired by `channel_fixunits.m`
It follows the 10-20 system with 'Fpz' as GND and 'A1, A2' as REF.
Remove unnecessary copies of code
Tutorial: https://neuroimage.usc.edu/brainstorm/Tutorials/TutDigitize3dScanner#Digitize_using_Revopoint_Digitize_GUI_in_Brainstorm
Test Data: Can be downloaded from here.
Goal is to allow automatic localization and labelling of EEG caps using 3D scanned mesh of a person wearing the cap (captured using Revopoint 3D). This represents a new low-cost, fast, easy-to-use approach for digitizing heads and electrodes as compared to the traditional digitizer.
NOTE: Currently tested well with two configurations of EEG caps:
d40c719c49ebc6Proposed GUI within Brainstorm
LEGACY MODE
2024 MODE
@tmedani @ajoshiusc @yashvakilna