Open chienwhen opened 1 year ago
As the Mayo 2016 dataset offers only 25% dose data, we employed the LD-CT-simulation method available at LD-CT-simulation to generate simulated ultra-low dose data, stored in the ".mat" format. If you don't require the simulation of ultra-low dose data, you can directly utilize the Pydicom package for reading "DICOM" format data. Afterwards, apply the following code to normalize the data.
MIN_B = -1024
MAX_B = 3072
img = img.astype(np.float32) - 1024
img[img < MIN_B] = MIN_B
img[img > MAX_B] = MAX_B
img = (img - MIN_B) / (MAX_B - MIN_B)
Thank you!
How to get the 'mat' format files of the mayo2016 datasets ?I downloaded it and realized that the format of the file is IMA. Can you upload the relevant preprocessing code?