WenjieLab / Contrast-robust-SIM-reconstruction

6 stars 0 forks source link

CR-SIM

The code is developed for CR-SIM reconstruction.

For technical details, please refer to:
"Deep learning enables contrast-robust super-resolution reconstruction in structured illumination microscopy."
Yunbo Chen, Cuifang Kuang, Youhua Chen, and Wenjie Liu

User Guide

Environment Set-up

Scenario 1: Inference using our pretrained models

Scenario 2: Train your own data

Model Structure

image
Our CR-SIM network is based on Residual U-Net, which consists of an Encoder-Decoder structure with skip connections. The combination of U-Net and residual allows the CR-SIM network to be a reliable and efficient solution for super-resolution SIM reconstruction.

(1) Encoder:

The encoder contains four downsampling blocks, each consisting of a 1x1 convolutional layer, a 3x3 convolutional layer with ReLU activation, a dropout layer, and another 3x3 convolutional layer with ReLU activation. Skip connections are established by adding the output of the 1x1 convolution to the output of the second 3x3 convolution in each block. MaxPooling2D with a 2x2 pool size is applied to reduce spatial dimensions, and the number of features is doubled after each block.

(2) Decoder:

The decoder consists of attention-based upsampling blocks that concatenate features from the encoder's corresponding skip connection. Each upsampling block involves transposed convolution with a scale factor of 2, concatenation of skip connection features, and two sets of 3x3 convolutions with ReLU activations. The number of features is halved after each block.