8000 GitHub - Bcai0797/SDN: Stain Disentanglement Network
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Bcai0797/SDN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDN

Stain Disentanglement Network for staining transformation in WSI.

Requirement

Python 3.7
PyTorch 1.12.0

Dataset

A HE stained dataset MITOS-ATYPIA-14 provides frames scanned by two scanners: Aperio Scanscope XT and Hamamatsu Nanozoomer 2.0-HT. We reorganized the file structure as:

dataset/
├── testing
│   ├── A06_00Aa.tiff
│   └── H06_00Aa.tiff
│   └── ...
└── training
    ├── A03_00Aa.tiff
    └── H03_00Aa.tiff
    └── ...

Training

In train.py, the process of training SDN ia shown. The default setting is to train SDN on frames whose names are started with H (Hamamatsu Nanozoomer 2.0-HT). During training, the program saves some validation results in ./output.

Testing

In test.py, we show the testing process using a reference image for random cropped patch transformation. With the aligned frames scanned by two scanners in MITOS-ATYPIA-14, SSIM and PSNR can be evaluated during testing.

About

Stain Disentanglement Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0