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 to determine the refdata? #23

Open
JinFeng-Wu opened this issue Sep 21, 2022 · 9 comments
Open

How to determine the refdata? #23

JinFeng-Wu opened this issue Sep 21, 2022 · 9 comments

Comments

@JinFeng-Wu
Copy link

JinFeng-Wu commented Sep 21, 2022

Hi Emma,

I'm so confused why and how to determine the refdata (--refdata=*.func.gii)?

Different refdata could lead to different results or it is just a reference of coordinates and space?

JF

@ecr05
Copy link
Owner

ecr05 commented Sep 21, 2022

Guidance for usage is given on the FSL list https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/MSM

@JinFeng-Wu
Copy link
Author

Thank you, I read your guidance carefully, honestly, it's very hard to comprehend, and I don't find the answer of the usage and influence of refdata, can you explain a little bit more?

@ecr05
Copy link
Owner

ecr05 commented Sep 21, 2022

Not any more clearly than that no.

The algorithm works by aligning the cortices after the surface features have been protected onto the sphere. So the surfaces you pass have to be spheres and the matching is working to align some data on the surface. In the simplest case that would be a sulcal depth file (a *sulc.shape.gii) but it could be a functional file (a *func.gii). You need one file for the input mesh and one for the reference mesh (hence --refdata)

@JinFeng-Wu
Copy link
Author

The explanation is clear, I got the rationale.

But how can I create such a func ref data, or put it this way, are different func ref data make a difference for alignment?

@ecr05
Copy link
Owner

ecr05 commented Sep 21, 2022

They come out of the HCP processing pipelines by default

@JinFeng-Wu
Copy link
Author

JinFeng-Wu commented Sep 21, 2022 via email

@JinFeng-Wu
Copy link
Author

JinFeng-Wu commented Sep 22, 2022

Hey Emma, I think if your algorithm is going to be widely used, one of the big problems is that people don't use HCP pipelines to come up with the data, and you don't explain how the files are generated, which is a huge obstacle to your algorithm being widely used. I already checked the HCP pipeline MSMALL part, it's really hard to understand how to generate the reference data.

@ecr05
Copy link
Owner

ecr05 commented Sep 22, 2022

This conversation should really be had on the FSL or HCP list as it is not about the code itself. You can only run MSM with surface meshes. For that you need to have run a Freesurfer style pipeline with all comparable outputs as explained in the wiki and pipeline papers. If your issue is one of file conversion then I imagine that is already answered somewhere on the HCP mailing list
I believe Freesurfer has a command to convert fl to the gifti file type. I think there might be MATLAB conversion code from vtk.

@JinFeng-Wu
Copy link
Author

Thank you for your answer.

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

No branches or pull requests

2 participants