NLGRTV

Version 1.0 (173 KB) by Qiegen Liu
Adaptive sparse norm and nonlocal total variation methods for image smoothing
503 Downloads
Updated 13 May 2016

View License

%% The Code is created based on the method described in the following paper:
% Qiegen Liu, Biao Xiong and Minghui Zhang. Adaptive sparse norm and nonlocal total variation methods for image smoothing,
% Mathematical Problems in Engineering, vol. 2014, Article ID 426125, 18 pages, 2014. doi:10.1155/2014/426125..
% Author: Q. Liu, B. Xiong, M. Zhang
% Date : 05/13/2016
% Version : 1.0
% The code and the algorithm are for non-comercial use only.
% Copyright 2016, Department of Electronic Information Engineering, Nanchang University.
% The current version is not optimized.
clc;
clear all;
close all force;

%% read input image
img = imread('Bishapur_zan.jpg');
%img = img(200:400,250:450,:);

%% parameters
maxIter = 5;
sigma = 2;
lambda = 0.005;
p = 1;
S = 2;
sharpness = 0.02;
sharpness2 = 0.001;

%% denoising
imgDenoised = NLGRTV(img, S, p, maxIter, sigma, lambda, sharpness, sharpness2);

Cite As

Qiegen Liu (2024). NLGRTV (https://www.mathworks.com/matlabcentral/fileexchange/57104-nlgrtv), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Lighting, Transparency, and Shading in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0