Environment: Matlab 2020a
The dicompreprocess.m contant following steps including
- Image Sharpening (histeq)
- Gaussian high-pass filter (HPF.m)
- Iterative graph binarization (Itersplit.m)
- Marker Connected Area (masker.m)
- Masking
- Image resizing
- remember to import 'BD2.csv' in this step
Three types of models can be trained respectively by resnet18.m、resnet50.m、resnet101.m
The prediction results of the three models are saved as a csv file, imported into matlab, and the Midium tree is generated using the built-in Classification Learner.
Use 3 types of resnet to generate prediction results,
- remember to import 'BD.csv' in dicompreprocess in this step
- Use the code yfit = predict(MTree.ClassificationTree,input); to get the Final Answer