Comments (12)
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.
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.
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.
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
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.
The aparc+aseg.orig in that case has no obvious holes that I can see.
from fastsurfer.
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.
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.
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.
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.
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.
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.
What version did you run?
from fastsurfer.
On the original HCP scan this works fine. Maybe try running it on that instead of the ANTs-Structurally corrected one.
from fastsurfer.
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)
- CC values all 0 in aseg+DKT.stats HOT 5
- input image contains negative values and gpu memory issue HOT 6
- Issue creating symbolic links when running fastsurfer-gpu.sif HOT 6
- Error during smooth_aparc.py mode HOT 1
- Error during smooth_aparc.py mode_filter HOT 5
- Biasfield-corrected image input of the segstats.py HOT 4
- Use of '--rm' argument in build.py results in a TypeError HOT 4
- Is it possible to get segstats of cerebellum after run FastSurfer pipeline? HOT 3
- Some zeros in aseg.stats HOT 8
- Fooocus colab stopping with this error HOT 4
- FastSurfer surf pipeline did not finish: Missing .label files (not enough memory for mris_sample_parc) HOT 11
- conform.py bug HOT 2
- srun_fastsurfer.sh on HPC, surface pipeline fails for hundreds but works for tens of subjects HOT 8
- Question about content of wmparc.DKTatlas.mapped.mgz HOT 1
- Support for lesion masks? HOT 1
- Unmatched ROIs in predicted segmentation and provided FastSurfer_ColorLUT.tsv HOT 23
- FastSurfer Segmentation Modules: disable conformation of input image to isometric spaces HOT 5
- FastSurfer QuickSeg doesn't work with OASIS `.img` files HOT 3
- Docker build workflows HOT 5
- Model download issue HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastsurfer.