All Projects → cig-skoltech → Deep_demosaick

cig-skoltech / Deep_demosaick

Licence: mit
Iterative Residual Network for Deep Joint Image Demosaicking and Denoising

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Deep demosaick

Serrano
A Swift deep learning library with Accelerate and Metal support.
Stars: ✭ 50 (-24.24%)
Mutual labels:  deep-neural-networks
Bidaf Keras
Bidirectional Attention Flow for Machine Comprehension implemented in Keras 2
Stars: ✭ 60 (-9.09%)
Mutual labels:  deep-neural-networks
Mobilnet ssd opencv
MobilNet-SSD object detection in opencv 3.4.1
Stars: ✭ 64 (-3.03%)
Mutual labels:  deep-neural-networks
Time Attention
Implementation of RNN for Time Series prediction from the paper https://arxiv.org/abs/1704.02971
Stars: ✭ 52 (-21.21%)
Mutual labels:  deep-neural-networks
The Incredible Pytorch
The Incredible PyTorch: a curated list of tutorials, papers, projects, communities and more relating to PyTorch.
Stars: ✭ 8,584 (+12906.06%)
Mutual labels:  deep-neural-networks
Pointcnn
PointCNN: Convolution On X-Transformed Points (NeurIPS 2018)
Stars: ✭ 1,120 (+1596.97%)
Mutual labels:  deep-neural-networks
Bass Net
Band-Adaptive Spectral-Spatial Feature Learning Deep Neural Network for Hyperspectral Image Classification
Stars: ✭ 49 (-25.76%)
Mutual labels:  deep-neural-networks
Gcommandspytorch
ConvNets for Audio Recognition using Google Commands Dataset
Stars: ✭ 65 (-1.52%)
Mutual labels:  deep-neural-networks
Deej A.i.
Create automatic playlists by using Deep Learning to *listen* to the music
Stars: ✭ 57 (-13.64%)
Mutual labels:  deep-neural-networks
Deep Ranking
Learning Fine-grained Image Similarity with Deep Ranking is a novel application of neural networks, where the authors use a new multi scale architecture combined with a triplet loss to create a neural network that is able to perform image search. This repository is a simplified implementation of the same
Stars: ✭ 64 (-3.03%)
Mutual labels:  deep-neural-networks
Unet 3d
3D Unet Equipped with Advanced Deep Learning Methods
Stars: ✭ 57 (-13.64%)
Mutual labels:  deep-neural-networks
Deep Kernel Gp
Deep Kernel Learning. Gaussian Process Regression where the input is a neural network mapping of x that maximizes the marginal likelihood
Stars: ✭ 58 (-12.12%)
Mutual labels:  deep-neural-networks
Matlab Gan
MATLAB implementations of Generative Adversarial Networks -- from GAN to Pixel2Pixel, CycleGAN
Stars: ✭ 63 (-4.55%)
Mutual labels:  deep-neural-networks
Resnet1d
PyTorch implementations of several SOTA backbone deep neural networks (such as ResNet, ResNeXt, RegNet) on one-dimensional (1D) signal/time-series data.
Stars: ✭ 52 (-21.21%)
Mutual labels:  deep-neural-networks
Deep Atrous Cnn Sentiment
Deep-Atrous-CNN-Text-Network: End-to-end word level model for sentiment analysis and other text classifications
Stars: ✭ 64 (-3.03%)
Mutual labels:  deep-neural-networks
Deepseqslam
The Official Deep Learning Framework for Route-based Place Recognition
Stars: ✭ 49 (-25.76%)
Mutual labels:  deep-neural-networks
Gdax Orderbook Ml
Application of machine learning to the Coinbase (GDAX) orderbook
Stars: ✭ 60 (-9.09%)
Mutual labels:  deep-neural-networks
Irm Based Speech Enhancement Using Lstm
Ideal Ratio Mask (IRM) Estimation based Speech Enhancement using LSTM
Stars: ✭ 66 (+0%)
Mutual labels:  deep-neural-networks
Gtsrb
Convolutional Neural Network for German Traffic Sign Recognition Benchmark
Stars: ✭ 65 (-1.52%)
Mutual labels:  deep-neural-networks
Vitech
tuyển chọn các tài liệu về công nghệ bằng tiếng Việt
Stars: ✭ 63 (-4.55%)
Mutual labels:  deep-neural-networks

Iterative Residual Network for Deep Joint Image Demosaicking and Denoising

The same code can be used for Deep Image Demosaicking using a Cascade of Convolutional Residual Denoising Networks (ECCV 2018)

Filippos Kokkinos [email protected]

Stamatis Lefkimmiatis

Installation and dependencies

This code uses a collection of external packages. You can install the python packages used during development via conda:

conda create --name <env> --file requirements.txt

Processing RAW files

In order to process RAW files take a look at the Jupyter notebook. The algorithm works with RGGB Bayer images, therefore you may need to shift one pixel the images

To produce a comparable output from DCRaw's demosaicking algorithm run:

dcraw -j -T -o 0 +M -w -4 {filename}

Note: We will upload a revised version of Application which will works with all Bayer variants and it will also support Fuji Xtrans.

Models

We provide four pre-trained models in the pretrained_models/ directory. bayer_toy,xtrans,bayer have been trained with no noise, bayer_noise) with approximate noise variances in the range [0, 10] (out of 255).

Training a new model

To train a model for MSR dataset which will be evaluated on all datasets, run:

CUDA_VISIBLE_DEVICES=1 python -B main.py -depth 5 -epochs 100 -gpu -max_iter 10 -k1 5 -k2 5 -save_path experiment1/

We provide dataloader for MSR, MIT, Kodak and McM datasets, therefore you can train and evaluate on any dataset. Furthermore, we also provide training scripts for Fuji XTrans CFA.

usage: main.py [-h] -epochs EPOCHS [-depth DEPTH] [-init] [-save_images]
               [-save_path SAVE_PATH] [-gpu] [-num_gpus NUM_GPUS]
               [-max_iter MAX_ITER] -batch_size BATCH_SIZE [-lr LR] [-k1 K1]
               [-k2 K2] [-clip CLIP] [-estimate_noise]

Joint Demosaick and denoising training script

optional arguments:
  -h, --help            show this help message and exit
  -epochs EPOCHS        Number of epochs
  -depth DEPTH          Depth of ResDNet
  -init                 Initialize input with Bilinear Interpolation
  -save_images
  -save_path SAVE_PATH  Path to save model and results
  -gpu
  -num_gpus NUM_GPUS
  -max_iter MAX_ITER    Total number of iterations to use
  -batch_size BATCH_SIZE
  -lr LR
  -k1 K1                Number of iterations to unroll
  -k2 K2                Number of iterations to backpropagate. Use the same
                        value as k1 for TBPTT
  -clip CLIP            Gradient Clip
  -estimate_noise       Estimate noise std via WMAD estimator

Known issues

  • Application currently does not support Fuji XTrans because dcraw rotates for unknown reason the document files
  • DCRAW for some RAW images will misinterpret the CFA pattern indicating that it is RGGB, therefore the end result will be wrong. For these images please proceed with manual padding.

Running into issues?

Contact Filippos Kokkinos [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].