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
santhosh-kumar/MultiviewAppearanceTracker-master
showpairdict.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/internal/showpairdict.m
1,187
utf_8
0e7aa28f4d74056ed9c8799b423aa0f3
% showpairdict(pd, sy, sx) % % Visualizes a few random elements from the paired dictionaries 'pd'. The % parameters sy and sx are optional and specify the number of elements to show. function im = showpairdict(pd, sy, sx), if ~exist('sy', 'var'), sy = 10; end if ~exist('sx', 'var'), sx = 10; end hny = pd.ny; hnx ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
reportcard.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/internal/reportcard.m
750
utf_8
eeab549f9371d13c8d95f144e700bb86
% reportcard(in, out, pd) % % Processes every image in input directory 'in' and outputs % the inversion to 'out' using the paired dictionary 'pd'. This % is useful for diagnosis purposes. function reportcard(in, out, pd), images = dir(in); for i=1:length(images); if ~images(i).isdir, filepath = [in '/' images(i)...
github
santhosh-kumar/MultiviewAppearanceTracker-master
learnPLS_cpu.m
.m
MultiviewAppearanceTracker-master/lib/UnsupervisedDA_Grassmann/learnPLS_cpu.m
2,774
utf_8
95cbb3919b68c748fc54900e3e581be3
function [T,P,W,Wstar,b,Xdata]= learnPLS_cpu(X,Y,numFactor) % [T,P,W,Wstar,Xdata,Ydata]= learnPLS(X,Y,numFactor) % PLS - NIPALS algorithm % Compute the PLS coefficients % Inputs: % X - training data, N x d % Y - training label, N x f % numFactor - number of PLS factors % Outputs: % T ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
projectPLS_cpu.m
.m
MultiviewAppearanceTracker-master/lib/UnsupervisedDA_Grassmann/projectPLS_cpu.m
674
utf_8
b0aae3caa556b8ce007394a9d39bfacf
function [WX]= projectPLS_cpu(X,W,Xdata) % function [WX]= projectPLS_cpu(X,W,Xdata) % PLS projection % Inputs: % X - training data, N x d % W - projection matrix, d x f % Xdata - mean and std of X, Xdata.mean & Xdata.std % % Outputs: % WX - Projections X x W, N x f % X=zsco...
github
santhosh-kumar/MultiviewAppearanceTracker-master
drawEdge.m
.m
MultiviewAppearanceTracker-master/lib/geom2d/libGeom2d/geom2d/drawEdge.m
3,223
utf_8
6fb4f10c921d6882550b0d836ae20dc4
function varargout = drawEdge(varargin) %DRAWEDGE Draw an edge given by 2 points % % drawEdge(x1, y1, x2, y2); % draw an edge between the points (x1 y1) and (x2 y2). % % drawEdge([x1 y1 x2 y2]) ; % drawEdge([x1 y1], [x2 y2]); % specify data either as bundled edge, or as 2 points % % The functi...
github
santhosh-kumar/MultiviewAppearanceTracker-master
enclosingCircle.m
.m
MultiviewAppearanceTracker-master/lib/geom2d/libGeom2d/geom2d/enclosingCircle.m
1,877
utf_8
cc42da36eb019ff067ae5a02b00131de
function circle = enclosingCircle(pts) %ENCLOSINGCIRCLE Find the minimum circle enclosing a set of points. % % CIRCLE = enclosingCircle(POINTS); % compute cirlce CIRCLE=[xc yc r] which enclose all points POINTS given % as an [Nx2] array. % % % Rewritten from a file from % Yazan Ahed (yash78@g...
github
santhosh-kumar/MultiviewAppearanceTracker-master
polynomialCurveSetFit.m
.m
MultiviewAppearanceTracker-master/lib/geom2d/libGeom2d/polynomialCurves2d/polynomialCurveSetFit.m
5,584
utf_8
8dc90a6635bc63b29724ba33fb521305
function [coefs lblBranches] = polynomialCurveSetFit(seg, varargin) %POLYNOMIALCURVESETFIT Fit a set of polynomial curves to a segmented image % % COEFS = polynomialCurveSetFit(IMG); % COEFS = polynomialCurveSetFit(IMG, DEG); % Result is a cell array of matrices. Each matrix is DEG+1-by-2, and % contains ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
polynomialCurvePosition.m
.m
MultiviewAppearanceTracker-master/lib/geom2d/libGeom2d/polynomialCurves2d/polynomialCurvePosition.m
2,965
utf_8
e8933d9b90e0b043fc8392746e0be496
function pos = polynomialCurvePosition(tBounds, varargin) %POLYNOMIALCURVEPOSITION Compute position on a curve for a given length % % POS = polynomialCurvePosition(T, XCOEF, YCOEF, L) % XCOEF and YCOEF are row vectors of coefficients, in the form: % [a0 a1 a2 ... an] % T is a 1x2 row vector, containin...
github
santhosh-kumar/MultiviewAppearanceTracker-master
test_svm_struct_learn.m
.m
MultiviewAppearanceTracker-master/lib/svm_struct/test_svm_struct_learn.m
2,768
utf_8
77b05e94cc0f1852f38307edb7dd7197
function test_svm_struct_learn % TEST_SVM_STRUCT_LEARN % A demo function for SVM_STRUCT_LEARN(). It shows how to use % SVM-struct to learn a standard linear SVM. randn('state',0) ; rand('state',0) ; % ------------------------------------------------------------------ % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
test_svm_struct_learn_ker.m
.m
MultiviewAppearanceTracker-master/lib/svm_struct/test_svm_struct_learn_ker.m
2,956
utf_8
b4755504de8b5a8234a199f09e26e89a
function test_svm_struct_learn_ker % TEST_SVM_STRUCT_LEARN % Test function for SVM_STRUCT_LEARN(). It shows how to use % SVM-struct to learn a standard linear SVM while using the generic % kernel interface. randn('state',0) ; rand('state',0) ; % ------------------------------------------------------------...
github
santhosh-kumar/MultiviewAppearanceTracker-master
meanshiftSpatial.m
.m
MultiviewAppearanceTracker-master/lib/lib_boosting/meanshiftSpatial.m
1,460
utf_8
a960376d3b3e2c1d943f47373219b0b1
function [mode] = meanshiftSpatial(data, h, epsilon, init_pt) [d N] = size(data); eps2 = epsilon*epsilon; mode = ones(d, 1); if( size(init_pt) ~= size(mode) ) error('Not the proper dimension'); end x = init_pt; for iter = 1:10 [m, s] = mean_shift_iteration(x, data, h, eps2); if(s...
github
santhosh-kumar/MultiviewAppearanceTracker-master
selectBestRegressionStump.m
.m
MultiviewAppearanceTracker-master/lib/lib_boosting/selectBestRegressionStump.m
2,049
utf_8
40c4689b42f3b2c487080a085db3710b
function [featureNdx, th, a , b, error] = selectBestRegressionStump(x, z, w); % [th, a , b] = fitRegressionStump(x, z); % z = a * (x>th) + b; % where (a,b,th) are so that it minimizes the weighted error: % error = sum(w * |z - (a*(x>th) + b)|^2) / sum(w) % atb, 2003 torralba@ai.mit.edu [Nfeatures, Nsamples] = siz...
github
santhosh-kumar/MultiviewAppearanceTracker-master
shuffleSupInd.m
.m
MultiviewAppearanceTracker-master/lib/imrender/shuffleSupInd.m
1,660
utf_8
6a48be585ba0121893537ef1d1e979c4
function op = shuffleSupInd(S) uniqueInd = unique(S); S1 = zeros( size(S) ); S2 = zeros( size(S) ); S3 = zeros( size(S) ); randomInd = rand( numel(uniqueInd), 3); for iter = 1:numel(uniqueInd) S1(S==iter) = randomInd(iter, 1); S2(S==iter) = randomInd(iter, 2); S3(S==iter) = randomInd(iter, 3); end op = ca...
github
santhosh-kumar/MultiviewAppearanceTracker-master
truncquad_edges.m
.m
MultiviewAppearanceTracker-master/lib/imrender/ojw/truncquad_edges.m
1,016
utf_8
e7ad9508e80bd7dd9106ae3f4156a5ec
%TRUNCQUAD_EDGES Compute truncated quadratic pairwise texture costs % % edge_costs = truncquad_edges(I, modes, EI, thresh) % % Computes the truncated quadratic cost of each combination of pairs of % modes in each edge, based on the minimum distance to a pair of pixels in % the corresponding library. % % IN: ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
truncquad_modes.m
.m
MultiviewAppearanceTracker-master/lib/imrender/ojw/truncquad_modes.m
1,286
utf_8
3d964b9dc782c4855c91b4c6bcf787b6
%TRUNCQUAD_MODES Compute colour modes for a truncated quadratic kernel % % [modes depth energy inliers] = truncquad_modes(I, thresh[, use_variance[, search_width]]) % % Computes the colour modes for each set of input vectors, using the % truncated quadratic kernel. % % IN: % I - CxLxM array of L input colo...
github
santhosh-kumar/MultiviewAppearanceTracker-master
P_interp.m
.m
MultiviewAppearanceTracker-master/lib/imrender/ojw/P_interp.m
1,770
utf_8
921030bc998d5ef446f99ae9c4c55b8e
function P = P_interp(first, last, frames) %P_INTERP Linear interpolation between 2 projection matrices % % P = P_interp(first, last, frames) % % Creates a series off projection matrices interpolated from two projection % matrices. % %IN: % first - 3x4 The first projection matrix in the series, and the fi...
github
santhosh-kumar/MultiviewAppearanceTracker-master
ojw_segpln.m
.m
MultiviewAppearanceTracker-master/lib/imrender/ojw/ojw_segpln.m
5,727
utf_8
44d8d4908d827efa9fdc0f11904bdf79
function [D info] = ojw_segpln(images, P, disps, R, options) %OJW_SEGPLN Generate piecewise-planar disparity proposals for stereo % % [D info] = ojw_segpln(images, P, disps, R, options) % % Generates a set of disparity map proposals for the first input image. % %IN: % images - 1xN cell array of input image...
github
santhosh-kumar/MultiviewAppearanceTracker-master
ibr_fuse_depths.m
.m
MultiviewAppearanceTracker-master/lib/imrender/ojw/ibr_fuse_depths.m
15,318
utf_8
c98f5a8a0b4a54db2983fb10c8ff2301
function [N info energy V] = ibr_fuse_depths(D1, D2, vals) %IBR_FUSE_DEPTHS Fuse two disparity images using QPBO % % [N info energy V] = ibr_fuse_depths(D0, D1, vals) % % Given two disparity maps and input data (image sequence, projection % matrices and configuration parameters) this function will fuse the two...
github
santhosh-kumar/MultiviewAppearanceTracker-master
find_interactions.m
.m
MultiviewAppearanceTracker-master/lib/imrender/ojw/find_interactions.m
856
utf_8
817e427cf1c3c223e961d5d47df487fc
%FIND_INTERACTIONS Given ordered 3d points, find occlusions pairs % % P = find_interactions(V) % % Given a set of 3d image coordinates (pixel coordinates plus depth), % ordered such that the x coordinates are monotonically increasing, as are % the y coordinates within each block of identical x coordinates, fin...
github
santhosh-kumar/MultiviewAppearanceTracker-master
ibr_gen_cliques.m
.m
MultiviewAppearanceTracker-master/lib/imrender/ojw/ibr_gen_cliques.m
849
utf_8
141e3aab3e70e143002919e425759078
%IBR_GEN_CLIQUES Generate graph cliques given visibilities % % [U P PI T TI] = ibr_gen_cliques(IA, VA, V, Kocc, method) % % Generates graph cliques for the algorithm described in Woodford etal.'s % BMVC 2007 paper: % "On New View Synthesis Using Multiview Stereo". % % IN: % IA - 1xN cell array of input ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
sc.m
.m
MultiviewAppearanceTracker-master/lib/imrender/ojw/sc.m
32,939
utf_8
34495279b3a0ff89df9db7631adf5d5e
function I = sc(I, varargin) %SC Display/output truecolor images with a range of colormaps % % Examples: % sc(image) % sc(..., limits) % sc(..., colormap) % out = sc(...) % sc % % Generates a truecolor RGB image based on the input values in 'image' and % any maximum and minimum limits specified, u...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vgg_progressbar.m
.m
MultiviewAppearanceTracker-master/lib/imrender/vgg/vgg_progressbar.m
4,301
utf_8
d4541c2ac2b1b469245005ae628b0d3c
function retval = vgg_progressbar(tag, proportion, min_update_interval) %VGG_PROGRESSBAR Simple progress bar implementation % % retval = vgg_progressbar(tag, proportion[, min_update_interval]) % % Starts, updates and closes a progress bar according to the proportion of % time left. % % IN: % tag - String ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vgg_interp2.m
.m
MultiviewAppearanceTracker-master/lib/imrender/vgg/vgg_interp2.m
1,332
utf_8
17912cc11a4dee00b1ba8b3a285b8b3b
%VGG_INTERP2 Fast 2d interpolation for images % % V = vgg_interp2(A, X, Y) % V = vgg_interp2(A, X, Y, interp_mode) % V = vgg_interp2(A, X, Y, interp_mode, oobv) % % 2d interpolation on a regular grid - similar to matlab's interp2() but % with much less overhead, and supports multiple channels and types. Note %...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vgg_trw_bp.m
.m
MultiviewAppearanceTracker-master/lib/imrender/vgg/vgg_trw_bp.m
2,516
utf_8
0aca9aba5db6b3211bdefbe0450576d3
%VGG_TRW_BP Multi-label MRF energy minimization using TRW-S & LBP % % [L energy lower_bound] = vgg_trw_bp(UE, PI, PE, [options]) % % Uses the message passing algorithms TRW-S or LBP to solve an MRF energy % minimization problem with binary or multiple labels. % % This function uses mexified C++ code written b...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vgg_qpbo.m
.m
MultiviewAppearanceTracker-master/lib/imrender/vgg/vgg_qpbo.m
4,484
utf_8
efbd63c24e5c764cd2ddb808ee1c50b0
%VGG_QPBO Binary MRF energy minimization on non-submodular graphs % % [L stats] = vgg_qpbo(UE, PI, PE, [TI, TE], [options]) % % Uses the Quadratic Pseudo-Boolean Optimization (QPBO - an extension of % graph cuts that solves the "roof duality" problem, allowing graphs with % submodular edges to be solved) to so...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vgg_segment_ms.m
.m
MultiviewAppearanceTracker-master/lib/imrender/vgg/vgg_segment_ms.m
1,604
utf_8
12fddc475aab634dcf476230c88cee4a
%VGG_SEGMENT_MS Mean shift image segmentation % % S = vgg_segment_ms(A, h_s, h_r, min_sz[, W]) % % Segmentation of an image using mean shift. % % Uses EDISON code by Chris Christoudias and Bogdan Georgescu, downloaded % from http://www.caip.rutgers.edu/riul/research/code/EDISON/index.html, % and based on th...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vgg_segment_gb.m
.m
MultiviewAppearanceTracker-master/lib/imrender/vgg/vgg_segment_gb.m
1,290
utf_8
20857800ff0ce67c6aafa8d4e341978b
%VGG_SEGMENT_GB Graph-based image segmentation % % S = vgg_segment_gb(A, sigma, K, min_sz[, compress]) % % Segmentation of an image using the graph-based method described in: % "Efficient Graph-Based Image Segmentation.", Pedro F. Felzenszwalb and % Daniel P. Huttenlocher. International Journal of Computer...
github
santhosh-kumar/MultiviewAppearanceTracker-master
init.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/init.m
1,377
utf_8
2046af7d12ea25d9ec0e788a05ba6e56
function init; % adds paths to subdirectories addpath(genpath(pwd)); if verLessThan2('7.1') addpath(genpath('compatibility/private/7.1')); end if verLessThan2('7.4') addpath(genpath('compatibility/private/7.4')); end addpath_SuiteSparse(); addpath_libraries(); function addpath_SuiteSparse(); dir_input='/User...
github
santhosh-kumar/MultiviewAppearanceTracker-master
demo_normalizeMatchingW.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/demo_normalizeMatchingW.m
1,795
utf_8
156be00e1857fe9ed69ed78e019d56ea
function demo_normalizeMatchingW(); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. %% create a random graph matching matrix with n1 nodes in 1st graph, n2 in 2nd graph n1=10; n2=15;...
github
santhosh-kumar/MultiviewAppearanceTracker-master
compute_ICM_graph_matching.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/compute_ICM_graph_matching.m
1,390
utf_8
7c6fa7c4be20d9a87c27d429f5b922a7
function [X,scores]=compute_ICM_graph_matching(X0,E12,W); % maximum enrgy %TODO:verifier formule; esp case when Ws_{ii}(xi,xi) full matrix??? % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public Lic...
github
santhosh-kumar/MultiviewAppearanceTracker-master
dir2.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/dir2.m
1,381
utf_8
7f089a9367087af58454315203a500d8
function files=dir2(dirInput); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. files=dirRec(dirInput); end function files = dirRec(dirInput); index=0; dirRoot=dirInput; files=[]; di...
github
santhosh-kumar/MultiviewAppearanceTracker-master
assert.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/assert.m
712
utf_8
74c5bc88c54aacc0028a80cfb03c34af
function assert2(condition,msgid,str); %{ % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. problem with builtin assert: assert(0) not defined %} if ~condition dispStack(); err...
github
santhosh-kumar/MultiviewAppearanceTracker-master
gradAssign.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/gradAssign.m
3,467
utf_8
7a85c8d7aaaab57d69151fefa4e69b8e
function [X,nbMatVec] = gradAssign(W, E12, b0, bStep, bMax, tolB, tolC, target, X0) %{ Timothee Cour, Praveen Srinivasan implementation of graduated assignment %} % Xga = gradAssign(W, E12, 0.5, 1.075,10,1e-3,1e-3, target); % Xb = bistocNormalize(X, 1e-3, 1000); W=tril(W); sumW=2*sum(sum(W))-sum(diag(W)); if sumW==0 ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
actionFigure.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/actionFigure.m
8,816
utf_8
f76599a00009e0b86972f0633fd7660f
function actionFigure(hObject, eventdata, handles); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. global data; selectionType = get (gcf , 'SelectionType'); fig = gcf; switch select...
github
santhosh-kumar/MultiviewAppearanceTracker-master
mex_silent.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/mex_silent.m
18,264
utf_8
526a4c038e47cea9d3c8db329c9d24b3
function [errorCode,message] = mex_silent(isVerbose,varargin) %MEX Compile MEX-function. % MEX [option1 ... optionN] sourcefile1 [... sourcefileN] % [objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN] % % Description: % MEX compiles and links source files into a shared library called a % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
compute_graph_matching_SMAC.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/compute_graph_matching_SMAC.m
3,282
utf_8
3271cc18a384b0322036adba7ae1497a
function [X12,X_SMAC,timing]=compute_graph_matching_SMAC(W,E12,options); %{ % Timothee Cour, 21-Apr-2008 17:31:23 + update febrary 2009 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. Code implementing graph matching algo...
github
santhosh-kumar/MultiviewAppearanceTracker-master
computeXorthonormal.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/computeXorthonormal.m
439
utf_8
116503ce9345b11f3b435516f7448a7d
function Xorth=computeXorthonormal(X); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. [n1,n2,k]=size(X); Xorth = zeros(n1,n2,k); for i=1:k Xorth(:,:,i)=computeXorthonormal_aux(X(...
github
santhosh-kumar/MultiviewAppearanceTracker-master
compileFiles.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/compileFiles.m
3,252
utf_8
91799cf758de365b948931e1b5c162b9
function filesError = compileFiles(filepaths); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. files=filepaths2files(filepaths); dir_old=pwd; n_old=length(dir_old); for i=1:length(fi...
github
santhosh-kumar/MultiviewAppearanceTracker-master
verLessThan2.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/verLessThan2.m
534
utf_8
58f223b8239d7b05f8fa6e64e7ae8e09
function tf=verLessThan2(strNumber); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. temp=version; temp = getParts(temp); strNumber = getParts(strNumber); tf = (sign(temp - strNumber...
github
santhosh-kumar/MultiviewAppearanceTracker-master
disp2.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/disp2.m
790
utf_8
ba7602e40f4e42c565163a7f5df5798f
function disp2(expr,result); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. if nargin>=2 disp_aux(expr,result); return; end try % result = evalin('base',expr); resul...
github
santhosh-kumar/MultiviewAppearanceTracker-master
compute_matching_from_W.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/compute_matching_from_W.m
1,771
utf_8
8ff271f71ed3d048e965d05971445752
function [X,lambda,timing,constraintViolation] = compute_matching_from_W(W,E12,k,constraintMode,isAffine,isNcut); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. constraintViolation=[...
github
santhosh-kumar/MultiviewAppearanceTracker-master
positionFigure.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/positionFigure.m
3,314
utf_8
dee3921d2ed205b51e5fca94c7c253f7
function positionFigure(p,q,fig); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. set(gca,'Position',[0 0 1 1]); if nargin < 3 fig = gcf; end if nargin < 1 if ~isempty(getima...
github
santhosh-kumar/MultiviewAppearanceTracker-master
saveFigure.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/saveFigure.m
1,566
utf_8
bc32828bf34a516cee5ac8cab690a01b
function saveFigure(figureNumber,isImage,filename); % TODO : handle function in case remote server without graphics => option % to save to a given path,filename (works with saveas or print) % TODO : tiff option to create a preview does not seem to work % zbuffer, r300, axis image, -deps2, -djpeg % use getfrme % Timothe...
github
santhosh-kumar/MultiviewAppearanceTracker-master
file2string.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/file2string.m
1,297
utf_8
01cbb241b21bdc69281e2366f020b76c
function string = file2string(file); %TODO: deal with differences ('\r\n' vs \n vs \r etc) %{ % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. string = file2string(which('file2strings'...
github
santhosh-kumar/MultiviewAppearanceTracker-master
getUserHost.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/getUserHost.m
1,860
utf_8
e8127c62bfb65237005b8fc67377b7ee
function [user,host,userAthost] = getUserHost; % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. host=''; user=''; if ispc try [s,user] = system('ECHO %USERNAME%'); ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
computeSyntheticExampleMatching.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/computeSyntheticExampleMatching.m
2,260
utf_8
2b67191ebb1203b6b266358bec84b4a3
function [W,E12,target,G1,G2]=computeSyntheticExampleMatching(n1,n2,param,noise,density_matches); %{ % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. n1,n2: nb nodes in graph 1,2 targe...
github
santhosh-kumar/MultiviewAppearanceTracker-master
setPropertyFigure2.m
.m
MultiviewAppearanceTracker-master/lib/graph_matching_SMAC/util/setPropertyFigure2.m
3,786
utf_8
f8cc847bbf2cf24ba61f55c240b25581
function setPropertyFigure2(fig); % Timothee Cour, 21-Apr-2008 17:31:23 % This software is made publicly for research use only. % It may be modified and redistributed under the terms of the GNU General Public License. isSlider = 0; UserData = get(fig,'UserData'); set(fig,'WindowButtonDownFcn',@actionFigure); % set(f...
github
santhosh-kumar/MultiviewAppearanceTracker-master
plot.m
.m
MultiviewAppearanceTracker-master/lib/@kde/plot.m
7,653
utf_8
f780548e87d0f1875ec9268afce4fd9d
function H=plot(x,varargin) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % KDE plotting function % % plot(kde) -- plot a KDE with various features. % plot(kde,style) -- style is of the form % plot(kde,dim,style) -- [STR1,STR2,...] where % % style is of the form [STR1 ST...
github
santhosh-kumar/MultiviewAppearanceTracker-master
entropyGrad.m
.m
MultiviewAppearanceTracker-master/lib/@kde/entropyGrad.m
1,006
utf_8
a482a4db37c9545ec0c790ded65aca1c
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % err = entropyGrad(npd,estType) % Compute gradient of an entropy estimate for the npde % % entType is one of: % ISE : integrated squared error from uniform estimate % RS,LLN : law of large numbers resubsti...
github
santhosh-kumar/MultiviewAppearanceTracker-master
modes.m
.m
MultiviewAppearanceTracker-master/lib/@kde/modes.m
3,423
utf_8
a1561f4327e4c415e1afd6892fd87c0a
function [modeList,attr] = modes(dens,start) % % [modes,assoc] = modes(kde [,init]) -- Find modes of a KDE via fixed point iter. scheme % options: % init -- initial locations for search (default is kde's kernel centers) % returns: % modes -- list of estimated mode locations % assoc -- which mode each initi...
github
santhosh-kumar/MultiviewAppearanceTracker-master
quantize.m
.m
MultiviewAppearanceTracker-master/lib/@kde/quantize.m
728
utf_8
da02b55a43079674304fd19db18da126
function p = quantize(p,R,minV,maxV,minS,maxS) % % p = quantize(p,R,type) -- "quantize" elements of KDE p to R bits % %p.centers = round(1000*p.centers)/1000; %p.means = round(1000*p.means)/1000; %p.ranges = round(1000*p.ranges)/1000; %p.bandwidth = ceil(10000*p.bandwidth)/10000; p.centers = roundVals(p.ce...
github
santhosh-kumar/MultiviewAppearanceTracker-master
evalIFGT.m
.m
MultiviewAppearanceTracker-master/lib/@kde/evalIFGT.m
7,222
utf_8
ef0bcd2b59b2c10f6427f8e75ba67a2e
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % evalIFGT Evaluate the density estimate using the "improved" Fast Gauss Transform % % [e,b] = evalIFGT(X,Y,N [,Nc,rC]) -- eval likelihood ("e") of the points Y under % the density estimate X using N coefficient...
github
santhosh-kumar/MultiviewAppearanceTracker-master
joinTrees.m
.m
MultiviewAppearanceTracker-master/lib/@kde/joinTrees.m
6,414
utf_8
749cd7423770167e50c916245f2e8d2a
function t1 = joinTrees(t1, t2, alpha) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % t12 = joinTrees(t1, t2, alpha) % create a new KD-tree with t1 and t2 as the children of the root % The t1 subtree recieves weight alpha; the t2 subtree has wt. 1-alpha % %%%%%%%%%%%%%%%%%%%%%...
github
santhosh-kumar/MultiviewAppearanceTracker-master
maxlogerr.m
.m
MultiviewAppearanceTracker-master/lib/@kde/maxlogerr.m
2,415
utf_8
e64b1877c0870706f1d99ce2085e21ad
function [maxVal,location] = logerr(p,q) % % modes = logerr(p,q) -- Find location of max. log-error between p&q % % % % Copyright (C) 2003 Alexander Ihler; distributable under GPL -- see README.txt start = [getPoints(p),getPoints(q)]; tol=1e-4; % set tolerance values etc. max_it=1000; minDistance = 1e-2; ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
klGrad.m
.m
MultiviewAppearanceTracker-master/lib/@kde/klGrad.m
3,382
utf_8
6061ba6101e34870ce76b5bad2da6097
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % [err1,err2]=klGrad(dens1,dens2,estType) % Compute gradient of a KL-divergence estimate, D(dens1 || dens2); % estType is one of: % ise : integrated squared error from uniform estimate (not yet implemented) % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
reduce.m
.m
MultiviewAppearanceTracker-master/lib/@kde/reduce.m
8,009
utf_8
5d3b50cda6be10c92128197ef2e28b74
function [q,o2,o3] = reduce(p,type,varargin) % % q = reduce(p,'type',[options]) -- "Reduce" a KDE, so that it requires fewer % kernels but has similar representative power (better than just resampling) % % 'type' is one of: % 'mscale' -- "Multiscale data condensation" method of Mitra et al. PAMI '02 % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
encode.m
.m
MultiviewAppearanceTracker-master/lib/@kde/encode.m
2,845
utf_8
a122889765f9743426006390803a8ded
function C = encode(p,R) % % Compute vector of transmit costs for each stage of the KD-tree % N = getNpts(p); bw = getBW(p,1); if (size(p.bandwidth,2) > 2*N) error('Encoding of variable bandwidths not yet supported...'); end; if (any( abs(getWeights(p) - 1/N) > 2*eps )) error('Encoding of variable weights not ye...
github
santhosh-kumar/MultiviewAppearanceTracker-master
evalFGT.m
.m
MultiviewAppearanceTracker-master/lib/@kde/evalFGT.m
6,928
utf_8
ea5f34be8bac0228188768426a5c0bde
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % evalIFGT Evaluate the density estimate using the (original) Fast Gauss Transform % % [e,b] = evalFGT(X,Y,N [,Nc,rC]) -- eval likelihood ("e") of the points Y under % the density estimate X using N coeffic...
github
santhosh-kumar/MultiviewAppearanceTracker-master
ksize.m
.m
MultiviewAppearanceTracker-master/lib/@kde/ksize.m
4,999
utf_8
cc58ac2721b998a18def3388ce16dc98
function npd = ksize(npd,type,varargin) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % KSIZE Find optimal kernel size for kernel density estimates % % Q=KSIZE(P) returns a KDE with the same points and type as "P", but whose % bandwidth has been determined by one of ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
prodSampleImportGauss.m
.m
MultiviewAppearanceTracker-master/lib/@kde/private/prodSampleImportGauss.m
1,977
utf_8
3db8a195988c137f702d1a0324c1cc68
function [ptsS, wtsS] = prodSampleImportGaussian(npds,Npts,anFns,anParams,overSamp,type) % % Gaussian-approximation-based importance sampling (private function) % % See Ihler,Sudderth,Freeman,&Willsky, "Efficient multiscale sampling from products % of Gaussian mixtures", in Proc. Neural Information Proces...
github
santhosh-kumar/MultiviewAppearanceTracker-master
randKernel.m
.m
MultiviewAppearanceTracker-master/lib/@kde/private/randKernel.m
1,689
utf_8
aa78a3f09fb2be65647c3960caa3db3f
function samples = randKernel(N,M,type) % % samples = randKernel(N,M,type) -- Draw samples from a kernel of the % given type, with bandwidth 1; for bw!=1, % eg bw=getBW(dens,ind), use B.*randKernel(N,M,type) % % Copyright (C) 2003 Alexander Ihler; distributable und...
github
santhosh-kumar/MultiviewAppearanceTracker-master
reduceSolveM.m
.m
MultiviewAppearanceTracker-master/lib/@kde/private/reduceSolveM.m
13,387
utf_8
3a1291074803b254aa65ad998cd89a2f
% % Internal routines for solving the quadratic minimization problem % occurring for "reduced set density estimation" (RSDE) % implemented by the function "@kde/reduce.m" % % Code by (a) Chao He and Mark Girolami (SMO, Mult) % (b) Yinyu Ye (QP) % function alpha = reduceSolve(Q,D,type) switch(type) c...
github
santhosh-kumar/MultiviewAppearanceTracker-master
ksizeLSCV.m
.m
MultiviewAppearanceTracker-master/lib/@kde/private/ksizeLSCV.m
1,124
utf_8
655871b6248384de32bb43946219d78f
function h = ksizeLSCV(npd) % "Least-Squares Cross Validation" estimate (Silverman) % % Copyright (C) 2005 Alexander Ihler; distributable under GPL -- see README.txt % hROT = ksizeROT(npd); % npd = kde(getPoints(npd),hROT,getWeights(npd),getType(npd)); % h = golden(npd,@nLSCV,.1,1,30,1e-2); % h = h * hROT; [m...
github
santhosh-kumar/MultiviewAppearanceTracker-master
reduceKD.m
.m
MultiviewAppearanceTracker-master/lib/@kde/private/reduceKD.m
3,536
utf_8
64e442e25ac5fe30874c408a16385e0f
function [q,e,c]=reduceKD(p,varargin) % KD-tree based density reduction method of Ihler et al, 2004. % costType = 'kld'; maxCost = .01; costs = ones(1,2*getNpts(p)); % cost-matrix in terms of # components for i=1:length(varargin) if (isa(varargin{i},'char')), costType = varargin{i}; end; if (isa(varargin{i...
github
santhosh-kumar/MultiviewAppearanceTracker-master
ksizeHall.m
.m
MultiviewAppearanceTracker-master/lib/@kde/private/ksizeHall.m
3,035
utf_8
c5314c96ba500c8f5f1a37c6a859eaac
function h = ksizeHall(npd) % % Find kernel size according to "plug-in" method of % Hall, Marron, Sheather, Jones (91) % % % Copyright (C) 2003 Alexander Ihler; distributable under GPL -- see README.txt x = getPoints(npd); [N1,N2] = size(x); sig = std(x,0,2); % estimate sigma (standard...
github
santhosh-kumar/MultiviewAppearanceTracker-master
reduceKD2.m
.m
MultiviewAppearanceTracker-master/lib/@kde/private/reduceKD2.m
2,015
utf_8
dd67a8f3df4e3759d5d0878fc7bee42e
function q=reduceKD(p,maxCost,costType) if (nargin < 3) costType = 1; end; % "max" cost if (nargin < 2) maxCost = round(getNpts(p)/10); end; bw = getBW(p,1); out = kde(mean(p),3*covar(p)); outW = .999; N = getNpts(p); ind = [1]; done = []; eC=zeros(1,2*N); eC(1) = cost(p,1,bw,out,outW,costType); done = ind; ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
ksizeCalcUseful.m
.m
MultiviewAppearanceTracker-master/lib/@kde/private/ksizeCalcUseful.m
2,075
utf_8
cf1830a47aafdbd7969c237259045a20
function ksizeCalcUseful % % ksizeCalcUseful % -- find some useful numbers for the various kernels % % % Kernel size calculations for Rule of Thumb, Maximal Smoothing Principle % Assume that true density f is Gaussian (or whatever) % and find h_\infty = BW minimizing AMISE (Asymp. Mean Squared Err) % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_compile.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/vl_compile.m
5,060
utf_8
978f5189bb9b2a16db3368891f79aaa6
function vl_compile(compiler) % VL_COMPILE Compile VLFeat MEX files % VL_COMPILE() uses MEX() to compile VLFeat MEX files. This command % works only under Windows and is used to re-build problematic % binaries. The preferred method of compiling VLFeat on both UNIX % and Windows is through the provided Makefile...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_noprefix.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/vl_noprefix.m
1,875
utf_8
97d8755f0ba139ac1304bc423d3d86d3
function vl_noprefix % VL_NOPREFIX Create a prefix-less version of VLFeat commands % VL_NOPREFIX() creats prefix-less stubs for VLFeat functions % (e.g. SIFT for VL_SIFT). This function is seldom used as the stubs % are included in the VLFeat binary distribution anyways. Moreover, % on UNIX platforms, the stub...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_override.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/misc/vl_override.m
4,654
utf_8
e233d2ecaeb68f56034a976060c594c5
function config = vl_override(config,update,varargin) % VL_OVERRIDE Override structure subset % CONFIG = VL_OVERRIDE(CONFIG, UPDATE) copies recursively the fileds % of the structure UPDATE to the corresponding fields of the % struture CONFIG. % % Usually CONFIG is interpreted as a list of paramters with their ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_quickvis.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/quickshift/vl_quickvis.m
3,696
utf_8
27f199dad4c5b9c192a5dd3abc59f9da
function [Iedge dists map gaps] = vl_quickvis(I, ratio, kernelsize, maxdist, maxcuts) % VL_QUICKVIS Create an edge image from a Quickshift segmentation. % IEDGE = VL_QUICKVIS(I, RATIO, KERNELSIZE, MAXDIST, MAXCUTS) creates an edge % stability image from a Quickshift segmentation. RATIO controls the tradeoff % bet...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_demo_aib.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/demo/vl_demo_aib.m
2,928
utf_8
590c6db09451ea608d87bfd094662cac
function vl_demo_aib % VL_DEMO_AIB Test Agglomerative Information Bottleneck (AIB) D = 4 ; K = 20 ; randn('state',0) ; rand('state',0) ; X1 = randn(2,300) ; X1(1,:) = X1(1,:) + 2 ; X2 = randn(2,300) ; X2(1,:) = X2(1,:) - 2 ; X3 = randn(2,300) ; X3(2,:) = X3(2,:) + 2 ; figure(1) ; clf ; hold on ; vl_plotframe(X...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_demo_alldist.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/demo/vl_demo_alldist.m
5,460
utf_8
6d008a64d93445b9d7199b55d58db7eb
function vl_demo_alldist % numRepetitions = 3 ; numDimensions = 1000 ; numSamplesRange = [300] ; settingsRange = {{'alldist2', 'double', 'l2', }, ... {'alldist', 'double', 'l2', 'nosimd'}, ... {'alldist', 'double', 'l2' }, ... {'alldist2', 's...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_demo_kdtree_sift.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/demo/vl_demo_kdtree_sift.m
6,822
utf_8
191589ff45e0f5cdb79b1eed1b1bb906
function vl_demo_kdtree_sift % VL_DEMO_KDTREE_SIFT % Demonstrates the use of a kd-tree forest to match SIFT % features. If FLANN is present, this function runs a comparison % against it. % AUTORIGHS rand('state',0) ; randn('state',0); do_median = 0 ; do_mean = 1 ; % try to setup flann if ~exist('flann_search'...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_tpsu.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/imop/vl_tpsu.m
1,755
utf_8
09f36e1a707c069b375eb2817d0e5f13
function [U,dU,delta]=vl_tpsu(X,Y) % VL_TPSU Compute the U matrix of a thin-plate spline transformation % U=VL_TPSU(X,Y) returns the matrix % % [ U(|X(:,1) - Y(:,1)|) ... U(|X(:,1) - Y(:,N)|) ] % [ ] % [ U(|X(:,M) - Y(:,1)|) ... U(|X(:,M) - Y(:,N)|) ] % % where X...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_xyz2lab.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/imop/vl_xyz2lab.m
1,570
utf_8
09f95a6f9ae19c22486ec1157357f0e3
function J=vl_xyz2lab(I,il) % VL_XYZ2LAB Convert XYZ color space to LAB % J = VL_XYZ2LAB(I) converts the image from XYZ format to LAB format. % % VL_XYZ2LAB(I,IL) uses one of the illuminants A, B, C, E, D50, D55, % D65, D75, D93. The default illuminatn is E. % % See also: VL_XYZ2LUV(), VL_HELP(). % Copyright ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_twister.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_twister.m
1,162
utf_8
1ae9040a416db503ad73600f081d096b
function results = vl_test_twister(varargin) % VL_TEST_TWISTER vl_test_init ; function test_illegal_args() vl_assert_exception(@() vl_twister(-1), 'vl:invalidArgument') ; vl_assert_exception(@() vl_twister(1, -1), 'vl:invalidArgument') ; vl_assert_exception(@() vl_twister([1, -1]), 'vl:invalidArgument') ; function te...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_kdtree.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_kdtree.m
2,448
utf_8
66f429ff8286089a34c193d7d3f9f016
function results = vl_test_kdtree(varargin) % VL_TEST_KDTREE vl_test_init ; function s = setup() randn('state',0) ; s.X = single(randn(10, 1000)) ; s.Q = single(randn(10, 10)) ; function test_nearest(s) for tmethod = {'median', 'mean'} for type = {@single, @double} conv = type{1} ; tmethod = char(tmethod) ;...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_imwbackward.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_imwbackward.m
514
utf_8
33baa0784c8f6f785a2951d7f1b49199
function results = vl_test_imwbackward(varargin) % VL_TEST_IMWBACKWARD vl_test_init ; function s = setup() s.I = im2double(imread(fullfile(vl_root,'data','spots.jpg'))) ; function test_identity(s) xr = 1:size(s.I,2) ; yr = 1:size(s.I,1) ; [x,y] = meshgrid(xr,yr) ; vl_assert_almost_equal(s.I, vl_imwbackward(xr,yr,s.I,...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_pegasos.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_pegasos.m
2,852
utf_8
45a09a3bfefa3facd439fefbb7f1a903
function results = vl_test_pegasos(varargin) % VL_TEST_KDTREE vl_test_init ; function s = setup() randn('state',0) ; s.biasMultiplier = 10 ; s.lambda = 0.01 ; Np = 10 ; Nn = 10 ; Xp = diag([1 3])*randn(2, Np) ; Xn = diag([1 3])*randn(2, Nn) ; Xp(1,:) = Xp(1,:) + 2 + 1 ; Xn(1,:) = Xn(1,:) - 2 + 1 ; s.X = [Xp Xn] ; s...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_alphanum.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_alphanum.m
1,624
utf_8
2da2b768c2d0f86d699b8f31614aa424
function results = vl_test_alphanum(varargin) % VL_TEST_ALPHANUM vl_test_init ; function s = setup() s.strings = ... {'1000X Radonius Maximus','10X Radonius','200X Radonius','20X Radonius','20X Radonius Prime','30X Radonius','40X Radonius','Allegia 50 Clasteron','Allegia 500 Clasteron','Allegia 50B Clasteron','Al...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_imintegral.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_imintegral.m
1,429
utf_8
4750f04ab0ac9fc4f55df2c8583e5498
function results = vl_test_imintegral(varargin) % VL_TEST_IMINTEGRAL vl_test_init ; function state = setup() state.I = ones(5,6) ; state.correct = [ 1 2 3 4 5 6 ; 2 4 6 8 10 12 ; 3 6 9 12 15 18 ; 4 8 12 ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_sift.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_sift.m
1,318
utf_8
806c61f9db9f2ebb1d649c9bfcf3dc0a
function results = vl_test_sift(varargin) % VL_TEST_SIFT vl_test_init ; function s = setup() s.I = im2single(imread(fullfile(vl_root,'data','box.pgm'))) ; [s.ubc.f, s.ubc.d] = ... vl_ubcread(fullfile(vl_root,'data','box.sift')) ; function test_ubc_descriptor(s) err = [] ; [f, d] = vl_sift(s.I,... ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_binsum.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_binsum.m
1,301
utf_8
5bbd389cbc4d997e413d809fe4efda6d
function results = vl_test_binsum(varargin) % VL_TEST_BINSUM vl_test_init ; function test_three_args() vl_assert_almost_equal(... vl_binsum([0 0], 1, 2), [0 1]) ; vl_assert_almost_equal(... vl_binsum([1 7], -1, 1), [0 7]) ; vl_assert_almost_equal(... vl_binsum([1 7], -1, [1 2 2 2 2 2 2 2]), [0 0]) ; function te...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_lbp.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_lbp.m
1,056
utf_8
3b5cca50109af84014e56a4280a3352a
function results = vl_test_lbp(varargin) % VL_TEST_TWISTER vl_test_init ; function test_one_on() I = {} ; I{1} = [0 0 0 ; 0 0 1 ; 0 0 0] ; I{2} = [0 0 0 ; 0 0 0 ; 0 0 1] ; I{3} = [0 0 0 ; 0 0 0 ; 0 1 0] ; I{4} = [0 0 0 ; 0 0 0 ; 1 0 0] ; I{5} = [0 0 0 ; 1 0 0 ; 0 0 0] ; I{6} = [1 0 0 ; 0 0 0 ; 0 0 0] ; I{7} = [0 1 0 ;...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_colsubset.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_colsubset.m
828
utf_8
be0c080007445b36333b863326fb0f15
function results = vl_test_colsubset(varargin) % VL_TEST_COLSUBSET vl_test_init ; function s = setup() s.x = [5 2 3 6 4 7 1 9 8 0] ; function test_beginning(s) vl_assert_equal(1:5, vl_colsubset(1:10, 5, 'beginning')) ; vl_assert_equal(1:5, vl_colsubset(1:10, .5, 'beginning')) ; function test_ending(s) vl_assert_equa...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_alldist.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_alldist.m
2,373
utf_8
9ea1a36c97fe715dfa2b8693876808ff
function results = vl_test_alldist(varargin) % VL_TEST_ALLDIST vl_test_init ; function s = setup() vl_twister('state', 0) ; s.X = 3.1 * vl_twister(10,10) ; s.Y = 4.7 * vl_twister(10,7) ; function test_null_args(s) vl_assert_equal(... vl_alldist(zeros(15,12), zeros(15,0), 'kl2'), ... zeros(12,0)) ; vl_assert_equa...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_grad.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_grad.m
434
utf_8
4d03eb33a6a4f68659f868da95930ffb
function results = vl_test_grad(varargin) % VL_TEST_GRAD vl_test_init ; function s = setup() s.I = rand(150,253) ; s.I_small = rand(2,2) ; function test_equiv(s) vl_assert_equal(gradient(s.I), vl_grad(s.I)) ; function test_equiv_small(s) vl_assert_equal(gradient(s.I_small), vl_grad(s.I_small)) ; function test_equiv...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_whistc.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_whistc.m
1,384
utf_8
81c446d35c82957659840ab2a579ec2c
function results = vl_test_whistc(varargin) % VL_TEST_WHISTC vl_test_init ; function test_acc() x = ones(1, 10) ; e = 1 ; o = 1:10 ; vl_assert_equal(vl_whistc(x, o, e), 55) ; function test_basic() x = 1:10 ; e = 1:10 ; o = ones(1, 10) ; vl_assert_equal(histc(x, e), vl_whistc(x, o, e)) ; x = linspace(-1,11,100) ; o =...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_dsift.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_dsift.m
2,048
utf_8
fbbfb16d5a21936c1862d9551f657ccc
function results = vl_test_dsift(varargin) % VL_TEST_DSIFT vl_test_init ; function s = setup() I = im2double(imread(fullfile(vl_root,'data','spots.jpg'))) ; s.I = rgb2gray(single(I)) ; function test_fast_slow(s) binSize = 4 ; % bin size in pixels magnif = 3 ; % bin size / keypoint scale scale = binSize...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_imsmooth.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_imsmooth.m
1,837
utf_8
718235242cad61c9804ba5e881c22f59
function results = vl_test_imsmooth(varargin) % VL_TEST_IMSMOOTH vl_test_init ; function s = setup() I = im2double(imread(fullfile(vl_root,'data','spots.jpg'))) ; I = max(min(vl_imdown(I),1),0) ; s.I = single(I) ; function test_pad_by_continuity(s) % Convolving a constant signal padded with continuity does not change...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_phow.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_phow.m
549
utf_8
f761a3bb218af855986263c67b2da411
function results = vl_test_phow(varargin) % VL_TEST_PHOPW vl_test_init ; function s = setup() s.I = im2double(imread(fullfile(vl_root,'data','spots.jpg'))) ; s.I = single(s.I) ; function test_gray(s) [f,d] = vl_phow(s.I, 'color', 'gray') ; assert(size(d,1) == 128) ; function test_rgb(s) [f,d] = vl_phow(s.I, 'color',...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_kmeans.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_kmeans.m
2,788
utf_8
14374b7dbae832fc3509e02caf00cdf5
function results = vl_test_kmeans(varargin) % VL_TEST_KMEANS % Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson. % All rights reserved. % % This file is part of the VLFeat library and is made available under % the terms of the BSD license (see the COPYING file). vl_test_init ; function s = setup() randn('sta...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_imarray.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_imarray.m
795
utf_8
c5e6a5aa8c2e63e248814f5bd89832a8
function results = vl_test_imarray(varargin) % VL_TEST_IMARRAY vl_test_init ; function test_movie_rgb(s) A = rand(23,15,3,4) ; B = vl_imarray(A,'movie',true) ; function test_movie_indexed(s) cmap = get(0,'DefaultFigureColormap') ; A = uint8(size(cmap,1)*rand(23,15,4)) ; A = min(A,size(cmap,1)-1) ; B = vl_imarray(A,'m...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_homkermap.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_homkermap.m
1,903
utf_8
c157052bf4213793a961bde1f73fb307
function results = vl_test_homkermap(varargin) % VL_TEST_HOMKERMAP vl_test_init ; function check_ker(ker, n, window, period) args = {n, ker, 'window', window} ; if nargin > 3 args = {args{:}, 'period', period} ; end x = [-1 -.5 0 .5 1] ; y = linspace(0,2,100) ; for conv = {@single, @double} x = feval(conv{1}, x) ;...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_slic.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_slic.m
229
utf_8
42c827b383cca74cae2540e5da870bbf
function results = vl_test_slic(varargin) % VL_TEST_SLIC vl_test_init ; function s = setup() s.im = im2single(imread(fullfile(vl_root,'data','a.jpg'))) ; function test_slic(s) segmentation = vl_slic(s.im, 10, 0.1, 'verbose') ;
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_imdisttf.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_imdisttf.m
1,885
utf_8
ae921197988abeb984cbcdf9eaf80e77
function results = vl_test_imdisttf(varargin) % VL_TEST_DISTTF vl_test_init ; function test_basic() for conv = {@single, @double} conv = conv{1} ; I = conv([0 0 0 ; 0 -2 0 ; 0 0 0]) ; D = vl_imdisttf(I); assert(isequal(D, conv(- [0 1 0 ; 1 2 1 ; 0 1 0]))) ; I(2,2) = -3 ; [D,map] = vl_imdisttf(I) ; asse...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_argparse.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_argparse.m
795
utf_8
e72185b27206d0ee1dfdc19fe77a5be6
function results = vl_test_argparse(varargin) % VL_TEST_ARGPARSE vl_test_init ; function test_basic() opts.field1 = 1 ; opts.field2 = 2 ; opts.field3 = 3 ; opts_ = opts ; opts_.field1 = 3 ; opts_.field2 = 10 ; opts = vl_argparse(opts, {'field2', 10, 'field1', 3}) ; assert(isequal(opts, opts_)) ; opts_.field1 = 9 ; ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_test_binsearch.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/xtest/vl_test_binsearch.m
1,339
utf_8
85dc020adce3f228fe7dfb24cf3acc63
function results = vl_test_binsearch(varargin) % VL_TEST_BINSEARCH vl_test_init ; function test_inf_bins() x = [-inf -1 0 1 +inf] ; vl_assert_equal(vl_binsearch([], x), [0 0 0 0 0]) ; vl_assert_equal(vl_binsearch([-inf 0], x), [1 1 2 2 2]) ; vl_assert_equal(vl_binsearch([-inf], x), [1 1 1 1 1]) ; vl_a...
github
santhosh-kumar/MultiviewAppearanceTracker-master
vl_plotframe.m
.m
MultiviewAppearanceTracker-master/lib/vlfeat-0.9.14/toolbox/plotop/vl_plotframe.m
5,410
utf_8
8c48bac1c5d80dba361b67cd135103d9
function h=vl_plotframe(frames,varargin) % VL_PLOTFRAME Plot feature frame % VL_PLOTFRAME(FRAME) plots the frames FRAME. Frames are attributed % image regions (as, for example, extracted by a feature detector). A % frame is a vector of D=2,3,..,6 real numbers, depending on its % class. VL_PLOTFRAME() supports the...