Learn R Programming

GSCAD (version 0.1.0)

UpDic: Update dictionary in GSCAD

Description

When the sparce coding A={alpha_1,...,alpha_n} is given, update dictionary by solving problem (6) in https://arxiv.org/abs/1605.07870 using ADMM. #'

Usage

UpDic(Y, alpha, rho = 1, lambda = 0.01, c = 3.7, maxrun_ADMM = 100,
  err_bnd = 1e-04)

UpDicMask(Y, alpha, mask, rho = 1, lambda = 0.01, c = 3.7, maxrun_ADMM = 100, err_bnd = 1e-04)

Arguments

Y

The image to be denoised. Inform of matrix.

alpha

Sparse coding.

rho

Parameter for the augmented Lagrangian function.

c, lambda

parameters for GSCAD

maxrun_ADMM

Maximun number of iterations run for ADMM

err_bnd

Stopping criterion for iterations.

mask

0,1 matrix of the same size as Y to indicate the location of corrupted pixels.

Value

The updated sparse dictionary .

Functions

  • UpDicMask: Adding mask 0,1 matrix of the same size as Y to indicate the location of corrupted pixel