Learn R Programming

GSCAD (version 0.1.0)

Implementing GSCAD Method for Image Denoising and Inpainting

Description

Method proposed in "Simultaneous Sparse Dictionary Learning and Pruning" ( Qu and Wang (2016) ) is implemented. The idea is to conduct a linear decomposition of a signal using a few atoms of a learned and usually over-completed dictionary instead of a pre-defined basis. A proper size of the to-be-learned dictionary is determining at the same time during the procedure. Application includes image denoising and image inpainting.

Copy Link

Version

Install

install.packages('GSCAD')

Monthly Downloads

9

Version

0.1.0

License

GPL-3

Maintainer

Simeng Qu

Last Published

October 6th, 2017

Functions in GSCAD (0.1.0)

denoise

Use a given dictionary D to denoise image.
denoiseImage

Use a given dictionary D to denoise image.
ImageReCon

Combine patches of image into full image
ImageSplit

Splict image into small patches
NormMax

Normalize dictionary atoms using \(l_{\infty}\) norm
ODCT

Overcomplete Discrete Cosine Transform (ODCT) Generating Function.
gscad.DL

Learn dictionary under GSCAD regularization
gscad.denoise

Use GSCAD to denoise image
inpaint

Use a given dictionary D to inpaint image
inpaintImage

Use a given dictionary D to inpaint image
AddHoles

Corrupt a clean image.
AddNoise

Add noise to a clean image.
lena

Image data Lena
lena_crop

Image data Lena_crop
PlotDic

Plot atoms of a given dictionary
UpDic

Update dictionary in GSCAD