Open huyue132 opened 1 day ago
Hi,
The major part of the data preprocessing is included in the dataloader. Please refer to 3DSAM-adapter/dataset/base_dataset.py and 3DSAM-adapter/dataset/datasets.py. The input to the dataloader is actually the original nii.gz file without preprocessing. The only process is to arrange the files into a folder.
While you may need to calculate the intensity_range, global_mean and global_std, they are calculated as the 99.5 and 0.5 percentile, mean and std of the foreground pixels across the training data. You may also use other values such as the windows provided by the clinicians.
Hello, I would like to try other parts segmentation. Is there any public data preprocessing script? Can you share it? Thank you