Classification
ResNet based CNN training for three histology classes.
A compact research workflow for turning noisy H&E image patches into cleaner model inputs, then comparing CNN classification outcomes across original and filtered datasets.
ResNet based CNN training for three histology classes.
OpenCV filters, DnCNN wrapper, and Restormer outputs.
Confusion matrices, class recall, and accuracy metrics.
Notebook trail, scripts, requirements, and saved weights.
End to end path from image folders to saved model outputs.
Folder structured histology patches are loaded by class.
Images are resized, normalized, and optionally filtered.
A ResNet based classifier is trained with early stopping.
Accuracy and confusion matrices are recorded in notebooks.
Saved checkpoints can be reused for classification runs.
Included sample outputs show how each method changes stain texture, edge detail, and artifact patterns.
The saved notebook outputs compare original images against Gaussian filtered inputs with a sigma 5 preprocessing step.
Key implementation details found across the cloned branch.
Notebooks use three class groups for filtered experiments: Immune Cells, Invasive Tumor Set, and Non Invasive Tumor.
Classical scripts apply Gaussian or median filters to class folders and write sibling filtered folders for training.
The repo includes CNN classification checkpoints plus Restormer weights and a DnCNN style wrapper for denoising experiments.
Original CNN accuracy is 92.02 percent. Gaussian filtered CNN accuracy is 92.60 percent in the saved notebook run.
The Restormer class wrapper has a path prefix to review before reuse, while the script level Restormer run references the saved weights.