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 | fdsa1860/GramRiemannian-master | pdftops.m | .m | GramRiemannian-master/3rdParty/export_fig/pdftops.m | 3,687 | utf_8 | 43c139e49fce63cb78060895bd13137a | function varargout = pdftops(cmd)
%PDFTOPS Calls a local pdftops executable with the input command
%
% Example:
% [status result] = pdftops(cmd)
%
% Attempts to locate a pdftops executable, finally asking the user to
% specify the directory pdftops was installed into. The resulting path is
% stored for futur... |
github | fdsa1860/GramRiemannian-master | crop_borders.m | .m | GramRiemannian-master/3rdParty/export_fig/crop_borders.m | 3,791 | utf_8 | 2c8fc83f142f1d5b28b99080556c791e | function [A, vA, vB, bb_rel] = crop_borders(A, bcol, padding)
%CROP_BORDERS Crop the borders of an image or stack of images
%
% [B, vA, vB, bb_rel] = crop_borders(A, bcol, [padding])
%
%IN:
% A - HxWxCxN stack of images.
% bcol - Cx1 background colour vector.
% padding - scalar indicating how much paddi... |
github | fdsa1860/GramRiemannian-master | isolate_axes.m | .m | GramRiemannian-master/3rdParty/export_fig/isolate_axes.m | 4,851 | utf_8 | 611d9727e84ad6ba76dcb3543434d0ce | function fh = isolate_axes(ah, vis)
%ISOLATE_AXES Isolate the specified axes in a figure on their own
%
% Examples:
% fh = isolate_axes(ah)
% fh = isolate_axes(ah, vis)
%
% This function will create a new figure containing the axes/uipanels
% specified, and also their associated legends and colorbars. The o... |
github | fdsa1860/GramRiemannian-master | im2gif.m | .m | GramRiemannian-master/3rdParty/export_fig/im2gif.m | 6,234 | utf_8 | 8ee74d7d94e524410788276aa41dd5f1 | %IM2GIF Convert a multiframe image to an animated GIF file
%
% Examples:
% im2gif infile
% im2gif infile outfile
% im2gif(A, outfile)
% im2gif(..., '-nocrop')
% im2gif(..., '-nodither')
% im2gif(..., '-ncolors', n)
% im2gif(..., '-loops', n)
% im2gif(..., '-delay', n)
%
% This function c... |
github | fdsa1860/GramRiemannian-master | read_write_entire_textfile.m | .m | GramRiemannian-master/3rdParty/export_fig/read_write_entire_textfile.m | 961 | utf_8 | 775aa1f538c76516c7fb406a4f129320 | %READ_WRITE_ENTIRE_TEXTFILE Read or write a whole text file to/from memory
%
% Read or write an entire text file to/from memory, without leaving the
% file open if an error occurs.
%
% Reading:
% fstrm = read_write_entire_textfile(fname)
% Writing:
% read_write_entire_textfile(fname, fstrm)
%
%IN:
% fn... |
github | fdsa1860/GramRiemannian-master | pdf2eps.m | .m | GramRiemannian-master/3rdParty/export_fig/pdf2eps.m | 1,522 | utf_8 | 4c8f0603619234278ed413670d24bdb6 | %PDF2EPS Convert a pdf file to eps format using pdftops
%
% Examples:
% pdf2eps source dest
%
% This function converts a pdf file to eps format.
%
% This function requires that you have pdftops, from the Xpdf suite of
% functions, installed on your system. This can be downloaded from:
% http://www.foolabs.c... |
github | fdsa1860/GramRiemannian-master | print2array.m | .m | GramRiemannian-master/3rdParty/export_fig/print2array.m | 9,613 | utf_8 | e398a6296734121e6e1983a45298549a | function [A, bcol] = print2array(fig, res, renderer, gs_options)
%PRINT2ARRAY Exports a figure to an image array
%
% Examples:
% A = print2array
% A = print2array(figure_handle)
% A = print2array(figure_handle, resolution)
% A = print2array(figure_handle, resolution, renderer)
% A = print2array(figur... |
github | fdsa1860/GramRiemannian-master | append_pdfs.m | .m | GramRiemannian-master/3rdParty/export_fig/append_pdfs.m | 2,759 | utf_8 | 9b52be41aff48bea6f27992396900640 | %APPEND_PDFS Appends/concatenates multiple PDF files
%
% Example:
% append_pdfs(output, input1, input2, ...)
% append_pdfs(output, input_list{:})
% append_pdfs test.pdf temp1.pdf temp2.pdf
%
% This function appends multiple PDF files to an existing PDF file, or
% concatenates them into a PDF file if the o... |
github | fdsa1860/GramRiemannian-master | using_hg2.m | .m | GramRiemannian-master/3rdParty/export_fig/using_hg2.m | 1,037 | utf_8 | 3303caab5694b040103ccb6b689387bf | %USING_HG2 Determine if the HG2 graphics engine is used
%
% tf = using_hg2(fig)
%
%IN:
% fig - handle to the figure in question.
%
%OUT:
% tf - boolean indicating whether the HG2 graphics engine is being used
% (true) or not (false).
% 19/06/2015 - Suppress warning in R2015b; cache result for i... |
github | fdsa1860/GramRiemannian-master | eps2pdf.m | .m | GramRiemannian-master/3rdParty/export_fig/eps2pdf.m | 8,543 | utf_8 | a63a364925b89dac21030d36b0dd29a3 | function eps2pdf(source, dest, crop, append, gray, quality, gs_options)
%EPS2PDF Convert an eps file to pdf format using ghostscript
%
% Examples:
% eps2pdf source dest
% eps2pdf(source, dest, crop)
% eps2pdf(source, dest, crop, append)
% eps2pdf(source, dest, crop, append, gray)
% eps2pdf(source, de... |
github | fdsa1860/GramRiemannian-master | ghostscript.m | .m | GramRiemannian-master/3rdParty/export_fig/ghostscript.m | 7,902 | utf_8 | ff62a40d651197dbea5d3c39998b3bad | function varargout = ghostscript(cmd)
%GHOSTSCRIPT Calls a local GhostScript executable with the input command
%
% Example:
% [status result] = ghostscript(cmd)
%
% Attempts to locate a ghostscript executable, finally asking the user to
% specify the directory ghostcript was installed into. The resulting path... |
github | fdsa1860/GramRiemannian-master | fix_lines.m | .m | GramRiemannian-master/3rdParty/export_fig/fix_lines.m | 6,441 | utf_8 | ffda929ebad8144b1e72d528fa5d9460 | %FIX_LINES Improves the line style of eps files generated by print
%
% Examples:
% fix_lines fname
% fix_lines fname fname2
% fstrm_out = fixlines(fstrm_in)
%
% This function improves the style of lines in eps files generated by
% MATLAB's print function, making them more similar to those seen on
% scre... |
github | fdsa1860/GramRiemannian-master | loadbvh.m | .m | GramRiemannian-master/3rdParty/bvh-matlab/loadbvh.m | 8,182 | utf_8 | 7680e222c33140e5d8cbdfaab35b9534 | function [skeleton,time] = loadbvh(fname)
%% LOADBVH Load a .bvh (Biovision) file.
%
% Loads BVH file specified by FNAME (with or without .bvh extension)
% and parses the file, calculating joint kinematics and storing the
% output in SKELETON.
%
% Some details on the BVH file structure are given in "Motion Capture Fil... |
github | fdsa1860/GramRiemannian-master | make.m | .m | GramRiemannian-master/3rdParty/libsvm-3.21/matlab/make.m | 888 | utf_8 | 4a2ad69e765736f8cca8e3b721fb7ebd | % This make.m is for MATLAB and OCTAVE under Windows, Mac, and Unix
function make()
try
% This part is for OCTAVE
if (exist ('OCTAVE_VERSION', 'builtin'))
mex libsvmread.c
mex libsvmwrite.c
mex -I.. svmtrain.c ../svm.cpp svm_model_matlab.c
mex -I.. svmpredict.c ../svm.cpp svm_model_matlab.c
% This part is fo... |
github | fdsa1860/GramRiemannian-master | saveC3D.m | .m | GramRiemannian-master/3rdParty/c3d_matlab/saveC3D.m | 11,384 | utf_8 | e21c9c22b645c74112dde79e98e3c97c | function saveC3D(Markers, InputParameterGroup, filename)
%SAVEC3D - Save markers (ver2)
%
% Markers - position of markers. The orders should be [x1, x2, ... y1, y2.... z1, z2..; ...]
% InputParameterGroup - reference parameters, you can leave it as []
% filename - output filename(.c3d)
%
% Example usage 1 - not using ... |
github | fdsa1860/GramRiemannian-master | scaleSkelMot.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/scaleSkelMot.m | 1,362 | utf_8 | 2437e38e3131c761d61add0fabeaac8a | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | trajectoryID.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/trajectoryID.m | 1,143 | utf_8 | c559c53c8739ae21aebbd4dacf9fb144 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | eatWhitespace.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/eatWhitespace.m | 1,133 | utf_8 | d44448248b3673de68e71a275e8a5b48 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | forwardKinematicsQuat.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/forwardKinematicsQuat.m | 1,391 | utf_8 | ab7ee2285958158f707400256174a429 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | recursive_forwardKinematicsEuler.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/recursive_forwardKinematicsEuler.m | 3,519 | utf_8 | 09bcce7615b10cdb55c5ff6bebca3fda | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | recursive_forwardKinematicsQuat.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/recursive_forwardKinematicsQuat.m | 2,136 | utf_8 | a02b4ae84fb66b16a158ee1d7959bfc3 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | averageFrontVector.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/averageFrontVector.m | 1,329 | utf_8 | b050364d457e61ad6b652254e0a6c765 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | computeBoundingBox.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/computeBoundingBox.m | 1,406 | utf_8 | 2ffae4eb2bcfacfe03966a628c3851a1 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | reflectMotYZ.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/reflectMotYZ.m | 1,389 | utf_8 | 74b618d4cbbc21a894423725e8d822c1 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | findNextToken.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/findNextToken.m | 1,212 | utf_8 | 7f986739e7caa766da242ec1032fdfcb | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | forwardKinematicsEuler.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/forwardKinematicsEuler.m | 2,221 | utf_8 | 02e05f61a66a2d26f5bef6f644bcbd66 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | findKeyword.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/findKeyword.m | 1,439 | utf_8 | 2648063fd1d8ed792707388066c294d0 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | readMocapGUI.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/readMocapGUI.m | 1,997 | utf_8 | 27f8ac81934acbe5dbfd371cfc8881dd | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | cropMot.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/cropMot.m | 2,213 | utf_8 | dec1b319205b817a0909a8582fb20720 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | filename2info.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/filename2info.m | 2,812 | utf_8 | bf187c2cd30d3bb50f438d132552a1b7 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | readMocapD.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/readMocapD.m | 1,536 | utf_8 | b41f0ef9de67ddd0382b8ca1ba27e0c0 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | emptyMotion.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/emptyMotion.m | 2,815 | utf_8 | 2fc8445ef8e4b259826e892c84458efb | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | constructNameMap.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/constructNameMap.m | 4,148 | utf_8 | 0aca02672026545932d95d8d80ad4faf | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | rotateMotY.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/rotateMotY.m | 1,253 | utf_8 | e8a05c1868d8e64232ab2fdab574af09 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | escapeUnderscore.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/escapeUnderscore.m | 972 | utf_8 | 767b62cc11a1fb04793099750b766bbf | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M{\"u}ll... |
github | fdsa1860/GramRiemannian-master | readMocap.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/readMocap.m | 6,645 | utf_8 | 4cde61fb8a7ef3593366547572d5eb86 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | DOFID.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/DOFID.m | 1,136 | utf_8 | 412cbdfba2f2663bdfd41dad875a4d72 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | resampleMot_new.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/resampleMot_new.m | 2,897 | utf_8 | 511955a12057902dc5b302b8879bd2ab | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M{\"u}ll... |
github | fdsa1860/GramRiemannian-master | moveMotToXZ.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/moveMotToXZ.m | 1,141 | utf_8 | 430a079a1fc77e67eb8866a2cd5b3741 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | readMocapSmart.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/readMocapSmart.m | 1,980 | utf_8 | d9928728ce340b27d7f5237f7fa8ff8a | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M{\"u}ll... |
github | fdsa1860/GramRiemannian-master | emptySkeleton.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/emptySkeleton.m | 2,831 | utf_8 | 764f4c2d81aab1acf9c810ee43a182fa | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | emptySkeletonNode.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/emptySkeletonNode.m | 2,070 | utf_8 | 5886729ce633e4500dd348caa5673573 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | amc_to_matrix.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/ASFAMCparser/amc_to_matrix.m | 2,671 | utf_8 | 32da4a50441d0da713b0bb6ea3349c22 | % Reads data from an AMC motion file into a Matlab matrix variable.
% AMC file has to be in the AMC format used in the online CMU motion capture library.
% number of dimensions = number of columns = 62
% function D = amc_to_matrix(fname)
% fname = name of disk input file, in AMC format
% Example:
% D = amc_to_ma... |
github | fdsa1860/GramRiemannian-master | matrix_to_amc.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/parser/ASFAMCparser/matrix_to_amc.m | 2,225 | utf_8 | 3d0a06d61f8d69c60c6e78641144ea64 | % Writes motion data from matrix D to an AMC file on disk.
% The ACM format is the format used in the CMU online motion capture database
% function [] = matrix_to_amc(fname, D)
% fname = output disk file name for AMC file
% D = input Matlab data matrix
% Example:
% matrix_to_amc('running1.amc', D)
%
%
% Jern... |
github | fdsa1860/GramRiemannian-master | filterR4.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/quaternions/filterR4.m | 2,217 | utf_8 | c795e21bddf40ecb117cc6e70f7f575c | function [Y,t] = filterR4(varargin)
% Y = filterR4(w,X,step,padding_method)
% Filters curves embedded in the unit quaternion sphere with a sliding window.
% Simply views quats as 4D data without additional structure and renormalizes
% to S^3 after filtering
%
% Input: w, weight vector
% X, 4xN matri... |
github | fdsa1860/GramRiemannian-master | new_animate.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/new_animate.m | 4,574 | utf_8 | 347d2487494c7b72422843ca23018ca1 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | coordsDiscNormal.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/coordsDiscNormal.m | 2,609 | utf_8 | cef4d84a8ba800647358c764c29eb8e4 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | coordsCappedCylinder.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/coordsCappedCylinder.m | 4,202 | utf_8 | 06b363f560612bf008eaaf8993d44db3 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | old_createPlaneNormal.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/old_createPlaneNormal.m | 1,217 | utf_8 | c47f874d149350497d2c60372953f286 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | animateGUI.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/animateGUI.m | 14,006 | utf_8 | e9ccbcbadeefec755390037e5e9a6806 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | saveCamera.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/saveCamera.m | 1,730 | utf_8 | c6218cdfc7c1f211332ca8587b3f9eb9 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | gramschmidt.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/gramschmidt.m | 1,358 | utf_8 | 075adb3935fa479f6a049a44d7c3c6cf | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | coordsGridDiscNormal.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/coordsGridDiscNormal.m | 2,994 | utf_8 | 5fbb6cd5d325916e5b8c1ddb9a2ce364 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | resumeAnimation.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/resumeAnimation.m | 2,219 | utf_8 | ff83a9e8b74d8f715a085d2556ab270d | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | animate_sound.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/animate_sound.m | 4,621 | utf_8 | 12131202aa1edaac68edcc4436abb15a | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | emptyVarsGlobalAnimStruct.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/emptyVarsGlobalAnimStruct.m | 3,797 | utf_8 | d1eb6b599b0abc197e3884f95e5f4c46 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | animate_showFrame.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/animate_showFrame.m | 6,392 | utf_8 | 720c69d193b8e57d1f848f78a9948d36 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | showTracePoses.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/showTracePoses.m | 2,214 | utf_8 | 6778cf040763c827fc71e109d7e01e14 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | params_planePointNormal.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/params_planePointNormal.m | 2,862 | utf_8 | 0623e882c261463293a43591b486084c | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | new_animate_showFrame.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/new_animate_showFrame.m | 8,123 | utf_8 | 672cf6ce5e01cba6fe87822fe5aea3a6 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | new_animate_initGraphics.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/new_animate_initGraphics.m | 9,156 | utf_8 | 039ce1112da2e1aa273994fd64237286 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | createSkeletonLines.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/createSkeletonLines.m | 3,398 | utf_8 | a94cc42050434e4ca0ebed62d73ea448 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | addAnimatedPatches.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/addAnimatedPatches.m | 1,949 | utf_8 | b0804dd1cbdb2a718e07b068a4b86c40 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | animatedPatchStruct.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/animatedPatchStruct.m | 1,193 | utf_8 | e71ba3a3a25986fd4d7917da68af94c2 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | updateAnimationSlider.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/updateAnimationSlider.m | 1,053 | utf_8 | a26b08cbee39ea5f869d6928c9c46ba4 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M{\"u}ll... |
github | fdsa1860/GramRiemannian-master | createAnimatedPatches.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/createAnimatedPatches.m | 15,682 | utf_8 | 5768a6150780b5f7d436b6d8a7c56cb5 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | showTrajectory.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/showTrajectory.m | 1,839 | utf_8 | f3be760f78bdfbb06cb885fe0ddf52dc | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | animate_initGraphics.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/animate_initGraphics.m | 9,410 | utf_8 | 7f2bfb5a07b29e4257d408d3ce3f7650 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | params_planePointNormal_hipMiddle.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/params_planePointNormal_hipMiddle.m | 1,920 | utf_8 | ab79ffd200f805868bd31b516d30d340 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | animateD.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/animateD.m | 1,307 | utf_8 | 9eb777e6c275ff12b87234e6225ae63d | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | params_planePointNormal_yAxis.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/params_planePointNormal_yAxis.m | 1,684 | utf_8 | 9afb03789f1caa7b11e7abe0b26207ed | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | createGroundPlane.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/createGroundPlane.m | 2,402 | utf_8 | 50e45f99bf0adaebe813c0de6530f09e | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | clearTracePoses.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/clearTracePoses.m | 1,528 | utf_8 | a869a4727a72d9f7c2965cc7f04e208e | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | pauseAnimation.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/pauseAnimation.m | 1,046 | utf_8 | e904af46bc8126b13952a69318b43915 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | params_planePointPoint.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/params_planePointPoint.m | 2,977 | utf_8 | ec10b92bf1ff2414c6a464bccf2d5bca | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | animate.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/animate.m | 4,614 | utf_8 | 947f4afec8d1e19325794cf281a0c38c | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | params_cappedCylinder.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/params_cappedCylinder.m | 1,301 | utf_8 | 31a629bb39f8757dcc47cb71e6faea88 | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | animateVideo.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/animateVideo.m | 6,571 | utf_8 | 742256867c6826237dfb593566920d1a | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | params_point.m | .m | GramRiemannian-master/3rdParty/HDM05-Parser/animate/params_point.m | 1,019 | utf_8 | 537e69da56eeab31af8e67dd161ee49d | % This code belongs to the HDM05 mocap database which can be obtained
% from the website http://www.mpi-inf.mpg.de/resources/HDM05 .
%
% If you use and publish results based on this code and data, please
% cite the following technical report:
%
% @techreport{MuellerRCEKW07_HDM05-Docu,
% author = {Meinard M... |
github | fdsa1860/GramRiemannian-master | getLogHH.m | .m | GramRiemannian-master/matlab/metric/getLogHH.m | 286 | utf_8 | 07edd3291f84f97c32c5263fd15ece9f |
function feat = getLogHH(HH)
m = size(HH{1},1);
r = (1+m) * m / 2;
feat = zeros(r,length(HH));
for i = 1:length(HH)
[V, D] = eig(HH{i});
d = diag(D);
T = V * diag(log(d)) * V';
T = (T + T') / 2;
index = find(triu(ones(size(T))));
feat(:,i) = T(index);
end
end |
github | fdsa1860/GramRiemannian-master | steinMean.m | .m | GramRiemannian-master/matlab/metric/steinMean.m | 433 | utf_8 | c0f1d5c614b507a9ebeb6836490be6b3 | function X1 = steinMean(X)
n = size(X,3);
X0 = 0;
for i=1:n
X0 = X0 + X(:,:,i);
end
iY = X0./n;
iY0 = X(:,:,1);
% while norm(iY-iY0)>1e-15
while JBLD(iY,iY0)>1e-15
iY0 = iY;
Y = 0;
for i=1:n
Y = Y + inv((iY0+X(:,:,i))/2);
end
Y = Y./n;
iY = inv(Y);
end
X1 = iY;
end
function T_... |
github | fdsa1860/GramRiemannian-master | getHH_local.m | .m | GramRiemannian-master/matlab/metric/getHH_local.m | 1,024 | utf_8 | 5bac095a27b01302f56838de00dc7c2d |
function HH_main = getHH_local(features,opt)
if ~exist('opt','var')
opt.H_structure = 'HHt';
end
s = size(features{1});
assert(mod(s(1),3)==0);
nJoints = s(1) / 3;
Hsize = 10*3;
Lambda = 0.9;
HH_main = cell(1,nJoints);
for j=1:nJoints
HH = cell(1,length(features));
for i=1:length(features)
t = d... |
github | fdsa1860/GramRiemannian-master | dynamicDistanceSigmaXY.m | .m | GramRiemannian-master/matlab/metric/dynamicDistanceSigmaXY.m | 836 | utf_8 | b87df50d19bb38d7b26486d3c6189b29 | % Calculate the dynamic distances between any two Hankel matrices
% Input:
% X: data that contains the normalized Hankel matrix
% alpha: the weight of the order difference in the distance metric
% Output:
% D: the distance matrix
function D = dynamicDistanceSigmaXY(X, alpha)
if nargin < 2
alpha = 0;
end
... |
github | fdsa1860/GramRiemannian-master | getHH.m | .m | GramRiemannian-master/matlab/metric/getHH.m | 1,252 | utf_8 | 9672fb2bb2a1705c5e04f2a46c0031ce |
function HH = getHH(features,opt)
s = size(features{1});
if ~exist('opt','var')
opt.H_structure = 'HHt';
opt.metric = 'JBLD';
end
HH = cell(1,length(features));
for i=1:length(features)
% t = diff(features{i},[],2);
t = features{i};
if strcmp(opt.H_structure,'HtH')
Hsize = opt.H_rows;
... |
github | fdsa1860/GramRiemannian-master | dynamicDistance.m | .m | GramRiemannian-master/matlab/metric/dynamicDistance.m | 1,104 | utf_8 | 2b8466aa28571769204bbcd7f1abfe8e | % Calculate the dynamic distances between any two Hankel matrices
% Input:
% HHp: the normalized Hankel matrix
% index: determine which ones as the referent index and then
% calculate the distances between the referent index and others
% order_info: the order information (the rank of H)
% Ou... |
github | fdsa1860/GramRiemannian-master | dynamicDistanceSigma.m | .m | GramRiemannian-master/matlab/metric/dynamicDistanceSigma.m | 1,004 | utf_8 | b314e211e00f8bd2e5fedd4add44043d | % Calculate the dynamic distances between any two Hankel matrices
% Input:
% X: data that contains the normalized Hankel matrix
% alpha: the weight of the order difference in the distance metric
% Output:
% D: the distance matrix
function D = dynamicDistanceSigma(X, alpha)
if nargin < 2
alpha = 0;
end
n... |
github | fdsa1860/GramRiemannian-master | amc_to_matrix.m | .m | GramRiemannian-master/matlab/util/amc_to_matrix.m | 2,553 | utf_8 | 432dc4b0a9e04c1e38b610005dd6dc08 | % Reads data from an AMC motion file into a Matlab matrix variable.
% AMC file has to be in the AMC format used in the online CMU motion capture library.
% number of dimensions = number of columns = 62
% function D = amc_to_matrix(fname)
% fname = name of disk input file, in AMC format
% Example:
% D = amc_to_matrix(f... |
github | fdsa1860/GramRiemannian-master | showDistanceMatrix.m | .m | GramRiemannian-master/matlab/display/showDistanceMatrix.m | 1,165 | utf_8 | a2f0c0f2c054d06731aadf2d2f881f4b | % show the distance matrix
function showDistanceMatrix(D)
% colorlevel for cumumaltive angle
% colorlevel = [0.000001, 0.00001, 0.0001, 0.0002, 0.0004, 0.0006, 0.0008, 0.001, 0.002, 0.003];
% colorlevel for the derivative of cumulative angle
%colorlevel = [0.00001, 0.0001, 0.0005, 0.001, 1, 1.0002, 1.0004, 1... |
github | Sbai7/TwoPhasesParticleTransport-master | PlotGrid.m | .m | TwoPhasesParticleTransport-master/src/PlotGrid.m | 7,537 | utf_8 | 3d2ff62460594f93bcfd879c23c72313 | function PlotGrid(G, varargin)
% Plots the mesh or scalar data on external (visible) faces of a 2D/3D grid
%
% INPUTS:
% G - Cartesian grid structure as created by calling
% cartGrid routine
% varargin (optional)
% - optional property-value pair argumen... |
github | Sbai7/TwoPhasesParticleTransport-master | particlePtDeposits.m | .m | TwoPhasesParticleTransport-master/src/particlePtDeposits.m | 2,954 | utf_8 | 3b93c4c6eda2ab61d493193f8b80806c | function [particle,diff] = particlePtDeposits(Grid,V,particle,dt)
% Solve the ode's of particle kinetics related to the elemental mechanism
% of deposition in pore throats.
%
% INPUTS:
% Grid - Grid used for discretization
% V - Structure of mid-cells edges velocities along x,y,a... |
github | Sbai7/TwoPhasesParticleTransport-master | particleDeposits.m | .m | TwoPhasesParticleTransport-master/src/particleDeposits.m | 3,636 | utf_8 | eb126826976bf1534fa98aae1f142b3e | function [particle,diff] = particleDeposits(Grid,V,particle,Cs,dt)
% Solve the ode's of particle kinetics related to elemental mechanisms of
% colloidal release from pore surfaces, hydrodynamic release from pore
% bodies, and deposition in pore surfaces.
%
% INPUTS:
% Grid - Grid used for discreti... |
github | jasmcole/Blog-master | runLKH.m | .m | Blog-master/The Travelling Artist Problem/runLKH.m | 1,185 | utf_8 | a01924d3108f8b2b03622c5e7025ae21 | % Call the LKH TSP solver on a set of (x, y) co-ordinates
% This uses the faster (?) integer-valued 2D distance metric, so make sure
% the magnitudes of the x/y co-ordinates are large
function inds = runLKH(x, y)
Np = length(x);
tspstring = ['NAME: output' char(10) ...
'COMMENT: TSP' ... |
github | jasmcole/Blog-master | runConcorde.m | .m | Blog-master/The Travelling Artist Problem/runConcorde.m | 963 | utf_8 | d0d5ca80a228eb27987589db61b46273 | % Call the concorde TSP solver on a set of (x, y) co-ordinates
% This uses the faster (?) integer-valued 2D distance metric, so make sure
% the magnitudes of the x/y co-ordinates are large
function inds = runConcorde(x, y)
Np = length(x);
tspstring = ['NAME: output' char(10) ...
'COMMENT: TS... |
github | jasmcole/Blog-master | unblurImageTikhonov.m | .m | Blog-master/Regularisation/unblurImageTikhonov.m | 203 | utf_8 | 9d4738b42deaff0cebd98afd3766411f | % Perform Tikhonov iteration on Iblurred
% First create Atik using makeTikhonovMatrix
function Itik = unblurImageTikhonov(Iblurred, Atik, A)
Itik = reshape( Atik\(A'*Iblurred(:)), size(Iblurred));
end |
github | jasmcole/Blog-master | makeSparseForwardMatrix.m | .m | Blog-master/Regularisation/makeSparseForwardMatrix.m | 648 | utf_8 | 0c4183c60937b32637771185c1564146 | % Image size N x N. N must be even
% PSF std. dev. is sigma, in units of pixels
% PSF assumed Gaussian
function A = makeSparseForwardMatrix(N, sigma)
range = 2*sigma;
i = N/2;
j = N/2;
[dig, djg] = meshgrid(-range:range, -range:range);
indK = j + djg + N*(i + dig - 1);
r2 = dig.^2 + djg.^2;
K = exp(-r2/(2*sigma^2))... |
github | jasmcole/Blog-master | unblurImage.m | .m | Blog-master/Regularisation/unblurImage.m | 197 | utf_8 | 3f0f83b824e7735479755ed69edf98a0 | % Simple image deconvolution using matrix inverse
% I - blurred image
% A - PSF matrix
function Irecovered = unblurImage(I, A)
Irecovered = A\I(:);
Irecovered = reshape(Irecovered, size(I));
end |
github | jasmcole/Blog-master | blurImage.m | .m | Blog-master/Regularisation/blurImage.m | 115 | utf_8 | ab38bb3902a10c858bd4ffe3fbdeb487 | % Apply the PSF matrix A to image A
function Iblurred = blurImage(I, A)
Iblurred = reshape(A*I(:), size(I));
end |
github | jasmcole/Blog-master | SynchrotronExact.m | .m | Blog-master/Synchrotron Radiation/SynchrotronExact.m | 3,994 | utf_8 | 5ac83ea916d71d84183983f2f096df4c | function SynchrotronExact(x,y,t,rad,saveFlag,prefix,clo,chi)
c = 299792458;
tret = t;
tobs = t;
Ngrid = 200;
xplot = linspace(-rad, rad, Ngrid);
yplot = linspace(-rad, rad, Ngrid);
[xg, yg] = meshgrid(xplot,yplot);
for n = 1:200
tcurr = tobs(n);
[xpartcurr, ypartcurr, ~, ~, ~, ~] = GetParticleData(x, y,... |
github | jasmcole/Blog-master | runConcorde.m | .m | Blog-master/Christmas Kinematics/runConcorde.m | 851 | utf_8 | 78b8d047450827700776439b50e9dc63 | % Call the concorde TSP solver on a set of (x, y) co-ordinates
% This uses the faster (?) integer-valued 2D distance metric, so make sure
% the magnitudes of the x/y co-ordinates are large
function inds = runConcorde(x, y)
Np = length(x);
tspstring = ['NAME: output' char(10) ...
'COMMENT: TSP' char(10) ...
'... |
github | chenannie45/FASCINATE-master | fascinate.m | .m | FASCINATE-master/fascinate.m | 2,548 | utf_8 | 2c05faee4c4ca111bcff9fc814f3b6db | function [ F ] = fascinate( G,D_map,DM,alpha,beta,weight, rank, paras )
%MULANIMPUTE Summary of this function goes here
% the function takes a multi-layered network as input and output the low
% rank approximation for each layer
% \sum||W.(D(i,j)-Fi'Fj))||^2 + \alpha\sum tr(Fi'(DAi-Ai)Fi)+ \beta\sum||Fi||^2
% ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.