xmengli / H-DenseUNet

TMI 2018. H-DenseUNet: Hybrid Densely Connected UNet for Liver and Tumor Segmentation from CT Volumes
527 stars 161 forks source link

np.where(livertumor == 2) #76

Open genhao3 opened 4 years ago

genhao3 commented 4 years ago

about 'np.where(livertumor == 2)' in preprocessing.py, What does ‘livertumor == 2‘ mean?

xmengli commented 4 years ago

Since tumor label is 2. np.where(livertumor == 2) used to find the location of tumors.