gavins13 / scd-data-manager

Sunnybrook Cardiac Data Manager
MIT License
0 stars 0 forks source link

Could you send me the Sunnybrook Cardiac Data? #1

Open yangyunshuai opened 4 years ago

yangyunshuai commented 4 years ago

I don't find the dataset of 2009 Cardiac MR Left Ventricle Segmentation Challenge data.

this site provides the whole complete data, but I want to get a subset of the whole complete data, which is the dataset of 2009 Cardiac MR Left Ventricle Segmentation Challenge data.

Could you send me this dataset if you keep it? thanks

yangyunshuai commented 4 years ago

My email is 1520119848@qq.com

kielnino commented 2 years ago

@yangyunshuai You can download the complete dataset and filter the dicom images by their image-type and direction. As far as I know, the dicoms that correspond to the manual contours should all have 'CARDIAC' in the image-type and '_-z_+x' in the path. You can use pydicom to filter them:

# Load DICOM-Dataset from DICOM-File
ds = pydicom.dcmread(dicom_path)
if not ('_-z_+x_256_256' in dicom_path and 'CARDIAC' in ds.ImageType):
    continue

For example if you have the contour-file IM-0001-0048-icontour-manual.txt, you need to find the dicom with the mentioned settings which ends on the same number as in the contour-filename (xxx_48.dcm).