• Stars
    star
    116
  • Rank 302,096 (Top 6 %)
  • Language
    Python
  • Created over 5 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

KiTS19——2019 Kidney Tumor Segmentation Challenge

KiTS19——2019 Kidney Tumor Segmentation Challenge

This is an example of the CT images Kidney Tumor Segmentation

Prerequisities

The following dependencies are needed:

  • python == 3.5.5
  • numpy >= 1.11.1
  • SimpleITK >= 1.0.1
  • opencv-python >= 3.3.0
  • tensorflow-gpu == 1.8.0
  • pandas >=0.20.1
  • scikit-learn >= 0.17.1
  • json >=2.0.9

How to Use

1、Preprocess

  • analyze the ct image,and get the slice thickness and window width and position:run the dataAnaly.py

1.1 Preprocess Kidney

  • keep kidney region into fixed size(512,512,64) for Corse Kidney Segmentation:run the corsedata2dprepare.py
  • generate patch(128,128,64) kidney image and mask for Corse Kidney Segmentation:run the corsedata3dprepare.py
  • keep Kidney region range image for fine Kidney Segmentation:run the finedata2dprepare.py
  • generate patch(128,128,64) kidney image and mask for fine Kidney Segmentation:run the finedata3dprepare.py
  • save patch image and mask into csv file: run the utils.py,like file trainSegmentation.csv
  • split trainSegmentation.csv into training set and test set:run subset.py

1.2 Preprocess Kidney Tumor

  • generate tumor image and mask for 2d Kidney Tumor Segmentation:run the tumordata2dprepare.py
  • generate tumor image and mask for 3d Kidney Tumor Segmentation:run the finedata3dprepare.py
  • save tumor image and mask path into csv file: run the utils.py,like file traintumorSegmentation.csv
  • split traintumorSegmentation.csv into training set and test set

2、Kidney Segmentation

  • the VNet model

2.1 Corse Kidney Segmentation

  • Corse Kidney Segmentation training:run the train_vnet3d_kidney_corse.py
  • Corse Kidney Segmentation inference:run the inference_vnet3d_kidney_corse.py
  • this step get Corse Kidney range,can find the start and end pos in the kidneyrang.txt

2.2 Fine Kidney Segmentation

  • Fine Kidney Segmentation training:run the train_vnet3d_kidney_fine.py
  • Fine Kidney Segmentation inference:run the inference_vnet3d_kidney_fine.py
  • this step following the 2.1 result,get fine Kidney result

2.3 Fine Kidney Segmentation

  • remove Kidney Segmentation small object:run the segresultprocess.py removekidneysmallobj function

3、Kidney Tumor Segmentation

  • the VNet2d model

3.1 2d Kidney Tumor Segmentation

  • 2d Kidney Tumor Segmentation training:run the train_vnet2d_tumor.py

  • 2d Kidney Tumor Segmentation inference:run the inference_vnet2d_tumor.py

  • this step get 2d slice tumor result

  • the VNet3d model

3.2 3d Kidney Tumor Segmentation

  • 3d Kidney Tumor Segmentation training:run the train_vnet3d_tumor.py
  • 3d Kidney Tumor Segmentation inference:run the inference_vnet3d_tumor.py
  • this step get 3d tumor result

3.3 Kidney Tumor Result Process

  • remove Kidney Tumor Segmentation small object:run the segresultprocess.py remove2d3dtumorsmallobj function
  • calculate overlap between 2d tumor and 3d tumor reslut.
  • save the region of 2d tumor and 3d tumor reslut that connect overlap region.
  • save the region of 2d tumor and 3d tumor within Kidney result.
  • merge the above two result and get final tumor result
  • all above step can find in the segresultprocess.py

Result

1、Kidney Segmentation

  • the train loss

  • 200-209case dice value and result

2、Kidney Tumor Segmentation

  • the 2dtrain loss

  • the 3dtrain loss

3、Lead Board

Contact

More Repositories

1

LiTS---Liver-Tumor-Segmentation-Challenge

LiTS - Liver Tumor Segmentation Challenge
Python
230
star
2

LUNA16-Lung-Nodule-Analysis-2016-Challenge

LUNA16-Lung-Nodule-Analysis-2016-Challenge
Python
202
star
3

PytorchDeepLearing

Meidcal Image Segmentation Pytorch Version
Python
152
star
4

VNet3D

Prostate MR Image Segmentation 2012
Python
120
star
5

VNetFamily

Variant VNet family
Python
78
star
6

Image-Segmentation-Loss-Functions

some loss functions of image segmentation
Python
61
star
7

VNet

Prostate MR Image Segmentation 2012
Python
56
star
8

Unet2d

Medical Image Ceil Segment
Python
55
star
9

BraTS18-Challege

Multimodal Brain Tumor Segmentation Challenge 2018
Python
47
star
10

MedicalImageProcessExample

There are some examples of 3D Medical Image Process
Python
40
star
11

TN-SCUI2020-Challenge

TN-SCUI2020-Challenge
Python
36
star
12

AttentionGatedVNet3D

Attention Gated VNet3D Model for KiTS19——2019 Kidney Tumor Segmentation Challenge
Python
36
star
13

LungLobeSegmentation

Lobe Segmentation
Python
30
star
14

FeaturePointDetection

Face Feature Point Detection
Python
25
star
15

ATLAS-R2.0---Stroke-Lesion-Segmentation

ATLAS R2.0 - Anatomical Tracings of Lesions After Stroke
Python
24
star
16

HC18-Automated-measurement-of-fetal-head-circumference

HC18—Automated measurement of fetal head circumference
Python
17
star
17

Unet_3d

Unet_3d,Segment
Python
17
star
18

INSTANCE2022-INtracranial-hemorrhage-SegmenTAtioN-ChallengE

Intracranial Hemorrhage Segmentation Challenge on Non-Contrast head CT (NCCT)
Python
16
star
19

GAN

Generate Image With GAN
Python
11
star
20

HVSMR2016Challenge

HVSMR 2016: MICCAI Workshop on Whole-Heart and Great Vessel Segmentation from 3D Cardiovascular MRI in Congenital Heart Disease
Python
11
star
21

DualAttentionVNet3D

DualAttention VNet3D Model for KiTS19——2019 Kidney Tumor Segmentation Challenge
Python
11
star
22

Nested-VNet3D

Nested VNet3D Model for KiTS19——2019 Kidney Tumor Segmentation Challenge
Python
10
star
23

COVID-CT19-Challenge

COVID-CT19-Challenge
Python
10
star
24

Ultra-low-Dose-PET-Imaging-Challenge

low dose PET Imaing
Python
8
star
25

LandMarksDetection

LandMarksDetection with heatmap regression,another way is coords regression
Python
8
star
26

KiPA2022-Challenge

KiPA2022——Multi-Structure Segment for Renal Cancer Treatment.
Python
6
star
27

MutiltGPU_Unet2d

Unet MutilGPU Train Example
Python
5
star
28

COVID-19-20-Segmentation-Challenge

COVID-19 Lung CT Lesion Segmentation Challenge - 2020
5
star
29

mnist_CNN

mnistCNN
Python
5
star
30

MutilGPU2dCNN

MutilGPU train CNN
Python
4
star
31

TensorRTSegmentationDemo

TensorRTC++ example
C++
4
star
32

ROC-with-tensorflow

Draw ROC for CNN classification
Python
4
star
33

HololensStudyExample

hololens develop examples
C#
3
star
34

CNN_3d

cnn_3d example
Python
3
star
35

PytorchYoloV3

PytorchYolov3
Python
2
star
36

kaggle-challenges-project

kaggle medical challenges projects
Python
1
star