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
pcaApply.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/classify/pcaApply.m
3,472
utf_8
6c900a4827e7901fb6d4a39bd29456af
function varargout = pcaApply( X, U, mu, k ) % Companion function to pca. % % Use pca.m to retrieve the principal components U and the mean mu from a % set of vectors x, then use pcaApply to get the first k coefficients of % x in the space spanned by the columns of U. See pca for general usage. % % If x is large...
github
santhosh-kumar/MultiviewAppearanceTracker-master
clfEcoc.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/classify/clfEcoc.m
1,539
utf_8
3cb7110d53d7eefcca505365b078fe8e
function clf = clfEcoc(p,clfInit,clfparams,nclasses,use01targets) % Wrapper for ecoc that makes ecoc compatible with nfoldxval. % % Requires the SVM toolbox by Anton Schwaighofer. % % USAGE % clf = clfEcoc(p,clfInit,clfparams,nclasses,use01targets) % % INPUTS % p - data dimension % clfInit ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
rbfDemo.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/classify/rbfDemo.m
3,081
utf_8
c4eade9c74cfd2c1010c1d31188084f0
function rbfDemo( dataType, noiseSig, scale, k, cluster, show ) % Demonstration of rbf networks for regression. % % See rbfComputeBasis for discussion of rbfs. % % USAGE % rbfDemo( dataType, noiseSig, scale, k, cluster, show ) % % INPUTS % dataType - 0: 1D sinusoid % 1: 2D sinusoid % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
pdist2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/classify/pdist2.m
5,080
utf_8
1c7a32b8f1c45611ffb7606ce56c08db
function D = pdist2( X, Y, metric ) % Calculates the distance between sets of vectors. % % Let X be an m-by-p matrix representing m points in p-dimensional space % and Y be an n-by-p matrix representing another set of points in the same % space. This function computes the m-by-n distance matrix D where D(i,j) % i...
github
santhosh-kumar/MultiviewAppearanceTracker-master
kmeans2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/classify/kmeans2.m
5,325
utf_8
18fc468664aacfab9fa968c39309ff89
function [ IDX, C, d ] = kmeans2( X, k, prm ) % Fast version of kmeans clustering. % % Cluster the N x p matrix X into k clusters using the kmeans algorithm. It % returns the cluster memberships for each data point in the N x 1 vector % IDX and the K x p matrix of cluster means in C. % % This function is in some...
github
santhosh-kumar/MultiviewAppearanceTracker-master
imwrite2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/imwrite2.m
5,302
utf_8
0fe604d2406963a870d7d6dd1736967f
function I = imwrite2( I, mulFlag, imagei, path, ... name, ext, nDigits, nSplits, spliti, varargin ) % Similar to imwrite, except follows a strict naming convention. % % Wrapper for imwrite that writes file to the filename: % fName = [path name int2str2(i,nDigits) '.' ext]; % Using imwrite: % imwrite( I, fNa...
github
santhosh-kumar/MultiviewAppearanceTracker-master
convnFast.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/convnFast.m
8,875
utf_8
256cecc091597975036db98cd97776b6
function C = convnFast( A, B, shape ) % Fast convolution, replacement for both conv2 and convn. % % See conv2 or convn for more information on convolution in general. % % This works as a replacement for both conv2 and convn. Basically, % performs convolution in either the frequency or spatial domain, depending ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
imMlGauss.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/imMlGauss.m
5,891
utf_8
b9556a21eb938fce1ce42c5f5fca3c57
function varargout = imMlGauss( G, symmFlag, show ) % Calculates max likelihood params of Gaussian that gave rise to image G. % % Suppose G contains an image of a gaussian distribution. One way to % recover the parameters of the gaussian is to threshold the image, and % then estimate the mean/covariance based on ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
optFlowCorr.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/optFlowCorr.m
5,283
utf_8
37cdb4073aee1ab32d9d3b5e5cd13da1
function [Vx,Vy,reliab] = optFlowCorr( I1, I2, patchR, searchR, ... sigma, thr, show ) % Calculate optical flow using cross-correlation. % % Calculate optical flow using correlation, followed by lucas & kanade on % aligned squares for subpixel accuracy. Locally, the closest patch within % some search radius is...
github
santhosh-kumar/MultiviewAppearanceTracker-master
optFlowHorn.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/optFlowHorn.m
2,429
utf_8
3c1e2ef9ac6dcb36496491535ee4f278
function [Vx,Vy] = optFlowHorn( I1, I2, sigma, show ) % Calculate optical flow using Horn & Schunck. % % USAGE % [Vx,Vy] = optFlowHorn( I1, I2, [sigma], [show] ) % % INPUTS % I1, I2 - input images to calculate flow between % sigma - [1] amount to smooth by (may be 0) % show - [0] figure t...
github
santhosh-kumar/MultiviewAppearanceTracker-master
montage2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/montage2.m
7,765
utf_8
1e2747571d30ca97f555c85db994944a
function varargout = montage2( IS, prm ) % Used to display collections of images and videos. % % Improved version of montage, with more control over display. % NOTE: Can convert between MxNxT and MxNx3xT image stack via: % I = repmat( I, [1,1,1,3] ); I = permute(I, [1,2,4,3] ); % % USAGE % varargout = montag...
github
santhosh-kumar/MultiviewAppearanceTracker-master
jitterImage.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/jitterImage.m
7,402
utf_8
985e9abd0754aaf9497b351544c058b0
function IJ = jitterImage( I, nphis, maxphi, ntrans, maxtrans, ... jsiz, reflFlag, scales ) % Creates multiple, slightly jittered versions of an image. % % Takes an image I, and generates a number of images that are copies of the % original image with slight translation and rotation applied. The % original ima...
github
santhosh-kumar/MultiviewAppearanceTracker-master
movieToImages.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/movieToImages.m
979
utf_8
8b5c10dcbf510082131494773d97bbd4
function I = movieToImages( M ) % Creates a stack of images from a matlab movie M. % % Repeatedly calls frame2im. Useful for playback with playMovie. % % USAGE % I = movieToImages( M ) % % INPUTS % M - a matlab movie % % OUTPUTS % I - MxNxT array (of images) % % EXAMPLE % load( 'images.mat' ); [...
github
santhosh-kumar/MultiviewAppearanceTracker-master
seqWriterPlugin.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/seqWriterPlugin.m
7,574
utf_8
00d3729a9e046a0ab46648a61c09c121
function varargout = seqWriterPlugin( cmd, h, varargin ) % Plugin for seqIo and videoIO to allow writing of seq files. % % Do not call directly, use as plugin for seqIo or videoIO instead. % The following is a list of commands available (swp=seqWriterPlugin): % h=swp('open',h,fName,info) % Open a seq file for wri...
github
santhosh-kumar/MultiviewAppearanceTracker-master
imtransform2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/imtransform2.m
5,320
utf_8
17734da271e1cc17a6b42299a17c8e8c
function IR = imtransform2( I, varargin ) % Applies a general/special homography on an image I % % Takes the center of the image as the origin, not the top left corner. % Also, the coordinate system is row/column format, so H must be also. % % The bounding box of the image is set by the BBOX argument, a string th...
github
santhosh-kumar/MultiviewAppearanceTracker-master
kernelTracker.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/kernelTracker.m
9,801
utf_8
de5cc5c9a694d6fa99593d3ca1ea00f4
function [allRct, allSim, allIc] = kernelTracker( I, prm ) % Kernel Tracker from Comaniciu, Ramesh and Meer PAMI 2003. % % Implements the algorithm described in "Kernel-Based Object Tracking" by % Dorin Comaniciu, Visvanathan Ramesh and Peter Meer, PAMI 25, 564-577, % 2003. This is a fast tracking algorithm that ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
seqReaderPlugin.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/seqReaderPlugin.m
8,693
utf_8
1c032f7cf4319bb0f202014219a97e2b
function varargout = seqReaderPlugin( cmd, h, varargin ) % Plugin for seqIo and videoIO to allow reading of seq files. % % Do not call directly, use as plugin for seqIo or videoIO instead. % The following is a list of commands available (srp=seqReaderPlugin): % h = srp('open',h,fName) % Open a seq file for rea...
github
santhosh-kumar/MultiviewAppearanceTracker-master
bbGt.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/bbGt.m
30,680
utf_8
76b1b3226fe3e590d8fd1feb5b227704
function varargout = bbGt( action, varargin ) % Bounding box (bb) annotations struct, evaluation and sampling routines. % % bbGt gives acces to three types of routines: % (1) Data structure for storing bb image annotations. % (2) Routines for evaluating the Pascal criteria for object detection. % (3) Routines for...
github
santhosh-kumar/MultiviewAppearanceTracker-master
bbApply.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/images/bbApply.m
18,588
utf_8
28ac0d16568f7e9b458cde02ee2dcb2c
function varargout = bbApply( action, varargin ) % Functions for manipulating bounding boxes (bb). % % A bounding box (bb) is also known as a position vector or a rectangle % object. It is a four element vector with the fields: [x y w h]. A set of % n bbs can be stores as an [nx4] array, most funcitons below can h...
github
santhosh-kumar/MultiviewAppearanceTracker-master
toolboxUpdateHeader.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/toolboxUpdateHeader.m
3,071
utf_8
4b158e136af22af7f26984caefd58d77
function toolboxUpdateHeader % Update the headers of all the files. % % Must start in /toolbox base directory % % USAGE % toolboxUpdateHeader % % INPUTS % % OUTPUTS % % EXAMPLE % % See also % % Piotr's Image&Video Toolbox Version 2.41 % Copyright 2009 Piotr Dollar. [pdollar-at-caltech.edu] % Pl...
github
santhosh-kumar/MultiviewAppearanceTracker-master
toolboxGenDoc.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/toolboxGenDoc.m
3,956
utf_8
7cc9a4bb77b15deda5931b0c3ff3cbf6
function toolboxGenDoc % Generate documentation, must run from dir toolbox. % % 1) Make sure to run toolboxUpdateHeader.m % 2) Update history.txt appropriately, including w current version % 3) Update overview.html file with the version/data/link to zip: % edit external/m2html/templates/frame-piotr/overview.h...
github
santhosh-kumar/MultiviewAppearanceTracker-master
toolboxHeader.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/toolboxHeader.m
2,508
utf_8
bdfab6d0c570f31ce43794ca5debb88b
function [y1,y2] = toolboxHeader( x1, x2, x3, prm ) % One line description of function (will appear in file summary). % % General commments explaining purpose of function [width is 75 % characters]. There may be multiple paragraphs. In special cases some or % all of these guidelines may need to be broken. % % Ne...
github
santhosh-kumar/MultiviewAppearanceTracker-master
demsvm2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/svm/demsvm2.m
11,186
utf_8
2d68238c12d17abf903b45e5f0f41ca6
function demsvm2() % DEMSVM2 - Demonstrate advanced Support Vector Machine features % % DEMSVM2 demonstrates the classification of a simple artificial data % set by a Support Vector Machine classifier. The features of the SVM % routines that make it useful for large data sets are shown. % % See also % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
svmtrain.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/svm/svmtrain.m
22,359
utf_8
76accfda8a8c589b49daf5d5dbae0c49
function net = svmtrain(net, X, Y, alpha0, dodisplay) % SVMTRAIN - Train a Support Vector Machine classifier % % NET = SVMTRAIN(NET, X, Y) % Train the SVM given by NET using the training data X with target values % Y. X is a matrix of size (N,NET.nin) with N training examples (one per % row). Y is a colum...
github
santhosh-kumar/MultiviewAppearanceTracker-master
demsvm1.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/svm/demsvm1.m
8,052
utf_8
5325891ea6a760e603461632fa1482b3
function demsvm1() % DEMSVM1 - Demonstrate basic Support Vector Machine classification % % DEMSVM1 demonstrates the classification of a simple artificial data % set by a Support Vector Machine classifier, using different kernel % functions. % % See also % SVM, SVMTRAIN, SVMFWD, SVMKERNEL, DEMSVM2 % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
mdot.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/m2html/mdot.m
2,516
utf_8
34a14428c433e118d1810e23f5a6caf5
function mdot(mmat, dotfile,f) %MDOT - Export a dependency graph into DOT language % MDOT(MMAT, DOTFILE) loads a .mat file generated by M2HTML using option % ('save','on') and writes an ascii file using the DOT language that can % be drawn using <dot> or <neato> . % MDOT(MMAT, DOTFILE,F) builds the graph containing...
github
santhosh-kumar/MultiviewAppearanceTracker-master
m2html.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/m2html/m2html.m
49,063
utf_8
472047b4c36a4f8b162012840e31b59b
function m2html(varargin) %M2HTML - Documentation Generator for Matlab M-files and Toolboxes in HTML % M2HTML by itself generates an HTML documentation of the Matlab M-files found % in the direct subdirectories of the current directory. HTML files are % written in a 'doc' directory (created if necessary). All the o...
github
santhosh-kumar/MultiviewAppearanceTracker-master
doxysearch.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/m2html/private/doxysearch.m
7,724
utf_8
8331cde8495f34b86aef8c18656b37f2
function result = doxysearch(query,filename) %DOXYSEARCH Search a query in a 'search.idx' file % RESULT = DOXYSEARCH(QUERY,FILENAME) looks for request QUERY % in FILENAME (Doxygen search.idx format) and returns a list of % files responding to the request in RESULT. % % See also DOXYREAD, DOXYWRITE % Copyright (C)...
github
santhosh-kumar/MultiviewAppearanceTracker-master
doxywrite.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/m2html/private/doxywrite.m
3,584
utf_8
3255d8f824957ebc173dde374d0f78af
function doxywrite(filename, kw, statinfo, docinfo) %DOXYWRITE Write a 'search.idx' file compatible with DOXYGEN % DOXYWRITE(FILENAME, KW, STATINFO, DOCINFO) writes file FILENAME % (Doxygen search.idx. format) using the cell array KW containing the % word list, the sparse matrix (nbword x nbfile) with non-null value...
github
santhosh-kumar/MultiviewAppearanceTracker-master
doxyread.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/m2html/private/doxyread.m
3,093
utf_8
3152e7d26bf7ac64118be56f72832a20
function [statlist, docinfo] = doxyread(filename) %DOXYREAD Read a 'search.idx' file generated by DOXYGEN % STATLIST = DOXYREAD(FILENAME) reads FILENAME (Doxygen search.idx % format) and returns the list of keywords STATLIST as a cell array. % [STATLIST, DOCINFO] = DOXYREAD(FILENAME) also returns a cell array % con...
github
santhosh-kumar/MultiviewAppearanceTracker-master
imwrite2split.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/imwrite2split.m
1,664
utf_8
8fa6eef9378b3b9aa633d6c096cd78f7
% Writes/reads a large set of images into/from multiple directories. % % This is useful since certain OS handle very large directories (of say % >20K images) rather poorly (I'm talking to you Bill). Thus, can take % 100K images, and write into 5 separate directories, then read them back % in. % % USAGE % I = ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
playmovies.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/playmovies.m
1,997
utf_8
6d94553879ed29dca7238d26459ec685
% [4D] shows R videos simultaneously as a movie. % % Plays a movie. % % USAGE % playmovies( I, [fps], [loop] ) % % INPUTS % I - MxNxTxR or MxNx1xTxR or MxNx3xTxR array (if MxNxT calls % playmovie) % fps - [100] maximum number of frames to display per second use % fps==0 to ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
pca_apply_large.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/pca_apply_large.m
2,132
utf_8
daf33ba3f73412c5d5b488d89b7cc495
% Wrapper for pca_apply that allows for application to large X. % % Wrapper for pca_apply that splits and processes X in parts, this may be % useful if processing cannot be done fully in parallel because of memory % constraints. See pca_apply for usage. % % USAGE % same as pca_apply % % INPUTS % same as pca...
github
santhosh-kumar/MultiviewAppearanceTracker-master
montages2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/montages2.m
2,335
utf_8
3ff14e5c538db6af4c9e1c99144d7c15
% MONTAGES2 [4D] Used to display R sets of T images each. % % Displays one montage (see montage2) per row. Each of the R image sets is % flattened to a single long image by concatenating the T images in the % set. Alternative to montages. % % USAGE % varargout = montages2( IS, [montage2prms], [padSiz] ) % % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
filter_gauss_1D.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/filter_gauss_1D.m
1,178
utf_8
42acb7f8ac4ce94b6dc1dabe1e51e313
% 1D Gaussian filter. % % Equivalent to (but faster then): % f = fspecial('Gaussian',[2*r+1,1],sigma); % f = filter_gauss_nD( 2*r+1, r+1, sigma^2 ); % % USAGE % f = filter_gauss_1D( r, sigma, [show] ) % % INPUTS % r - filter size=2r+1, if r=[] -> r=ceil(2.25*sigma) % sigma - standard deviation o...
github
santhosh-kumar/MultiviewAppearanceTracker-master
getargs.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/getargs.m
3,550
utf_8
b8ee235c28195894f0743b6cd00fd609
% Utility to process parameter name/value pairs. % % DEPRECATED -- ONLY USED BY KMEANS2? SHOULD BE REMOVED. % USE GETPARAMDEFAULTS INSTEAD. % % Based on code fromt Matlab Statistics Toolobox's "private/statgetargs.m" % % [EMSG,A,B,...]=GETARGS(PNAMES,DFLTS,'NAME1',VAL1,'NAME2',VAL2,...) % accepts a cell array ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
normxcorrn_fg.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/normxcorrn_fg.m
2,771
utf_8
c0817b10bbc5d1793efad5fa7b4932ac
% Normalized n-dimensional cross-correlation with a mask. % % Similar to normxcorrn, except takes an additional argument that specifies % a figure ground mask for the T. That is T_fg must be of the same % dimensions as T, with each entry being 0 or 1, where zero specifies % regions to ignore (the ground) and 1 sp...
github
santhosh-kumar/MultiviewAppearanceTracker-master
makemovie.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/makemovie.m
1,313
utf_8
7cadf737855cee5cb9a336e1204773c4
% [3D] Used to convert a stack of T images into a movie. % % To display same data statically use montage. % % USAGE % M = makemovies( IS ) % % INPUTS % IS - MxNxT or MxNx1xT or MxNx3xT array of movies. % % OUTPUTS % M - resulting movie % % EXAMPLE % load( 'images.mat' ); % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
localsum_block.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/localsum_block.m
845
utf_8
d420d188aa320337183491498c7cc483
% Calculates the sum in non-overlapping blocks of I of size dims. % % Similar to localsum except gets sum in non-overlapping windows. % Equivalent to doing localsum, and then subsampling (except more % efficient). % % USAGE % I = localsum_block( I, dims ) % % INPUTS % I - matrix to compute sum over %...
github
santhosh-kumar/MultiviewAppearanceTracker-master
imrotate2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/imrotate2.m
1,367
utf_8
21148eb1e941255d74de56b5cb8994b1
% Custom version of imrotate that demonstrates use of apply_homography. % % Works exactly the same as imrotate. For usage see imrotate. % % USAGE % IR = imrotate2( I, angle, [method], [bbox] ) % % INPUTS % I - 2D image [converted to double] % angle - angle to rotate in degrees % method - ['linea...
github
santhosh-kumar/MultiviewAppearanceTracker-master
imSubsResize.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/imSubsResize.m
1,379
utf_8
7bcc46113f2b8619d539a20ecb5a1835
% Resizes subs by resizVals. % % Resizes subs in subs/vals image representation by resizVals. % % This essentially replaces each sub by sub.*resizVals. The only subtlety % is that in images the leftmost sub value is .5, so for example when % resizing by a factor of 2, the first pixel is replaced by 2 pixels and ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
imtranslate.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/imtranslate.m
1,221
utf_8
8a46326f7c0b520a89e2c4a153118ec9
% Translate an image to subpixel accuracy. % % Note that for subplixel accuracy cannot use nearest neighbor interp. % % USAGE % IR = imtranslate( I, dx, dy, [method], [bbox] ) % % INPUTS % I - 2D image [converted to double] % dx - x translation (right) % dy - y translation (up) % method ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
randperm2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/randperm2.m
1,444
utf_8
b8dc96688b2afddb3bd486803d3847b5
% Returns a random permutation of integers. % % randperm2(n) is a random permutation of the integers from 1 to n. For % example, randperm2(6) might be [2 4 5 6 1 3]. randperm2(n,k) is only % returns the first k elements of the permuation, so for example % randperm2(6) might be [2 4]. This is a faster version of ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
apply_homography.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/apply_homography.m
3,676
utf_8
18c79558e14e422d02c755d8363c7460
% Applies the homography defined by H on the image I. % % Takes the center of the image as the origin, not the top left corner. % Also, the coordinate system is row/ column format, so H must be also. % % The bounding box of the image is set by the BBOX argument, a string that % can be 'loose' (default) or 'crop'....
github
santhosh-kumar/MultiviewAppearanceTracker-master
pca_apply.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/pca_apply.m
2,506
utf_8
4f38cdb1a3375943269e24dc6be6af65
% Companion function to pca. % % Use pca to retrieve the principal components U and the mean mu from a % set fo vectors X1 via [U,mu,vars] = pca(X1). Then given a new % vector x, use y = pca_apply( x, U, mu, vars, k ) to get the first k % coefficients of x in the space spanned by the columns of U. See pca for % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
mode2.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/deprecated/mode2.m
765
utf_8
f6b3681635cfe16059c5483214fb9814
% Returns the mode of a vector. % % Was mode not part of Matlab before? % % USAGE % y = mode2( x ) % % INPUTS % x - vector of integers % % OUTPUTS % y - mode % % EXAMPLE % x = randint2( 1, 10, [1 3] ) % mode(x), mode2( x ) % % See also MODE % Piotr's Image&Video Toolbox Version 1.5 % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
savefig.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/external/other/savefig.m
13,343
utf_8
5e55383fee448146f66f14d4c342b027
function savefig(fname, varargin) % Usage: savefig(filename, fighdl, options) % % Saves a pdf, eps, png, jpeg, and/or tiff of the contents of the fighandle's (or current) figure. % It saves an eps of the figure and the uses Ghostscript to convert to the other formats. % The result is a cropped, clean picture. There a...
github
santhosh-kumar/MultiviewAppearanceTracker-master
dirSynch.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/matlab/dirSynch.m
4,749
utf_8
8e959daf7125509e5d753828f89c5721
function dirSynch( root1, root2, showOnly, flag, ignDate ) % Synchronize two directory trees (or show differences between them). % % If a file or directory 'name' is found in both tree1 and tree2: % 1) if 'name' is a file in both the pair is considered the same if they % have identical size and identical date...
github
santhosh-kumar/MultiviewAppearanceTracker-master
plotRoc.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/matlab/plotRoc.m
4,745
utf_8
70f35f3a4a699b9b1a8dfcc07f266686
function [h,det] = plotRoc( D, varargin ) % Function for display of rocs (receiver operator characteristic curves). % % Displays nice clearly visible curves. Consistent usage ensures uniform % look for rocs. The input D should have n rows, each of which is of the % form [false-positive rate true-positive rate]. D ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
simpleCache.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/matlab/simpleCache.m
4,773
utf_8
bc0419795858dfe7124c77226c97ae49
function varargout = simpleCache( op, cache, varargin ) % A simple cache that can be used to store results of computations. % % Can save and retrieve arbitrary values using a vector (includnig char % vectors) as a key. Especially useful if a function must perform heavy % computation but is often called with the sa...
github
santhosh-kumar/MultiviewAppearanceTracker-master
tpsInterpolate.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/matlab/tpsInterpolate.m
1,749
utf_8
67b09e42630dbc49e4c0c1a6728b812f
function [xsR,ysR] = tpsInterpolate( warp, xs, ys, show ) % Apply warp (obtained by tpsGetWarp) to a set of new points. % % USAGE % [xsR,ysR] = tpsInterpolate( warp, xs, ys, [show] ) % % INPUTS % warp - [see tpsGetWarp] bookstein warping parameters % xs, ys - points to apply warp to % show - [1] ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
checkNumArgs.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/matlab/checkNumArgs.m
3,957
utf_8
09747b332bb38c3b649a390642f1db28
function [ x, er ] = checkNumArgs( x, siz, intFlag, signFlag ) % Helper utility for checking numeric vector arguments. % % Runs a number of tests on the numeric array x. Tests to see if x has all % integer values, all positive values, and so on, depending on the values % for intFlag and signFlag. Also tests to se...
github
santhosh-kumar/MultiviewAppearanceTracker-master
medfilt1m.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/filters/medfilt1m.m
3,127
utf_8
390d33d58293d54211aa7255c9b9e220
function y = medfilt1m( x, r, z ) % One-dimensional adaptive median filtering with missing values. % % Applies a width s=2*r+1 one-dimensional median filter to vector x, which % may contain missing values (elements equal to z). If x contains no % missing values, y(j) is set to the median of x(j-r:j+r). If x contai...
github
santhosh-kumar/MultiviewAppearanceTracker-master
FbMake.m
.m
MultiviewAppearanceTracker-master/lib/lib_dollar/filters/FbMake.m
6,951
utf_8
2234c44d8dfbcda481ec59a51fb396f3
function FB = FbMake( dim, flag, show ) % Various 1D/2D/3D filterbanks (hardcoded). % % USAGE % FB = FbMake( dim, flag, [show] ) % % INPUTS % dim - dimension % flag - controls type of filterbank to create % - if d==1 % 1: gabor filter bank for spatiotemporal stuff % - i...
github
santhosh-kumar/MultiviewAppearanceTracker-master
cellStr.m
.m
MultiviewAppearanceTracker-master/lib/fgm/lib/cell/cellStr.m
1,393
utf_8
8b6c9d8d50a317c431bf6fb4d0aec9dd
function str = cellStr(varargin) % Representing a cell array as a string. % % Input % varargin - set of cell array, 1 x m (cell) % % Output % str - string % % History % create - Feng Zhou (zhfe99@gmail.com), 11-18-2010 % modify - Feng Zhou (zhfe99@gmail.com), 02-14-2012 % dimension m = nargin;...
github
santhosh-kumar/MultiviewAppearanceTracker-master
equal.m
.m
MultiviewAppearanceTracker-master/lib/fgm/lib/basic/equal.m
3,386
utf_8
d84839b75f3007433ae615bc443849f0
function flag = equal(s, a, b, varargin) % Testify whether two objs are equal. % The obj can be 'numeric', 'cell', 'char' and 'struct'. % % Input % s - name % a - 1st obj % b - 2nd obj % varargin % pr - prompt flag, {'y'} | 'n' % % Output % flag - boolean flag % % History % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
psSv.m
.m
MultiviewAppearanceTracker-master/lib/fgm/lib/option/psSv.m
3,746
utf_8
941b7932e11c76610d131c291b575c76
function [svL, path, prex, fold, subx] = psSv(option, varargin) % Parse the save option and generate the output path. % The input have 5 parameters: % 'svL': save level, 0 | 1 | 2 % 0: do the algorithm every time and don't save % 1: do the algorithm every time but save the result % 2: d...
github
santhosh-kumar/MultiviewAppearanceTracker-master
fgm.m
.m
MultiviewAppearanceTracker-master/lib/fgm/src/asg/fgm/fgm.m
13,972
utf_8
1859ff9bde6c825b41498d088a26067c
function asg = fgm(KP, KQ, gphs, asgT, par) % Factorized graph matching. % % Reference % F. Zhou and F. De la Torre, "Factorized Graph Matching", in CVPR, 2012. % % Input % KP - node affinity matrix, n1 x n2 % KQ - edge affinity matrix, m1 x m2 % gphs - graphs, 1 x 2 (cell) % G -...
github
santhosh-kumar/MultiviewAppearanceTracker-master
conKnlGphK.m
.m
MultiviewAppearanceTracker-master/lib/fgm/src/asg/knl/conKnlGphK.m
1,293
utf_8
81dbc8a32d677f391e9b285444b666b5
function K = conKnlGphK(KP, KQ, gphs) % Compute the global affinity matrix for graph matching. % % Remark % nn = n1 x n2 % % Input % KP - node-node affinity, n1 x n2 % KQ - edge-edge affinity, m1 x m2 % gphs - graphs, 1 x 2 (cell) % % Output % K - affinity, nn x nn (sparse) % % History ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
cmumHuman.m
.m
MultiviewAppearanceTracker-master/lib/fgm/src/cmum/cmumHuman.m
1,145
utf_8
334453928594455e065fafacb8243e1c
function CMUM = cmumHuman % Load ground label file for CMU Motion sequence. % % Output % CMUM - a container % tag - sequence name % seg % cnames % % History % create - Feng Zhou (zhfe99@gmail.com), 12-29-2008 % modify - Feng Zhou (zhfe99@gmail.com), 10-09-2011 % specified in addPath.m gl...
github
santhosh-kumar/MultiviewAppearanceTracker-master
jdqr.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/jdqr.m
73,068
utf_8
b45810ddb5b2767c9289909175d1dc04
function varargout=jdqr(varargin) %JDQR computes a partial Schur decomposition of a square matrix or operator. % Lambda = JDQR(A) returns the absolute largest eigenvalues in a K vector % Lambda. Here K=min(5,N) (unless K has been specified), where N=size(A,1). % JDQR(A) (without output argument) displays the K eige...
github
santhosh-kumar/MultiviewAppearanceTracker-master
lmnn.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/lmnn.m
5,421
utf_8
8d5b80dee8cf8730a96c0c415c5876fc
function [M, L, Y, C] = lmnn(X, labels) %LMNN Learns a metric using large-margin nearest neighbor metric learning % % [M, L, Y, C] = lmnn(X, labels) % % The function uses large-margin nearest neighbor (LMNN) metric learning to % learn a metric on the data set specified by the NxD matrix X and the % corresponding Nx1 ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
d2p.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/d2p.m
3,487
utf_8
0c7024a8039ea16b937d283585883fc3
function [P, beta] = d2p(D, u, tol) %D2P Identifies appropriate sigma's to get kk NNs up to some tolerance % % [P, beta] = d2p(D, kk, tol) % % Identifies the required precision (= 1 / variance^2) to obtain a Gaussian % kernel with a certain uncertainty for every datapoint. The desired % uncertainty can be specified...
github
santhosh-kumar/MultiviewAppearanceTracker-master
cg_update.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/cg_update.m
3,715
utf_8
1556078ae7c31950ec738949384cf180
% Version 1.000 % % Code provided by Ruslan Salakhutdinov and Geoff Hinton % % Permission is granted for anyone to copy, use, modify, or distribute this % program and accompanying programs and documents for any purpose, provided % this copyright notice is retained and prominently displayed, along with % a note saying t...
github
santhosh-kumar/MultiviewAppearanceTracker-master
lmvu.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/lmvu.m
8,540
utf_8
c8003ed7ff0fd0e226776c42c72ad385
function [mappedX, mapping] = lmvu(X, no_dims, K, LL) %LMVU Performs Landmark MVU on dataset X % % [mappedX, mapping] = lmvu(X, no_dims, k1, k2) % % The function performs Landmark MVU on the DxN dataset X. The value of k1 % represents the number of nearest neighbors that is employed in the MVU % constraints. The val...
github
santhosh-kumar/MultiviewAppearanceTracker-master
cca.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/cca.m
14,846
utf_8
935e971ffe825a64e0eb80c535d71ebb
function [Z, ccaEigen, ccaDetails] = cca(X, Y, EDGES, OPTS) % % Function [Z, CCAEIGEN, CCADETAILS] = CCA(X, Y, EDGES, OPTS) computes a low % dimensional embedding Z in R^d that maximally preserves angles among input % data X that lives in R^D, with the algorithm Conformal Component Analysis. % % The embedding Z is co...
github
santhosh-kumar/MultiviewAppearanceTracker-master
x2p.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/x2p.m
3,597
utf_8
4a102e94922f4af38e36c374dccbc5a2
function [P, beta] = x2p(X, u, tol) %X2P Identifies appropriate sigma's to get kk NNs up to some tolerance % % [P, beta] = x2p(xx, kk, tol) % % Identifies the required precision (= 1 / variance^2) to obtain a Gaussian % kernel with a certain uncertainty for every datapoint. The desired % uncertainty can be specifie...
github
santhosh-kumar/MultiviewAppearanceTracker-master
sammon.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/sammon.m
7,108
utf_8
8a1fccbea9525bbebae4039127005ea6
function [y, E] = sammon(x, n, opts) %SAMMON Performs Sammon's MDS mapping on dataset X % % Y = SAMMON(X) applies Sammon's nonlinear mapping procedure on % multivariate data X, where each row represents a pattern and each column % represents a feature. On completion, Y contains the corresponding % co-ordin...
github
santhosh-kumar/MultiviewAppearanceTracker-master
sdecca2.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/sdecca2.m
7,185
utf_8
e53979561adda6a23883da0e72af5bf6
function [P, newY, L, newV, idx]= sdecca2(Y, snn, regularizer, relative) % doing semidefinitve embedding/MVU with output being parameterized by graph % laplacian's eigenfunctions.. % % the algorithm is same as conformal component analysis except that the scaling % factor there is set as 1 % % % function [P, newY, Y] ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
sparse_nn.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/sparse_nn.m
972
utf_8
df5da172f954ec2f53125a04787cf2d3
%SPARSE_NN % % This file is part of the Matlab Toolbox for Dimensionality Reduction. % The toolbox can be obtained from http://homepage.tudelft.nl/19j49 % You are free to use, change, or redistribute this code in any way you % want for non-commercial purposes. However, it is appreciated if you % maintain the name of ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
jdqz.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/techniques/jdqz.m
78,986
utf_8
be67a038982588a6ac9cbc2d36f009e8
function varargout=jdqz(varargin) %JDQZ computes a partial generalized Schur decomposition (or QZ % decomposition) of a pair of square matrices or operators. % % LAMBDA=JDQZ(A,B) and JDQZ(A,B) return K eigenvalues of the matrix pair % (A,B), where K=min(5,N) and N=size(A,1) if K has not been specified. % % [X,J...
github
santhosh-kumar/MultiviewAppearanceTracker-master
lnst.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/lnst.m
891
utf_8
93ca6136f90181897631256d58517558
% This file is part of the Matlab Toolbox for Dimensionality Reduction v0.7.2b. % The toolbox can be obtained from http://homepage.tudelft.nl/19j49 % You are free to use, change, or redistribute this code in any way you % want for non-commercial purposes. However, it is appreciated if you % maintain the name of th...
github
santhosh-kumar/MultiviewAppearanceTracker-master
scatter12n.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/scatter12n.m
1,348
utf_8
65c091a54cbbe59f0a7ddef27fcc2c3f
% This file is part of the Matlab Toolbox for Dimensionality Reduction v0.7.2b. % The toolbox can be obtained from http://homepage.tudelft.nl/19j49 % You are free to use, change, or redistribute this code in any way you % want for non-commercial purposes. However, it is appreciated if you % maintain the name of th...
github
santhosh-kumar/MultiviewAppearanceTracker-master
not_calculated.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/not_calculated.m
7,818
utf_8
07c7ebdd2ecb821df6d1b4ccd5f47662
function varargout = not_calculated(varargin) % NOT_CALCULATED M-file for not_calculated.fig % NOT_CALCULATED by itself, creates a new NOT_CALCULATED or raises the % existing singleton*. % % H = NOT_CALCULATED returns the handle to a new NOT_CALCULATED or the handle to % the existing singleton...
github
santhosh-kumar/MultiviewAppearanceTracker-master
choose_method.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/choose_method.m
5,483
utf_8
7fcb2ff0eb7f662fc75d652d9c440d65
function varargout = choose_method(varargin) % CHOOSE_METHOD M-file for choose_method.fig % CHOOSE_METHOD, by itself, creates a new CHOOSE_METHOD or raises the existing % singleton*. % % H = CHOOSE_METHOD returns the handle to a new CHOOSE_METHOD or the handle to % the existing singleton*. % ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
load_data_1_var.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/load_data_1_var.m
4,902
utf_8
5b70e8dd70f9e4386ea769372ed55ffe
function varargout = load_data_1_var(varargin) % LOAD_DATA_1_VAR M-file for load_data_1_var.fig % LOAD_DATA_1_VAR, by itself, creates a new LOAD_DATA_1_VAR or raises the existing % singleton*. % % H = LOAD_DATA_1_VAR returns the handle to a new LOAD_DATA_1_VAR or the handle to % the existing s...
github
santhosh-kumar/MultiviewAppearanceTracker-master
plotn.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/plotn.m
4,103
utf_8
e9c0840dca614923d10952e9b37f06c5
% This file is part of the Matlab Toolbox for Dimensionality Reduction v0.7.2b. % The toolbox can be obtained from http://homepage.tudelft.nl/19j49 % You are free to use, change, or redistribute this code in any way you % want for non-commercial purposes. However, it is appreciated if you % maintain the name of th...
github
santhosh-kumar/MultiviewAppearanceTracker-master
scattern.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/scattern.m
3,651
utf_8
bf506a19215a7e0b4cb62da12fa09d16
% This file is part of the Matlab Toolbox for Dimensionality Reduction v0.7.2b. % The toolbox can be obtained from http://homepage.tudelft.nl/19j49 % You are free to use, change, or redistribute this code in any way you % want for non-commercial purposes. However, it is appreciated if you % maintain the name of th...
github
santhosh-kumar/MultiviewAppearanceTracker-master
no_history.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/no_history.m
7,508
utf_8
d5c85b897eeca97b3e37ea41551de2b1
function varargout = no_history(varargin) % NO_HISTORY M-file for no_history.fig % NO_HISTORY by itself, creates a new NO_HISTORY or raises the % existing singleton*. % % H = NO_HISTORY returns the handle to a new NO_HISTORY or the handle to % the existing singleton*. % % NO_HISTORY('CALLBACK',...
github
santhosh-kumar/MultiviewAppearanceTracker-master
load_data_vars.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/load_data_vars.m
7,943
utf_8
3e892de48b2b883da0e7121eb6b7cfbc
function varargout = load_data_vars(varargin) % LOAD_DATA_VARS M-file for load_data_vars.fig % LOAD_DATA_VARS, by itself, creates a new LOAD_DATA_VARS or raises the existing % singleton*. % % H = LOAD_DATA_VARS returns the handle to a new LOAD_DATA_VARS or the handle to % the existing singleto...
github
santhosh-kumar/MultiviewAppearanceTracker-master
mapping_parameters.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/mapping_parameters.m
24,066
utf_8
ddb259e8821b5440a07fc05910595864
function varargout = mapping_parameters(varargin) % MAPPING_PARAMETERS M-file for mapping_parameters.fig % MAPPING_PARAMETERS, by itself, creates a new MAPPING_PARAMETERS or raises the existing % singleton*. % % H = MAPPING_PARAMETERS returns the handle to a new MAPPING_PARAMETERS or the handle to ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
load_xls.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/load_xls.m
4,845
utf_8
98f040ec0685b024ddf99d454fea770d
function varargout = load_xls(varargin) % LOAD_XLS M-file for load_xls.fig % LOAD_XLS, by itself, creates a new LOAD_XLS or raises the existing % singleton*. % % H = LOAD_XLS returns the handle to a new LOAD_XLS or the handle to % the existing singleton*. % % LOAD_XLS('CALLBACK',hObject,eventDa...
github
santhosh-kumar/MultiviewAppearanceTracker-master
drtool.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/drtool.m
53,916
utf_8
97eef574b456ce6b07294fb0ee589135
function varargout = drtool(varargin) % DRTOOL M-file for drtool.fig % DRTOOL, by itself, creates a new DRTOOL or raises the existing % singleton*. % % H = DRTOOL returns the handle to a new DRTOOL or the handle to % the existing singleton*. % % DRTOOL('CALLBACK',hObject,eventData,handl...
github
santhosh-kumar/MultiviewAppearanceTracker-master
plot12n.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/plot12n.m
1,356
utf_8
8a16c46e9b838f4602a5af8fc8a857a8
% This file is part of the Matlab Toolbox for Dimensionality Reduction v0.7.2b. % The toolbox can be obtained from http://homepage.tudelft.nl/19j49 % You are free to use, change, or redistribute this code in any way you % want for non-commercial purposes. However, it is appreciated if you % maintain the name of th...
github
santhosh-kumar/MultiviewAppearanceTracker-master
not_loaded.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/not_loaded.m
7,728
utf_8
a754380baacab27eac13658ea4cc21a3
function varargout = not_loaded(varargin) % NOT_LOADED M-file for not_loaded.fig % NOT_LOADED by itself, creates a new NOT_LOADED or raises the % existing singleton*. % % H = NOT_LOADED returns the handle to a new NOT_LOADED or the handle to % the existing singleton*. % % NOT_LOADED('CA...
github
santhosh-kumar/MultiviewAppearanceTracker-master
load_data.m
.m
MultiviewAppearanceTracker-master/lib/drtoolbox/gui/load_data.m
6,534
utf_8
ade0538cbeeb79ed3c72aea5743a2424
function varargout = load_data(varargin) % LOAD_DATA M-file for load_data.fig % LOAD_DATA, by itself, creates a new LOAD_DATA or raises the existing % singleton*. % % H = LOAD_DATA returns the handle to a new LOAD_DATA or the handle to % the existing singleton*. % % LOAD_DATA('CALLBACK'...
github
santhosh-kumar/MultiviewAppearanceTracker-master
invertHOG.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/invertHOG.m
2,952
utf_8
831e6a6953cb747f837843f483bcf931
% invertHOG(feat) % % This function recovers the natural image that may have generated the HOG % feature 'feat'. Usage is simple: % % >> feat = features(im, 8); % >> ihog = invertHOG(feat); % >> imagesc(ihog); axis image; % % By default, invertHOG() will load a prelearned paired dictionary to perform % the invers...
github
santhosh-kumar/MultiviewAppearanceTracker-master
hoggles.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/hoggles.m
491
utf_8
c742a4e8f5dd0ffa436ea63aae099e25
function vis = hoggles(im), if length(size(im)) == 2, im = repmat(im, [1 1 3]); end feat = features(im, 8); ihog = invertHOG(feat); ihog = hoggles_process(ihog, size(im), 5); glyph = HOGpicture(feat); glyph = hoggles_process(glyph, size(im), 5); im = padarray(im, [5 5], 0.5); vis = [im ihog glyph]; function i...
github
santhosh-kumar/MultiviewAppearanceTracker-master
visualizeHOGbatch.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/visualizeHOGbatch.m
1,470
utf_8
7a3b5f6fc57dd9fbe419ecc9b12664ac
% visualizeHOGbatch(inframes, outframes) % % This function is designed to run on a cluster. It processes all the images in % the input directory, and outputs visualizations in the out frames directory. % It processes frames in random orders and creates lock files so you can invoke % this process many times without dupl...
github
santhosh-kumar/MultiviewAppearanceTracker-master
diagnoseHOG.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/diagnoseHOG.m
632
utf_8
b36f4da5d4e1ede0c6e857654cd5f2d5
% diagnoseHOG(feat) % % Produces a figure with a large number of HOG visualizations for easier % diagnosis of HOG. function diagnoseHOG(feat), fprintf('ihog: visualize: '); clf; fprintf('.'); subplot(221); imagesc(visualizeHOG(feat)); axis image; title('HOG Visualization'); drawnow; fprintf('.'); subplot(222); imag...
github
santhosh-kumar/MultiviewAppearanceTracker-master
spreadHOG.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/spreadHOG.m
869
utf_8
fb34155cd206958f5a656f857f05a403
% spreadHOG(feat) % % Shows the HOG channels seperately. function out = spreadHOG(feat), bord = 10; ny = size(feat,1)*8+16+2*bord; nx = (size(feat,2)*8+16+bord)*2; nf = size(feat, 3); bigfig = ones(ny*4, nx*9) * 0.5; fprintf('ihog: spread: '); for i=1:nf, fprintf('.'); f = zeros(size(feat)); f(:, :, i) = feat(:,...
github
santhosh-kumar/MultiviewAppearanceTracker-master
HOGpicture.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/HOGpicture.m
751
utf_8
c64344ec15f252f4c4631d3ad2b267f6
% HOGpicture(w) % % Make picture of positive HOG weights. % im = HOGpicture(w, bs) function im = HOGpicture(w, bs) if ~exist('bs', 'var'), bs = 20; end % construct a "glyph" for each orientaion bim1 = zeros(bs, bs); bim1(:,round(bs/2):round(bs/2)+1) = 1; bim = zeros([size(bim1) 9]); bim(:,:,1) = bim1; for i = 2:9...
github
santhosh-kumar/MultiviewAppearanceTracker-master
showHOG.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/showHOG.m
498
utf_8
ecec1d840c6ac131b6ae87b562764aad
% showHOG(w) % % Legacy HOG visualization function out = showHOG(w) % Make pictures of positive and negative weights bs = 20; pos = HOGpicture(w, bs); neg = HOGpicture(-w, bs); % Put pictures together and draw buff = 10; if min(w(:)) < 0 pos = padarray(pos, [buff buff], 0.5, 'both'); neg = padarray(neg, [buff buf...
github
santhosh-kumar/MultiviewAppearanceTracker-master
visualizeHOG.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/visualizeHOG.m
1,169
utf_8
88da10ec62c919224b8727509c6048cd
% visualizeHOG(feat) % % This function provides a diagnostic visualization of a HOG feature. This is % meant to be a drop-in replacement for the voc-release5 framework. % % Usage is simple: % >> feat = features(im, 8); % >> visualizeHOG(feat); % % and the current figure will contain both the standard HOG glyph vis...
github
santhosh-kumar/MultiviewAppearanceTracker-master
dissectHOG.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/dissectHOG.m
1,418
utf_8
9dae41391214188baa9cabc23a4f7393
% dissectHOG(feat) % % This function shows the HOG inverse for different HOG channels: unsigned % gradients, signed gradients, and texture gradients. function out = dissectHOG(feat), fprintf('ihog: dissect: '); fprintf('.'); ihog = invertHOG(feat); fprintf('.'); unsigned = zeros(size(feat)); unsigned(:, :, 19:27) =...
github
santhosh-kumar/MultiviewAppearanceTracker-master
visualizeSquare.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/visualizeSquare.m
902
utf_8
2e300e71dc1cf3fd19d48a98af4407e3
% visualizeSquare(output) % % This function translates a black square in a toy image, computes HOG on it, % inverts it. Notice how this function reveals some invariances of HOG: while % the square moves every frame, the inverse square snaps to the nearest HOG % cell boundary. % % This function takes a single parameter:...
github
santhosh-kumar/MultiviewAppearanceTracker-master
interpolateHOG.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/interpolateHOG.m
690
utf_8
74206507d6f5a37f9fb48b67f0f25b8d
% interpolateHOG(left, right, steps) % % Interpolates between 'left' and 'right' in HOG space, inverting the path. % Uses 'n' steps between endpoints. If 'n' is not specified, show 10 steps. function out = interpolateHOG(left, right, n), if ~exist('n', 'var'), n = 10; end bord = 5; ny = size(left,1)*8+16+2*bord; nx...
github
santhosh-kumar/MultiviewAppearanceTracker-master
HOGtexture.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/visualizations/HOGtexture.m
822
utf_8
bd4cbd059707c28cc35cdb79da5e3559
% HOGtexture(feat) % % Creates a visualization of the HOG texture features. For each HOG cell, it % builds a histogram and attempts to visualize it spatially. function bigfig = HOGtexture(feat), texture = feat(:, :, 9*3+1:end); [ny,nx,nf] = size(texture); for k=1:nf, t = texture(:, :, k); texture(:, :, k) = textur...
github
santhosh-kumar/MultiviewAppearanceTracker-master
nmf.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/spams/src_release/nmf.m
3,099
utf_8
04975453432077d74521a3a5fe37cf74
% % Usage: [U [,V]]=nmf(X,param); % % Name: nmf % % Description: mexTrainDL is an efficient implementation of the % non-negative matrix factorization technique presented in % % "Online Learning for Matrix Factorization and Sparse Coding" % by Julien Mairal, Francis Bach, Jean Ponce and Guillermo Sapiro ...
github
santhosh-kumar/MultiviewAppearanceTracker-master
learnpairdict.m
.m
MultiviewAppearanceTracker-master/lib/ihog-master/internal/learnpairdict.m
4,811
utf_8
a5fe2e42dc77afcc2facaf999235b20c
% learnpairdict(stream, n, k, size) % % This function learns a pair of dictionaries 'dgray' and 'dhog' to allow for % regression between HOG and grayscale images. % % Arguments: % stream List of filepaths where images are located % n Number of window patches to extract in total % k The size of ...