plateform
stringclasses
1 value
repo_name
stringlengths
13
113
name
stringlengths
3
74
ext
stringclasses
1 value
path
stringlengths
12
229
size
int64
23
843k
source_encoding
stringclasses
9 values
md5
stringlengths
32
32
text
stringlengths
23
843k
github
VeroL/BioFrag-master
set_software_environment.m
.m
BioFrag-master/Software_functions/functions_DataImport/set_software_environment.m
4,472
utf_8
3ae5b9f54a20e74f68f2b0830b3fc599
%set_software_environment %adds the user path to the runvar struct - user path should not normally vary for different runs by the same user. %runvar contains path and file names that depend on input data %param contains naming conventions that do not vary between runs function runvar = set_software_environment(runva...
github
VeroL/BioFrag-master
importRaster.m
.m
BioFrag-master/Software_functions/functions_DataImport/importRaster.m
1,021
utf_8
7fb08343466b80322d2a6cadd1146532
% importRaster % import *geotiff* file (should be a projected map) % saves map, reference object and tiff info function [Lmap, R, ginfo, res, ismap_geotif] = importRaster(filename) %set the last warning to an empty string lastwarn(''); %try to get the geo info from the geotif file ginfo=geot...
github
VeroL/BioFrag-master
projectPlotsLatLon.m
.m
BioFrag-master/Software_functions/functions_DataImport/projectPlotsLatLon.m
2,137
utf_8
2ca95948ec5f49d517dcd4562a1dba10
% function projectPlotsLatLon % project the plot from Lat - Lon to x - y and indices of rows and columns % using projection of associated raster, and stored in ginfo and R % stores projected coords and indices as new fields in the plotLoc structure % 1 x number of plots struct array with fields: % name % la...
github
qbzhao/BCPF-master
plotGamma.m
.m
BCPF-master/TensorPlot/plotGamma.m
1,954
utf_8
14d8cc6c031eb0c440a1c4cdd09b14d1
function plotGamma(as,bs) % as = [1 1.5 2]; % b = 1; % bs = b*ones(1,length(as)); % figure; [styles, colors, symbols] = plotColors; legendStr = cell(1, length(as)); %styles = {'k:', 'b--', 'r-'}; % textstr={'Iter.=20', 'Iter.=22', 'Iter.=25', 'Iter.=33'}; for i=1:length(as) a = as(i); b = bs(i); xs = linspace(...
github
qbzhao/BCPF-master
voxel3.m
.m
BCPF-master/TensorPlot/voxel3.m
6,439
utf_8
6abc5ea0d29070388950b48d37bb1707
function voxel3(T,varargin) %VOXEL3 Visualize a third-order tensor with voxels. % voxel3(T) visualizes the third-order tensor T by plotting its elements % as voxels whose color and opacity are proportional to their value. The % figure contains two sliders for setting the parameters thresh and % degree (press 'h...
github
qbzhao/BCPF-master
perfscore.m
.m
BCPF-master/Evaluation/perfscore.m
204
utf_8
ff4c8ea0e026cbebc4c70e3f8ca173d0
function performance = perfscore(X_hat, X) flag =1; switch flag case 1 err = X_hat(:) - X(:); rse = sqrt(sum(err.^2)/sum(X(:).^2)); performance = rse; end
github
qbzhao/BCPF-master
cp_apr.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/cp_apr.m
7,920
utf_8
5e7833d58cab0d616e25f7d89a374e1d
function [M,Minit,output] = cp_apr(X, R, varargin) %CP_APR Compute nonnegative CP with alternating Poisson regression. % % M = CP_APR(X, R) computes an estimate of the best rank-R % CP model of a tensor X using an alternating Poisson regression. % The input X can be a tensor, sptensor, ktensor, or ttensor. The % ...
github
qbzhao/BCPF-master
export_data.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/export_data.m
2,285
utf_8
538198494bec6a8dff8f7556fb6f8255
function export_data(A, fname) %EXPORT_DATA Export tensor-related data to a file. % % EXPORT(A,FNAME) exports object A to the file named FNAME in plain ASCII % text. Export currently supports exporting the following data types: % % - tensor % - matrix % % In the case of a tensor, the first three line...
github
qbzhao/BCPF-master
cp_nmu.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/cp_nmu.m
4,976
utf_8
633d7166c5a07d5533e57ba3ccb25162
function [P,Uinit] = cp_nmu(X,R,opts) %CP_NMU Compute nonnegative CP with multiplicative updates. % % P = CP_NMU(X,R) computes an estimate of the best rank-R PARAFAC % model of a tensor X with nonnegative constraints on the factors. % This version uses the Lee & Seung multiplicative updates from % their NMF alg...
github
qbzhao/BCPF-master
tt_combinator.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/tt_combinator.m
12,324
utf_8
9a8339d3a109b275537a2e5a3e9e3c9e
function [A] = tt_combinator(N,K,s1,s2) %TT_COMBINATOR Perform basic permutation and combination samplings. % COMBINATOR will return one of 4 different samplings on the set 1:N, % taken K at a time. These samplings are given as follows: % % PERMUTATIONS WITH REPETITION/REPLACEMENT % COMBINATOR(N,K,'p','r') -...
github
qbzhao/BCPF-master
import_data.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/import_data.m
1,738
utf_8
a654bb87c41d4fa404de6c65787299ab
function A = import_data(fname) %IMPORT_DATA Import tensor-related data to a file. % % A = IMPORT_DATA(FNAME) imports an object A from the file named FNAME. % The supported data types and formatting of the file are explained in % EXPORT_DATA. % % See also TENSOR, EXPORT_DATA % %MATLAB Tensor Toolbox. %Copyrigh...
github
qbzhao/BCPF-master
create_problem.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/create_problem.m
12,523
utf_8
2ce0a9e79d83fb24168da4552f52c44a
function [info,params] = create_problem(varargin) %CREATE_PROBLEM Create test problems for tensor factorizations. % % INFO = CREATE_PROBLEM('Param',value,...) creates a tensor factorization % test problem. It generates a solution corresponding to a ktensor or a % ttensor, and then it generates an example data ten...
github
qbzhao/BCPF-master
renumber.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/@sptensor/private/renumber.m
1,606
utf_8
b0e7ca64b6641a9f0ac50bef3e9ae5ef
function [newsubs, newsz] = renumber(subs, sz, range) %RENUMBER indices for sptensor subsref % % [NEWSUBS,NEWSZ] = RENUMBER(SUBS,SZ,RANGE) takes a set of % original subscripts SUBS with entries from a tensor of size % SZ. All the entries in SUBS are assumed to be within the % specified RANGE. These subscripts are t...
github
qbzhao/BCPF-master
tucker_me.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/met/tucker_me.m
4,560
utf_8
3216bec3b59aecd3b4a11c8e4c559039
function [T, max_mem, Uinit] = tucker_me(X, R, esz, opts) %TUCKER_ME Memory-efficient Tucker higher-order orthogonal iteration. % % T = TUCKER_ME(X,R,ESZ) computes the best rank(R1,R2,..,Rn) % approximation of tensor X, according to the specified dimensions % in vector R. ESZ specifies the number of dimensions th...
github
qbzhao/BCPF-master
tucker_me_test.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/met/tucker_me_test.m
3,079
utf_8
7cd5d5bf56ea1d8a82ef189d3c71d564
function tucker_me_test %TUCKER_ME_TEST Very simple tests of tucker_me. % Code by Tamara Kolda and Jimeng Sun, 2008. % % Based on the paper: % T. G. Kolda and J. Sun. Scalable Tensor Decompositions for Multi-aspect % Data Mining. In: ICDM 2008: Proceedings of the 8th IEEE International % Conference on Data M...
github
qbzhao/BCPF-master
ttm_me.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/met/ttm_me.m
4,085
utf_8
241d426fee6a1d228fd2ca6c01db66b1
function Y = ttm_me(X, U, edims, sdims, tflag) %TTM_ME Memory-efficient sptensor times matrix. % % Y = TTM_ME(X, U, EDIMS, SDIMS, TFLAG) handles some dimensions % elementwise and others in the standard way. Here, X is a sparse tensor % (sptensor), U is a cell array of matrices of length ndims(X), % EDIMS speci...
github
qbzhao/BCPF-master
fixsigns.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/@ktensor/fixsigns.m
3,162
utf_8
8a24ae047737b6b7c2b6e62347dcd2d0
function K = fixsigns(K,K0) %FIXSIGNS Fix sign ambiguity of a ktensor. % % K = FIXSIGNS(K) makes it so that the largest magnitude entries for % each vector in each factor of K are positive, provided that the % sign on *pairs* of vectors in a rank-1 component can be flipped. % % K = FIXSIGNS(K,K0) returns a vers...
github
qbzhao/BCPF-master
datadisp.m
.m
BCPF-master/SupportTools/tensor_toolbox_2.5/@ktensor/datadisp.m
3,162
utf_8
0b9d29cbfc884a9dbb6eec3a8729b7b1
function datadisp(T, dimlabels, opts) %DATADISP Special display of a ktensor. % % DATADISP(T,LABELS) displays the largest positive entries of each rank-1 % factor of T using the corresponding labels. LABELS is a cell array of % size ndims(T) such that LABELS{n} is a string cell array of length % size(T,n). % %...
github
qbzhao/BCPF-master
BCPF_MP.m
.m
BCPF-master/Algorithms/BCPF_MP.m
13,894
utf_8
3ea23c1842ab0c4cfd6dacb7644c3a07
function [model] = BCPF_MP(Y, varargin) % Bayesian CP Factorization using Gaussian Mixture Priors for Image Completion % Author : Qibin Zhao 2014 % % ----------------------------------------------------------------------- % [model] = BCPF_MP(Y, 'PARAM1', val1, 'PARAM2', val2, ...) % % INPUTS % Y - I...
github
qbzhao/BCPF-master
BCPF.m
.m
BCPF-master/Algorithms/BCPF.m
11,310
utf_8
7b49cb33566b7ece3cd7c5a7a20517df
function [model] = BCPF(Y, varargin) % Bayesian CP Factorization of a Complete Tensor % % [model] = BCPF(Y, 'PARAM1', val1, 'PARAM2', val2, ...) % % INPUTS % Y - input tensor % 'init' - Initialization method % - 'ml' : SVD initilization (default) % ...
github
qbzhao/BCPF-master
BCPF_TC.m
.m
BCPF-master/Algorithms/BCPF_TC.m
12,841
utf_8
fe51cb1e6bd62f8fb2d2fb655104cec4
function [model] = BCPF_TC(Y, varargin) % Bayesian CP Factorization for Tensor Completion % % [model] = BCPF_TC(Y, 'PARAM1', val1, 'PARAM2', val2, ...) % % INPUTS % Y - Input tensor % 'obs' - Binary (0-1) missing indicator tensor of same size as Y % (0: missing; 1:...
github
qbzhao/BCPF-master
BCPF_IC.m
.m
BCPF-master/Algorithms/BCPF_IC.m
13,064
utf_8
bc4ceaf056e9bfdf2677bf1e749d77bd
function [model] = BCPF_IC(Y, varargin) % Bayesian CP Factorization for Image Completion % Author : Qibin Zhao 2014 % % ----------------------------------------------------------------------- % [model] = BCPF_IC(Y, 'PARAM1', val1, 'PARAM2', val2, ...) % % INPUTS % Y - Input tensor % 'obs' ...
github
ecmjohnson/mir_eval_images_compare-master
bss_eval_sources.m
.m
mir_eval_images_compare-master/matlab/bss_eval_sources.m
7,144
UNKNOWN
be42ac6002686ecaac5d43e3287341a7
function [SDR, SIR, SAR, perm]=bss_eval_sources(se,s) % BSS_EVAL_SOURCES Ordering and measurement of the separation quality for % estimated source signals in terms of filtered true source, interference % and artifacts. % % The decomposition allows a time-invariant filter distortion of length % 512, as described in Sec...
github
ecmjohnson/mir_eval_images_compare-master
bss_eval_images.m
.m
mir_eval_images_compare-master/matlab/bss_eval_images.m
7,982
utf_8
cb6fffb798069ac23760d4c2d8bbef28
function [SDR,ISR,SIR,SAR,perm]=bss_eval_images(ie,i) % BSS_EVAL_IMAGES Ordering and measurement of the separation quality for % estimated source spatial image signals in terms of true source, spatial % (or filtering) distortion, interference and artifacts. % % [SDR,ISR,SIR,SAR,perm]=bss_eval_images(ie,i) % % Inputs: ...
github
kolas001/Persistence1D-master
reconstruct1d.m
.m
Persistence1D-master/reconstruct1d/reconstruct1d.m
2,406
utf_8
95860e58b119ae47097085968a2c8bed
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % RECONSTRUCT1D % % Reconstruct smooth functions from noisy data, based on persistent features. % This is an addon to Persistence1D class. % % This function reconstructs a smooth function which approximates the input data, % based on persisten...
github
kolas001/Persistence1D-master
build_laplacian.m
.m
Persistence1D-master/reconstruct1d/build_laplacian.m
743
utf_8
aa67611527163222364b51c15dd32d23
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % BUILD_LAPLACIAN % % Creates a discrete Laplacian operator matrix % for uniformly spaced 1D data. % % @param[in] len Length of the data vector to be reconstructed. % @param[out] laplacian Discrete Laplacian operator matrix for t...
github
kolas001/Persistence1D-master
turn_on_mosek.m
.m
Persistence1D-master/reconstruct1d/turn_on_mosek.m
719
utf_8
e7d044e8cded79b77019a5262dfe720d
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % TURN_ON_MOSEK % % Adds MOSEK directories the Matlab's path. % MOSEK optimizers automatically override Matlab's optimizers, any subsequent % calls to optimizers will be solved by MOSEK. % % Before first use, comment out the unnecessary lines...
github
kolas001/Persistence1D-master
build_equality_constraints.m
.m
Persistence1D-master/reconstruct1d/build_equality_constraints.m
1,765
utf_8
de38b264ca039ef801ac6fb6d0c14a4a
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % BUILD_EQUALITY_CONSTRAINTS % % Creates the equality constraints matrix and vector for quadprog. % Constrained vertices include - all persistence features (their paired minima and % maxima), the global minimum and the domain edges. The reconstru...
github
kolas001/Persistence1D-master
plot_reconstructed_data_with_equality_constraints.m
.m
Persistence1D-master/reconstruct1d/plot_reconstructed_data_with_equality_constraints.m
1,345
utf_8
1fd174e942ff1b21ea137a0e54b95057
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % PLOT_RECONSTRUCTED_DATA_WITH_EQUALITY_CONSTRAINTS % % Creates a new figure with a plot of the original data, the reconstructed data, % and the constrained vertices. % Adds an informative title for the plot and a legend. % % @param[in] data ...
github
kolas001/Persistence1D-master
build_monotonicity_graph.m
.m
Persistence1D-master/reconstruct1d/build_monotonicity_graph.m
4,060
utf_8
ed809bca10d330a74ad7e3ecdbb51825
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % BUILD_MONOTONICITY_GRAPH % % Builds a monotonicity graph based on the indices of the persistent extrema features % which are used to reconstruct the data. % % Assumes that the indices of the local minima and maxima are matched. % % For 1D da...
github
kolas001/Persistence1D-master
build_inequality_constraints.m
.m
Persistence1D-master/reconstruct1d/build_inequality_constraints.m
1,659
utf_8
2d4ba258a8fc19e52d9ca2460d93d0c2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % BUILD_INEQUALITY_CONSTRAINTS % % Converts adjacency matrix graphs into % linear inequality constraints to use with Matlab's quadprog. % Inequality constraints are used to localize the local extrema % created in the interpolation process. % ...
github
kolas001/Persistence1D-master
setup_persistence1d.m
.m
Persistence1D-master/reconstruct1d/setup_persistence1d.m
659
utf_8
a88ef578df788258a00baedfd0f84cc1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % SETUP_PERSISTENCE1D % % Run this script from %Reconstruct1d% directory. % Adds current directory and Persistence1D Matlab directory to Matlab's path. % If run_persistence1d does not exist as a mex file, it tries to % compile it. This only wo...
github
kolas001/Persistence1D-master
reconstruct1d_with_persistence_res.m
.m
Persistence1D-master/reconstruct1d/reconstruct1d_with_persistence_res.m
3,433
utf_8
3b44706d012ffbadb3253485277b7470
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % RECONSTRUCT1D_WITH_PERSISTENCE_RES % % This function is called by Recosntruct1D to do the actual reconstruction % after it finished running Persistence1D. % Users can call this function directly with Persistence1D results if such % are already...
github
kolas001/Persistence1D-master
turn_off_mosek.m
.m
Persistence1D-master/reconstruct1d/turn_off_mosek.m
566
utf_8
2374cdb4197d437c59e19ab22e005ee4
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % TURN_OFF_MOSEK % % Removes MOSEK folders from Matlab path. % Use this file to switch back from using MOSEK optimizers to Matlab optimizers. % % Comment out the unnecessary lines, according to your installation directory. %%%%%%%%%%%%%%%%%%%%...
github
kolas001/Persistence1D-master
plot_reconstructed_data.m
.m
Persistence1D-master/reconstruct1d/plot_reconstructed_data.m
1,224
utf_8
4f28bcc0195889267bd852353110f83f
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % PLOT_RECONSTRUCTED_DATA % % Creates a new figure with a plot of the original data, the reconstructed data, % and the constrained vertices. % Adds an informative title for the plot and a legend. % % @param[in] data Original data vector ...
github
kolas001/Persistence1D-master
filter_features_by_persistence.m
.m
Persistence1D-master/matlab/filter_features_by_persistence.m
480
utf_8
36ba1b3242498a4a3bc7544d019f9b09
% Returns a 3-column matrix [minIndex maxIndex persistence] % of paired extrema whose persistence is greater than threshold function [filtered_pairs] = filter_features_by_persistence(min, max, persistence, threshold) persistence_features_indices = persistence > threshold; %create a vector with all ext...
github
kolas001/Persistence1D-master
get_max_indices.m
.m
Persistence1D-master/matlab/get_max_indices.m
287
utf_8
8b5e48dd3e223f861ae6cd4ccc72fb07
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % GET_MAX_INDICES % % Returns the indices of the local maxima from the % results of filtered pairs %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [ idx ] = get_max_indices( pairs ) idx = pairs(:,2); end
github
kolas001/Persistence1D-master
plot_data_with_features.m
.m
Persistence1D-master/matlab/plot_data_with_features.m
476
utf_8
d5922901cbccf91c80d05bb66082ffe3
% Creates a plot with markers at extrema specified by indices % % data One dimensional data vector. % indices One dimensional vector of indices (integer) values, all must be % greater than 0 and less than or equal to the number of elemenets in data function [] = plot_data_with_featu...
github
kolas001/Persistence1D-master
visualize_features.m
.m
Persistence1D-master/matlab/visualize_features.m
755
utf_8
d78fa18c97ef2a99bac7e99b2d6e663a
% A function which creates a graph with input data and marks maxima and minima. % Assumes it recieves a data file with indices of extrema features function [ ] = visualize_features( datafilename, resfilename ) datafile = fopen(datafilename); data_cell_array = textscan(datafile, '%f'); %reads all of the fi...
github
kolas001/Persistence1D-master
get_min_indices.m
.m
Persistence1D-master/matlab/get_min_indices.m
288
utf_8
2ca1808cbe1d223182319e332d406556
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % GET_MIN_INDICES % % Returns the indices of the local minima from the % results of filtered pairs %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [ idx ] = get_min_indices( pairs ) idx = pairs(:,1); end
github
phcerdan/isotropic_wavelet_collection-master
buildWpyr.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/buildWpyr.m
2,705
utf_8
1c4ff4ecab086742bb93ea70f1e9e015
% [PYR, INDICES] = buildWpyr(IM, HEIGHT, FILT, EDGES) % % Construct a separable orthonormal QMF/wavelet pyramid on matrix (or vector) IM. % % HEIGHT (optional) specifies the number of pyramid levels to build. Default % is maxPyrHt(IM,FILT). You can also specify 'auto' to use this value. % % FILT (optional) can ...
github
phcerdan/isotropic_wavelet_collection-master
pyrBand.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/pyrBand.m
406
utf_8
0cad3c43324c84276383d06f6f6a5b60
% RES = pyrBand(PYR, INDICES, BAND_NUM) % % Access a subband from a pyramid (gaussian, laplacian, QMF/wavelet, % or steerable). Subbands are numbered consecutively, from finest % (highest spatial frequency) to coarsest (lowest spatial frequency). % Eero Simoncelli, 6/96. function res = pyrBand(pyr, pind, b...
github
phcerdan/isotropic_wavelet_collection-master
buildFullSFpyr2.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/buildFullSFpyr2.m
3,031
utf_8
4a1191e10f08e0d219040bdc7864a575
% [PYR, INDICES, STEERMTX, HARMONICS] = buildFullSFpyr2(IM, HEIGHT, ORDER, TWIDTH) % % Construct a steerable pyramid on matrix IM, in the Fourier domain. % Unlike the standard transform, subdivides the highpass band into % orientations. function [pyr,pind,steermtx,harmonics] = buildFullSFpyr2(im, ht, order, twidth) %...
github
phcerdan/isotropic_wavelet_collection-master
var2.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/var2.m
393
utf_8
46f01727b1895ebb42fea033f942c562
% V = VAR2(MTX,MEAN) % % Sample variance of a matrix. % Passing MEAN (optional) makes the calculation faster. function res = var2(mtx, mn) if (exist('mn') ~= 1) mn = mean2(mtx); end if (isreal(mtx)) res = sum(sum(abs(mtx-mn).^2)) / (prod(size(mtx)) - 1); else res = sum(sum(real(mtx-mn).^2)) + i...
github
phcerdan/isotropic_wavelet_collection-master
reconSFpyrLevs.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/reconSFpyrLevs.m
2,013
utf_8
bff5aabf51101f5a06bf4a3a59d0de00
% RESDFT = reconSFpyrLevs(PYR,INDICES,LOGRAD,XRCOS,YRCOS,ANGLE,NBANDS,LEVS,BANDS) % % Recursive function for reconstructing levels of a steerable pyramid % representation. This is called by reconSFpyr, and is not usually % called directly. % Eero Simoncelli, 5/97. function resdft = reconSFpyrLevs(pyr,pind,lo...
github
phcerdan/isotropic_wavelet_collection-master
rcosFn.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/rcosFn.m
1,167
utf_8
e668c06ae18191dea3d63f2c3035cdcb
% [X, Y] = rcosFn(WIDTH, POSITION, VALUES) % % Return a lookup table (suitable for use by INTERP1) % containing a "raised cosine" soft threshold function: % % Y = VALUES(1) + (VALUES(2)-VALUES(1)) * % cos^2( PI/2 * (X - POSITION + WIDTH)/WIDTH ) % % WIDTH is the width of the region over which...
github
phcerdan/isotropic_wavelet_collection-master
vector.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/vector.m
240
utf_8
99db83250fc29065ecdb3bff900669d3
% [VEC] = vector(MTX) % % Pack elements of MTX into a column vector. Same as VEC = MTX(:) % Previously named "vectorize" (changed to avoid overlap with Matlab's % "vectorize" function). function vec = vector(mtx) vec = mtx(:);
github
phcerdan/isotropic_wavelet_collection-master
showIm.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/showIm.m
6,332
utf_8
fc722445cecdb4685413ce683c5c414f
% RANGE = showIm (MATRIX, RANGE, ZOOM, LABEL, NSHADES ) % % Display a MatLab MATRIX as a grayscale image in the current figure, % inside the current axes. If MATRIX is complex, the real and imaginary % parts are shown side-by-side, with the same grayscale mapping. % % If MATRIX is a string, it should be the n...
github
phcerdan/isotropic_wavelet_collection-master
upConv.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/upConv.m
2,750
utf_8
c396c00dd8d50ee2a930427fead849be
% RES = upConv(IM, FILT, EDGES, STEP, START, STOP, RES) % % Upsample matrix IM, followed by convolution with matrix FILT. These % arguments should be 1D or 2D matrices, and IM must be larger (in % both dimensions) than FILT. The origin of filt % is assumed to be floor(size(filt)/2)+1. % % EDGES is a string det...
github
phcerdan/isotropic_wavelet_collection-master
range2.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/range2.m
477
utf_8
4b8ed3c6da04efbf2862f0b36b91d524
% [MIN, MAX] = range2(MTX) % % Compute minimum and maximum values of MTX, returning them as a 2-vector. % Eero Simoncelli, 3/97. function [mn, mx] = range2(mtx) %% NOTE: THIS CODE IS NOT ACTUALLY USED! (MEX FILE IS CALLED INSTEAD) fprintf(1,'WARNING: You should compile the MEX code for "range2", found in ...
github
phcerdan/isotropic_wavelet_collection-master
reconFullSFpyr2.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/reconFullSFpyr2.m
3,257
utf_8
447f5204894b159fbb4ea4de2dccf877
% RES = reconFullSFpyr2(PYR, INDICES, LEVS, BANDS, TWIDTH) % % Reconstruct image from its steerable pyramid representation, in the Fourier % domain, as created by buildSFpyr. % Unlike the standard transform, subdivides the highpass band into % orientations. function res = reconFullSFpyr2(pyr, pind, levs, bands, twidt...
github
phcerdan/isotropic_wavelet_collection-master
steer2HarmMtx.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/steer2HarmMtx.m
1,874
utf_8
8efc390a04b19bdec63526c7bbd1407e
% MTX = steer2HarmMtx(HARMONICS, ANGLES, REL_PHASES) % % Compute a steering matrix (maps a directional basis set onto the % angular Fourier harmonics). HARMONICS is a vector specifying the % angular harmonics contained in the steerable basis/filters. ANGLES % (optional) is a vector specifying the angular positi...
github
phcerdan/isotropic_wavelet_collection-master
subMtx.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/subMtx.m
441
utf_8
18fe3fa6f65d3fbc8cd38682559c3619
% MTX = subMtx(VEC, DIMENSIONS, START_INDEX) % % Reshape a portion of VEC starting from START_INDEX (optional, % default=1) to the given dimensions. % Eero Simoncelli, 6/96. function mtx = subMtx(vec, sz, offset) if (exist('offset') ~= 1) offset = 1; end vec = vec(:); sz = sz(:); if (size(sz,1) ...
github
phcerdan/isotropic_wavelet_collection-master
spyrHt.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/spyrHt.m
321
utf_8
acae1ee5a657f2e4d75b2e60e954a515
% [HEIGHT] = spyrHt(INDICES) % % Compute height of steerable pyramid with given index matrix. % Eero Simoncelli, 6/96. function [ht] = spyrHt(pind) nbands = spyrNumBands(pind); % Don't count lowpass, or highpass residual bands if (size(pind,1) > 2) ht = (size(pind,1)-2)/nbands; else ht = 0; end ...
github
phcerdan/isotropic_wavelet_collection-master
spyrBand.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/spyrBand.m
853
utf_8
24b93860a4de0346982a44edcb390ab5
% [LEV,IND] = spyrBand(PYR,INDICES,LEVEL,BAND) % % Access a band from a steerable pyramid. % % LEVEL indicates the scale (finest = 1, coarsest = spyrHt(INDICES)). % % BAND (optional, default=1) indicates which subband % (1 = vertical, rest proceeding anti-clockwise). % Eero Simoncelli, 6/96. fun...
github
phcerdan/isotropic_wavelet_collection-master
wpyrBand.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/wpyrBand.m
912
utf_8
ec3f9e1a26cc9775110888b67417876a
% RES = wpyrBand(PYR, INDICES, LEVEL, BAND) % % Access a subband from a separable QMF/wavelet pyramid. % % LEVEL (optional, default=1) indicates the scale (finest = 1, % coarsest = wpyrHt(INDICES)). % % BAND (optional, default=1) indicates which subband (1=horizontal, % 2=vertical, 3=diagonal). % Eero ...
github
phcerdan/isotropic_wavelet_collection-master
innerProd.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/innerProd.m
415
utf_8
e759ef690a2e4eadf5f81e0b8282888f
% RES = innerProd(MTX) % % Compute (MTX' * MTX) efficiently (i.e., without copying the matrix) function res = innerProd(mtx) %% NOTE: THIS CODE SHOULD NOT BE USED! (MEX FILE IS CALLED INSTEAD) fprintf(1,'WARNING: You should compile the MEX version of "innerProd.c",\n found in the MEX subdirectory of ...
github
phcerdan/isotropic_wavelet_collection-master
reconSFpyr.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/reconSFpyr.m
3,141
utf_8
bb26483e3afdf1b4b46da4b35efaec7b
% RES = reconSFpyr(PYR, INDICES, LEVS, BANDS, TWIDTH) % % Reconstruct image from its steerable pyramid representation, in the Fourier % domain, as created by buildSFpyr. % % PYR is a vector containing the N pyramid subbands, ordered from fine % to coarse. INDICES is an Nx2 matrix containing the sizes of % each ...
github
phcerdan/isotropic_wavelet_collection-master
corrDn.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/corrDn.m
2,195
utf_8
61533e2b3b4b039c523120d2ec1363aa
% RES = corrDn(IM, FILT, EDGES, STEP, START, STOP) % % Compute correlation of matrices IM with FILT, followed by % downsampling. These arguments should be 1D or 2D matrices, and IM % must be larger (in both dimensions) than FILT. The origin of filt % is assumed to be floor(size(filt)/2)+1. % % EDGES is a stri...
github
phcerdan/isotropic_wavelet_collection-master
maxPyrHt.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/maxPyrHt.m
628
utf_8
00ee02d58475fcdf592ef59a15fa0af3
% HEIGHT = maxPyrHt(IMSIZE, FILTSIZE) % % Compute maximum pyramid height for given image and filter sizes. % Specifically: the number of corrDn operations that can be sequentially % performed when subsampling by a factor of 2. % Eero Simoncelli, 6/96. function height = maxPyrHt(imsz, filtsz) imsz = imsz(:)...
github
phcerdan/isotropic_wavelet_collection-master
buildSFpyrLevs.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/buildSFpyrLevs.m
1,887
utf_8
e58fd43a3b9e8101ef5ada17c5116eed
% [PYR, INDICES] = buildSFpyrLevs(LODFT, LOGRAD, XRCOS, YRCOS, ANGLE, HEIGHT, NBANDS) % % Recursive function for constructing levels of a steerable pyramid. This % is called by buildSFpyr, and is not usually called directly. % Eero Simoncelli, 5/97. function [pyr,pind] = buildSFpyrLevs(lodft,log_rad,Xrcos,Yrc...
github
phcerdan/isotropic_wavelet_collection-master
pixelAxes.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/pixelAxes.m
2,053
utf_8
177c4d9d58d2280676a45dd83ef3e50a
% [ZOOM] = pixelAxes(DIMS, ZOOM) % % Set the axes of the current plot to cover a multiple of DIMS pixels, % thereby eliminating screen aliasing artifacts when displaying an % image of size DIMS. % % ZOOM (optional, default='same') expresses the desired number of % samples displayed per screen pixel. It shoul...
github
phcerdan/isotropic_wavelet_collection-master
pyrBandIndices.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/pyrBandIndices.m
613
utf_8
a5387a946b44f72051b9a72faae6130c
% RES = pyrBandIndices(INDICES, BAND_NUM) % % Return indices for accessing a subband from a pyramid % (gaussian, laplacian, QMF/wavelet, steerable). % Eero Simoncelli, 6/96. function indices = pyrBandIndices(pind,band) if ((band > size(pind,1)) | (band < 1)) error(sprintf('BAND_NUM must be between 1 an...
github
phcerdan/isotropic_wavelet_collection-master
pointOp.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/pointOp.m
1,159
utf_8
040e1c3bc4afc4f9cfab4aa964e16082
% RES = pointOp(IM, LUT, ORIGIN, INCREMENT, WARNINGS) % % Apply a point operation, specified by lookup table LUT, to image IM. % LUT must be a row or column vector, and is assumed to contain % (equi-spaced) samples of the function. ORIGIN specifies the % abscissa associated with the first sample, and INCREMENT sp...
github
phcerdan/isotropic_wavelet_collection-master
reconWpyr.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/reconWpyr.m
4,140
utf_8
de1ba8ead0f28186c92b026ec2d0631a
% RES = reconWpyr(PYR, INDICES, FILT, EDGES, LEVS, BANDS) % % Reconstruct image from its separable orthonormal QMF/wavelet pyramid % representation, as created by buildWpyr. % % PYR is a vector containing the N pyramid subbands, ordered from fine % to coarse. INDICES is an Nx2 matrix containing the sizes of % e...
github
phcerdan/isotropic_wavelet_collection-master
shift.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/shift.m
453
utf_8
3e12f9ab9679c3cc88b56885c167121a
% [RES] = shift(MTX, OFFSET) % % Circular shift 2D matrix samples by OFFSET (a [Y,X] 2-vector), % such that RES(POS) = MTX(POS-OFFSET). function res = shift(mtx, offset) dims = size(mtx); offset = mod(-offset,dims); res = [ mtx(offset(1)+1:dims(1), offset(2)+1:dims(2)), ... mtx(offset(1)+1:...
github
phcerdan/isotropic_wavelet_collection-master
namedFilter.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/namedFilter.m
3,278
utf_8
837312a94d58a44dd9503ab3736cffe7
% KERNEL = NAMED_FILTER(NAME) % % Some standard 1D filter kernels. These are scaled such that % their L2-norm is 1.0. % % binomN - binomial coefficient filter of order N-1 % haar: - Haar wavelet. % qmf8, qmf12, qmf16 - Symmetric Quadrature Mirror Filters [Johnston80] % daub2,daub3,...
github
phcerdan/isotropic_wavelet_collection-master
wpyrHt.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/wpyrHt.m
285
utf_8
5b256ddf8ffadaa7888328a31159035e
% [HEIGHT] = wpyrHt(INDICES) % % Compute height of separable QMF/wavelet pyramid with given index matrix. % Eero Simoncelli, 6/96. function [ht] = wpyrHt(pind) if ((pind(1,1) == 1) | (pind(1,2) ==1)) nbands = 1; else nbands = 3; end ht = (size(pind,1)-1)/nbands;
github
phcerdan/isotropic_wavelet_collection-master
buildSFpyr.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/buildSFpyr.m
3,362
utf_8
c23de2136a85b1bc58eff471a98d44aa
% [PYR, INDICES, STEERMTX, HARMONICS] = buildSFpyr(IM, HEIGHT, ORDER, TWIDTH) % % Construct a steerable pyramid on matrix IM, in the Fourier domain. % This is similar to buildSpyr, except that: % % + Reconstruction is exact (within floating point errors) % + It can produce any number of orientation bands. ...
github
phcerdan/isotropic_wavelet_collection-master
modulateFlip.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/modulateFlip.m
480
utf_8
9f2392c42cf1ad73accf1b25c3327ac7
% [HFILT] = modulateFlipShift(LFILT) % % QMF/Wavelet highpass filter construction: modulate by (-1)^n, % reverse order (and shift by one, which is handled by the convolution % routines). This is an extension of the original definition of QMF's % (e.g., see Simoncelli90). % Eero Simoncelli, 7/96. function [h...
github
phcerdan/isotropic_wavelet_collection-master
spyrNumBands.m
.m
isotropic_wavelet_collection-master/BLS-GSM_Denoising/denoise/Simoncelli_PyrTools/spyrNumBands.m
500
utf_8
2173f8841142e73d6f87cb5242a2f9a7
% [NBANDS] = spyrNumBands(INDICES) % % Compute number of orientation bands in a steerable pyramid with % given index matrix. If the pyramid contains only the highpass and % lowpass bands (i.e., zero levels), returns 0. % Eero Simoncelli, 2/97. function [nbands] = spyrNumBands(pind) if (size(pind,1) == 2)...
github
phcerdan/isotropic_wavelet_collection-master
Tikhonov_Regularization.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/Tikhonov_Regularization.m
5,216
utf_8
13080d76d419afe5519c81a986a45e08
function [x_Reg1, x_Reg2, x_Reg3, x_inv, H_Reg1, H_Reg2, H_Reg3, H_Reg4] = ... Tikhonov_Regularization (y,lambda,extra_lambda, H,HH,SS, ... matrix_3, matrix_4, matrix_5, matrix_6, extension_case, type_of_symmetry,option) if (strcmp(extension_case, 'periodic') == 1) [x_Reg1, x_Reg2, x_Reg3, x_inv, H_Re...
github
phcerdan/isotropic_wavelet_collection-master
SURE_LET_GUI.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/SURE_LET_GUI.m
29,294
utf_8
c9c48e2076ab2f9d131a7731356d77f6
function varargout = SURE_LET_GUI(varargin) % SURE_LET_GUI M-file for SURE_LET_GUI.fig % SURE_LET_GUI, by itself, creates a new SURE_LET_GUI or raises the existing % singleton*. % % H = SURE_LET_GUI returns the handle to a new SURE_LET_GUI or the handle to % the existing singleton*. % % SURE_LE...
github
phcerdan/isotropic_wavelet_collection-master
saveimage_mat.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/saveimage_mat.m
1,158
utf_8
e9abcb2a0d0339ce4e036d57b56408eb
%% salva una imagen .mat o de otro tipo y si cancelas devuelve -1 si no 1 function [value,name]= saveimage_mat(image,default_name) [filename, pathname, filterindex] = uiputfile( { '*.mat'}, 'Save as',default_name); if isequal(filename,0) | isequal(pathname,0) value=-1; name = ''; else name = strcat...
github
phcerdan/isotropic_wavelet_collection-master
design_transform_matrix.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/design_transform_matrix.m
5,911
utf_8
00d896f16a7ebf467b5bc1cebae28b34
function [matrix_1, matrix_2, matrix_3, matrix_4, matrix_5, matrix_6, matrix_7, matrix_8] = ... design_transform_matrix(M,N,extension_case,type_of_symmetry,option) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % this program is to generate some transformation matrices used for DCT % inpu...
github
phcerdan/isotropic_wavelet_collection-master
estimation_noise_variance.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/estimation_noise_variance.m
2,349
utf_8
1943f0de767031f9d12d1cc6fa324b6f
function est_noise_variance = estimation_noise_variance (y) [M,N] = size(y); M_min = 2^(floor(log2(M))); N_min = 2^(floor(log2(N))); N_min = min(M_min,N_min); y_cut = y(1:N_min,1:N_min); WaveletFiltType1 = daubcqf(6,'min'); DecompLevels = 3; % WaveletFiltType2 = daubcqf(2,'min'); ThreshFactor = 3.0; [tempW, t...
github
phcerdan/isotropic_wavelet_collection-master
gaussian_blur_size.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/gaussian_blur_size.m
6,493
utf_8
12d3af962fd5b3ae930e6a4a11772b29
function varargout = gaussian_blur_size (varargin) % GAUSSIAN_BLUR_SIZE M-file for gaussian_blur_size.fig % GAUSSIAN_BLUR_SIZE, by itself, creates a new GAUSSIAN_BLUR_SIZE or raises the existing % singleton*. % % H = GAUSSIAN_BLUR_SIZE returns the handle to a new GAUSSIAN_BLUR_SIZE or the handle to % ...
github
phcerdan/isotropic_wavelet_collection-master
Diagonal_element.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/Diagonal_element.m
8,017
utf_8
65c3018c150d4b44fa16d72c845e06b4
function [diagonal_element_H_1,diagonal_element_H_2, diagonal_element_H_3, ... diagonal_element_L_1,diagonal_element_L_2,diagonal_element_L_3] = ... Diagonal_element ... (x,H_Reg1,H_Reg2,H_Reg3,H_Reg4, it, matrix_7,matrix_8, extension_case,type_of_symmetry,option) %% periodic boundary conditi...
github
phcerdan/isotropic_wavelet_collection-master
Image_blurring.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/Image_blurring.m
10,317
utf_8
1365d9af6b751dae556a4fb56c66be63
function [blurred_image,h] = Image_blurring(image,filter, extension_case,type_of_symmetry) image = double(image); option= 'DCT'; switch extension_case case 'periodic' [blurred_image,h] = Image_distortion_periodic(image,filter); case 'symmetric' if (strcmp(type_of_symmetry,'whole_p...
github
phcerdan/isotropic_wavelet_collection-master
diagonal_any_size.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/diagonal_any_size.m
12,268
utf_8
6315147b054e072a9ca2fbdbea247c57
function [LH, HL, HH, LL] = diagonal_any_size (x,type_of_symmetry,it) [M,N] = size(x); M = M-1; N = N-1; %% half-point symmetry if (strcmp(type_of_symmetry, 'half_point') == 1) shift = 2^(it-1); h0_LH = 4*(x(1,1)+x(1,shift+1)-x(shift+1,1)-x(shift+1,shift+1)); h0_HL = 4*(x(1,1)-x(1,shift+1)+x(shift+1,1)...
github
phcerdan/isotropic_wavelet_collection-master
loadimage_mat.m
.m
isotropic_wavelet_collection-master/SURE_LET_GUI/loadimage_mat.m
728
utf_8
e25d36e2c0d737c5ddb9d966fed36eb9
%% load image of any format function [image,im_name]= loadimage_mat() [filename,pathname] = uigetfile({ '*.tif; *.bmp; *.gif; *.jpg','Image files (*.tif, *.bmp, *.gif, *.jpg)'; ... '*.mat','Mat files (*.mat)'; '*.*', 'All files (*.*)'},'Select the Picture'); if isequal(filename,0) | isequal(pathname,0) ...
github
phcerdan/isotropic_wavelet_collection-master
PlotWaveletCoeffs.m
.m
isotropic_wavelet_collection-master/matlab_pusposki/SteerableWavelets/PlotWaveletCoeffs.m
3,476
utf_8
20e6f1de6c2f2040b8d611fd90e079b0
function PlotWaveletCoeffs(Q,type) % % function PlotWaveletCoeffs(Q,type) % % % plot wavelet coefficients. % % % INPUTS % ------ % % Q cell array of wavelet coefficients per scale % % type one of the two strings 'allinone' (to plot each channel and % scale in a subplot in a single fig...
github
phcerdan/isotropic_wavelet_collection-master
h_Meyer_a.m
.m
isotropic_wavelet_collection-master/matlab_pusposki/SteerableWavelets/Wavelet/Radial/h_Meyer_a.m
1,097
utf_8
2fd06aab5f107efbfdcb4661d5175f34
function hr = h_Meyer_a(r) % % function hr = h_Meyer_a(r) % % % for Meyer wavelet. % % % INPUTS % ------ % % r Fourier radius vector % % % % OUTPUT % ------ % % hr radial Fourier value at r % % % REFERENCE % --------- % You are free to use this software for research purposes, but you should % no...
github
phcerdan/isotropic_wavelet_collection-master
h_Meyer.m
.m
isotropic_wavelet_collection-master/matlab_pusposki/SteerableWavelets/Wavelet/Radial/h_Meyer.m
1,118
utf_8
778db2012f7e04eef0e5cb3f308d553d
function hr = h_Meyer(r) % % function hr = h_Meyer(r) % % % for Meyer wavelet. % % % INPUTS % ------ % % r Fourier radius vector % % % % OUTPUT % ------ % % hr radial Fourier value at r % % % REFERENCE % --------- % You are free to use this software for research purposes, but you should % not re...
github
phcerdan/isotropic_wavelet_collection-master
h_Meyer_d.m
.m
isotropic_wavelet_collection-master/matlab_pusposki/SteerableWavelets/Wavelet/Radial/h_Meyer_d.m
1,116
utf_8
7fbe55c0a91b0e8bbfdb38543a2b9f43
function hr = h_Meyer_d(r) % % function hr = h_Meyer_d(r) % % % for Meyer wavelet. % % % INPUTS % ------ % % r Fourier radius vector % % % % OUTPUT % ------ % % hr radial Fourier value at r % % % REFERENCE % --------- % You are free to use this software for research purposes, but you should % no...
github
phcerdan/isotropic_wavelet_collection-master
tanWavMask.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/tanWavMask.m
2,302
utf_8
1e5b03e2729a75f1111aec228f1f74df
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [maskHP, maskLP] = tanWavMask(w,h,d,downsampling,sizeInit) c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; %rJ = c0/2; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1))-c0(2)].^2; zramp...
github
phcerdan/isotropic_wavelet_collection-master
omegaWav.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/omegaWav.m
2,014
utf_8
9885ca76e63fbf9b9ec1a1398ebc63ea
% author: Adrien Depeursinge, adrien.depeursinge@epfl.ch function [maskHP, maskLP] = omegaWav(w,h,d,omega,downsampling,sizeInit) c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; %rJ = c0/2; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1))-c0(2)].^2; zramp = [(1:c0(...
github
phcerdan/isotropic_wavelet_collection-master
halfSizeEllipsoidalMask.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/halfSizeEllipsoidalMask.m
572
utf_8
fdca34bc60535e8032b9ee23bd5417a8
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [maskHP maskLP] = halfSizeEllipsoidalMask(w,h,d) c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1))-c0(2)].^2; zramp = [(1:c0(3))-1 (d:-1:(...
github
phcerdan/isotropic_wavelet_collection-master
aldroubiMask.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/aldroubiMask.m
1,324
utf_8
d2a801838e1b25a26d7cc58ffb863742
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [maskHP maskLP] = aldroubiMask(w,h,d, order) if nargin<4 order = 3; end c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; %rJ = c0/2; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1)...
github
phcerdan/isotropic_wavelet_collection-master
papadakisMask.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/papadakisMask.m
1,046
utf_8
575a998dc4c522f9e7923cccbb49c2e2
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [maskHP, maskLP] = papadakisMask(w,h,d) c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; %rJ = c0/2; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1))-c0(2)].^2; zramp = [(1:c0(3))-1 (d:-...
github
phcerdan/isotropic_wavelet_collection-master
opt310Mask.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/opt310Mask.m
1,120
utf_8
96f126187aaf9a88fb0b60499b173203
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [maskHP, maskLP] = opt310Mask(w,h,d) c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; %rJ = c0/2; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1))-c0(2)].^2; zramp = [(1:c0(3))-1 (d:-1:(...
github
phcerdan/isotropic_wavelet_collection-master
isotropicBandlimitedAnalysis.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/isotropicBandlimitedAnalysis.m
5,780
utf_8
f7bcbf3663c5c6b00493fde6d967b141
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [LP, HP] = isotropicBandlimitedAnalysis(Im, dim, J, isotropicWaveletType, spatialDomain, downsampling, isotropicWaveletOmega) % multidimensional isotropic wavelet decomposition % % input: % ------ % Im: multidimensional i...
github
phcerdan/isotropic_wavelet_collection-master
simoncelliMask.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/simoncelliMask.m
2,082
utf_8
2a2bf89f87d44f4112dd25e9b9f8ca36
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [maskHP,maskLP] = simoncelliMask(w,h,d,downsampling,sizeInit) c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; %rJ = c0/2; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1))-c0(2)].^2; z...
github
phcerdan/isotropic_wavelet_collection-master
isotropicBandlimitedSynthesis.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/isotropicBandlimitedSynthesis.m
5,285
utf_8
56840b534a117df99983a85621f40acb
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function LP = isotropicBandlimitedSynthesis(LP, HP, dim, isotropicWaveletType, spatialDomain, downsampling) % multidimensional isotropic wavelet decomposition % % input: % ------ % LP: low pass coefficients % HP: wavelet coefficients % di...
github
phcerdan/isotropic_wavelet_collection-master
meyerMask.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/meyerMask.m
1,167
utf_8
82b1b662b613aac6e6a12ba0ad0ba5a8
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [maskHP maskLP] = meyerMask(w,h,d) c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1))-c0(2)].^2; zramp = [(1:c0(3))-1 (d:-1:(c0(3)+1))-c0(...
github
phcerdan/isotropic_wavelet_collection-master
sqrtWavMask.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/sqrtWavMask.m
2,230
utf_8
5380f175d23ba49605e3f8f99fcf561d
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [maskHP,maskLP] = sqrtWavMask(w,h,d,downsampling,sizeInit) c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; %rJ = c0/2; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1))-c0(2)].^2; zram...
github
phcerdan/isotropic_wavelet_collection-master
absWavMask.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/waveletTransform/absWavMask.m
2,212
utf_8
d6daf8362a5d3cc82385c58c989502d3
% author: Nicolas Chenouard, nicolas.chenouard@epfl.ch % part of the monogenicTk function [maskHP maskLP] = absWavMask(w,h,d,downsampling,sizeInit) c0 = [ceil((w+1)/2), ceil((h+1)/2), ceil((d+1)/2)]; %rJ = c0/2; yramp = [(1:c0(1))-1 (w:-1:(c0(1)+1))-c0(1)].^2; xramp = [(1:c0(2))-1 (h:-1:(c0(2)+1))-c0(2)].^2; zramp...
github
phcerdan/isotropic_wavelet_collection-master
RieszPrepareTransform.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/Riesz/RieszPrepareTransform.m
14,825
utf_8
a6ca3b2470bf9316fd0574546a5d9fa1
function config = RieszPrepareTransform(config) % RIESZPREPARETRANSFORM Prepare the Riesz filters for Riesz pyramid in 3D % % config = RieszPrepareTransform(config) Prepare the Riesz filters for the % Riesz pyramid in 3D corresponding to the RieszConfig object config. % Returns a new RieszConfig object config containin...
github
phcerdan/isotropic_wavelet_collection-master
RieszConfig.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/Riesz/RieszConfig/RieszConfig.m
3,125
utf_8
aed0dfb81efb820657ca01b95156e190
% RIESZCONFIG class of objects characterizing 3D Riesz-wavelet transforms % % ------------------------------------------------------------------------- % % AUTHOR: % Nicolas Chenouard, nicolas.chenouard?epfl.ch % Ecole Polytechnique Federale de Lausanne % % -------------------------------------------------------...
github
phcerdan/isotropic_wavelet_collection-master
WorkerObjWrapper.m
.m
isotropic_wavelet_collection-master/AlignedRiesz3D_cid/monogenic/WorkerObjWrapper.m
7,900
utf_8
4ce51bfcd0c4fdf185d2fe01961c9870
% WorkerObjWrapper - manage persistent state on MATLABPOOL workers % % The WorkerObjWrapper is designed for situations where a piece of data is % needed multiple times inside the body of a PARFOR loop or an SPMD block, and % this piece of data is both expensive to create, and does not need to be % re-created multiple t...