Giter Club home page Giter Club logo

Comments (12)

LeHenschel avatar LeHenschel commented on September 2, 2024

Hey Daniel,

Thanks for your message. I have not seen this error in any of the images I processed so far. Would it be possible for you to share one of the input images with us? And does the original segmentation (aparc+aseg.orig.mgz) also contain holes?

Best,
Leonie

from fastsurfer.

m-reuter avatar m-reuter commented on September 2, 2024

Hi Daniel. Don't use de-noised images. There could be easy too much niceifying (they often look like perfect paintings and can remove a lot of valuable information. Try the original scan.
Best Martin

from fastsurfer.

danielFangstrom avatar danielFangstrom commented on September 2, 2024

Hi Leonie and Martin,
Thanks for your quick replies, and thanks for pointing out the issue with denoised images!
I have now tried it with a non-denoised image, and while it didn't produce any holes in the mask, the skull stripping is not working properly. As you can see, there are many places where the skull is still present.

skullstrip_issues

This is the T1 image I used as input. (Just a screenshot but let me know in case you'd want the header info/mri_info output. Sharing the actual image might be somewhat tricky.) I also added the recon-all.log-file, in case you would be able to find anything useful in there: recon-all.log

T1_input

Are there any changes you can already recommend that might help with the incomplete skull stripping?

Thanks in advance!


UNIDEN

For the sake of completeness, I added the denoised UNIDEN image I used as the input initially.

UNIDEN_input

The aparc+aseg.orig in that case has no obvious holes that I can see.

aparc_aseg_orig_UNIDEN

from fastsurfer.

m-reuter avatar m-reuter commented on September 2, 2024

Hi Daniel,
Oh, I see. Sorry, but our method does not support 7T scans yet. It is trained and tested only for T1 weighted images at 3T (for example it should work very well for MPRAGE or multi-echo MPRAGE from 3T scanners).

from fastsurfer.

danielFangstrom avatar danielFangstrom commented on September 2, 2024

Hi Martin,
These scans were actually acquired using 3T, but the sequence was adopted from one used at 7T. I can however imagine that causes issues still.
Let me know in case you think there are any things I could do to make this sequence work in FastSurfer.
Regardless, thanks for your help and your input!

All the best,
Daniel

from fastsurfer.

LeHenschel avatar LeHenschel commented on September 2, 2024

Hey Daniel,

The UNIDEN image looks very dark towards the center. Could you display the the aparc+aseg.orig with a colormap? I think it is possible, that the network labels voxels in the middle as background which leads to the holes in the mask (this can not really be seen in the binary map screenshot because the center is completely black).

For the skull strip issue, does the mask (and the aparc+aseg.orig) also include the voxels which are left afterwards?

Best,
Leonie

from fastsurfer.

m-reuter avatar m-reuter commented on September 2, 2024

Both these images (normalized and unnormalized) have a very different intensity profile from anything the network has ever seen in training. Which is why segmentation fails and as a consequence brain mask.
The only way to extend the network is to train with these cases (if freesurfer provides any meaningful labels on these). Another alternative could be to synthesize these images from mprage and do augmentation in training.
Both options are not anything we could do easily.

from fastsurfer.

danielFangstrom avatar danielFangstrom commented on September 2, 2024

That's too bad but does indeed make sense with how the output looked in both cases. I'll try to find some alternative ways to process these images.
Thank you both for your help and for your time!

All the best,
Daniel

from fastsurfer.

runjia0124 avatar runjia0124 commented on September 2, 2024

I have the same issue running on a HCP Young Adult scan, Subject id 102614, I used an ANTs-structurally corrected T1w scan and found a big hole on my brain mask.

from fastsurfer.

m-reuter avatar m-reuter commented on September 2, 2024

What version did you run?

from fastsurfer.

LeHenschel avatar LeHenschel commented on September 2, 2024

On the original HCP scan this works fine. Maybe try running it on that instead of the ANTs-Structurally corrected one.

from fastsurfer.

runjia0124 avatar runjia0124 commented on September 2, 2024

Hi Leonie,

Thank you for the reply and apologies for my delay.
The hole appears on a HCP Young Adult scan, Subject id 103010, not 102614, sorry for the mistake. I ran the current Fast-surfer stable version, cloned this repo directly and ran it on my local machine. I tried the original T1w without structural correction but still found a hole in the mask, segmentation works well. For you to reproduce the bug, this is the specific T1w scan I ran with: 103010/unprocessed/3T/T1w_MPR1/103010_3T_T1w_MPR1.nii.gz. Please note that this is the unpreprocessed release of the HCP Young Adult. Please let me know if more information is needed.

Best,
Runjia

from fastsurfer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.