-
Notifications
You must be signed in to change notification settings - Fork 294
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
Thank you and inquiry about MR preprocessing #329
Comments
The preprocessing is rather simple. TotalSegmentator resamples the images to 1.5mm isotropic resolution, then the images go to nnU-Net. nnU-Net will normalise the images, if I remember correctly to mean of 0 and stddev of 1. But this might have changed a bit. This information can be found in the nnunetv2 documentation. I hope this helps. |
Hi, similar question here! First of all, thank you for your public datasets! However, I am using your MR data to fine tune my model on, but the dice score stays superlow. I assume because of the way I preprocess/transform. Are the images in the dataset already in RAS orientation and already have right spacing? I do see your scripts for alignment and resampling, but I can't find out if this is already applied or still need to happen. So, what are the steps of preprocessing / transforms that still need to be done after loading the nifti files? Hope to hear from you soon! |
If you can share one of your datasets with me I can try to reproduce the issue. Otherwise it is difficult to say what the problem might be. |
Hi, thx for your response. I downloaded this dataset: https://zenodo.org/records/11367005. And then this is what I do:
The segmentations I use are the organs from class_map_parts_mr. |
For this dataset it should work well. |
Thank you! I already have the data stored as subjects (s0001 etc) with their corresponding mr.nii.gz and then their segmentations folders. I created a function to instead of having every segmentation in a separate file (like aorta.nii.gz), have all segmentations in one map, stored these in combined_mask.nii.gz for each subject. So do I still need to do |
First, I want to express my sincere gratitude for TotalSegmentator. Your open-source contribution is invaluable to the medical imaging community.
I'm currently working on an L3 vertebra detection/selection model using TotalSegmentator as part of my workflow. For this project, I'm particularly interested in understanding the MR-specific preprocessing steps that occur before segmentation.
Could you please point me to the part of the codebase where MR preprocessing is implemented? I've looked through the
nnUNet_predict_image
function but haven't been able to identify the MR-specific steps.Any guidance would be greatly appreciated. Thank you for your time and for creating this fantastic tool!
The text was updated successfully, but these errors were encountered: