NLGRTV
%% 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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Lighting, Transparency, and Shading >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
demo_NLGRTV/
Version | Published | Release Notes | |
---|---|---|---|
1.0 |
|