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
openbci-archive/OpenBCI_MATLAB-master
strsplit.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/strsplit.m
575
utf_8
101709ab8c43f04c562a823f51ef2201
% Splits a string into a cell array of strings. % % Input arguments: % string: % a string to split into a cell array % adjoiner: % string separating each neighboring element % % See also: strjoin % Copyright 2008-2009 Levente Hunyadi function strings = strsplit(string, adjoiner) if nargin < 2 ...
github
openbci-archive/OpenBCI_MATLAB-master
nestedfetch.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/nestedfetch.m
1,037
utf_8
1065f979994414a4f92c0ee46e688ef5
% Fetches the value of the named property of an object or structure. % This function can deal with nested properties. % % Input arguments: % obj: % the handle or value object the value should be assigned to % name: % a property name with dot (.) separating property names at % different hierarchy levels...
github
openbci-archive/OpenBCI_MATLAB-master
findobjuser.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/findobjuser.m
1,435
utf_8
31950ae497a4c1a4eaaaa02ceb769801
% Find handle graphics object with user data check. % Retrieves those handle graphics objects (HGOs) that have the specified % Tag property and whose UserData property satisfies the given predicate. % % Input arguments: % fcn: % a predicate (a function that returns a logical value) to test against % the HG...
github
openbci-archive/OpenBCI_MATLAB-master
hlp_matlab_version.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/hlp_matlab_version.m
642
utf_8
56356c36dd8e15038caa4dc7b15b62b5
function v = hlp_matlab_version() % Get the MATLAB version in a numeric format that can be compared with <, >, etc. persistent vers; try v = vers(1); catch v = strsplit(version,'.'); v = str2num(v{1})*100 + str2num(v{2}); vers = v; end % Split a string according to some delimiter(s). Not as fast as hlp_spl...
github
openbci-archive/OpenBCI_MATLAB-master
javaStringArray.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/javaStringArray.m
650
utf_8
e90f222d2061320a2f7db70ca2a7dd52
% Converts a MatLab cell array of strings into a java.lang.String array. % % Input arguments: % str: % a cell array of strings (i.e. a cell array of char row vectors) % % Output arguments: % arr: % a java.lang.String array instance (i.e. java.lang.String[]) % % See also: javaArray % Copyright 2009-20...
github
openbci-archive/OpenBCI_MATLAB-master
var2str.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/var2str.m
458
utf_8
2f91ba4e78a2e61012279db4d2dc609f
% Textual representation of any MatLab value. % Copyright 2009 Levente Hunyadi function s = var2str(value) if islogical(value) || isnumeric(value) s = num2str(value); elseif ischar(value) && isvector(value) s = reshape(value, 1, numel(value)); elseif isjava(value) s = char(value); % calls java....
github
openbci-archive/OpenBCI_MATLAB-master
getclassfield.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/getclassfield.m
393
utf_8
afb53cd543b7b10efb50861b8427a061
% Field value of each object in an array or cell array. % % See also: getfield % Copyright 2010 Levente Hunyadi function values = getclassfield(objects, field) values = cell(size(objects)); if iscell(objects) for k = 1 : numel(values) values{k} = objects{k}.(field); end else for k = 1...
github
openbci-archive/OpenBCI_MATLAB-master
arrayfilter.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/arrayfilter.m
504
utf_8
16ad8bf9799bb4f6f4b59c80436e4412
% Filter elements of array that meet a condition. % Copyright 2010 Levente Hunyadi function array = arrayfilter(fun, array) validateattributes(fun, {'function_handle'}, {'scalar'}); if isobject(array) filter = false(size(array)); for k = 1 : numel(filter) filter(k) = fun(array(k)); end...
github
openbci-archive/OpenBCI_MATLAB-master
constructor.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/constructor.m
2,154
utf_8
9da591550a8c3a29766b663278c282b2
% Sets public properties of a MatLab object using a name-value list. % Properties are traversed in the order they occur in the class definition. % Copyright 2008-2009 Levente Hunyadi function obj = constructor(obj, varargin) assert(isobject(obj), ... 'Function operates on MatLab new-style objects only.'); ...
github
openbci-archive/OpenBCI_MATLAB-master
hlp_varargin2struct.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/hlp_varargin2struct.m
6,267
utf_8
a185d699c488adb84cda30f6db5facda
function res = hlp_varargin2struct(args, varargin) % Convert a list of name-value pairs into a struct with values assigned to names. % struct = hlp_varargin2struct(Varargin, Defaults) % % In: % Varargin : cell array of name-value pairs and/or structs (with values assigned to names) % % Defaults : optional list of n...
github
openbci-archive/OpenBCI_MATLAB-master
finputcheck.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/finputcheck.m
8,676
utf_8
98c5e52d4a9cd0c05a41cee29d409e4b
% finputcheck() - check Matlab function {'key','value'} input argument pairs % % Usage: >> result = finputcheck( varargin, fieldlist ); % >> [result varargin] = finputcheck( varargin, fieldlist, ... % callingfunc, mode, verbose ); % Input: % varargin - Cell array ...
github
openbci-archive/OpenBCI_MATLAB-master
nestedassign.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/nestedassign.m
1,507
utf_8
08c578ceaca65281fe25ff69a7f1965f
% Assigns the given value to the named property of an object or structure. % This function can deal with nested properties. % % Input arguments: % obj: % the structure, handle or value object the value should be assigned to % name: % a property name with dot (.) separating property names at % different...
github
openbci-archive/OpenBCI_MATLAB-master
javaArrayList.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/javaArrayList.m
768
utf_8
07be575b8c5c8bf345ff7fa491868d97
% Converts a MatLab array into a java.util.ArrayList. % % Input arguments: % array: % a MatLab row or column vector (with elements of any type) % % Output arguments: % list: % a java.util.ArrayList instance % % See also: javaArray % Copyright 2010 Levente Hunyadi function list = javaArrayList(array)...
github
openbci-archive/OpenBCI_MATLAB-master
inputgui.m
.m
OpenBCI_MATLAB-master/Matlab-Python/labstreaminglayer/arg_system/private/inputgui.m
10,959
utf_8
fd03c91d634fa551077cfb845a762aeb
% inputgui() - A comprehensive gui automatic builder. This function helps % to create GUI very quickly without bothering about the % positions of the elements. After creating a geometry, % elements just place themselves in the predefined % locations. It is especial...
github
endernewton/PixelNet-master
classification_demo.m
.m
PixelNet-master/caffe48/matlab/demo/classification_demo.m
5,412
utf_8
8f46deabe6cde287c4759f3bc8b7f819
function [scores, maxlabel] = classification_demo(im, use_gpu) % [scores, maxlabel] = classification_demo(im, use_gpu) % % Image classification demo using BVLC CaffeNet. % % IMPORTANT: before you run this demo, you should download BVLC CaffeNet % from Model Zoo (http://caffe.berkeleyvision.org/model_zoo.html) % % *****...
github
Slepian/Slepian-master
demos_slepian_hotel.m
.m
Slepian-master/demos_slepian_hotel.m
28,457
utf_8
11490ce2564fd7df39a9877b6105a00a
function demos_slepian_hotel(wht) % demos_slepian_hotel(wht) % % The Slepian functions are constructed to optimally solve -grad(V) = d % for the scalar potential V, where d is either the measured radial % component of the field or all three components. % % INPUT: % % wht Choose your example: % 1 Generate and pl...
github
jimeiyang/objectContourDetector-master
LDA.m
.m
objectContourDetector-master/caffe-cedn/matlab/LDA.m
8,422
utf_8
74150eba753cd0a5e41e8f51034686d8
function [eigvector, eigvalue] = LDA(gnd,options,data) % LDA: Linear Discriminant Analysis % % [eigvector, eigvalue] = LDA(gnd, options, data) % % Input: % data - Data matrix. Each row vector of fea is a data point. % gnd - Colunm vector of the label information for ea...
github
jimeiyang/objectContourDetector-master
prepare_batch.m
.m
objectContourDetector-master/caffe-cedn/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
jimeiyang/objectContourDetector-master
matcaffe_demo.m
.m
objectContourDetector-master/caffe-cedn/matlab/caffe/matcaffe_demo.m
3,344
utf_8
669622769508a684210d164ac749a614
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
jimeiyang/objectContourDetector-master
imagesAlign.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/videos/imagesAlign.m
8,409
utf_8
35c2785931e620bc56566f443a5823f7
function [H,Ip] = imagesAlign( I, Iref, varargin ) % Fast and robust estimation of homography relating two images. % % The algorithm for image alignment is a simple but effective variant of % the inverse compositional algorithm. For a thorough overview, see: % "Lucas-kanade 20 years on A unifying framework," % ...
github
jimeiyang/objectContourDetector-master
opticalFlow.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/videos/opticalFlow.m
7,587
utf_8
08ec9aba216844a2d5056d5bec3dc7eb
function [Vx,Vy,reliab] = opticalFlow( I1, I2, varargin ) % Coarse-to-fine optical flow using Lucas&Kanade or Horn&Schunck. % % Implemented 'type' of optical flow estimation: % LK: http://en.wikipedia.org/wiki/Lucas-Kanade_method % HS: http://en.wikipedia.org/wiki/Horn-Schunck_method % SD: Simple block-based s...
github
jimeiyang/objectContourDetector-master
seqWriterPlugin.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/videos/seqWriterPlugin.m
8,540
utf_8
a682308b0dce017287483360e2c6452f
function varargout = seqWriterPlugin( cmd, h, varargin ) % Plugin for seqIo and videoIO to allow writing of seq files. % % Do not call directly, use as plugin for seqIo or videoIO instead. % The following is a list of commands available (swp=seqWriterPlugin): % h=swp('open',h,fName,info) % Open a seq file for wri...
github
jimeiyang/objectContourDetector-master
kernelTracker.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/videos/kernelTracker.m
9,641
utf_8
4e1eae0a8a461d70eb7414a33112de57
function [allRct, allSim, allIc] = kernelTracker( I, prm ) % Kernel Tracker from Comaniciu, Ramesh and Meer PAMI 2003. % % Implements the algorithm described in "Kernel-Based Object Tracking" by % Dorin Comaniciu, Visvanathan Ramesh and Peter Meer, PAMI 25, 564-577, % 2003. This is a fast tracking algorithm that ...
github
jimeiyang/objectContourDetector-master
seqIo.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/videos/seqIo.m
17,529
utf_8
a5e3f0d8b53147a8e60c6aa03a0822f4
function out = seqIo( fName, action, varargin ) % Utilities for reading and writing seq files. % % A seq file is a series of concatentated image frames with a fixed size % header. It is essentially the same as merging a directory of images into % a single file. seq files are convenient for storing videos because: ...
github
jimeiyang/objectContourDetector-master
seqReaderPlugin.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/videos/seqReaderPlugin.m
9,908
utf_8
a33b38d891c8413229a6d10a0b86a8d5
function varargout = seqReaderPlugin( cmd, h, varargin ) % Plugin for seqIo and videoIO to allow reading of seq files. % % Do not call directly, use as plugin for seqIo or videoIO instead. % The following is a list of commands available (srp=seqReaderPlugin): % h = srp('open',h,fName) % Open a seq file for rea...
github
jimeiyang/objectContourDetector-master
pcaApply.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/classify/pcaApply.m
3,483
utf_8
9daebac8a3d47d48bc44b7fe6ec75d1c
function varargout = pcaApply( X, U, mu, k ) % Companion function to pca. % % Use pca.m to retrieve the principal components U and the mean mu from a % set of vectors x, then use pcaApply to get the first k coefficients of % x in the space spanned by the columns of U. See pca for general usage. % % If x is large...
github
jimeiyang/objectContourDetector-master
forestTrain.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/classify/forestTrain.m
6,337
utf_8
6d827f93990f88a67f0d521f830dd265
function forest = forestTrain( data, hs, varargin ) % Train random forest classifier. % % Dimensions: % M - number trees % F - number features % N - number input vectors % H - number classes % % USAGE % forest = forestTrain( data, hs, [varargin] ) % % INPUTS % data - [NxF] N length F feature vect...
github
jimeiyang/objectContourDetector-master
fernsRegTrain.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/classify/fernsRegTrain.m
6,124
utf_8
f9b14e3d1f44a49472022479f35615fb
function [ferns,ysPr] = fernsRegTrain( data, ys, varargin ) % Train boosted fern regressor. % % Boosted regression using random ferns as the weak regressor. See "Greedy % function approximation: A gradient boosting machine", Friedman, Annals of % Statistics 2001, for more details on boosted regression. % % A few...
github
jimeiyang/objectContourDetector-master
rbfDemo.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/classify/rbfDemo.m
3,092
utf_8
d6d2ee9e5afdcd3dc89bd5a250c45a52
function rbfDemo( dataType, noiseSig, scale, k, cluster, show ) % Demonstration of rbf networks for regression. % % See rbfComputeBasis for discussion of rbfs. % % USAGE % rbfDemo( dataType, noiseSig, scale, k, cluster, show ) % % INPUTS % dataType - 0: 1D sinusoid % 1: 2D sinusoid % ...
github
jimeiyang/objectContourDetector-master
pdist2.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/classify/pdist2.m
5,407
utf_8
952fc9c0a6b35dcc57a027af4a7ad0cd
function D = pdist2( X, Y, metric ) % Calculates the distance between sets of vectors. % % Let X be an m-by-p matrix representing m points in p-dimensional space % and Y be an n-by-p matrix representing another set of points in the same % space. This function computes the m-by-n distance matrix D where D(i,j) % i...
github
jimeiyang/objectContourDetector-master
pca.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/classify/pca.m
3,391
utf_8
4fa288fd4b4c7e935ac455038d927e40
function [U,mu,vars] = pca( X ) % Principal components analysis (alternative to princomp). % % A simple linear dimensionality reduction technique. Use to create an % orthonormal basis for the points in R^d such that the coordinates of a % vector x in this basis are of decreasing importance. Instead of using all %...
github
jimeiyang/objectContourDetector-master
kmeans2.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/classify/kmeans2.m
5,434
utf_8
b3e2fa4de99d33fb44b4e3c6943bd5d3
function [ IDX, C, d ] = kmeans2( X, k, varargin ) % Fast version of kmeans clustering. % % Cluster the N x p matrix X into k clusters using the kmeans algorithm. It % returns the cluster memberships for each data point in the N x 1 vector % IDX and the K x p matrix of cluster means in C. % % This function is in...
github
jimeiyang/objectContourDetector-master
acfModify.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/detector/acfModify.m
4,365
utf_8
953c8f9fc517f7343b01c4017a46e819
function detector = acfModify( detector, varargin ) % Modify aggregate channel features object detector. % % Takes an object detector trained by acfTrain() and modifies it. Only % certain modifications are allowed to the detector and the detector should % never be modified directly (this may cause the detector to ...
github
jimeiyang/objectContourDetector-master
acfDetect.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/detector/acfDetect.m
3,479
utf_8
e9db3cf6ac6e3e4c29c92941512db444
function bbs = acfDetect( I, detector, fileName ) % Run aggregate channel features object detector on given image(s). % % The input 'I' can either be a single image (or filename) or a cell array % of images (or filenames). In the first case, the return is a set of bbs % where each row has the format [x y w h score...
github
jimeiyang/objectContourDetector-master
bbGt.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/detector/bbGt.m
34,423
utf_8
2efb0917311bcfcd0104393b2be462c1
function varargout = bbGt( action, varargin ) % Bounding box (bb) annotations struct, evaluation and sampling routines. % % bbGt gives access to two types of routines: % (1) Data structure for storing bb image annotations. % (2) Routines for evaluating the Pascal criteria for object detection. % % The bb annotat...
github
jimeiyang/objectContourDetector-master
bbApply.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/detector/bbApply.m
21,861
utf_8
f306981e5a799751db67b55034b5f3cf
function varargout = bbApply( action, varargin ) % Functions for manipulating bounding boxes (bb). % % A bounding box (bb) is also known as a position vector or a rectangle % object. It is a four element vector with the fields: [x y w h]. A set of % n bbs can be stores as an [nx4] array, most funcitons below can h...
github
jimeiyang/objectContourDetector-master
imwrite2.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/images/imwrite2.m
5,289
utf_8
fa93c13a7f1259ba3561a97c74902cd9
function I = imwrite2( I, mulFlag, imagei, path, ... name, ext, nDigits, nSplits, spliti, varargin ) % Similar to imwrite, except follows a strict naming convention. % % Wrapper for imwrite that writes file to the filename: % fName = [path name int2str2(i,nDigits) '.' ext]; % Using imwrite: % imwrite( I, fNa...
github
jimeiyang/objectContourDetector-master
convnFast.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/images/convnFast.m
9,435
utf_8
ae42efd752c1f27d6671f215e4ad9ce2
function C = convnFast( A, B, shape ) % Fast convolution, replacement for both conv2 and convn. % % See conv2 or convn for more information on convolution in general. % % This works as a replacement for both conv2 and convn. Basically, % performs convolution in either the frequency or spatial domain, depending ...
github
jimeiyang/objectContourDetector-master
imMlGauss.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/images/imMlGauss.m
5,902
utf_8
0e7d1de8c0b463e6ca5e742f5764bb64
function varargout = imMlGauss( G, symmFlag, show ) % Calculates max likelihood params of Gaussian that gave rise to image G. % % Suppose G contains an image of a gaussian distribution. One way to % recover the parameters of the gaussian is to threshold the image, and % then estimate the mean/covariance based on ...
github
jimeiyang/objectContourDetector-master
montage2.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/images/montage2.m
7,778
utf_8
1040b0c5365d56064de7c28bd46e1cbf
function varargout = montage2( IS, prm ) % Used to display collections of images and videos. % % Improved version of montage, with more control over display. % NOTE: Can convert between MxNxT and MxNx3xT image stack via: % I = repmat( I, [1,1,1,3] ); I = permute(I, [1,2,4,3] ); % % USAGE % varargout = montag...
github
jimeiyang/objectContourDetector-master
jitterImage.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/images/jitterImage.m
5,427
utf_8
5eb14e974f08496e8c644c3ef94449f7
function IJ = jitterImage( I, varargin ) % Creates multiple, slightly jittered versions of an image. % % Takes an image I, and generates a number of images that are copies of the % original image with slight translation, rotation and scaling applied. If % the input image is actually an MxNxK stack of images then a...
github
jimeiyang/objectContourDetector-master
movieToImages.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/images/movieToImages.m
990
utf_8
c6c5bfd212a560ee433db20fb9c74a4c
function I = movieToImages( M ) % Creates a stack of images from a matlab movie M. % % Repeatedly calls frame2im. Useful for playback with playMovie. % % USAGE % I = movieToImages( M ) % % INPUTS % M - a matlab movie % % OUTPUTS % I - MxNxT array (of images) % % EXAMPLE % load( 'images.mat' ); [...
github
jimeiyang/objectContourDetector-master
toolboxUpdateHeader.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/toolboxUpdateHeader.m
2,433
utf_8
6cd2226023653b907b767b6c4b8b7ff7
function toolboxUpdateHeader % Update the headers of all the files. % % USAGE % toolboxUpdateHeader % % INPUTS % % OUTPUTS % % EXAMPLE % % See also % % Piotr's Image&Video Toolbox Version 3.25 % Copyright 2013 Piotr Dollar. [pdollar-at-caltech.edu] % Please email me if you find bugs, or have sugg...
github
jimeiyang/objectContourDetector-master
toolboxGenDoc.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/toolboxGenDoc.m
3,770
utf_8
dfd95e962061a5afd392f4549d3ef75b
function toolboxGenDoc % Generate documentation, must run from dir toolbox. % % 1) Make sure to update and run toolboxUpdateHeader.m % 2) Update history.txt appropriately, including w current version % 3) Update overview.html file with the version/date/link to zip: % edit external/m2html/templates/frame-piotr...
github
jimeiyang/objectContourDetector-master
toolboxHeader.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/toolboxHeader.m
2,519
utf_8
7530495be10750dc20e944da853d9793
function [y1,y2] = toolboxHeader( x1, x2, x3, prm ) % One line description of function (will appear in file summary). % % General commments explaining purpose of function [width is 75 % characters]. There may be multiple paragraphs. In special cases some or % all of these guidelines may need to be broken. % % Ne...
github
jimeiyang/objectContourDetector-master
mdot.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/m2html/mdot.m
2,516
utf_8
34a14428c433e118d1810e23f5a6caf5
function mdot(mmat, dotfile,f) %MDOT - Export a dependency graph into DOT language % MDOT(MMAT, DOTFILE) loads a .mat file generated by M2HTML using option % ('save','on') and writes an ascii file using the DOT language that can % be drawn using <dot> or <neato> . % MDOT(MMAT, DOTFILE,F) builds the graph containing...
github
jimeiyang/objectContourDetector-master
m2html.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/m2html/m2html.m
49,063
utf_8
472047b4c36a4f8b162012840e31b59b
function m2html(varargin) %M2HTML - Documentation Generator for Matlab M-files and Toolboxes in HTML % M2HTML by itself generates an HTML documentation of the Matlab M-files found % in the direct subdirectories of the current directory. HTML files are % written in a 'doc' directory (created if necessary). All the o...
github
jimeiyang/objectContourDetector-master
doxysearch.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/m2html/private/doxysearch.m
7,724
utf_8
8331cde8495f34b86aef8c18656b37f2
function result = doxysearch(query,filename) %DOXYSEARCH Search a query in a 'search.idx' file % RESULT = DOXYSEARCH(QUERY,FILENAME) looks for request QUERY % in FILENAME (Doxygen search.idx format) and returns a list of % files responding to the request in RESULT. % % See also DOXYREAD, DOXYWRITE % Copyright (C)...
github
jimeiyang/objectContourDetector-master
doxywrite.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/m2html/private/doxywrite.m
3,584
utf_8
3255d8f824957ebc173dde374d0f78af
function doxywrite(filename, kw, statinfo, docinfo) %DOXYWRITE Write a 'search.idx' file compatible with DOXYGEN % DOXYWRITE(FILENAME, KW, STATINFO, DOCINFO) writes file FILENAME % (Doxygen search.idx. format) using the cell array KW containing the % word list, the sparse matrix (nbword x nbfile) with non-null value...
github
jimeiyang/objectContourDetector-master
doxyread.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/m2html/private/doxyread.m
3,093
utf_8
3152e7d26bf7ac64118be56f72832a20
function [statlist, docinfo] = doxyread(filename) %DOXYREAD Read a 'search.idx' file generated by DOXYGEN % STATLIST = DOXYREAD(FILENAME) reads FILENAME (Doxygen search.idx % format) and returns the list of keywords STATLIST as a cell array. % [STATLIST, DOCINFO] = DOXYREAD(FILENAME) also returns a cell array % con...
github
jimeiyang/objectContourDetector-master
imwrite2split.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/imwrite2split.m
1,664
utf_8
8fa6eef9378b3b9aa633d6c096cd78f7
% Writes/reads a large set of images into/from multiple directories. % % This is useful since certain OS handle very large directories (of say % >20K images) rather poorly (I'm talking to you Bill). Thus, can take % 100K images, and write into 5 separate directories, then read them back % in. % % USAGE % I = ...
github
jimeiyang/objectContourDetector-master
playmovies.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/playmovies.m
1,997
utf_8
6d94553879ed29dca7238d26459ec685
% [4D] shows R videos simultaneously as a movie. % % Plays a movie. % % USAGE % playmovies( I, [fps], [loop] ) % % INPUTS % I - MxNxTxR or MxNx1xTxR or MxNx3xTxR array (if MxNxT calls % playmovie) % fps - [100] maximum number of frames to display per second use % fps==0 to ...
github
jimeiyang/objectContourDetector-master
pca_apply_large.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/pca_apply_large.m
2,132
utf_8
daf33ba3f73412c5d5b488d89b7cc495
% Wrapper for pca_apply that allows for application to large X. % % Wrapper for pca_apply that splits and processes X in parts, this may be % useful if processing cannot be done fully in parallel because of memory % constraints. See pca_apply for usage. % % USAGE % same as pca_apply % % INPUTS % same as pca...
github
jimeiyang/objectContourDetector-master
montages2.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/montages2.m
2,335
utf_8
3ff14e5c538db6af4c9e1c99144d7c15
% MONTAGES2 [4D] Used to display R sets of T images each. % % Displays one montage (see montage2) per row. Each of the R image sets is % flattened to a single long image by concatenating the T images in the % set. Alternative to montages. % % USAGE % varargout = montages2( IS, [montage2prms], [padSiz] ) % % ...
github
jimeiyang/objectContourDetector-master
filter_gauss_1D.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/filter_gauss_1D.m
1,178
utf_8
42acb7f8ac4ce94b6dc1dabe1e51e313
% 1D Gaussian filter. % % Equivalent to (but faster then): % f = fspecial('Gaussian',[2*r+1,1],sigma); % f = filter_gauss_nD( 2*r+1, r+1, sigma^2 ); % % USAGE % f = filter_gauss_1D( r, sigma, [show] ) % % INPUTS % r - filter size=2r+1, if r=[] -> r=ceil(2.25*sigma) % sigma - standard deviation o...
github
jimeiyang/objectContourDetector-master
clfEcoc.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/clfEcoc.m
1,539
utf_8
3cb7110d53d7eefcca505365b078fe8e
function clf = clfEcoc(p,clfInit,clfparams,nclasses,use01targets) % Wrapper for ecoc that makes ecoc compatible with nfoldxval. % % Requires the SVM toolbox by Anton Schwaighofer. % % USAGE % clf = clfEcoc(p,clfInit,clfparams,nclasses,use01targets) % % INPUTS % p - data dimension % clfInit ...
github
jimeiyang/objectContourDetector-master
getargs.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/getargs.m
3,550
utf_8
b8ee235c28195894f0743b6cd00fd609
% Utility to process parameter name/value pairs. % % DEPRECATED -- ONLY USED BY KMEANS2? SHOULD BE REMOVED. % USE GETPARAMDEFAULTS INSTEAD. % % Based on code fromt Matlab Statistics Toolobox's "private/statgetargs.m" % % [EMSG,A,B,...]=GETARGS(PNAMES,DFLTS,'NAME1',VAL1,'NAME2',VAL2,...) % accepts a cell array ...
github
jimeiyang/objectContourDetector-master
normxcorrn_fg.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/normxcorrn_fg.m
2,771
utf_8
c0817b10bbc5d1793efad5fa7b4932ac
% Normalized n-dimensional cross-correlation with a mask. % % Similar to normxcorrn, except takes an additional argument that specifies % a figure ground mask for the T. That is T_fg must be of the same % dimensions as T, with each entry being 0 or 1, where zero specifies % regions to ignore (the ground) and 1 sp...
github
jimeiyang/objectContourDetector-master
makemovie.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/makemovie.m
1,313
utf_8
7cadf737855cee5cb9a336e1204773c4
% [3D] Used to convert a stack of T images into a movie. % % To display same data statically use montage. % % USAGE % M = makemovies( IS ) % % INPUTS % IS - MxNxT or MxNx1xT or MxNx3xT array of movies. % % OUTPUTS % M - resulting movie % % EXAMPLE % load( 'images.mat' ); % ...
github
jimeiyang/objectContourDetector-master
localsum_block.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/localsum_block.m
845
utf_8
d420d188aa320337183491498c7cc483
% Calculates the sum in non-overlapping blocks of I of size dims. % % Similar to localsum except gets sum in non-overlapping windows. % Equivalent to doing localsum, and then subsampling (except more % efficient). % % USAGE % I = localsum_block( I, dims ) % % INPUTS % I - matrix to compute sum over %...
github
jimeiyang/objectContourDetector-master
imrotate2.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/imrotate2.m
1,367
utf_8
21148eb1e941255d74de56b5cb8994b1
% Custom version of imrotate that demonstrates use of apply_homography. % % Works exactly the same as imrotate. For usage see imrotate. % % USAGE % IR = imrotate2( I, angle, [method], [bbox] ) % % INPUTS % I - 2D image [converted to double] % angle - angle to rotate in degrees % method - ['linea...
github
jimeiyang/objectContourDetector-master
imSubsResize.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/imSubsResize.m
1,379
utf_8
7bcc46113f2b8619d539a20ecb5a1835
% Resizes subs by resizVals. % % Resizes subs in subs/vals image representation by resizVals. % % This essentially replaces each sub by sub.*resizVals. The only subtlety % is that in images the leftmost sub value is .5, so for example when % resizing by a factor of 2, the first pixel is replaced by 2 pixels and ...
github
jimeiyang/objectContourDetector-master
imtranslate.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/imtranslate.m
1,221
utf_8
8a46326f7c0b520a89e2c4a153118ec9
% Translate an image to subpixel accuracy. % % Note that for subplixel accuracy cannot use nearest neighbor interp. % % USAGE % IR = imtranslate( I, dx, dy, [method], [bbox] ) % % INPUTS % I - 2D image [converted to double] % dx - x translation (right) % dy - y translation (up) % method ...
github
jimeiyang/objectContourDetector-master
randperm2.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/randperm2.m
1,444
utf_8
b8dc96688b2afddb3bd486803d3847b5
% Returns a random permutation of integers. % % randperm2(n) is a random permutation of the integers from 1 to n. For % example, randperm2(6) might be [2 4 5 6 1 3]. randperm2(n,k) is only % returns the first k elements of the permuation, so for example % randperm2(6) might be [2 4]. This is a faster version of ...
github
jimeiyang/objectContourDetector-master
apply_homography.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/apply_homography.m
3,676
utf_8
18c79558e14e422d02c755d8363c7460
% Applies the homography defined by H on the image I. % % Takes the center of the image as the origin, not the top left corner. % Also, the coordinate system is row/ column format, so H must be also. % % The bounding box of the image is set by the BBOX argument, a string that % can be 'loose' (default) or 'crop'....
github
jimeiyang/objectContourDetector-master
pca_apply.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/pca_apply.m
2,506
utf_8
4f38cdb1a3375943269e24dc6be6af65
% Companion function to pca. % % Use pca to retrieve the principal components U and the mean mu from a % set fo vectors X1 via [U,mu,vars] = pca(X1). Then given a new % vector x, use y = pca_apply( x, U, mu, vars, k ) to get the first k % coefficients of x in the space spanned by the columns of U. See pca for % ...
github
jimeiyang/objectContourDetector-master
mode2.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/deprecated/mode2.m
765
utf_8
f6b3681635cfe16059c5483214fb9814
% Returns the mode of a vector. % % Was mode not part of Matlab before? % % USAGE % y = mode2( x ) % % INPUTS % x - vector of integers % % OUTPUTS % y - mode % % EXAMPLE % x = randint2( 1, 10, [1 3] ) % mode(x), mode2( x ) % % See also MODE % Piotr's Image&Video Toolbox Version 1.5 % ...
github
jimeiyang/objectContourDetector-master
savefig.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/external/other/savefig.m
13,374
utf_8
b8aace9bef044800b8fc876fde5bf33f
function savefig(fname, varargin) % Usage: savefig(filename, fighdl, options) % % Saves a pdf, eps, png, jpeg, and/or tiff of the contents of the fighandle's (or current) figure. % It saves an eps of the figure and the uses Ghostscript to convert to the other formats. % The result is a cropped, clean picture. There a...
github
jimeiyang/objectContourDetector-master
dirSynch.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/matlab/dirSynch.m
4,760
utf_8
98722043acf461badcbf811797e8f35c
function dirSynch( root1, root2, showOnly, flag, ignDate ) % Synchronize two directory trees (or show differences between them). % % If a file or directory 'name' is found in both tree1 and tree2: % 1) if 'name' is a file in both the pair is considered the same if they % have identical size and identical date...
github
jimeiyang/objectContourDetector-master
plotRoc.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/matlab/plotRoc.m
5,407
utf_8
6de0cb3305bb49d76673c90ad10d3f43
function [h,miss,stds] = plotRoc( D, varargin ) % Function for display of rocs (receiver operator characteristic curves). % % Display roc curves. Consistent usage ensures uniform look for rocs. The % input D should have n rows, each of which is of the form: % D = [falsePosRate truePosRate] % D is generated, for ...
github
jimeiyang/objectContourDetector-master
simpleCache.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/matlab/simpleCache.m
4,293
utf_8
22f799042e5c852998fa3462c9363fc7
function varargout = simpleCache( op, cache, varargin ) % A simple cache that can be used to store results of computations. % % Can save and retrieve arbitrary values using a vector (includnig char % vectors) as a key. Especially useful if a function must perform heavy % computation but is often called with the sa...
github
jimeiyang/objectContourDetector-master
tpsInterpolate.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/matlab/tpsInterpolate.m
1,760
utf_8
718883df87f2cad99fe591d11b8693db
function [xsR,ysR] = tpsInterpolate( warp, xs, ys, show ) % Apply warp (obtained by tpsGetWarp) to a set of new points. % % USAGE % [xsR,ysR] = tpsInterpolate( warp, xs, ys, [show] ) % % INPUTS % warp - [see tpsGetWarp] bookstein warping parameters % xs, ys - points to apply warp to % show - [1] ...
github
jimeiyang/objectContourDetector-master
checkNumArgs.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/matlab/checkNumArgs.m
3,968
utf_8
262a28a0ba12c107b0244a10b38606ae
function [ x, er ] = checkNumArgs( x, siz, intFlag, signFlag ) % Helper utility for checking numeric vector arguments. % % Runs a number of tests on the numeric array x. Tests to see if x has all % integer values, all positive values, and so on, depending on the values % for intFlag and signFlag. Also tests to se...
github
jimeiyang/objectContourDetector-master
fevalDistr.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/matlab/fevalDistr.m
12,765
utf_8
3f490cb79ce1134078e2a18e6a47afba
function [out,res] = fevalDistr( funNm, jobs, varargin ) % Wrapper for embarrassingly parallel function evaluation. % % Runs "r=feval(funNm,jobs{i}{:})" for each job in a parallel manner. jobs % should be a cell array of length nJob and each job should be a cell array % of parameters to pass to funNm. funNm must b...
github
jimeiyang/objectContourDetector-master
medfilt1m.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/filters/medfilt1m.m
3,138
utf_8
0ae9cc23ba8aec631160413b125a39a2
function y = medfilt1m( x, r, z ) % One-dimensional adaptive median filtering with missing values. % % Applies a width s=2*r+1 one-dimensional median filter to vector x, which % may contain missing values (elements equal to z). If x contains no % missing values, y(j) is set to the median of x(j-r:j+r). If x contai...
github
jimeiyang/objectContourDetector-master
FbMake.m
.m
objectContourDetector-master/caffe-cedn/matlab/toolbox/filters/FbMake.m
6,962
utf_8
de8baf5b056d6d153f8ae0755ade2de5
function FB = FbMake( dim, flag, show ) % Various 1D/2D/3D filterbanks (hardcoded). % % USAGE % FB = FbMake( dim, flag, [show] ) % % INPUTS % dim - dimension % flag - controls type of filterbank to create % - if d==1 % 1: gabor filter bank for spatiotemporal stuff % - i...
github
shervinemami/openbr-master
loadOpenBR.m
.m
openbr-master/scripts/matlab/loadOpenBR.m
872
utf_8
4e065d7380792eccc6c84c661e76f723
% This script will read a matrix container format where the first two entires are 32-bit ints % specifying the number of rows and columns (respectively). The remaining buffer is 32-bit floats % with all the matrix contents, in row-major order. function [x] = loadOpenBR(filename,reverse) if nargin < 2, %...
github
stuartfogel/detect_spindles-master
DS_characSpindles.m
.m
detect_spindles-master/src/DS_characSpindles.m
4,807
utf_8
991d8a49799e8e73070085435e97dbed
function EEG = DS_characSpindles(EEG, PARAM) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Characterize event amplitude and oscillatory frequency % % Part of detect_spindles toolbox: % % Authors: Stephane Sockeel, PhD, University of Montreal % Stuart Fogel, PhD, University ...
github
stuartfogel/detect_spindles-master
DS_complexDemodulation.m
.m
detect_spindles-master/src/DS_complexDemodulation.m
3,525
utf_8
4c7732a2a1469cc46016e94a3889482b
function [EEG,PARAM] = DS_complexDemodulation(EEG,PARAM) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % ComplexDemodulation % % Part of detect_spindles toolbox: % % Authors: Stephane Sockeel, PhD, University of Montreal % Stuart Fogel, PhD, University of Ottawa % T...
github
gbaier/despeckCL-master
insar_test.m
.m
despeckCL-master/examples/insar_test.m
2,655
utf_8
13c779c74e3df7e417bd79b924198fb6
#!/usr/bin/octave clear; clc; despeckcl; load('insar_test_data.mat') % boxcar window_size = 5; [ref_filt_boxcar, phi_filt_boxcar, coh_filt_boxcar] = despeckcl.boxcar(ampl_master, ampl_slave, ...
github
xieliaing/statsmodels-master
remNaNs_spline.m
.m
statsmodels-master/statsmodels/tsa/statespace/tests/results/frbny_nowcast/Nowcasting/functions/remNaNs_spline.m
5,475
utf_8
3064f0077bca84da0000c3fc42b7b25f
%%% Replication files for: %%% ""Nowcasting", 2010, (by Marta Banbura, Domenico Giannone and Lucrezia Reichlin), %%% in Michael P. Clements and David F. Hendry, editors, Oxford Handbook on Economic Forecasting. %%% %%% The software can be freely used in applications. %%% Users are kindly requested to add acknowledg...
github
xieliaing/statsmodels-master
dfm.m
.m
statsmodels-master/statsmodels/tsa/statespace/tests/results/frbny_nowcast/Nowcasting/functions/dfm.m
38,965
utf_8
6190c225ffe8048cfad6bdd2b54223fe
function Res = dfm(X,Spec,threshold,max_iter) %DFM() Runs the dynamic factor model % % Syntax: % Res = DFM(X,Par) % % Description: % DFM() inputs the organized and transformed data X and parameter structure Par. % Then, the function outputs dynamic factor model structure Res and data % summary statistics ...
github
xieliaing/statsmodels-master
update_nowcast.m
.m
statsmodels-master/statsmodels/tsa/statespace/tests/results/frbny_nowcast/Nowcasting/functions/update_nowcast.m
21,540
utf_8
a625f33072bab0a4a4c11e0dcc33ceee
function [Res] = update_nowcast(X_old,X_new,Time,Spec,Res,series,period,vintage_old,vintage_new) if ~isnumeric(vintage_old) vintage_old = datenum(vintage_old,'yyyy-mm-dd'); end if ~isnumeric(vintage_new) vintage_new = datenum(vintage_new,'yyyy-mm-dd'); end % Make sure datasets are the same size N = size(X_ne...
github
xieliaing/statsmodels-master
load_data.m
.m
statsmodels-master/statsmodels/tsa/statespace/tests/results/frbny_nowcast/Nowcasting/functions/load_data.m
4,617
utf_8
25181b898f5bd6ab9c61da00f59e2872
function [X,Time,Z] = load_data(datafile,Spec,sample,loadExcel) %loadData Load vintage of data from file and format as structure % % Description: % % Load data from file % % Input Arguments: % % datafile - filename of Microsoft Excel workbook file % % Output Arguments: % % Data - structure with the following fields...
github
raaperrotta/symlog-master
symlog.m
.m
symlog-master/symlog.m
6,318
utf_8
53e10b2d5aa1a4f57a408957b9263029
function symlog(varargin) % SYMLOG bi-symmetric logarithmic axes scaling % SYMLOG applies a modified logarithm scale to the specified or current % axes that handles negative values while maintaining continuity across % zero. The transformation is defined in an article from the journal % Measurement Science...
github
davisvideochallenge/davis-matlab-master
db_root_dir.m
.m
davis-matlab-master/db_root_dir.m
886
utf_8
4e824f196c78134b9c105dff8e16af99
% ------------------------------------------------------------------------ % Jordi Pont-Tuset - http://jponttuset.github.io/ % April 2016 % ------------------------------------------------------------------------ % This file is part of the DAVIS package presented in: % Federico Perazzi, Jordi Pont-Tuset, Brian McWi...
github
davisvideochallenge/davis-matlab-master
db_matlab_root_dir.m
.m
davis-matlab-master/db_matlab_root_dir.m
827
utf_8
95b90b8c11b7ed9760e9dfac9fd77ddb
% ------------------------------------------------------------------------ % Jordi Pont-Tuset - http://jponttuset.github.io/ % April 2016 % ------------------------------------------------------------------------ % This file is part of the DAVIS package presented in: % Federico Perazzi, Jordi Pont-Tuset, Brian McWi...
github
davisvideochallenge/davis-matlab-master
savejson.m
.m
davis-matlab-master/third-party/jsonlab/savejson.m
19,032
utf_8
fcdcba8e45230c57a5d825c60a071e81
function json=savejson(rootname,obj,varargin) % % json=savejson(rootname,obj,filename) % or % json=savejson(rootname,obj,opt) % json=savejson(rootname,obj,'param1',value1,'param2',value2,...) % % convert a MATLAB object (cell, struct or array) into a JSON (JavaScript % Object Notation) string % % author: Qianqian Fa...
github
davisvideochallenge/davis-matlab-master
loadjson.m
.m
davis-matlab-master/third-party/jsonlab/loadjson.m
16,162
ibm852
2bc1da81d0f677f843944b84f0181d58
function data = loadjson(fname,varargin) % % data=loadjson(fname,opt) % or % data=loadjson(fname,'param1',value1,'param2',value2,...) % % parse a JSON (JavaScript Object Notation) file or string % % authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu) % created on 2011/09/09, including previous works from % % ...
github
davisvideochallenge/davis-matlab-master
loadubjson.m
.m
davis-matlab-master/third-party/jsonlab/loadubjson.m
13,317
utf_8
e090cd22109f32b58c8d63b948cfbfcd
function data = loadubjson(fname,varargin) % % data=loadubjson(fname,opt) % or % data=loadubjson(fname,'param1',value1,'param2',value2,...) % % parse a JSON (JavaScript Object Notation) file or string % % authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu) % created on 2013/08/01 % % $Id$ % % input: % fname: ...
github
davisvideochallenge/davis-matlab-master
saveubjson.m
.m
davis-matlab-master/third-party/jsonlab/saveubjson.m
17,740
utf_8
e8182109b9c4bc0cca50de08f1254247
function json=saveubjson(rootname,obj,varargin) % % json=saveubjson(rootname,obj,filename) % or % json=saveubjson(rootname,obj,opt) % json=saveubjson(rootname,obj,'param1',value1,'param2',value2,...) % % convert a MATLAB object (cell, struct or array) into a Universal % Binary JSON (UBJSON) binary string % % author...
github
davisvideochallenge/davis-matlab-master
pce2mask.m
.m
davis-matlab-master/third-party/polycont/matlab/pce2mask.m
729
utf_8
c9a874ef3fa553584563b64b7c17bbbe
% mask = pce2mask( pce ) %------------------------------------------------------------------------ % Get the representation in terms of polygons of the contour of a mask. % PARAMS IN: % pce : Polygonal representation of the contour. % PARAMS OUT: % mask : Boolean matrix - foreground (true), backg...
github
davisvideochallenge/davis-matlab-master
plot_pce.m
.m
davis-matlab-master/third-party/polycont/matlab/plot_pce.m
793
utf_8
7f1048b8844ff5446c2a109dad511ab1
% plot_pce( pce ) %------------------------------------------------------------------------ % Plot the polygon represented by poly % PARAMS IN: % pce : Polygonal representation of the contour. %------------------------------------------------------------------------ % Copyright (C) % Jordi Pont-Tuset <jpontt...
github
davisvideochallenge/davis-matlab-master
pce_area.m
.m
davis-matlab-master/third-party/polycont/matlab/pce_area.m
584
utf_8
0677243d9e23b3df08eddf45f605cba7
% area = pce_area( pce ) %------------------------------------------------------------------------ % Get the area of a polygon contour. % PARAMS IN: % pce : Polygonal representation of the contour. % PARAMS OUT: % area : Area of the polygon. %---------------------------------------------------------------...
github
davisvideochallenge/davis-matlab-master
pce_write.m
.m
davis-matlab-master/third-party/polycont/matlab/pce_write.m
593
utf_8
948442fa21e017b75de421042abd8070
% pce_write( pce, filename ) %------------------------------------------------------------------------ % Get the area of a polygon contour. % PARAMS IN: % pce : Polygonal representation of the contour. % filename : File name to write the polygon %--------------------------------------------------------------...
github
davisvideochallenge/davis-matlab-master
pce_intersection.m
.m
davis-matlab-master/third-party/polycont/matlab/pce_intersection.m
705
utf_8
42f5bb20ab4743e6356eb20ff1bc7c3b
% intersection = pce_intersection( pce1, pce2 ) %------------------------------------------------------------------------ % Get the intersection between two polygon contours. % PARAMS IN: % pce1, pce2 : Polygonal representations of the contours. % PARAMS OUT: % intersection : Intersection between the two polygo...
github
davisvideochallenge/davis-matlab-master
pce_read.m
.m
davis-matlab-master/third-party/polycont/matlab/pce_read.m
609
utf_8
efb8245c359757c6aefb2dc23b1190e0
% pce = pce_read( filename ) %------------------------------------------------------------------------ % Get the area of a polygon contour. % PARAMS IN: % filename : File name to write the polygon % PARAMS OUT: % pce : Polygonal representation of the contour. %-----------------------------------------------...
github
davisvideochallenge/davis-matlab-master
mask2pce.m
.m
davis-matlab-master/third-party/polycont/matlab/mask2pce.m
935
utf_8
63fdbe22cd478f2dc7d3315f7cadf676
% pce = mask2pce( mask, tolerance) %------------------------------------------------------------------------ % Get the representation in terms of polygons of the contour of a mask. % PARAMS IN: % mask : Boolean matrix - foreground (true), background (false), % representing the mask of the s...
github
davisvideochallenge/davis-matlab-master
pce_jaccard.m
.m
davis-matlab-master/third-party/polycont/matlab/pce_jaccard.m
1,081
utf_8
b72559d3ba16a567cb31bcb563acf258
% [jaccard, precision, recall] = pce_jaccard( pce1, pce2 ) %------------------------------------------------------------------------ % Get the jaccard index between two polygon contours. % PARAMS IN: % pce1, pce2 : Polygonal representations of the contours. % PARAMS OUT: % jaccard : Jaccard index between two p...
github
davisvideochallenge/davis-matlab-master
db_frame_ids.m
.m
davis-matlab-master/db_util/db_frame_ids.m
1,038
utf_8
3cc8fd6de110223041e6c0ea9950d1a9
% ------------------------------------------------------------------------ % Jordi Pont-Tuset - http://jponttuset.github.io/ % April 2016 % ------------------------------------------------------------------------ % This file is part of the DAVIS package presented in: % Federico Perazzi, Jordi Pont-Tuset, Brian McWi...