Skip to content
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

How do I train samseg with my own data #15

Open
ZauberZ opened this issue Apr 22, 2024 · 2 comments
Open

How do I train samseg with my own data #15

ZauberZ opened this issue Apr 22, 2024 · 2 comments

Comments

@ZauberZ
Copy link

ZauberZ commented Apr 22, 2024

In practical application, the segmentation effectiveness of a single MRI structure is not consistently robust in certain areas. Therefore, I intend to train a new probabilistic model tailored to my own data.
Thanks.

@ste93ste
Copy link
Collaborator

Which areas/brain structures are not well segmented? Before re-training the probabilistic atlas (which we do not support at the moment, and require a deep understanding of SAMSEG), you can try to play with the GMM parameters (--gmm flag in run_samseg). You can pass a txt file parameter like the one here, where you change which structure of interest shared the same intensity parameters. Look at the original SAMSEG paper for more information on how to change this file.

If you still want to build your atlas, you need to compile the gems library with the following flag: GEMS_BUILD_EXECUTABLES ON. Then use the command kvlBuildAtlasMesh. As said before, we currently do not support this functionality, so we cannot help you with the building of your atlas.

@ZauberZ
Copy link
Author

ZauberZ commented Apr 22, 2024

Thank you very much. When using only T1w images, it's not easy to segment the entorhinal cortex from surrounding non-brain tissues accurately.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants