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 | yuxng/MDP_Tracking-master | run_TLD.m | .m | MDP_Tracking-master/3rd_party/TLD/run_TLD.m | 3,386 | utf_8 | 702fbb62349d4644a90135b6f3e375fb | % 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 | tldInitSource.m | .m | MDP_Tracking-master/3rd_party/TLD/tldInitSource.m | 974 | utf_8 | fd4ff94abcf96fac1c4da34db48ce943 | % 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 | tldExample.m | .m | MDP_Tracking-master/3rd_party/TLD/tldExample.m | 2,185 | utf_8 | 17d293a17554e18d0da0bf778f1656db | % 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 | tldPatch2Pattern.m | .m | MDP_Tracking-master/3rd_party/TLD/tldPatch2Pattern.m | 849 | utf_8 | 378a5d6d2515fb297fe82ee68489e335 | % 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 | tldInitFirstFrame.m | .m | MDP_Tracking-master/3rd_party/TLD/tldInitFirstFrame.m | 1,335 | utf_8 | 6ddad62f478056630a3bd2d82f5baa8e | % 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 | tldProcessFrame.m | .m | MDP_Tracking-master/3rd_party/TLD/tldProcessFrame.m | 3,406 | utf_8 | e08133c4330ee6f0ec34f20fa69b1a89 | % 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 | tldGeneratePositiveData.m | .m | MDP_Tracking-master/3rd_party/TLD/tldGeneratePositiveData.m | 1,930 | utf_8 | b715a773628674eb9a260032b7b7be71 | % 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 | tldSplitNegativeData.m | .m | MDP_Tracking-master/3rd_party/TLD/tldSplitNegativeData.m | 997 | utf_8 | d67c9e67476f38a124adca519c196434 | % 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 | tldDetection.m | .m | MDP_Tracking-master/3rd_party/TLD/tldDetection.m | 2,958 | utf_8 | 5b414e75959c825c5048ff36b48ac986 | % 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 | tldTracking.m | .m | MDP_Tracking-master/3rd_party/TLD/tldTracking.m | 2,338 | utf_8 | 6d3202e50ce62b7bb1ec00727624094a | % 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 | tldTrainNN.m | .m | MDP_Tracking-master/3rd_party/TLD/tldTrainNN.m | 1,753 | utf_8 | dec2d5a84f83264c476b9a5b5bc02dfb | % 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 | tldNN.m | .m | MDP_Tracking-master/3rd_party/TLD/tldNN.m | 2,298 | utf_8 | 75cc563cbd90565b6a089cd87a305f32 | % 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 | TLD_process.m | .m | MDP_Tracking-master/3rd_party/TLD/TLD_process.m | 2,765 | utf_8 | e8e2ec9e9482abf2e027f4557595c3a1 | % TLD process frame
function tld = TLD_process(tld, img, frame_id)
I = frame_id - tld.frame_id + 1; % get current index
tld.img{I} = img_alloc(img); % grab frame from camera / load image
% TRACKER ----------------------------------------------------------------
[tBB tConf tValid tld] = tldTracking(tld,tld.bb(:,I-1)... |
github | yuxng/MDP_Tracking-master | TLD_initialize.m | .m | MDP_Tracking-master/3rd_party/TLD/TLD_initialize.m | 2,534 | utf_8 | e27e9dcc49feaf87e09091bca60060b3 | % initialize TLD tracker
function tld = TLD_initialize(img, frame_id, target_id, x1, y1, x2, y2)
opt.source = struct('camera',0,'input',[],'bb0', []); % camera/directory swith, directory_name, initial_bounding_box (if empty, it will be selected by the user)
opt.output = []; % output directory that w... |
github | yuxng/MDP_Tracking-master | tldGenerateFeatures.m | .m | MDP_Tracking-master/3rd_party/TLD/tldGenerateFeatures.m | 1,506 | utf_8 | d2eec948f5d50de841ac554a5778890a | % 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 | tldInit.m | .m | MDP_Tracking-master/3rd_party/TLD/tldInit.m | 4,374 | utf_8 | 854f51e947f87a057a09954b2fd6b7e4 | % 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_isdef.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/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 | bb_height.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/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 | bb_burn.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_burn.m | 1,175 | utf_8 | acc90a8e4518d726de86c2141e1dba25 | % 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_square.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_square.m | 903 | utf_8 | 3458eefd11e60ce622e450b3558ad54d | % 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_scan.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_scan.m | 2,046 | utf_8 | ae24572e546e70ee24940ae7a9c9df03 | % 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_size.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_size.m | 745 | utf_8 | a583129dbbebd247c1dd3bb123d7f530 | % 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_distance.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_distance.m | 826 | utf_8 | 0ee0b871301af032107c3737be1458ec | % 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_predict.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_predict.m | 1,025 | utf_8 | 5aa21d6b12c0d9707a0f2bc04780d2bb | % 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_cluster.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_cluster.m | 1,326 | utf_8 | 2742daa26d0d81fb7c6db11ea05cc707 | % 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_scale.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_scale.m | 804 | utf_8 | 454ed5f8e993a84eb0d2aa5f5064a337 | % 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_rescale_relative.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/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 | bb_width.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/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 | bb_get_similar.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_get_similar.m | 784 | utf_8 | db1d2f79a46c7ebdac8cefc1977518db | % 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_click.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_click.m | 1,105 | utf_8 | 8be105ff1e78e341477b283c9b2fbefa | % 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_isout.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_isout.m | 808 | utf_8 | 779e56379651316cafbfccacfe5b21a4 | % 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_hull.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_hull.m | 790 | utf_8 | ca09f538a86cf63e22404d5aaefad906 | % 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_isin.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_isin.m | 803 | utf_8 | 45b983accd3e42de44963d9ea40d0d60 | % 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_draw.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_draw.m | 1,155 | utf_8 | 28bdce4ae624e796995b29d5034d959b | % 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_normalize.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_normalize.m | 980 | utf_8 | b312f50bdd94a926d446f2b33c4e8f59 | % 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_absolute.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/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 | bb_click_move.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_click_move.m | 862 | utf_8 | 6d617aeb74431afdbf7b6bb09b205097 | % 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_rescale_absolute.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_rescale_absolute.m | 813 | utf_8 | 071c6af95702f513508d30af111d847a | % 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_center.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_center.m | 808 | utf_8 | 5ada95fd1ef912475d45243c66291d0c | % 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_cluster_confidence.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_cluster_confidence.m | 1,551 | utf_8 | 6331470e8f82e25481ffe1da8a478afb | % 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_points.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_points.m | 1,312 | utf_8 | b43873b44ea7379ee282558c6fd2db23 | % 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/3rd_party/TLD/bbox/bb_shift_relative.m | 932 | utf_8 | 7b5118e2267558eb484122a9c3a8f8e5 | % 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_correct.m | .m | MDP_Tracking-master/3rd_party/TLD/bbox/bb_correct.m | 1,353 | utf_8 | b0e79b0b80fc5246f1b60eabf84c95f4 | % 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 | idx2id.m | .m | MDP_Tracking-master/3rd_party/TLD/utils/idx2id.m | 750 | utf_8 | 574d29cdf4f4b5a9faf3a03594679489 | % 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 | uniquecount.m | .m | MDP_Tracking-master/3rd_party/TLD/utils/uniquecount.m | 859 | utf_8 | 8563d64ec1cc8dcc6043b38a065fae44 | % 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 | mat2img.m | .m | MDP_Tracking-master/3rd_party/TLD/utils/mat2img.m | 1,360 | utf_8 | 33584080e1db51e5748523903c887797 | % 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 | median2.m | .m | MDP_Tracking-master/3rd_party/TLD/utils/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 | pseudorandom_indexes.m | .m | MDP_Tracking-master/3rd_party/TLD/utils/pseudorandom_indexes.m | 754 | utf_8 | dbc5ffed0a95ba76aa1afca772698716 | % 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 | n2s.m | .m | MDP_Tracking-master/3rd_party/TLD/utils/n2s.m | 754 | utf_8 | e6fe82f0094c30da4540119043bd9ba0 | % 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 | randvalues.m | .m | MDP_Tracking-master/3rd_party/TLD/utils/randvalues.m | 953 | utf_8 | 04c8a9d9e944d47c3de96858af2f7ee7 | % 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 | vnormp.m | .m | MDP_Tracking-master/3rd_party/TLD/utils/vnormp.m | 755 | utf_8 | fdf0e0a9b670c038f62d153c1806af4a | % 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/3rd_party/TLD/utils/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 | repcel.m | .m | MDP_Tracking-master/3rd_party/TLD/utils/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 | img_dir.m | .m | MDP_Tracking-master/3rd_party/TLD/img/img_dir.m | 1,035 | utf_8 | 704b570af268c1abe9c1e688d676d8c1 | % 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 | img_get.m | .m | MDP_Tracking-master/3rd_party/TLD/img/img_get.m | 835 | utf_8 | df92f05bfb1101ca6e6cfe4bbb417580 | % 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 | img_blur.m | .m | MDP_Tracking-master/3rd_party/TLD/img/img_blur.m | 944 | utf_8 | 1e9180adb6663c278888e9cfbdf6c9b0 | % 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 | img_patch.m | .m | MDP_Tracking-master/3rd_party/TLD/img/img_patch.m | 2,443 | utf_8 | cf5a3b392dd0e5c3485d8d39f6dc500d | % 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 | img_alloc.m | .m | MDP_Tracking-master/3rd_party/TLD/img/img_alloc.m | 1,104 | utf_8 | 1604212cb1ac801b6234738e7e1586c7 | % 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 | cam_wait.m | .m | MDP_Tracking-master/3rd_party/TLD/img/cam_wait.m | 973 | utf_8 | cb695fe1789b0c7dbcf19b49b893d714 | % 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 | L1APG_reconstruction_error.m | .m | MDP_Tracking-master/3rd_party/L1APG/L1APG_reconstruction_error.m | 755 | utf_8 | caed16c8bedc370add82adb839365bcd | % compute the reconstruction error
function err = L1APG_reconstruction_error(img, model, x1, y1, x2, y2)
para = model.para;
para.Lambda = model.Lambda;
pos = [y1, y2, y1; x1 x1 x2];
sz_T = para.sz_T;
nT = para.nT;
% get affine transformation parameters from the corner points
aff_obj = corners2affine(pos, sz_T);
map_a... |
github | yuxng/MDP_Tracking-master | APGLASSOup.m | .m | MDP_Tracking-master/3rd_party/L1APG/APGLASSOup.m | 1,384 | utf_8 | 09874bb01bed7a5725038f80e8f63d2a | function [c] = APGLASSOup(b,A,para)
%% Object: c = argmin (1/2)\|y-Dx\|_2^2+lambda\|x\|_1+\mu\|x_I\|_2^2
%% s.t. x_T >0
%% input arguments:
%% b ------- D'*y transformed object vector
%% A ------- D'*D transformed dictionary
%% para ------ Lambda: Sparsity Level
%% ... |
github | yuxng/MDP_Tracking-master | L1APG_update.m | .m | MDP_Tracking-master/3rd_party/L1APG/L1APG_update.m | 2,331 | utf_8 | c1b0f68129abec5f24cba7702db6b291 | % update model
function [model, id_max] = L1APG_update(img, model, x1, y1, x2, y2)
% initialization
para = model.para;
para.Lambda = model.Lambda;
rel_std_afnv = para.rel_std_afnv;
sz_T = para.sz_T;
nT = para.nT;
T = model.T;
T_mean = model.T_mean;
norms = model.norms;
A = model.A;
alpha = 50;
% construct template
nu... |
github | alexalex222/Batch-Process-Soft-Sensor-master | exportfig.m | .m | Batch-Process-Soft-Sensor-master/exportfig.m | 32,769 | utf_8 | c64155519b7fc569dfcf501d94376e63 | function varargout = exportfig(varargin)
%EXPORTFIG Export a figure.
% EXPORTFIG(H, FILENAME) writes the figure H to FILENAME. H is
% a figure handle and FILENAME is a string that specifies the
% name of the output file.
%
% EXPORTFIG(H, FILENAME, OPTIONS) writes the figure H to FILENAME
% with options init... |
github | akanazawa/si-convnet-master | read_norb_data.m | .m | si-convnet-master/examples/norb/read_norb_data.m | 2,118 | utf_8 | 2f98e9c556edfc0833668e0419808117 | function read_norb_data()
dir = '/scratch0/data/norb/';
% label_name = fullfile(dir, 'norb-5x01235x9x18x6x2x108x108-testing-01-cat.mat');
% data_name = fullfile(dir, 'norb-5x01235x9x18x6x2x108x108-testing-01-dat.mat');
%label_name = fullfile(dir, 'norb-5x46789x9x18x6x2x108x108-training-10-cat.mat');
%data_name = fullf... |
github | akanazawa/si-convnet-master | fit_image.m | .m | si-convnet-master/matlab/caffe/fit_image.m | 1,243 | utf_8 | 08a404193dccfbe94d1ecdbba6184cfb | function I_adj = fit_image(I, img_size, pad_value)
if nargin == 2
pad_value = 0;
end
new_r = size(I, 1);
new_c = size(I, 2);
if new_r ~= new_c
if new_r < new_c
I = crop_or_center_image(I, new_r, pad_value);
else
I = crop_or_center_image(I, new_c, pad_value);
... |
github | akanazawa/si-convnet-master | prepare_batch.m | .m | si-convnet-master/matlab/caffe/prepare_batch.m | 1,298 | utf_8 | 68088231982895c248aef25b4886eab0 | % ------------------------------------------------------------------------
function images = prepare_batch(image_files,IMAGE_MEAN,batch_size)
% ------------------------------------------------------------------------
if nargin < 2
d = load('ilsvrc_2012_mean');
IMAGE_MEAN = d.image_mean;
end
num_images = length... |
github | akanazawa/si-convnet-master | matcaffe_demo.m | .m | si-convnet-master/matlab/caffe/matcaffe_demo.m | 3,506 | utf_8 | 1b9c1aa30d983b6acc3188c15a6170f9 | function [scores, maxlabel] = matcaffe_demo(im, use_gpu)
% scores = matcaffe_demo(im, use_gpu)
%
% Demo of the matlab wrapper using the ILSVRC network.
%
% input
% im color image as uint8 HxWx3
% use_gpu 1 to use the GPU, 0 to use the CPU
%
% output
% scores 1000-dimensional ILSVRC score vector
%
% You m... |
github | anmolnehru/CS766-LLC-SVM-master | sp_dense_sift.m | .m | CS766-LLC-SVM-master/sp_dense_sift.m | 3,961 | utf_8 | c05f842a89e07b32c7bf846f21e1451a | function [sift_arr, grid_x, grid_y] = sp_dense_sift(I, grid_spacing, patch_size)
% Original script by Svetlana Lazebnick
% Adapted by Antonio Torralba: modified using convolutions to speed up the computations.
% And brought back into Svetlana's library
if(~exist('grid_spacing','var'))
grid_spacing = 1;
end
if(~exi... |
github | anmolnehru/CS766-LLC-SVM-master | sp_find_sift_grid.m | .m | CS766-LLC-SVM-master/sp_find_sift_grid.m | 4,053 | utf_8 | 439b3883808ded16d0a8f689abc38078 | function sift_arr = sp_find_sift_grid(I, grid_x, grid_y, patch_size, sigma_edge)
% parameters
num_angles = 8;
num_bins = 4;
num_samples = num_bins * num_bins;
alpha = 9;
if nargin < 5
sigma_edge = 1;
end
angle_step = 2 * pi / num_angles;
angles = 0:angle_step:2*pi;
angles(num_angles+1) = []; % bin centers
[hgt ... |
github | sir-avinash/geometric-control-of-spherical-pendula-master | double_pendulum_main7.m | .m | geometric-control-of-spherical-pendula-master/double_pendulum_main7.m | 4,889 | utf_8 | ccfaa81d4f1f84f8f4b567bb950d60e0 | function double_pendulum_main7
addpath('C:\Users\Avinash\Dropbox\CMU_lap\Misc\My Toolbox');
d.g = 9.8;
d.e3 = [0 0 1]';
d.m = 1;
d.l = 0.2;
d.theta = -20*(pi/180); % Pitch := Rotation about Y-axis; Start with some negative deflection
d.phi = 0*(pi/180); % Roll := Rotation about X-axis; Start with some positive displa... |
github | sir-avinash/geometric-control-of-spherical-pendula-master | double_pendulum_O3.m | .m | geometric-control-of-spherical-pendula-master/double_pendulum_O3.m | 5,685 | utf_8 | 0dad111f4978075cb361aedd12fa2685 | function double_pendulum_O3
%%% building a controller assuming R belongs to O(3) %%%
addpath('C:\Users\Avinash\Dropbox\CMU_lap\Misc\My Toolbox');
% addpath('W:\CMU\Research Related\robot model\My Toolbox');
%%%%%%%%%%%%% System Properties %%%%%%%%%%
d.g = 9.8;
d.e3 = [0 0 1]';
d.m = 1;
d.l = 0.2;
d.theta = -25*(pi... |
github | dritani/Harmonic-Balance-Method-master | hbm21.m | .m | Harmonic-Balance-Method-master/hbm21.m | 1,641 | utf_8 | 43466106817aa68d0fc7fb8f7fc2125f | function [] = hbm21 ()
clc
% This code is an adaptation of the algorithm posted on the
% MECH 309 webCT page in the folder "week 11".
%
a = 0; % start time
b = 200; % end time
N = 2000; % # of steps
h= (b-a)/N; % step size
%
t = a;
z(1) = 1; ... |
github | ljbusse/concaveArray-master | plus_pht.m | .m | concaveArray-master/plus_pht.m | 737 | utf_8 | 70fdae0b33b5561e1abbef37d1da0bfb |
function [pos, amp] = plus_phantom (N)
% Place the point scatterers in the phantom
%basic resolution pattern
%x1 = 0.5*[0,1,3,6,10,15]-3.75;
%y1 = [0,0,0,0,0,0];
%z1 = 0.5*[0,1,2,3,4,5]-1.25;
%plus pattern on a 1mm grid
x1=[0];%[0,-1,0,1,0];
y1=[0];%[0,0,0,0,0];
z1=[0];%1,0,0,0,-1];
x=[];y=[];z=[];
ycenter =0;
%p... |
github | ljbusse/concaveArray-master | show_xdc.m | .m | concaveArray-master/show_xdc.m | 1,057 | utf_8 | 216333ea880ffff67cb14fc74597f85d | % Show the transducer surface in a surface plot
%
% Calling: show_xdc(Th)
%
% Argument: Th - Transducer handle
%
% Return: Plot of the transducer surface on the current figure
%
% Note this version onlys shows the defined rectangles
%
% Version 1.2, August 4, 1999, JAJ
function res = show_xdc (Th)
% Do it fo... |
github | qdsclove/An-SVD-based-Fragile-Watermarking-Scheme-With-Grouped-Blocks-master | ZeroBits.m | .m | An-SVD-based-Fragile-Watermarking-Scheme-With-Grouped-Blocks-master/ZeroBits.m | 431 | utf_8 | 2e0e455746da27a404665f4c6561004b | % Zero the LSB bit planes
% Only work for 8-bit grayscale image
function OutImg = ZeroBits(InImg, zero_number)
if(zero_number > 8 || zero_number < 0)
return;
end
number = power( 2, zero_number );
[h w] = size(InImg);
OutImg = zeros(h, w);
for i = 1 : h
for j = 1 : w
pixel_value = InImg(i, j);
... |
github | iche033/ardupilot-master | RotToQuat.m | .m | ardupilot-master/libraries/AP_NavEKF/Models/Common/RotToQuat.m | 288 | utf_8 | 9239706354267c8f5f2a29f992c07de9 | % convert froma rotation vector in radians to a quaternion
function quaternion = RotToQuat(rotVec)
vecLength = sqrt(rotVec(1)^2 + rotVec(2)^2 + rotVec(3)^2);
if vecLength < 1e-6
quaternion = [1;0;0;0];
else
quaternion = [cos(0.5*vecLength); rotVec/vecLength*sin(0.5*vecLength)];
end |
github | iche033/ardupilot-master | NormQuat.m | .m | ardupilot-master/libraries/AP_NavEKF/Models/Common/NormQuat.m | 198 | utf_8 | ed913e87efc9194a2c52b266fced8da7 | % normalise the quaternion
function quaternion = normQuat(quaternion)
quatMag = sqrt(quaternion(1)^2 + quaternion(2)^2 + quaternion(3)^2 + quaternion(4)^2);
quaternion(1:4) = quaternion / quatMag;
|
github | iche033/ardupilot-master | QuatToEul.m | .m | ardupilot-master/libraries/AP_NavEKF/Models/Common/QuatToEul.m | 436 | utf_8 | c19c9235052d99b8b943a7157e83fc94 | % Convert from a quaternion to a 321 Euler rotation sequence in radians
function Euler = QuatToEul(quat)
Euler = zeros(3,1);
Euler(1) = atan2(2*(quat(3)*quat(4)+quat(1)*quat(2)), quat(1)*quat(1) - quat(2)*quat(2) - quat(3)*quat(3) + quat(4)*quat(4));
Euler(2) = -asin(2*(quat(2)*quat(4)-quat(1)*quat(3)));
Euler(3) =... |
github | sg3510/neural-networks-coursera-master | learn_perceptron.m | .m | neural-networks-coursera-master/Assignment 1/learn_perceptron.m | 6,154 | utf_8 | f45ca3f37d3a6fc5936d97e9b0755aff | %% Learns the weights of a perceptron and displays the results.
function [w] = learn_perceptron(neg_examples_nobias,pos_examples_nobias,w_init,w_gen_feas)
%%
% Learns the weights of a perceptron for a 2-dimensional dataset and plots
% the perceptron at each iteration where an iteration is defined as one
% full pass th... |
github | sg3510/neural-networks-coursera-master | plot_perceptron.m | .m | neural-networks-coursera-master/Assignment 1/plot_perceptron.m | 3,409 | utf_8 | 808099ac46c6f636fa74de07abbcc8bb | %% Plots information about a perceptron classifier on a 2-dimensional dataset.
function plot_perceptron(neg_examples, pos_examples, mistakes0, mistakes1, num_err_history, w, w_dist_history)
%%
% The top-left plot shows the dataset and the classification boundary given by
% the weights of the perceptron. The negative ex... |
github | sg3510/neural-networks-coursera-master | train.m | .m | neural-networks-coursera-master/Assignment 2/train.m | 8,675 | utf_8 | eb006271f1479b68936e2aeb9c7222f8 | % This function trains a neural network language model.
function [model] = train(epochs)
% Inputs:
% epochs: Number of epochs to run.
% Output:
% model: A struct containing the learned weights and biases and vocabulary.
if size(ver('Octave'),1)
OctaveMode = 1;
warning('error', 'Octave:broadcast');
start_time... |
github | miibotree/Leafsnap-master | LMgist.m | .m | Leafsnap-master/LeafClassify/LMgist.m | 8,240 | utf_8 | bfdf40d00f3439f3864ce453bfce69d6 | function [gist, param] = LMgist(D, HOMEIMAGES, param, HOMEGIST)
%
% [gist, param] = LMgist(D, HOMEIMAGES, param);
% [gist, param] = LMgist(filename, HOMEIMAGES, param);
% [gist, param] = LMgist(filename, HOMEIMAGES, param, HOMEGIST);
%
% For a set of images:
% gist = LMgist(img, [], param);
%
% When calling LMgist with... |
github | miibotree/Leafsnap-master | showGist.m | .m | Leafsnap-master/LeafClassify/showGist.m | 1,954 | utf_8 | 926839f0ab3e7182c10a1b52d06e5e31 | function showGist(gist, param)
%
% Visualization of the gist descriptor
% showGist(gist, param)
%
% The plot is color coded, with one color per scale
%
% Example:
% img = zeros(256,256);
% img(64:128,64:128) = 255;
% gist = LMgist(img, '', param);
% showGist(gist, param)
[Nimages, Ndim] = size(gist);
nx = c... |
github | ywchao/semantic_affordance-master | distinguishable_colors.m | .m | semantic_affordance-master/3rd_party/matlab_central/distinguishable_color/distinguishable_colors.m | 5,753 | utf_8 | 57960cf5d13cead2f1e291d1288bccb2 | function colors = distinguishable_colors(n_colors,bg,func)
% DISTINGUISHABLE_COLORS: pick colors that are maximally perceptually distinct
%
% When plotting a set of lines, you may want to distinguish them by color.
% By default, Matlab chooses a small set of colors and cycles among them,
% and so if you have more than ... |
github | mwgeurts/tomo_export-master | TomoExport.m | .m | tomo_export-master/TomoExport.m | 11,532 | utf_8 | 0cea5e6c7ff3aa3c899cf6e75b3576b1 | function varargout = TomoExport(varargin)
% The TomoTherapy Patient Archive DICOM Export Tool reads in a patient
% archive and allows the user to view and export approved treatments plans
% to DICOM CT, RTstruct, and RT Dose files for archival in PACS systems.
%
% TomoTherapy is a registered trademark of Accuray Inco... |
github | mwgeurts/tomo_export-master | CPUInfo.m | .m | tomo_export-master/@UnitTest/CPUInfo.m | 9,415 | utf_8 | e1c06c05e7d197410b9ba981e8bc0ac6 | function info = CPUInfo()
%CPUINFO read CPU configuration
%
% info = CPUINFO() returns a structure containing various bits of
% information about the CPU and operating system as provided by /proc/cpu
% (Unix), sysctl (Mac) or WMIC (Windows). This information includes:
% * CPU name
% * CPU clock speed
% ... |
github | petercorke/robotics-toolbox-python-master | LocnTest.m | .m | robotics-toolbox-python-master/tests/LocnTest.m | 4,870 | utf_8 | bf1993bf5cb0808ccb0a933d4810a032 | function tests = LocnTest
tests = functiontests(localfunctions);
clc
end
function setupOnce(testCase)
testCase.TestData.Duration = 50;
end
function Vehicle_test(tc)
%%
randinit
V = diag([0.005, 0.5*pi/180].^2);
v = Bicycle('covar', V);
v.add_driver( RandomPath(10) );
v.run(tc.TestDat... |
github | led02/mlabpy-master | test.m | .m | mlabpy-master/src/mlabpy/samples/test.m | 517 | utf_8 | cf93ada2080742785ff8cb5e8f5d713f | % Simple collection of some test code for MlabPy.
%
% Copyright (C) 2015, led02 <mlabpy@led-inc.eu>
function primes = primes(limit)
primes = [ 2, 3 ];
curr = 3;
output_interval = 25
while curr<limit
curr += 2;
curr_sqrt = sqrt(curr);
for n=primes
if n>curr_sqrt
... |
github | led02/mlabpy-master | mybench.m | .m | mlabpy-master/src/mlabpy/samples/mybench.m | 14,821 | utf_8 | 90cd46b1554d9085f8d7b724fecb7234 | function res = mybench(varargin)
% res = mybench('noOfRepeats', 3,...
% 'normalize',true,...
% 'onlyTests',[],...
% 'imagep',true)
%
% Benchmark script for MATLAB and Octave.
% Tested on Matlab 2009a and Octave 3.2.2 for Windows.
%
% Execution time o... |
github | utvisionlab/gopt-master | spdfactory.m | .m | gopt-master/manoptAuxiliary/pdManifold/spdfactory.m | 5,952 | utf_8 | 957a8fe655a7e1485379c1c0f2c83eac | %% |spdfactory|
% Returns a manifold structure to optimize over symmetric positive definite
% matrices
%
% *Syntax*
%
% M = spdfactory(n)
%
% *Description*
%
% |M = spdfactory(n)| returns |M|, a structure describing the Riemmanian
% manifold of symmetric |n-by-n| positive definite matrices.
%
%
% Original authors: R... |
github | utvisionlab/gopt-master | hpdfactory.m | .m | gopt-master/manoptAuxiliary/pdManifold/hpdfactory.m | 5,960 | utf_8 | be797032ba7b91f9fa6dfcf434c11228 | %% |hpdfactory|
% Returns a manifold structure to optimize over Hermitian positive definite
% matrices
%
% *Syntax*
%
% M = hpdfactory(n)
%
% *Description*
%
% |M = hpdfactory(n)| returns |M|, a structure describing the Riemmanian
% manifold of Hermitian |n-by-n| positive definite matrices.
%
%
% Original authors: R... |
github | utvisionlab/gopt-master | sqrtm_fast.m | .m | gopt-master/manoptAuxiliary/pdManifold/sqrtm_fast.m | 827 | utf_8 | cc36b6009873d7a688a8bb1afd5aa252 | %% |sqrtm_fast|
% Calculate matrix square root using Schur decomposition
%
% *Syntax*
%
% As = sqrtm_fast(A)
%
%
% Original author: Reshad Hosseini
%
% Change log:
%
function As=sqrtm_fast(A)
% ToDO:For Hermitian positive definite there is a faster version based on
% Chapter 6 of "Functions of Matrices" by ... |
github | utvisionlab/gopt-master | linesearch_wolfe.m | .m | gopt-master/manoptAuxiliary/wolfeLinesearch/linesearch_wolfe.m | 11,228 | utf_8 | beee07397860da51f17aafdd9275b704 | function [stepsize newx storedb lsmem lsstats] = ...
linesearch_wolfe(problem, x, d, f0, df0, options, storedb, lsmem)
% Adaptive line search algorithm (step size selection) for descent methods.
%
% function [stepsize newx storedb lsmem lsstats] =
% linesearch_adaptive(problem, x, d, f0, df0, options, stor... |
github | utvisionlab/gopt-master | desc_dir_cal.m | .m | gopt-master/manoptAuxiliary/lbfgsSolver/desc_dir_cal.m | 2,760 | utf_8 | f48dfca157514a97c52ae759b5b77345 | %% |desc_dir_cal|
% *Note:* This is a private function.
%
%
% Original author: Reshad Hosseini
%
% Change log:
%
function p_desc = desc_dir_cal(p, M, grad_diff_all, desc_dir_all, ...
x_all, ddgd, gd, corrections , Hdiag, Expc_all, Expci_all)
%
%function p_desc = desc_dir_cal(p, M, grad_diff_all, desc_dir_all, .... |
github | utvisionlab/gopt-master | lbfgs.m | .m | gopt-master/manoptAuxiliary/lbfgsSolver/lbfgs.m | 8,104 | utf_8 | 3184462c98cf74f6ba6813dbc8a5bb61 | %% |lbfgs|
% Manifold LBFGS minimization algorithm for Manopt
%
%
% Original author: Reshad Hosseini, Aug. 30, 2013.
%
% Change log:
% Reshad Hosseini, Jun.26,2013: Improving speed when "transpf" is present
% Reshad Hosseini, Jun.01,2015: Integrating some Wolfe related changes
%
function [x cost info] = lbfgs(pr... |
github | utvisionlab/gopt-master | lbfgs_update.m | .m | gopt-master/manoptAuxiliary/lbfgsSolver/lbfgs_update.m | 2,546 | utf_8 | 05bb4150ea75db3d92fd19dd2f1b6358 | %% |lbfgs_update|
% *Note:* This is a private function.
%
%
% Original author: Reshad Hosseini
%
% Change log:
%
function [grad_diff_all, desc_dir_all, x_all, gd_all, ddgd_all, Hdiag, ...
Expc_all, Expci_all] ...
= lbfgs_update(x, M, grad_diff, desc_dir, grad_diff_all, ...
desc_dir_all,num_corr, x_all, ... |
github | utvisionlab/gopt-master | sdivmedian.m | .m | gopt-master/means-medians/sdivmedian.m | 1,688 | utf_8 | 4caf5558fa7160b054454a7104ba2203 | function out=sdivmedian(A,maxit,verbose)
% SDIVMEDIAN -- compute s-median of psd matrices
%
% OUT = SDIVMEDIAN(A)
% OUT = SDIVMEDIAN(A,MAXIT)
%
% A: cell array of psd matrices
% maxit: optional param to control # iterations, hence accuracy
%
% out: structure containing the median and info about algo run
%
%
... |
github | utvisionlab/gopt-master | sdivmean.m | .m | gopt-master/means-medians/sdivmean.m | 1,885 | utf_8 | db0ae309029328b28cfc7fad599dbb77 | function out = sdivmean(A,maxit,verbose)
% SDIVMEAN -- compute s-mean of psd matrices
%
% OUT = SDIVMEAN(A)
% OUT = SDIVMEAN(A,MAXIT)
%
% A: cell array of psd matrices
% maxit: optional param to control # iterations, hence accuracy
%
% out: structure containing mean and info about the algorithm's run
%
% Aut... |
github | utvisionlab/gopt-master | myProcessOptions.m | .m | gopt-master/Thirdparty/prettyPlot/myProcessOptions.m | 674 | utf_8 | b94d252a960faa95a3074129247619e6 | function [varargout] = myProcessOptions(options,varargin)
% Similar to processOptions, but case insensitive and
% using a struct instead of a variable length list
options = toUpper(options);
for i = 1:2:length(varargin)
if isfield(options,upper(varargin{i}))
v = getfield(options,upper(varargin{i}));
... |
github | utvisionlab/gopt-master | maxcut.m | .m | gopt-master/Thirdparty/manopt/examples/maxcut.m | 11,837 | utf_8 | 24c2f0dec952e2573770b3c7fff0d956 | function [x cutvalue cutvalue_upperbound Y] = maxcut(L, r)
% Algorithm to (try to) compute a maximum cut of a graph, via SDP approach.
%
% function x = maxcut(L)
% function [x cutvalue cutvalue_upperbound Y] = maxcut(L, r)
%
% L is the Laplacian matrix describing the graph to cut. The Laplacian of a
% graph is L = D -... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.