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 | jetsonhacks/RTIMULib-master | mag_fit_display.m | .m | RTIMULib-master/RTEllipsoidFit/mag_fit_display.m | 1,220 | utf_8 | 12d8d12ef7f37e898204f4486f64cb9f | %//
%// Copyright (c) 2014, richards-tech
%//
%// This file is part of RTEllipsoidFit
%//
%// RTEllipsoidFit is free software: you can redistribute it and/or modify
%// it under the terms of the GNU General Public License as published by
%// the Free Software Foundation, either version 3 of the License, or
%// (... |
github | aasalerno/sparseMRI_v0.2-ERRORS-master | adjD.m | .m | sparseMRI_v0.2-ERRORS-master/@TVOP/private/adjD.m | 475 | utf_8 | c4e2e12cdb9c4e0c441f6ca464f65b5a | function res = adjD(y)
res = zeros(size(y,1),size(y,2));
%y1 = ones(imsize)*y(1)/sqrt(prod(imsize));
%yx = (reshape(y(2:prod(imsize)+1), imsize(1), imsize(2)));
%yy = (reshape(y(prod(imsize)+2:end), imsize(1), imsize(2)));
res = adjDx(y(:,:,1)) + adjDy(y(:,:,2));
return;
function res = adjDy(x)
res = x(:,[1,1:end... |
github | aasalerno/sparseMRI_v0.2-ERRORS-master | angioSynth.m | .m | sparseMRI_v0.2-ERRORS-master/simulation/angioSynth.m | 937 | utf_8 | 7ec402c9db03dbd487eb72348b776594 | function res = angioSym(imSize, xradVec, yradVec, ampVec)
% res = angioSym(imSize, xradVec, yradVec, ampVec)
res = zeros(imSize);
map = zeros(imSize);
for n=1:length(xradVec)
tmp = ellipsoid(imSize,xradVec(n),yradVec(n));
while sum((tmp(:) + map(:))>1)
tmp = ellipsoid(imSize,xradVec(n),yradVec(n));
end
map = t... |
github | aasalerno/sparseMRI_v0.2-ERRORS-master | minTimeGradient.m | .m | sparseMRI_v0.2-ERRORS-master/utils/minTimeGradient.m | 7,132 | utf_8 | 3f4990d1e1e0c3cce63bcd06cabe380b | function [C,time,g,s,k, phi, sta, stb] = minTimeGradient(C,g0, gfin, gmax, smax,T, show)
% [C,time,g,s,k] = minTimeGradient(C, g0, gfin, gmax, smax,T,show)
%
% Given a k-space trajectory C(n), gradient and slew constraints. This
% function will return a new parametrization that will meet these
% constraint while getti... |
github | aasalerno/sparseMRI_v0.2-ERRORS-master | invD.m | .m | sparseMRI_v0.2-ERRORS-master/threshold/invD.m | 309 | utf_8 | 797904ae4b64c59f923711af7612395e | function res = invD(y,imsize)
[res, flag, relres, iter] = lsqr(@afun,y,[],150,[],[],[],imsize);
res = reshape(res,imsize(1),imsize(2));
function res = afun(x, imsize, istranspose)
if nargin==2
x = reshape(x,imsize(1), imsize(2));
res = D(x);
else
res = adjD(x,imsize);
res = res(:);
end
|
github | aasalerno/sparseMRI_v0.2-ERRORS-master | adjD.m | .m | sparseMRI_v0.2-ERRORS-master/threshold/adjD.m | 459 | utf_8 | 1e4854a073fd4b0cad9cfc2b199e6d93 | function res = adjD(y,imsize)
res = zeros(imsize);
y1 = ones(imsize)*y(1)/sqrt(prod(imsize));
yx = (reshape(y(2:prod(imsize)+1), imsize(1), imsize(2)));
yy = (reshape(y(prod(imsize)+2:end), imsize(1), imsize(2)));
res = y1 + adjDx(yx) + adjDy(yy);
return;
function res = adjDy(x)
res = x(:,[1,1:end-1]) - x;
res(:,... |
github | yaoliUoA/MDPM-master | EvalAP.m | .m | MDPM-master/classify/EvalAP.m | 956 | utf_8 | 549c1d30e54e232ad02c750d2552e2c7 | function mAP = EvalAP(predict_v,Test_label)
[nSample,nClass] = size(predict_v);
if nSample < nClass
predict_v = predict_v';
[nSample,nClass] = size(predict_v);
end
if size(Test_label,1) == 1
Test_label = Test_label';
end
test_label = zeros(nSample,nClass);
for i = 1:nClass
test_la... |
github | yaoliUoA/MDPM-master | test_VOC_txt.m | .m | MDPM-master/classify/test_VOC_txt.m | 1,308 | utf_8 | b445809f739cb4ffd97720bdf0c2f9f4 | % this is for PASCAL VOC 2012 dataset, the generated .txt file can be
% submitted to the evaluation server (http://host.robots.ox.ac.uk:8080/accounts/login/?next=/eval/upload/)
function test_VOC_txt(classId)
addpath('../');
init;
dirName = 'classify/';
conf.dataDir = strrep(conf.dataDir,dirName,'');
imdb = load(fullfi... |
github | yangyanli/globfit-master | OptimizeNormal.m | .m | globfit-master/matlab/OptimizeNormal.m | 10,545 | utf_8 | c0060eeb04f00d5c441cb59f857f4f28 | function [outputParameters, initialFittingError, exitFittingError, exitFlag] = OptimizeNormal(inputParameters, maxIterNum, numVertices, primitiveType, coordX, coordY, coordZ, normalX, normalY, normalZ, confVertices, constraints)
LoadNameMap
numPrimitives = size(numVertices, 1);
numConstraints = size(constraints,... |
github | yangyanli/globfit-master | OptimizeRadius.m | .m | globfit-master/matlab/OptimizeRadius.m | 3,551 | utf_8 | 49b3adaf991ca503378cb3ead9904670 | function [outputParameters, initialFittingError, exitFittingError, exitflag] = OptimizeRadius(inputParameters, maxIterNum, numVertices, primitiveType, coordX, coordY, coordZ, normalX, normalY, normalZ, confVertices, constraints)
LoadNameMap
numPrimitives = size(numVertices, 1);
numConstraints = size(constraints,... |
github | yangyanli/globfit-master | OptimizeDistance.m | .m | globfit-master/matlab/OptimizeDistance.m | 5,032 | utf_8 | 7fcfc8c4740df23ed681c758d00c68b8 | function [outputParameters, initialFittingError, exitFittingError, exitflag] = OptimizeDistance(inputParameters, maxIterNum, numVertices, primitiveType, coordX, coordY, coordZ, normalX, normalY, normalZ, confVertices, constraints)
LoadNameMap
numPrimitives = size(numVertices, 1);
numConstraints = size(constraint... |
github | yangyanli/globfit-master | OptimizePoint.m | .m | globfit-master/matlab/OptimizePoint.m | 25,159 | utf_8 | cd34958e86d825457736721aa02f4b4d | function [outputParameters, initialFittingError, exitFittingError, exitflag] = OptimizePoint(inputParameters, maxIterNum, numVertices, primitiveType, coordX, coordY, coordZ, normalX, normalY, normalZ, confVertices, constraints)
LoadNameMap
numPrimitives = size(numVertices, 1);
numConstraints = size(constraints, ... |
github | neurodata/macho-master | imagesc2.m | .m | macho-master/packages/utilities/imagesc2.m | 1,355 | utf_8 | 218862beb57fef51e73cb96ccb8c9134 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) [2014] The Johns Hopkins University / Applied Physics Laboratory All Rights Reserved. Contact the JHU/APL Office of Technology Transfer for any additional rights. www.jhuapl.edu/ott
%
% Licensed under the Apache License, Version 2.0 (th... |
github | neurodata/macho-master | classRF_predict.m | .m | macho-master/packages/tools/Random Forest/classRF_predict.m | 2,166 | utf_8 | 7e026fb9b31f99feae58d36b9cf6c2e0 | %**************************************************************
%* mex interface to Andy Liaw et al.'s C code (used in R package randomForest)
%* Added by Abhishek Jaiantilal ( abhishek.jaiantilal@colorado.edu )
%* License: GPLv2
%* Version: 0.02
%
% Calls Classification Random Forest
% A wrapper matlab file that calls... |
github | neurodata/macho-master | classRF_train.m | .m | macho-master/packages/tools/Random Forest/classRF_train.m | 14,829 | utf_8 | 82a321d0a7c77f33b104acec4394c6ee | %**************************************************************
%* mex interface to Andy Liaw et al.'s C code (used in R package randomForest)
%* Added by Abhishek Jaiantilal ( abhishek.jaiantilal@colorado.edu )
%* License: GPLv2
%* Version: 0.02
%
% Calls Classification Random Forest
% A wrapper matlab file that calls... |
github | neurodata/macho-master | segmentWatershed.m | .m | macho-master/packages/watershed/segmentWatershed.m | 2,619 | utf_8 | 1f988e05039d1620a587fae922324d0d | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) [2014] The Johns Hopkins University / Applied Physics Laboratory All Rights Reserved. Contact the JHU/APL Office of Technology Transfer for any additional rights. www.jhuapl.edu/ott
%
% Licensed under the Apache License, Version 2.0 (th... |
github | neurodata/macho-master | segmentWatershed2D.m | .m | macho-master/packages/watershed/segmentWatershed2D.m | 2,622 | utf_8 | fdb8f8ea7ecd4d489c63b892528be123 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) [2014] The Johns Hopkins University / Applied Physics Laboratory All Rights Reserved. Contact the JHU/APL Office of Technology Transfer for any additional rights. www.jhuapl.edu/ott
%
% Licensed under the Apache License, Version 2.0 (th... |
github | neurodata/macho-master | segment_watershed.m | .m | macho-master/packages/watershed/segment_watershed.m | 2,167 | utf_8 | 684ec3a91e32bdad982d284d831d64f5 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) [2014] The Johns Hopkins University / Applied Physics Laboratory All Rights Reserved. Contact the JHU/APL Office of Technology Transfer for any additional rights. www.jhuapl.edu/ott
%
% Licensed under the Apache License, Version 2.0 (the... |
github | scivision/pyimagevideo-main | implay.m | .m | pyimagevideo-main/implay.m | 558 | utf_8 | e4a9e7058a5225566ba3f8cf396106a8 | % for Octave that didn't yet have native implay()
function implay(imgs,fps)
N = ndims(imgs);
assert(N==3 || N==4,'need 3D or 4D (color) image stack')
figure
if N==3
h = imagesc(imgs(:,:,1));
K = size(imgs,3);
else
h = imagesc(imgs(:,:,:,1));
K = size(imgs,4);
end %if
colormap('gr... |
github | scivision/pyimagevideo-main | pgm_multiread.m | .m | pyimagevideo-main/pgm_multiread.m | 1,310 | utf_8 | 69da0aace4eae9ac53f9ca5e4fbb37ad | % Reads PGM image stack (multi-image) file
% Michael HIrsch, Ph.D.
function imgs = pgm_multiread(fn,verbose)
if nargin<2, verbose=true, end
if ~exist(fn,'file'), error([fn,' does not exist']), end
fid = fopen(fn,'r');
[xy, prec] = pgmheader(fid,verbose);
%% read image stack
i = 1;
while ~feof(fid)
... |
github | scivision/pyimagevideo-main | readAVI_octave.m | .m | pyimagevideo-main/readAVI_octave.m | 1,783 | utf_8 | 7f96babfd998fed2da00f5bd69401ccd | %% test_readavi
% demo of loading an AVI and displaying the first frame of video
% helps determine if Matlab has a particular codec available
%
%
% Michael Hirsch
%% Example: Matlab R2015a cannot read Cinepak encoded video.
% (1) I converted Cinepak AVI to uncompressed AVI with Linux Terminal command:
% ffmpeg -i ~/U/... |
github | saini5/PolypDetectionSystem-master | mineTexturalFeatures.m | .m | PolypDetectionSystem-master/mineTexturalFeatures.m | 950 | utf_8 | 079d444027f0709f6434768ae70d5926 | %mining the textural features(assumes a gray image)
%x is the image
%D distance in pixels
function [statsI] = mineTexturalFeatures(x,D)
%represents the four angles = 0, 45, 90, 135
offsets = [0 D; -D D; -D 0; -D -D];
%finding the gray-level co-occurence matrices
glcms = graycomatrix(x,'Offset'... |
github | dakatso/SpeexExample-master | echo_diagnostic.m | .m | SpeexExample-master/library/src/main/jni/libspeexdsp/echo_diagnostic.m | 2,076 | utf_8 | 8d5e7563976fbd9bd2eda26711f7d8dc | % Attempts to diagnose AEC problems from recorded samples
%
% out = echo_diagnostic(rec_file, play_file, out_file, tail_length)
%
% Computes the full matrix inversion to cancel echo from the
% recording 'rec_file' using the far end signal 'play_file' using
% a filter length of 'tail_length'. The output is saved to 'o... |
github | yuxng/MDP_Tracking-master | MDP_feature_occluded.m | .m | MDP_Tracking-master/MDP_feature_occluded.m | 1,584 | utf_8 | 69364f33448484a9fc8a70f61aeda5bd | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% extract features for occluded state
function [feature, flag] = MDP_... |
github | yuxng/MDP_Tracking-master | MOT_copy_images.m | .m | MDP_Tracking-master/MOT_copy_images.m | 955 | utf_8 | e01e1c9ac985da437e796792b8a79261 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function MOT_copy_images
% test sequences
seqs = {'TUD-Crossing', 'PET... |
github | yuxng/MDP_Tracking-master | MOT_count_examples.m | .m | MDP_Tracking-master/MOT_count_examples.m | 1,388 | utf_8 | 1d0cf30822cfd59cd06022d03329df2e | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% cross_validation
function MOT_count_examples
mot2d_train_seqs = {'... |
github | yuxng/MDP_Tracking-master | show_dres.m | .m | MDP_Tracking-master/show_dres.m | 1,782 | utf_8 | 8c77498cdbfcd96c53b79618f95b902c | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% draw dres structure
function show_dres(frame_id, I, tit, dres, stat... |
github | yuxng/MDP_Tracking-master | bb_isdef.m | .m | MDP_Tracking-master/bb_isdef.m | 732 | utf_8 | 1911c216dcf53052fa1e497573834331 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | LK_tracking.m | .m | MDP_Tracking-master/LK_tracking.m | 6,574 | utf_8 | 2200e5c720fb6324d8b058cad7832783 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | patchline.m | .m | MDP_Tracking-master/patchline.m | 3,812 | utf_8 | eb106a55c884f31c460bacfead7472aa | function p = patchline(xs,ys,varargin)
% Plot lines as patches (efficiently)
%
% SYNTAX:
% patchline(xs,ys)
% patchline(xs,ys,zs,...)
% patchline(xs,ys,zs,'PropertyName',propertyvalue,...)
% p = patchline(...)
%
% PROPERTIES:
% Accepts all parameter-values accepted by PATCH.
%
% DESCRI... |
github | yuxng/MDP_Tracking-master | LK_show.m | .m | MDP_Tracking-master/LK_show.m | 1,577 | utf_8 | 36491cd5e64ca0e126646d9bf2aac433 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% show LK tracking results
function LK_show(im1, im2, xFI, BB1, xFJ, ... |
github | yuxng/MDP_Tracking-master | MDP_test_hungarian.m | .m | MDP_Tracking-master/MDP_test_hungarian.m | 13,629 | utf_8 | 9e3f2a1db4ea294416bc8214ff21f319 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% testing MDP
function metrics = MDP_test_hungarian(seq_idx, seq_set,... |
github | yuxng/MDP_Tracking-master | bb_height.m | .m | MDP_Tracking-master/bb_height.m | 741 | utf_8 | 6d7277c3472c784c9c53d3f0eda4ecf8 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | MOT_make_videos.m | .m | MDP_Tracking-master/MOT_make_videos.m | 1,774 | utf_8 | 4ac84c359cfbb3d3e2136ebd6c0e402a | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function MOT_make_videos
is_save = 1;
opt = globals();
N = numel(opt.... |
github | yuxng/MDP_Tracking-master | MOT_test.m | .m | MDP_Tracking-master/MOT_test.m | 2,105 | utf_8 | ff75e97c73a0c8b4755c84c6ae4a7831 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% test on MOT benchmark
function MOT_test
is_train = 1;
opt = global... |
github | yuxng/MDP_Tracking-master | read_mot2dres.m | .m | MDP_Tracking-master/read_mot2dres.m | 653 | utf_8 | b082cbc3b863e4a1ecc14f5f9b7296ac | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% read MOT file
function dres = read_mot2dres(filename)
fid = fopen(... |
github | yuxng/MDP_Tracking-master | generate_training_data.m | .m | MDP_Tracking-master/generate_training_data.m | 4,116 | utf_8 | c70beb5ed58aa9d0a305ae3062a82732 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% generate training data
function [dres_train, dres_det, labels] = ge... |
github | yuxng/MDP_Tracking-master | bb_predict.m | .m | MDP_Tracking-master/bb_predict.m | 1,025 | utf_8 | bb214e602cb638a1927abd8b95a42e6f | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | compute_frame_weights.m | .m | MDP_Tracking-master/compute_frame_weights.m | 513 | utf_8 | 7261e0f64812c70664e8835212be742e | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% compute weights for frame features
function w = compute_frame_weigh... |
github | yuxng/MDP_Tracking-master | generate_association_index.m | .m | MDP_Tracking-master/generate_association_index.m | 952 | utf_8 | 9528ada12ebe6b10576fa18e72a28711 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% find detections for association
function [dres_det, index_det, ctra... |
github | yuxng/MDP_Tracking-master | MDP_crop_image_box.m | .m | MDP_Tracking-master/MDP_crop_image_box.m | 763 | utf_8 | 79c17e54e15c4958b98e325619b288dd | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% add cropped image and box to dres
function dres = MDP_crop_image_bo... |
github | yuxng/MDP_Tracking-master | LK.m | .m | MDP_Tracking-master/LK.m | 1,890 | utf_8 | fcba263f2fec6ffd6d27d1930ff0dbdc | % Estimates motion from bounding box BB1 in frame I to bounding box BB2 in frame J
% obj is the background model
function [BB3, xFJ, flag, medFB, medNCC, medFB_left, medFB_right, medFB_up, medFB_down] = LK(I, J, BB1, BB2, margin, level)
% initialize output variables
BB3 = []; % estimated bounding
% exit function if B... |
github | yuxng/MDP_Tracking-master | show_groundtruth.m | .m | MDP_Tracking-master/show_groundtruth.m | 1,417 | utf_8 | e6f11759bc4b98505440a761a5a1bed0 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function show_groundtruth
opt = globals();
seq_idx = 3;
seq_name = opt... |
github | yuxng/MDP_Tracking-master | MOT_cross_validation.m | .m | MDP_Tracking-master/MOT_cross_validation.m | 2,112 | utf_8 | 3a972b1d3236e7b55a18315738b05fd0 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% cross_validation on the MOT benchmark
function MOT_cross_validation... |
github | yuxng/MDP_Tracking-master | median2.m | .m | MDP_Tracking-master/median2.m | 752 | utf_8 | fa7cb1fb75e29a57bbde1af0fb49fafc | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | MDP_test.m | .m | MDP_Tracking-master/MDP_test.m | 9,656 | utf_8 | b2f881c621286078d3644b188081ccf4 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% testing MDP
function metrics = MDP_test(seq_idx, seq_set, tracker)
... |
github | yuxng/MDP_Tracking-master | generate_pattern.m | .m | MDP_Tracking-master/generate_pattern.m | 934 | utf_8 | e9795092e9b3233f1f85a1b6b882b003 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function pattern = generate_pattern(img, bb, patchsize)
% get patch und... |
github | yuxng/MDP_Tracking-master | compute_velocity.m | .m | MDP_Tracking-master/compute_velocity.m | 1,101 | utf_8 | bf0749d88214d598156fc726b5f622d2 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% compute velocity
function v = compute_velocity(tracker)
fr = doubl... |
github | yuxng/MDP_Tracking-master | LK_associate.m | .m | MDP_Tracking-master/LK_associate.m | 5,598 | utf_8 | 695621e85cbc9cf242f85f617141f804 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% use LK trackers for association
function tracker = LK_associate(fra... |
github | yuxng/MDP_Tracking-master | bb_rescale_relative.m | .m | MDP_Tracking-master/bb_rescale_relative.m | 912 | utf_8 | ad87dc76f67de2068a9f1808d313ee46 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | compile.m | .m | MDP_Tracking-master/compile.m | 620 | utf_8 | 709429c45163b5d656cdea3232f6452f | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% compile cpp files
% change the include and lib path if necessary
fu... |
github | yuxng/MDP_Tracking-master | fix_groundtruth.m | .m | MDP_Tracking-master/fix_groundtruth.m | 5,213 | utf_8 | efbf2c3fbc4237825e292860a891b086 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% fix annotation errors in ETH-Bahnhof
function dres_gt = fix_groundt... |
github | yuxng/MDP_Tracking-master | bb_width.m | .m | MDP_Tracking-master/bb_width.m | 740 | utf_8 | 9362e273a835829d0de7d40c96239d63 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | MDP_value.m | .m | MDP_Tracking-master/MDP_value.m | 3,927 | utf_8 | 12c3fc28edd50da49789ff134f04b645 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% MDP value function
function [tracker, qscore, f] = MDP_value(tracke... |
github | yuxng/MDP_Tracking-master | MDP_reward_occluded.m | .m | MDP_Tracking-master/MDP_reward_occluded.m | 2,440 | utf_8 | f07351bb40cdad518ef7ec6fa5032fbe | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% compute reward in tracked state
function [reward, label, f, is_end]... |
github | yuxng/MDP_Tracking-master | MDP_initialize.m | .m | MDP_Tracking-master/MDP_initialize.m | 1,808 | utf_8 | d25cf7e9254b17d538f14a2b1e683440 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% initialization of the tracker
function tracker = MDP_initialize(I, ... |
github | yuxng/MDP_Tracking-master | LK_crop_image_box.m | .m | MDP_Tracking-master/LK_crop_image_box.m | 874 | utf_8 | bf8fde4baf1f612c939414529c0004d4 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% crop canonical image and bounding box
function [I_crop, BB_crop, bb... |
github | yuxng/MDP_Tracking-master | LK_update.m | .m | MDP_Tracking-master/LK_update.m | 1,437 | utf_8 | 0b6d51a5212ed00dd8843a027999ab58 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% update the LK tracker
function tracker = LK_update(frame_id, tracke... |
github | yuxng/MDP_Tracking-master | sub.m | .m | MDP_Tracking-master/sub.m | 439 | utf_8 | c439f37e7a36aaf62f9918cc427c37c4 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function s = sub(s,I)
% s = sub(s,I)
% Returns a subset of the structu... |
github | yuxng/MDP_Tracking-master | bb_isout.m | .m | MDP_Tracking-master/bb_isout.m | 806 | utf_8 | f4b34f3b58d29d276c39d2f71e257774 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | MDP_train_det.m | .m | MDP_Tracking-master/MDP_train_det.m | 9,187 | utf_8 | 3524a1fe5e76fe01112cb123b255b96f | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% offline training using object detections
function tracker = MDP_tra... |
github | yuxng/MDP_Tracking-master | show_templates.m | .m | MDP_Tracking-master/show_templates.m | 1,051 | utf_8 | 1e097039a5d0ca09b524d2c89885bb82 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function show_templates(tracker, dres_image)
pad = 10;
num = tracker.n... |
github | yuxng/MDP_Tracking-master | MDP_initialize_test.m | .m | MDP_Tracking-master/MDP_initialize_test.m | 650 | utf_8 | 90e2052beffa04a02e2668f99074d17c | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% initialization for testing
function tracker = MDP_initialize_test(t... |
github | yuxng/MDP_Tracking-master | read_dres_image.m | .m | MDP_Tracking-master/read_dres_image.m | 914 | utf_8 | 78cd8e0e4a5bb392949f3bba3406e8a9 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% build the dres structure for images
function dres_image = read_dres... |
github | yuxng/MDP_Tracking-master | img_patch.m | .m | MDP_Tracking-master/img_patch.m | 2,462 | utf_8 | 841228b185a6b4f175b444173d99a641 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | MDP_train_gt.m | .m | MDP_Tracking-master/MDP_train_gt.m | 8,352 | utf_8 | 9216b774364181b05692edb4439505dc | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% offline training using ground truth annotations
function tracker = ... |
github | yuxng/MDP_Tracking-master | grid_search.m | .m | MDP_Tracking-master/grid_search.m | 2,039 | utf_8 | 7e8ec395857e64b6a098ec3c39855d75 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% find parameters by grid search
function opt = grid_search(seq_idx)
... |
github | yuxng/MDP_Tracking-master | MOT_evaluation_only.m | .m | MDP_Tracking-master/MOT_evaluation_only.m | 970 | utf_8 | 4e8842d28178d05510a09fc85cbaec6c | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function MOT_evaluation_only
opt = globals();
benchmark_dir = fullfile... |
github | yuxng/MDP_Tracking-master | MOT_confusion_table.m | .m | MDP_Tracking-master/MOT_confusion_table.m | 1,965 | utf_8 | 69d9de1e3136f99680098abf81619155 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function MOT_confusion_table
close all;
data = [56.0, 46.8, 14.0, 20.0... |
github | yuxng/MDP_Tracking-master | MOT_copy_results.m | .m | MDP_Tracking-master/MOT_copy_results.m | 1,551 | utf_8 | d28796cfdd8fc27443256220445143fd | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function MOT_copy_results
% test sequences
seqs = {'TUD-Crossing', 'PE... |
github | yuxng/MDP_Tracking-master | MDP_feature_active.m | .m | MDP_Tracking-master/MDP_feature_active.m | 596 | utf_8 | 95f76eb06b013c99ae0c159ec571ce65 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% extract features for active state
function f = MDP_feature_active(t... |
github | yuxng/MDP_Tracking-master | apply_motion_prediction.m | .m | MDP_Tracking-master/apply_motion_prediction.m | 1,305 | utf_8 | 1a103392983d75c50beee1044082ff28 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% apply motion models to predict the next locations of the targets
fu... |
github | yuxng/MDP_Tracking-master | bb_union.m | .m | MDP_Tracking-master/bb_union.m | 201 | utf_8 | 149930b11260cf8c3cdb0ae3dbee1e31 | % compute union of two boxes
function BB = bb_union(BB1, BB2)
BB = zeros(size(BB1));
BB(1) = min(BB1(1), BB2(1));
BB(2) = min(BB1(2), BB2(2));
BB(3) = max(BB1(3), BB2(3));
BB(4) = max(BB1(4), BB2(4)); |
github | yuxng/MDP_Tracking-master | globals.m | .m | MDP_Tracking-master/globals.m | 3,019 | utf_8 | 256bf69effb84a5c1fbdc6b1e2b1809e | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function opt = globals()
opt.root = pwd;
% path for MOT benchmark
mot... |
github | yuxng/MDP_Tracking-master | MDP_train.m | .m | MDP_Tracking-master/MDP_train.m | 9,189 | utf_8 | 07758c13a2669ba1dbc346f529978b04 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% training MDP
function tracker = MDP_train(seq_idx, tracker)
is_sho... |
github | yuxng/MDP_Tracking-master | bb_shift_absolute.m | .m | MDP_Tracking-master/bb_shift_absolute.m | 846 | utf_8 | 6c1838f152b86c2b0f99344fc37c3e7e | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | interpolate_dres.m | .m | MDP_Tracking-master/interpolate_dres.m | 1,700 | utf_8 | 063912f49c3875411d08c375da6176c6 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% add dres2 to dres1 and interpolate
function dres_new = interpolate_... |
github | yuxng/MDP_Tracking-master | MOT_plot_bar_new.m | .m | MDP_Tracking-master/MOT_plot_bar_new.m | 841 | utf_8 | f36b81a6f103338b5253a53a68331cc9 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function MOT_plot_bar_new
mota = [26.6, 25.4, 26.6, 20.9, 26.6, 23.6, ... |
github | yuxng/MDP_Tracking-master | MOT_display_results.m | .m | MDP_Tracking-master/MOT_display_results.m | 1,811 | utf_8 | c3cd9ea535a36554aaf564245dc8fe64 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function MOT_display_results
is_save = 1;
opt = globals();
N = numel(... |
github | yuxng/MDP_Tracking-master | concatenate_dres.m | .m | MDP_Tracking-master/concatenate_dres.m | 479 | utf_8 | dbf1d3d330d099e6bcdca3acb3686c88 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function dres_new = concatenate_dres(dres1, dres2)
if isempty(dres2) =... |
github | yuxng/MDP_Tracking-master | generate_results.m | .m | MDP_Tracking-master/generate_results.m | 577 | utf_8 | e771b10be42d4bd4d327b13ca276958d | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% find detections for initialization
function dres_all = generate_res... |
github | yuxng/MDP_Tracking-master | MOT_plot_bar.m | .m | MDP_Tracking-master/MOT_plot_bar.m | 1,007 | utf_8 | 7069317fec7899251ba3f3edac3f8615 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function MOT_plot_bar
mota_base = [26.6, 26.6, 26.6, 26.6, 26.6, 26.6]... |
github | yuxng/MDP_Tracking-master | evaluate_cem.m | .m | MDP_Tracking-master/evaluate_cem.m | 550 | utf_8 | 26097fd2422906a0cbde041318edf93f | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function evaluate_cem
opt = globals();
seq_set = 'train';
seq_name = '... |
github | yuxng/MDP_Tracking-master | MOT_make_gt_videos.m | .m | MDP_Tracking-master/MOT_make_gt_videos.m | 2,338 | utf_8 | 76accebb680d261ccb117a598ec498fa | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function MOT_make_gt_videos
close all;
hf = figure(1);
is_save = 1;
o... |
github | yuxng/MDP_Tracking-master | bb_near_border.m | .m | MDP_Tracking-master/bb_near_border.m | 233 | utf_8 | 9aae63091238c1b58334eb50d227a0f6 | % check if the bounding box is near image border or not
function flag = bb_near_border(bb, width, height)
frac = 0.05;
flag = bb(1) > frac*width & bb(2) > frac*height & bb(3) < (1-frac)*width & bb(4) < (1-frac)*height;
flag = ~flag; |
github | yuxng/MDP_Tracking-master | MDP_feature_tracked.m | .m | MDP_Tracking-master/MDP_feature_tracked.m | 774 | utf_8 | 01b4c6771b83c3fe8ae1e3bf108ee830 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% extract features for tracked state
function [tracker, f] = MDP_feat... |
github | yuxng/MDP_Tracking-master | write_tracking_results.m | .m | MDP_Tracking-master/write_tracking_results.m | 840 | utf_8 | b943a1d74449638e556933911970aeaf | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
function write_tracking_results(filename, dres, threshold)
% compute t... |
github | yuxng/MDP_Tracking-master | LK_initialize.m | .m | MDP_Tracking-master/LK_initialize.m | 2,417 | utf_8 | 15215d3cb959e3b8d5e3094b026da9a1 | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% initialize the LK tracker
function tracker = LK_initialize(tracker,... |
github | yuxng/MDP_Tracking-master | bb_points.m | .m | MDP_Tracking-master/bb_points.m | 1,439 | utf_8 | 8cce23f5971cfeb766627b5a2ac2cc5d | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | bb_shift_relative.m | .m | MDP_Tracking-master/bb_shift_relative.m | 931 | utf_8 | 9a3fad78f22058bfedfc4198a4875ab1 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | ntuples.m | .m | MDP_Tracking-master/ntuples.m | 974 | utf_8 | fa5a7c36c097c4edd9874d960c171a4a | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | generate_initial_index.m | .m | MDP_Tracking-master/generate_initial_index.m | 1,372 | utf_8 | 6bcb5d49a775156d958f530e135cc69a | % --------------------------------------------------------
% MDP Tracking
% Copyright (c) 2015 CVGL Stanford
% Licensed under The MIT License [see LICENSE for details]
% Written by Yu Xiang
% --------------------------------------------------------
%
% find detections for initialization
function [dres_det, index_det] =... |
github | yuxng/MDP_Tracking-master | repcel.m | .m | MDP_Tracking-master/repcel.m | 791 | utf_8 | 265200bfa76cdb0fd1c540d03fa86970 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | cs2_func.m | .m | MDP_Tracking-master/3rd_party/DP_NMS/cs2_func.m | 717 | utf_8 | 19259d8781e634aaddd43eddefcc683f | % This function calls c implementation of push-relabel algorithm. It is downloaded from http://www.igsystems.com/cs2/index.html and then we mex'ed it to run faster in matlab.
% dat_in = [tail head cost lb ub];
% dat_out = [frail fhead flow];
% excess_node = [source_num sink_num];
% excess_flow = [sourec_flow sink_fl... |
github | yuxng/MDP_Tracking-master | assignmentallpossible.m | .m | MDP_Tracking-master/3rd_party/Hungarian/assignmentallpossible.m | 4,426 | utf_8 | 6b73f8a3fbe061fcf88b845eaf85fb35 | function [assignment, cost] = assignmentallpossible(distMatrix)
%ASSIGNMENTALLPOSSIBLE Compute solution of assignment problem
% ASSIGNMENTALLPOSSIBLE(DISTMATRIX) computes the optimal assignment
% (minimum overall costs) for the given rectangular distance or cost
% matrix, for example the assignment of tracks ... |
github | yuxng/MDP_Tracking-master | assignmentoptimal.m | .m | MDP_Tracking-master/3rd_party/Hungarian/assignmentoptimal.m | 8,280 | utf_8 | 5fe8d4352b1b7cb65dd237e740e9a313 | function [assignment, cost] = assignmentoptimal(distMatrix)
%ASSIGNMENTOPTIMAL Compute optimal assignment by Munkres algorithm
% ASSIGNMENTOPTIMAL(DISTMATRIX) computes the optimal assignment (minimum
% overall costs) for the given rectangular distance or cost matrix, for
% example the assignment of tracks (in... |
github | yuxng/MDP_Tracking-master | tldGenerateNegativeData.m | .m | MDP_Tracking-master/3rd_party/TLD/tldGenerateNegativeData.m | 1,179 | utf_8 | 46733f065a43cf57b6ab6d293721a46e | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | tldGetPattern.m | .m | MDP_Tracking-master/3rd_party/TLD/tldGetPattern.m | 1,308 | utf_8 | 7e0f7dd5b3ca2db06fe2028dcc3a23ad | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | tldLearning.m | .m | MDP_Tracking-master/3rd_party/TLD/tldLearning.m | 2,464 | utf_8 | 01eb3c09dba70d0fb911cbbda9477858 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
github | yuxng/MDP_Tracking-master | tldDisplay.m | .m | MDP_Tracking-master/3rd_party/TLD/tldDisplay.m | 7,093 | utf_8 | 3f6b92ba79ad669a1ed70ed3bf3f3f92 | % Copyright 2011 Zdenek Kalal
%
% This file is part of TLD.
%
% TLD is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at your option) any later version.
%
% TLD is distri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.