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/ContextualMultiCameraTracker-master | symbchol.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/symbchol.m | 3,286 | utf_8 | 3cb543b0b4da46f14d45ee50f0712f84 | % L = symbchol(X)
% SYMBCHOL Symbolic block sparse Cholesky factorization.
% L = symbchol(X) returns a structure L that can be used
% by the efficient block sparse Cholesky solver SPARCHOL.
% The fields in L have the following meaning:
%
% L.perm ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | getsymbada.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/getsymbada.m | 2,044 | utf_8 | 1d6841cfcd462d84221e1e6726cef857 | % SYMBADA = getsymbada(At,Ajc,DAt,psdblkstart)
% GETSYMBADA
% Ajc points to start of PSD-nonzeros per column
% DAt.q has the nz-structure of ddotA.
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% See also sedumi, partitA, getada1, getada2.
func... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | statsK.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/statsK.m | 1,824 | utf_8 | 0a46c333f48d0aca7d2fbf79d3a0f760 | % K = statsK(K)
% STATSK Collects statistics (max and sum of dimensions) of cone K
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% See also sedumi
function K = statsK(K)
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksa... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | qinvjmul.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/qinvjmul.m | 2,473 | utf_8 | f77d40ca42c72f1e46286c5ac4b3d71c | % y = qinvjmul(labx,frmx,b,K)
% QINVJMUL Inverse of Jordan multiply for Lorentz blocks
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function y = qinvjmul(labx,frmx,b,K)
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Roman... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | whichcpx.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/whichcpx.m | 1,816 | utf_8 | 599d9d29b93a3a77d98eaf70ab185866 | % cpx = whichcpx(K)
% WHICHCPX yields structure cpx.{f,q,r,x}
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% See also sedumi
function cpx = whichcpx(K) %#ok
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Roma... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | triumtriu.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/triumtriu.m | 1,833 | utf_8 | 7bcec0a97efc0ac8b6a2c9138edcbec6 | % y = triumtriu(r,u,K)
% TRIUMTRIU Computes y = r * u
% Both r and u should be upper triangular.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function y = triumtriu(r,u,K) %#ok
%
% This file is part of SeDuMi 1.1 by Imre Polik a... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | getada2.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/getada2.m | 1,955 | utf_8 | f11451d9ac4e7f81983e3db2b9b12e33 | % ADA = getada2(ADA, DAt,Aord, K)
% GETADA2 Compute ADA += DAt.q'*DAt.q
% IMPORTANT: Updated ADA only on triu(ADA(Aord.qperm,Aord.qperm)).
% Remaining entries are not affected.
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% See also sedu... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | urotorder.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/urotorder.m | 1,848 | utf_8 | de7fc6f44a207ae6629e24a863a84a09 | % [u,perm,gjc,g] = urotorder(u,K, maxu,permIN)
% UROTORDER Stable reORDERing of triu U-factor by Givens ROTations.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function [u,perm,gjc,g] = urotorder(u,K, maxu,permIN) %#ok
%
% This file is part of SeDuMi 1.1 ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | extractA.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/extractA.m | 2,241 | utf_8 | a8b42567cee6515dbcf2a656282fa7f3 | % Apart = extractA(At,Ajc,blk0,blk1,blkstart[,blkstart2])
% EXTRACTA Fast alternative to
% Apart = At(blkstart(1):blkstart(2)-1,:).
% Instead of blkstart(2), it takes "blkstart2" (if supplied) or
% size(At,1)+1 (if neither blkstart(2) nor blkstart2) are available.
%
% Extract submatrix of
% A ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | veccomplex.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/veccomplex.m | 3,085 | utf_8 | 00c09c217ce1fac2eea190e14c8c7544 | % z = veccomplex(x,cpx,K)
% ********** INTERNAL FUNCTION OF SEDUMI **********
function z = veccomplex(x,cpx,K)
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copyright (C) 2005 McMaster University, Hamilton, CANADA (since 1.1)
%
% Copyright (C) 2001 Jos F. Sturm (up to 1.05R5)
%... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | vec.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/vec.m | 1,606 | utf_8 | 5478f392e563f694b197e427626d7462 | % Y = VEC(x) Given an m x n matrix x, this produces the vector Y of length
% m*n that contains the columns of the matrix x, stacked below each other.
%
% See also mat.
function x = vec(X)
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copyright (C) 2005 McMaster University, Hami... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | sdinit.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/sdinit.m | 4,613 | utf_8 | c23c6956e3a8fe19e16dfdd700b278eb | % [d, v,vfrm,y,y0, R] = sdinit(At,b,c,dense,K,pars)
% SDINIT Initialize with identity solution, for self-dual model.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function [d, v,vfrm,y,y0, R] = sdinit(At,b,c,dense,K,pars)
%
% This file is part of SeD... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | psdscale.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/psdscale.m | 2,004 | utf_8 | 6716c7facb1c71410ec5aed009bf8490 | % y = psdscale(ud,x,K [,transp])
% PSDSCALE Computes length lenud (=sum(K.s.^2)) vector y.
% !transp (default) then y[k] = vec(Ldk' * Xk * Ldk)
% transp == 1 then y[k] = vec(Udk' * Xk * Udk)
% Uses pivot ordering ud.perm if available and nonempty.
%
% ********** I... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | checkpars.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/checkpars.m | 6,267 | utf_8 | c51f0a071f6e219b19e57d5f2ce1b192 | % pars = checkpars(pars,lponly)
% CHECKPARS Fills in defaults for missing fields in "pars" structure.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function pars = checkpars(pars,lponly)
%
% This file is part of SeDuMi 1.1 by Imre Polik ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | optstep.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/optstep.m | 6,324 | utf_8 | 63927680dce704ee9b80024927436542 | % [x,y] = optstep(A,b,c, y0,y,d,v,dxmdz, K,L,symLden,...
% dense,Ablkjc,Aord,ADA,DAt, feasratio, R,pars)
% OPTSTEP Implements Mehrotra-Ye type optimality projection for
% IPM-LP solver.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function [x,y... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | pretransfo.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/pretransfo.m | 12,750 | utf_8 | 848a22778af446bde011fe5e389fa634 | % [At,b,c,K,prep] = pretransfo(At,b,c,K)
% PRETRANSFO Checks data and then transforms into internal SeDuMi format.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function [At,b,c,K,prep,origcoeff] = pretransfo(At,b,c,K,pars)
% This file is par... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | deninfac.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/deninfac.m | 4,007 | utf_8 | 860a1c704805eb9029a176907c7b4c04 | % [Lden, Ld] = deninfac(symLden, L,dense,DAt, d, absd, qblkstart,pars)
% DENINFAC
% Uses pars.maxuden as max. allowable |L(i,k)|. Otherwise num. reordering.
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% See also sedumi
function [Lden, Ld] = deninfac(symLden, L,dense,D... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | eigK.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/eigK.m | 4,493 | utf_8 | d34b4c09e9c9a485aeface6028cdfb30 | % [lab,q,f] = eigK(x,K)
%
% EIGK Computes the spectral values ("eigenvalues") or even the complete
% spectral decomposition of a vector x with respect to a self-dual
% homogeneous cone K.
%
% > LAB = EIGK(x,K) This yield the spectral values of x wi... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | wrapPcg.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/wrapPcg.m | 4,793 | utf_8 | 12cfcfe6ab49a7c989c04b51258c4c84 | % [y,r,k, DAy] = normeqPcg(L,Lden,At,dense,d, DAt,K, b, cgpars, y0,rhs)
%
% WRAPPCG Solve y from AP(d)A' * y = b
% using PCG-method and Cholesky L as conditioner.
% If L is sufficiently accurate, then only 1 CG-step is needed.
% In general, proceeds until ||DAy - DA'(AD^2A')^{-1}b||
% has converged (to zero).... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | tdet.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/tdet.m | 1,737 | utf_8 | c2287c26212e36d77c3c07278bbe72c1 | % tdetx = tdet(x,K)
% TDET Computes twice determinant for Lorentz block
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function tdetx = tdet(x,K)
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copyright (C) 2005... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | ordmmdmex.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/ordmmdmex.m | 1,308 | utf_8 | ab2cee94aa9e1f27c258c48d7ba787ed | % perm = ordmmdmex(adjncy)
% Computes multiple-minimum-degree permutation, for sparse
% Cholesky. Adjncy is a sparse symmetric matrix; its diagonal
% is irrelevant.
%
% Invokes SPARSPAK-A Release III.
%
% ********** INTERNAL FUNCTION OF CHOLTOOL **********
function perm = ordmmdmex(adjncy) %#ok
... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | quadadd.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/quadadd.m | 1,868 | utf_8 | 1ffeb30e0045a2d0708f18410b2fb372 | % [zhi,zlo] = quadadd(xhi,xlo,y)
% QUADADD Compute (zhi+zlo) = (xhi+xlo) + y.
% x an z are in double-double format (quad precision)
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function [zhi,zlo] = quadadd(xhi,xlo,y) %#ok
%
% This file is... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | vectril.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/vectril.m | 1,810 | utf_8 | 09b251a41b4ec6ff4d08a0ffd14152a4 | % y = vectril(x,K)
% VECTRIL converts "PSD" blocks to lower triangular form.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function y = vectril(x,K) %#ok
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
%... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | partitA.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/partitA.m | 1,867 | utf_8 | 70cf7ed7895b676eb700785f6e365f96 | % Ablkjc = partitA(At,blkstart)
% PARTITA Partition columns of A according to the subscripts listed in blkstart.
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% See also sedumi
function Ablkjc = partitA(At,blkstart) %#ok
%
% This file is ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | psdinvjmul.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/psdinvjmul.m | 1,833 | utf_8 | a206daed5ea82aef9173971855a5ae9d | % z = psdinvjmul(xlab,xfrm, y, K)
% PSDINVJMUL solves x jmul z = y, with x = XFRM*diag(xlab)*XFRM'
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function z = psdinvjmul(xlab,xfrm, y, K) %#ok
%
% This file is part of SeDuMi 1.1 by Imre Poli... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | getDAt.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/getDAt.m | 2,095 | utf_8 | 82acc67979c5a979f86f0b16546a54f2 | % [DAtq, DAts] = getDAt(At,Ablk,colsel, d,ud,K)
%
%Creates
% DAt.s full nnz x 1 vector, containing nonzeroblocks(T) with T a
% sparse N x length(colsel) matrix, with Ablk.s(:,colsel) block struct.
% NOTE: only triu(.) stored per block, with redundant 0's in tril.
% So triu(Ud*Aik*Ud') in nonzero bloc... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | bwdpr1.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/bwdpr1.m | 1,882 | utf_8 | 782312fcdb8e5588806b100172088c91 | % y = bwdpr1(Lden, b)
% BWDPR1 Solves "PROD_k L(pk,betak)' * y = b", where
% L(p,beta) = eye(n) + tril(p*beta',-1).
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi, dpr1fact, fwdpr1
function y = bwdpr1(Lden, b) %#ok
%
... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | frameit.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/frameit.m | 1,638 | utf_8 | ff75edc1c04664ac0c62b57b1eb1661e | % x = frameit(lab,frmq,frms,K)
% FRAMEIT
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function x = frameit(lab,frmq,frms,K)
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copyright (C) 2005 McMaster Univer... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | getada1.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/getada1.m | 2,396 | utf_8 | 206486ca5437a093fb9a1fdd855ff1f2 | % ADA = getada1(ADA, A,Ajc2,perm, d, blkstart)
% GETADA1 Compute ADA(i,j) = (D(d^2; LP,Lorentz)*A.t(:,i))' *A.t(:,j),
% and exploit sparsity as much as possible.
% Ajc2 points just beyond LP/Lorentz nonzeros for each column
% blkstart = K.qblkstart partitions into Lorentz bloc... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | sddir.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/sddir.m | 3,345 | utf_8 | 00ebfa573895fcf59bc790b35a0eb489 | % [dx,dy,dz,dy0, err] = sddir(L,Lden,Lsd,p,...
% d,v,vfrm,At,DAt,dense, R,K,y,y0,b, pars)
% SDDIR Direction decomposition for Ye-Todd-Mizuno self-dual embedding.
% Here, p is the direction p = dx+dz. If p=[], then assume p=-v,
% the "affine scalin... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | bwblkslv.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/bwblkslv.m | 1,590 | utf_8 | ed49eee44f8b485185b632bd6afbad55 | % BWBLKSLV Solves block sparse upper-triangular system.
% y = bwblkslv(L,b) yields the same result as
% y(L.perm,:) = L.L'\b
% However, BWBLKSLV is faster than the built-in operator "\",
% because it uses dense linear algebra and loop-unrolling on
% supernodes.
%
% Typical use, with X... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | sqrtinv.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/sqrtinv.m | 1,867 | utf_8 | 25156d82420cfe371618d3b654edc7b3 | % y = sqrtinv(q,vlab,K)
% SQRTINV Computes for PSD-cone, y = (Q / diag(sqrt(vlab)))', so that
% Y'*Y = inv(Q * diag(vlab) * Q').
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function y = sqrtinv(q,vlab,K) %#ok
%
% This file is ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | vecsym.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/vecsym.m | 1,816 | utf_8 | 98be01619d048f20b6e31bc5e0801516 | % y = vecsym(x,K)
% VECSYM For the PSD submatrices, we let Yk = (Xk+Xk')/2
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function y = vecsym(x,K) %#ok
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Roma... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | makereal.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/makereal.m | 1,859 | utf_8 | a46117c725643107a61c5a50e159239c | % y = makereal(x,K,cpx)
% MAKEREAL Converts matrix in MATLAB-complex format to internal
% SeDuMi format.
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% See also sedumi
function y = makereal(x,K,cpx) %#ok
%
% This file is part of ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | Amul.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/Amul.m | 2,071 | utf_8 | 0402f57b0a3eaab8de653c90803a0be2 | % y = Amul(At,dense,x,transp)
% AMUL Computes A*x (transp=0) or A'*x (transp=1), taking care of dense.A.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function y = Amul(At,dense,x,transp)
%
% This file is part of SeDuMi 1.1 by Imre P... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | stepdif.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/stepdif.m | 7,011 | utf_8 | c1865ed77c9842ad9ab6fcaab21d3913 | % [t,rcdx] = stepdif(d,R,y0,x,y,z,dy0,dx,dy,dz,b,mint,tpmtd)
% STEPDIF Implements Primal-Dual Step-Differentiation for self-dual model
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function [t,rcdx] = stepdif(d,R,y0,x,y,z,dy0,dx,dy,dz,b,mint,tpmtd)
%
% This file i... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | qblkmul.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/qblkmul.m | 1,901 | utf_8 | beef8ec12bc5f0e314adfd7f4383d5c5 | % y = qblkmul(mu,d,blkstart)
% QBLKMUL yields length(y)=blkstart(end)-blkstart(1) vector with
% y[k] = mu(k) * d[k]; the blocks d[k] are partitioned by blkstart.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function y = qblkmul(mu... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | psdjmul.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/psdjmul.m | 1,797 | utf_8 | dc71e2bafc28625671f0a07fae6c7b43 | % y = psdmul(x,y, K)
% PSDMUL for full x,y. Computes (XY+YX)/2
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function y = psdmul(x,y, K) %#ok
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copyright (C... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | widelen.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/widelen.m | 4,668 | utf_8 | b3ac8818265043b9b2f4155b5e7fb973 | % [t,wr,w] = widelen(xc,zc,y0, dx,dz,dy0,d2y0, maxt,pars,K)
%
% WIDELEN Computes approximate wide-region neighborhood step length.
% Does extensive line search only if it pays, that is the resulting
% rate will be at most twice the best possible rate, and the step-length
% at least half of the best p... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | psdeig.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/psdeig.m | 1,997 | utf_8 | 0829c8629bc4251f8abbfc7fec143a5e | % [lab,q] = psdeig(x,K)
% PSDEIG Computes spectral coefficients of x w.r.t. K
% Arguments "q" is optional - without it's considerably faster.
% FLOPS indication: 1.3 nk^3 versus 9.0 nk^3 for nk=500,
% 1.5 nk^3 9.8 nk^3 for nk=50.
%
% *... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | sdfactor.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/sdfactor.m | 2,689 | utf_8 | 709222cac79973f9bc08b1f2f0ccdbbf | % [Lsd,Rscl] = sdfactor(L,Lden, dense,DAt, d,v,y, At,K,R,y0,pars)
% SDFACTOR Factor self-dual embedding
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% See also sedumi
function Lsd = sdfactor(L,Lden, dense,DAt, d,v,y, At,c,K,R,y0,pars)
%
% This file is part of SeDuMi 1.1 by... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | maxstep.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/maxstep.m | 2,724 | utf_8 | 5cfae589e5ddad52df6c5047aff53d5d | % tp = maxstep(dx,x,auxx,K)
% MAXSTEP Computes maximal step length to the boundary of the cone K.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function tp = maxstep(dx,x,auxx,K)
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr R... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | getada3.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/getada3.m | 2,110 | utf_8 | 6bd8b4e990a54823089eb4ec38b1729e | % [ADA,absd] = getada3(ADA, A,Ajc1,Aord, udsqr,K)
% GETADA3 Compute ADA(i,j) = (D(d^2)*A.t(:,i))' *A.t(:,j),
% and exploit sparsity as much as possible.
% absd - length m output vector, containing
% absd(i) = abs((D(d^2)*A.t(:,i))' *abs(A.t(:,i)).
% Hence, diag(ADA)./absd gi... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | mat.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/mat.m | 1,829 | utf_8 | a1a316630e44574ed78920f5612b3e6d | % Y = MAT(x,n) or Y = MAT(x) (the 2nd argument is optional)
% Given a vector of length n^2, this produces the n x n matrix
% Y such that x = vec(Y). In other words, x contains the columns of the
% matrix Y, stacked below each other.
%
% See also vec.
function X = mat(x,n)
%
% This file is par... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | blkchol.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/blkchol.m | 2,606 | utf_8 | 3fdcbca8d9b938d9a422f7d9e6e80059 | % [L.L, L.d, L.skip, L.add] = blkchol(L,X,pars,absd)
% BLKCHOL Fast block sparse Cholesky factorization.
% The sparse Cholesky factor will be placed in the fields L.L, L.d;
% the symbolic factorization fields remain unchanged.
% On input, L should be the symbolic factori... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | psdfactor.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/psdfactor.m | 1,802 | utf_8 | f19108a55482a5db1159d398118244f2 | % [ux,ispos] = psdfactor(x,K)
% PSDFACTOR UX'*UX Cholesky factorization
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function [ux,ispos] = psdfactor(x,K) %#ok
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copy... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | adendotd.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/adendotd.m | 1,881 | utf_8 | 48220d0ce865ce22caf4e12ffe709dac | % Ad = Adendotd(dense, d, sparAd, Ablk, blkstart)
% ADENDOTD Computes d[k]'*Aj[k] for Lorentz blocks that are to be factored
% by dpr1fact.
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function Ad = adendotd(dense, d, sparAd, Ablk, blkstart) %#ok
%
%... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | qjmul.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/qjmul.m | 2,538 | utf_8 | a1df3f1c1085dda5f3432444681c0e74 | % z = qjmul(x,y,K)
% QJMUL Implements Jordan product for Lorentz cones
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function z = qjmul(x,y,K)
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copyright (C) ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | wregion.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/wregion.m | 8,085 | utf_8 | c496ac13201996544da0acfbc1aff6b9 | % [xscl,y,zscl,y0, w,relt, dxmdz,err, wr] = wregion(L,Lden,Lsd,...
% d,v,vfrm,A,DAt,dense, R,K,y,y0,b, pars, wr)
% WREGION Implements Sturm-Zhang Wide-region Interior Point Method.
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% See also sedumi
function... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | ddot.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/ddot.m | 2,087 | utf_8 | 4811df2875e02a546e0c40724171b180 | % ddotX = ddot(d,X,blkstart [, Xblkjc])
% DDOT Given N x m matrix X, creates (blkstart(end)-blkstart(1)) x m matrix
% ddotX, having entries d[i]'* xj[i] for each (Lorentz norm bound) block
% blkstart(i):blkstart(i+1)-1. If X is sparse, then Xblkjc(:,2:3) should
% point to first... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | getdense.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/getdense.m | 4,850 | utf_8 | 23575ea33e5467f2687071aae09dcada | % [dense,Adotdden] = getdense(At,Ablkjc,K,pars)
% GETDENSE Creates dense.{l,cols,q}.
% Try to find small proportion of the cone primitives that appear
% in a large proportion of the primal constraints.
%
% ******************** INTERNAL FUNCTION OF SEDUMI ********************
%
% ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | givensrot.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/givensrot.m | 1,773 | utf_8 | 71c142c47f8e1c97d58c14086cbf55e2 | % y = givensrot(gjc,g,x,K)
% GIVENSROT
%
% ********** INTERNAL FUNCTION OF SEDUMI **********
%
% See also sedumi
function y = givensrot(gjc,g,x,K) %#ok
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copyright (C) 2005 McMaster Universi... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | sparbwslv.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/sparbwslv.m | 2,035 | utf_8 | 0549765090e0d9f6f70449eb65e4c1fb | % SPARBWSLV Solves block sparse upper-triangular system.
% y = sparbwslv(L,b) yields the same result as
% y(L.perm,:) = L.L'\b
% However, SPARBWSLV is faster than the built-in operator "\",
% because it uses dense linear algebra and loop-unrolling on
% supernodes.
%
% Typical use, wit... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | cellK.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/cellK.m | 3,587 | utf_8 | 16c58714b6e3f669c6a2647fbfa79272 | % xcell = cellK(x,K)
% CELLK Stores SeDuMi cone K-vector in cell-array format.
%
% On output xcell.f and xcell.l are the free and >=0 components,
% xcell.q{k}, xcell.r{k} and xcell.s{k} contain the Lorentz,
% Rotated Lorentz, and PSD-components, resp.
% xc... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | prelp.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/conversion/prelp.m | 3,864 | utf_8 | d25c0a89f1fc393a0d7587fab0562e17 | % PRELP Loads and preprocesses LP from an MPS file.
%
% > [A,b,c,lenx,lbounds] = PRELP('problemname')
% The above command results in an LP in standard form,
% - Instead of specifying the problemname, you can also use PRELP([]), to
% get the problem from the file /tmp/default.mat.
% - Also, you may ty... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | feasreal.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/conversion/feasreal.m | 4,269 | utf_8 | 696a3a72691eca524fa51b16e3d66676 | % FEASREAL Generates a random sparse optimization problem with
% linear, quadratic and semi-definite constraints. Output
% can be used by SEDUMI. All data will be real-valued.
%
% The following two lines are typical:
% > [AT,B,C,K] = FEASREAL;
% > [X,Y,INFO] = SEDUMI(AT,B,C,K);
%
% An extended version i... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | sdpa2vec.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/conversion/sdpa2vec.m | 2,413 | utf_8 | f31450c6f37447ae7b4723b129db9d4f | % x = sdpavec(E,K)
% Takes an SDPA type sparse data description E, i.e.
% E(1,:) = block, E(2,:) = row, E(3,:) = column, E(4,:) = entry,
% and transforms it into a "long" vector, with vectorized matrices for
% each block stacked under each other. The size of each matrix block
% is given in the field K.s.
% ****... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | blk2vec.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/conversion/blk2vec.m | 1,699 | utf_8 | 75235ffac1810910d18fb37b99a3223a | % x = blk2vec(X,nL)
%
% Converts a block diagonal matrix into a vector.
%
% ********** INTERNAL FUNCTION OF FROMPACK **********
function x = blk2vec(X,nL)
%
% This file is part of SeDuMi 1.1 by Imre Polik and Oleksandr Romanko
% Copyright (C) 2005 McMaster University, Hamilton, CANADA (since 1.1)
%
% C... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | writesdp.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/conversion/writesdp.m | 4,996 | utf_8 | 19e878a527438dc8b78b3f907a5d8639 | % This function takes a problem in SeDuMi MATLAB format and writes it out
% in SDPpack format.
%
% Usage:
%
% writesdp(fname,A,b,c,K)
%
% fname Name of SDPpack file, in quotes
% A,b,c,K Problem in SeDuMi form
%
% Notes:
%
% Problems with complex data are not allowed. ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | frompack.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/conversion/frompack.m | 2,583 | utf_8 | 76beec126c8e1d01e6d87f189e024662 | % FROMPACK Converts a cone problem in SDPPACK format to SEDUMI format.
%
% [At,c] = frompack(A,b,C,blk) Given a problem (A,b,C,blk) in the
% SDPPACK-0.9-beta format, this produces At and c for use with
% SeDuMi. This lets you execute
%
% [x,y,info] = SEDUMI(At,b,c,blk);
%
% IMPORTANT: this function assumes... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | feascpx.m | .m | ContextualMultiCameraTracker-master/libs/cvx/sedumi/conversion/feascpx.m | 4,513 | utf_8 | 4de33ab70c8cb03bdda2f32a1796fe05 | % FEASCPX Generates a random sparse optimization problem with
% linear, quadratic and semi-definite constraints. Output
% can be used by SEDUMI. Includes complex-valued data.
%
% The following two lines are typical:
% > [AT,B,C,K] = FEASCPX;
% > [X,Y,INFO] = SEDUMI(AT,B,C,K);
%
% An extended version is:... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | setup.m | .m | ContextualMultiCameraTracker-master/src/setup.m | 5,080 | utf_8 | 1dc0e9cfdff08081150126593c5b4f21 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function sets up the camera network
%
% Input --
% void
% Output --
% @cameraNetwork - Structure containing the camera networks
% @frameRangeForAnalysis - frame range
%
% Author -- Santhoshku... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | CheckRegionOfInterest.m | .m | ContextualMultiCameraTracker-master/src/@Target/CheckRegionOfInterest.m | 2,008 | utf_8 | 8f9c9a069790568be3fdcee787aceb44 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function checks region of interest for the given frameNumber.
% Give in an image with 2 rectangles in the image, get out all pixels.
% This is done for getting the inner and outer masks used in the
% subsequent training proce... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | DisplayParticles.m | .m | ContextualMultiCameraTracker-master/src/@ParticleFilter/DisplayParticles.m | 2,042 | utf_8 | c33f54abf09ecb67bf0935101933d7cd | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Display Particles
%
% Input --
% @ obj - object of type Particle Filter
% @ imageFrame - image frame
% @ figureHandle - handle to display particles
%
% Output --
% void
%
% Author ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | Resample.m | .m | ContextualMultiCameraTracker-master/src/@ParticleFilter/Resample.m | 1,433 | utf_8 | 4deb1f0477c210e35b5b59f0c8c04484 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Resample particles
%
% Input --
% @obj - object of type ParticleFilter
%
% Output --
% @obj - object of type ParticleFilter
%
% Author -- Santhoshkumar Sunderrajan( santhosh@ece.ucsb.edu )
%
% Website ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | Initialize.m | .m | ContextualMultiCameraTracker-master/src/@ParticleFilter/Initialize.m | 1,976 | utf_8 | e99dd8c2b0a26579ed10c2717d276ed9 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Initialize particle filter
%
% Input --
% @obj - object of type ParticleFilter
% @centerX - x center of the object
% @centerY - y center of the object
% @scaleX - x scale
% @scaleY - y scale
%... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | Predict.m | .m | ContextualMultiCameraTracker-master/src/@ParticleFilter/Predict.m | 2,581 | utf_8 | 41fd437b5be258804507be028eca4d45 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Predict the particle state with brownian motion
%
% Input --
% @obj - object of type ParticleFilter
% @standardDeviationX - x position standard deviation
% @standardDeviationY - y position standard deviation
% ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | Update.m | .m | ContextualMultiCameraTracker-master/src/@ParticleFilter/Update.m | 974 | utf_8 | dfa0c41f1b9cd5136a506db08fab077f | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Update the particle weights
%
% Input --
% @obj - object of type ParticleFilter
% @weightList - particle weights
%
% Output --
% @obj - object of type ParticleFilter
%
% Author -- Santhoshkumar Sund... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | ExtractFeatures.m | .m | ContextualMultiCameraTracker-master/src/@EnsembleClassifier/ExtractFeatures.m | 2,090 | utf_8 | 08286398c161748eb4cc8e24a8bb6a87 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function extracts features on the given image and stores it
% in the appropriate variable
%
% Input --
% @obj - - Ensemble Classifier Object
% @inputImage - Input Image
% @phase - TRAIN or TES... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | GetBestPerformingWeakClassifiers.m | .m | ContextualMultiCameraTracker-master/src/@EnsembleClassifier/GetBestPerformingWeakClassifiers.m | 1,342 | utf_8 | 11df8d773253b59a48525ae359866750 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function gets the best performing classifier to be shared
% with the other views
%
% Input --
% @obj - - Ensemble Classifier Object
%
% Output --
% @weakClassifierList - Weak C... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | PrepareForegroundAndBackgroundMasks.m | .m | ContextualMultiCameraTracker-master/src/@EnsembleClassifier/PrepareForegroundAndBackgroundMasks.m | 2,885 | utf_8 | 78e9cc58b5e76e9940d8272f03adadb7 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function is for preparing foreground and background masks that are
% are used in training.
%
% Input --
% @obj - object of type EnsembleClassifier
% @frameImage - image of the current frame... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | Initialize.m | .m | ContextualMultiCameraTracker-master/src/@EnsembleClassifier/Initialize.m | 1,774 | utf_8 | a500651cf44e44ddbb7bbd046282b110 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function initializes Ensemble Classifier.
%
% Input --
% @obj - - Ensemble Classifier Object
% @initializationImageFrame - Input Image
% @objectRectangle - object rectangle
... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | Test.m | .m | ContextualMultiCameraTracker-master/src/@EnsembleClassifier/Test.m | 3,384 | utf_8 | 8600fe35c05145b1e1c723b5731c33d3 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function tests the Ensemble Classifier on the given test image
%
% Input --
% @obj - - Ensemble Classifier Object
% @frameImage - Input Image
% @previousTargetRectangle ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | GetNegativeSamplesForCorrelatedObjects.m | .m | ContextualMultiCameraTracker-master/src/@EnsembleClassifier/GetNegativeSamplesForCorrelatedObjects.m | 1,854 | utf_8 | 9b39b307ba52d05240fb8e96a4a2f822 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function extracts negative examples that are consistent
% across views
%
% Input --
% @obj - Ensemble Classifier Object
% @weakClassifierList - weak classifier list
%
% Output --
% ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | Update.m | .m | ContextualMultiCameraTracker-master/src/@EnsembleClassifier/Update.m | 3,757 | utf_8 | 71861bff703e2fe4645f791c03be3a1a | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function updates the Ensemble Classifier on the given training
% image
%
% Input --
% @obj - - Ensemble Classifier Object
% @frameImage - Input Image
% @objectRectang... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | SetKFParameters.m | .m | ContextualMultiCameraTracker-master/src/@KalmanFilter/SetKFParameters.m | 1,593 | utf_8 | 753705a430a3ea40ab76bbab9860de67 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function sets the parameters of the KF based on the intial state
%
% Input --
% @m - dimension of the state vector
% @p - dimension of the measurement vector
% @option - state space model
%
% ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | xml2struct.m | .m | ContextualMultiCameraTracker-master/src/@CameraModel/xml2struct.m | 6,960 | utf_8 | d679d0d3ed2307d44c3986192af212d7 | function [ s ] = xml2struct( obj, file )
%Convert xml file into a MATLAB structure
% [ s ] = xml2struct( file )
%
% A file containing:
% <XMLname attrib1="Some value">
% <Element>Some text</Element>
% <DifferentElement attrib2="2">Some more text</Element>
% <DifferentElement attrib3="2" attrib4="1">Even m... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | InitializeTracker.m | .m | ContextualMultiCameraTracker-master/src/@Camera/InitializeTracker.m | 2,921 | utf_8 | e45f7db11efea0ce88f828be5af69883 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function initializes target manually.
%
% Input --
% @obj - camera object.
% @frameNumber - Starting frame number
% @objectIdList - Object ID List
% @featureType - Feature Type for appearance modeling
... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | VisualizeTrackerOutput.m | .m | ContextualMultiCameraTracker-master/src/@Camera/VisualizeTrackerOutput.m | 1,537 | utf_8 | 5641325542299d08a7e174a68bee5d4f | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Visualizes the tracker output
%
% Input --
% @obj - Camera object
% @networkStruct - Information about the network structure
%
% Output --
% void
%
% Author -- Santhoshkumar Sunderrajan( santhos... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | ExtractColorHistogramFeature.m | .m | ContextualMultiCameraTracker-master/src/@Features/ExtractColorHistogramFeature.m | 1,747 | utf_8 | 425bf68ce29096c5448846455f44678a | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Features::ExtractColorHistogramFeature
% Extracts Multi-dimensional color histogram.
% Input --
% obj - Feature Object
% imageBlock - Image Block
% isVectorized - Is Vectorized Image
% numbe... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | ExtractHOGFeatures.m | .m | ContextualMultiCameraTracker-master/src/@Features/ExtractHOGFeatures.m | 3,053 | utf_8 | d1e18fff2438b4199aa68bd67b233d71 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Features::ExtractHOGFeatures
%
% Extracts HOG Feature
%
% Input --
% obj - Feature Object
% inputImage - Input Image
% roiMask ... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | GetMultiDimensionalColorHistogram.m | .m | ContextualMultiCameraTracker-master/src/@Features/GetMultiDimensionalColorHistogram.m | 3,734 | utf_8 | c1185789efa8055938062404c329d1d0 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%This function sets the parameters of the DKF based on the intial state
%
% Input --
% @I - Input color image ( can be a vectorized i... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | ExtractRawColorFeatures.m | .m | ContextualMultiCameraTracker-master/src/@Features/ExtractRawColorFeatures.m | 1,592 | utf_8 | 8fe677edde4ae128303f18915debf1f2 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Features::ExtractRawColorFeatures
%
% Extracts raw color pixel features Feature
%
% Input --
% obj - Feature Object
% inputImage - Input Image
% r... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | PerformConsensusByADMMWithSemanticKnowledge.m | .m | ContextualMultiCameraTracker-master/src/@ConsensusProtocol/PerformConsensusByADMMWithSemanticKnowledge.m | 4,651 | utf_8 | 459ae4b810ef13badd68279b80db9729 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function performs consensus based on Alternating Direction Method
% of Multipliers with semantic scene knowledge
%
% Input --
% @neighborMeasurements - Structure containing the camera networks.
% @measureme... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | CollectContextInformation.m | .m | ContextualMultiCameraTracker-master/src/@ConsensusProtocol/CollectContextInformation.m | 1,764 | utf_8 | 6facdbf615ddf2093404f0c3eb1dcf1b | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function collects contextual information from the given camera
% view
%
% Input --
% @cameraNetwork - neighbor measurements
% @cameraIndex
% @targetIndex
%
% Output --
% @dij - distances in tim... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | PerformConsensusByADMMWithoutSemanticKnowledge.m | .m | ContextualMultiCameraTracker-master/src/@ConsensusProtocol/PerformConsensusByADMMWithoutSemanticKnowledge.m | 1,473 | utf_8 | e8687e942b68097f294aacf61a17d617 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function performs consensus based on Alternating Direction Method
% of Multipliers without semantic knowledge
%
% Input --
% @neighborMeasurements - neighbor measurements
%
% Output --
% @x - consensus state... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | PerformConsensus.m | .m | ContextualMultiCameraTracker-master/src/@ConsensusProtocol/PerformConsensus.m | 2,182 | utf_8 | 7ce4f21cf45bd8f39a4b8e5d3969323f | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function performs consensus on the ground plane states
%
% Input --
% @cameraNetwork - Structure containing the camera networks
% @useADMMBasedConsensus - Should use admm ba... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | CollectMeasurments.m | .m | ContextualMultiCameraTracker-master/src/@ConsensusProtocol/CollectMeasurments.m | 1,868 | utf_8 | e9de7c6b5112ddd0e80b83e2d9e9e4e2 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function collects measurements from different cameras for the
% specified object.
%
% Input --
% @cameraNetwork - Structure containing the camera networks.
% @cameraIndex - camera index
% @targetIndex... |
github | santhosh-kumar/ContextualMultiCameraTracker-master | PerformADMMBasedConsensus.m | .m | ContextualMultiCameraTracker-master/src/@ConsensusProtocol/PerformADMMBasedConsensus.m | 9,933 | utf_8 | 9ca2e95460fd2825f9865217fecbd7b1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This function performs consensus based on Alternating Direction Method
% of Multipliers
%
% Input --
% @cameraNetwork - Structure containing the camera networks.
% @maximumNumberOfConsensusIte... |
github | ryancheunggit/Study_Notes_for_Differential_Equations-master | dfield8.m | .m | Study_Notes_for_Differential_Equations-master/matlabcode/dfield8.m | 127,110 | utf_8 | d643c92b937b965a55a90ba4ff76c456 | function output = dfield8(action,input1,input2,input3)
% dfield8 is an interactive tool for studying single first order
% differential equations. When dfield8 is executed, a dfield8 Setup
% window is opened. The user may enter the differential
% equation and specify a display window using the interactive
% controls ... |
github | ryancheunggit/Study_Notes_for_Differential_Equations-master | pplane8.m | .m | Study_Notes_for_Differential_Equations-master/matlabcode/pplane8.m | 211,736 | utf_8 | deb9864493882652ff5b201e7b3d5ce6 | function output = pplane8(action,input1,input2,input3)
% pplane8 is an interactive tool for studying planar autonomous systems of
% differential equations. When pplane8 is executed, a pplane8 Setup
% window is opened. The user may enter the differential
% equation and specify a display window using the interactive
... |
github | developfeng/DeepClustering-master | CG_CLUSTER.m | .m | DeepClustering-master/clustering/CG_CLUSTER.m | 2,418 | utf_8 | e46145c6619c573a6f4abe3eb66da570 | %The CG provider function for clustering
function [f, df] = CG_CLUSTER(VV,Dim,XX, Hcen,R_data,R_cluster)
l1 = Dim(1);
l2 = Dim(2);
l3 = Dim(3);
l4= Dim(4);
l5= Dim(5);
l6= Dim(6);
l7= Dim(7);
l8= Dim(8);
l9= Dim(9);
N = size(XX,1);
% Do decomversion.
w1 = reshape(VV(1:(l1+1)*l2),l1+1,l2);
xxx = (l1+1)*l2;
w2 = res... |
github | developfeng/DeepClustering-master | hungarian.m | .m | DeepClustering-master/clustering/hungarian.m | 8,949 | utf_8 | 32c380396d4b64e5a92c2d0dff54b386 | function [Matching,Cost] = Hungarian(Perf)
%
% [MATCHING,COST] = Hungarian_New(WEIGHTS)
%
% A function for finding a minimum edge weight matching given a MxN Edge
% weight matrix WEIGHTS using the Hungarian Algorithm.
%
% An edge weight of Inf indicates that the pair of vertices given by its
% position have no adjacent... |
github | developfeng/DeepClustering-master | CG_DATA.m | .m | DeepClustering-master/initialize/CG_DATA.m | 2,905 | utf_8 | 56c858708a9c76a2b28dade9c917f792 | % 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 | developfeng/DeepClustering-master | mnistdisp.m | .m | DeepClustering-master/show/mnistdisp.m | 1,084 | utf_8 | fe0cdd3b44b770d51322d5c6e9f4fd91 | % 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 | GYZHikari/GNM-Saliency-master | gene_feature.m | .m | GNM-Saliency-master/gene_feature.m | 1,841 | utf_8 | 8cb3056ae74ef0314a38839085946041 | function [pfeats,rgb_fea] = gene_feature(img, spImg, sp_center, sp_npix, options)
% function pfeats = extract_sp_feats(img, cntSp, spImg, options)
% spImg : Superpixel image
% options.featMode : method for computing patch features.
% 1: iccv11_Distributed Cosegmentation via Submodular Optimiz... |
github | GYZHikari/GNM-Saliency-master | colorspace.m | .m | GNM-Saliency-master/colorspace.m | 14,019 | utf_8 | c8d23ed54d9745d5e49e7d99ee1ed95f | function varargout = colorspace(Conversion,varargin)
%COLORSPACE Convert a color image between color representations.
% B = COLORSPACE(S,A) converts the color representation of image A
% where S is a string specifying the conversion. S tells the
% source and destination color spaces, S = 'dest<-src', or
% ... |
github | GYZHikari/GNM-Saliency-master | gene_connect_edges.m | .m | GNM-Saliency-master/gene_connect_edges.m | 1,557 | utf_8 | 9a6541a77b3980aafa6eb10f2361bb42 | function edges = gene_connect_edges( spAdjacentMat,spnum,neg_label_inds,pos_label_inds, n_ring, opts)
connection_type = getoptions(opts,'connection_type','global');
if nargin < 7
n_ring = 2;
end
spAffinityMat = spAdjacentMat;
%% compute 1-ring & 2-ring of superpixels
sp_num = size(spAffinityMat,1);
... |
github | maharjun/TimeDelNetSim-master | unbreakxaxis.m | .m | TimeDelNetSim-master/TimeDelNetSim/MatlabSource/breakxaxis/unbreakxaxis.m | 299 | utf_8 | 27245623b049d3a3f78c2c622c82aeae |
function unbreakxaxis(breakInfo)
delete(breakInfo.leftAxes);
delete(breakInfo.rightAxes);
delete(breakInfo.breakAxes);
delete(breakInfo.annotationAxes);
for i = 1:numel(breakInfo.invisibleObjects)
set(breakInfo.invisibleObjects(i),'Visible','on');
end
end |
github | maharjun/TimeDelNetSim-master | breakxaxis.m | .m | TimeDelNetSim-master/TimeDelNetSim/MatlabSource/breakxaxis/breakxaxis.m | 11,663 | utf_8 | 86d70f4a907a88c29fa10ebfec1b904b |
% breakxaxes splits data in an axes so that data is in a left and right pane.
%
% breakXAxes(splitXLim) splitXLim is a 2 element vector containing a range
% of x values from splitXLim(1) to splitXLim(2) to remove from the axes.
% They must be within the current xLimis of the axes.
%
% breakXAxes(splitXLim,spli... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.