Microscopic images are widely used in scientific research and medical discovery. However, images obtained by low cost microscope are often out-of-focus, resulting poor performance in research and diagnosis.
We present a Cycle Generative Adversarial Network (CycleGAN) based model and a multi-component weighted loss function to address this issue. Our method shows good generalization capabilities across diverse research fields by analyzing various cellular structures ranging from protozoan parasite to nucleus, actin and mitochondria of mammalian cells, demonstrating a great promise for bioimaging.
The proposed method contains two generators(Source Generator and Target Generator)and two discriminators(Source Discriminator and Target Discriminator). Source Generator translates out-of-focus image to in-focus image and Target Discriminator tries to distinguish real in-focus image and generated in-focus image.Target Generator translates in-focus image to out-of-focus image and Source Discriminator tries to distinguish real out-of-focus image and generated out-of-focus image.

git clone https://github.com/jiangdat/COMI
cd COMI
We collect and publish two datasets for correcting out-of-focus microscopic images, including Leishmania parasite dataset and Bovine Pulmonary Artery Endothelial Cells (BPAEC) dataset.
https://data.mendeley.com/datasets/m3jxgb54c9/4
python deblur.py
python test.py
https://drive.google.com/drive/folders/13R9fZ45IyPdJrq-ATHatPc_j_977qsT3?usp=sharing
the pre-trained model can be used directly for testing.
Our method significantly improves the quality of out-of-focus blurred images.
http://www.cse.cuhk.edu.hk/~leojia/projects/l0deblur/
https://github.com/KupynOrest/DeblurGAN
https://github.com/TAMU-VITA/DeblurGANv2
https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix
link for"Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks"(CycleGAN):
https://junyanz.github.io/CycleGAN
https://pjreddie.com/darknet/yolo/

