Code covered by the BSD License
-
checkstrs(in, valid_strings, ...
CHECKSTRS Check validity of option string.
-
clamp(x,a,b)
-
compute_best_threshold(type, ...
compute_best_threshold - oracle estimation of the threshold
-
compute_edge_patches(w, optio...
[M,delta_list,theta_list] = compute_edge_patches(w, options);
-
compute_impulse_noise(M,p,sig...
compute_impulse_noise - add impulse noise to an image
-
compute_patch_library(M,w,opt...
-
crop(M,n,c)
crop - crop an image to reduce its size
-
display_image_layout(Mlist, T...
display_image_layout - display a set of images together
-
getoptions(options, name, v, ...
getoptions - retrieve options parameter
-
image_resize(img,p1,q1)
im_resize - resize an image using bicubic interpolation
-
imnoise(varargin)
IMNOISE Add noise to image.
-
load_image(type, n, options)
load_image - load benchmark images.
-
medfilt2(varargin)
MEDFILT2 Perform 2-D median filtering.
-
mkconstarray(class, value, si...
MKCONSTARRAY creates a constant array of a specified numeric class.
-
num2string_fixeddigit(num, d)
num2string_fixeddigit - convert a number to string with a fixed number of digits
-
ordfilt2(varargin)
ORDFILT2 Perform 2-D order-statistic filtering.
-
padarray(varargin)
PADARRAY Pad an array.
-
pca(X,numvecs, options)
pca - compute the principal component analysis.
-
perform_blsgsm_denoising(x, o...
perform_blsgsm_denoising - denoise an image using BLS-GSM
-
perform_histogram_equalizatio...
perform_histogram_equalization - perform histogram equalization
-
perform_lowdim_embedding(M,op...
perform_lowdim_embedding - perform a patch wise dimension extension
-
perform_median_filtering(M,k)
perform_median_filtering - perform moving average median
-
perform_nl_means(M, options)
perform_nl_means - denoise an image using non-local Means.
-
perform_synthesis_quilting(X,...
perform_synthesis_quilting - perform image synthesis
-
perform_wavelet_matching(M1,M...
perform_wavelet_matching - match multiscale histograms
-
perform_wavelet_transform(x, ...
perform_wavelet_transform - wrapper to wavelab Wavelet transform (1D/2D and orthogonal/biorthogonal).
-
progressbar(n,N,w)
progressbar - display a progress bar
-
publish_html(filename, output...
publish_html - publish a file to HTML format
-
rescale(x,a,b)
-
stabrnd(alpha, beta, c, delta...
STABRND.M
-
symmetric_extension(M,k)
symmetric_extension - perform a symmetric extension of the signal.
-
batch_denoising.m
-
batch_inpainting.m
-
batch_synthesis.m
-
compile_mex.m
-
test_denoising.m
-
test_edge_synthesis.m
-
test_impulsive.m
-
test_nl_inpainting.m
-
test_nl_synthesis.m
-
test_nlmeans.m
-
test_nlmeans_duo.m
-
test_patchwise.m
-
View all files
from
Toolbox Non-Local Means
by Gabriel Peyre
A toolbox for the non-local means algorithm
|
| progressbar(n,N,w) |
function progressbar(n,N,w)
% progressbar - display a progress bar
%
% progressbar(n,N,w);
%
% displays the progress of n out of N.
% n should start at 1.
% w is the width of the bar (default w=20).
%
% Copyright (c) Gabriel Peyr 2006
if nargin<3
w = 20;
end
% progress char
cprog = '.';
cprog1 = '*';
% begining char
cbeg = '[';
% ending char
cend = ']';
p = min( floor(n/N*(w+1)), w);
global pprev;
if isempty(pprev)
pprev = -1;
end
if not(p==pprev)
ps = repmat(cprog, [1 w]);
ps(1:p) = cprog1;
ps = [cbeg ps cend];
if n>1
% clear previous string
fprintf( repmat('\b', [1 length(ps)]) );
end
fprintf(ps);
end
pprev = p;
if n==N
fprintf('\n');
end
|
|
Contact us