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
yuanjun-jason/THUMOS15_Challenge_Code-master
genTmAnno.m
.m
THUMOS15_Challenge_Code-master/eval_detect/data/genTmAnno.m
3,738
utf_8
a832b6e90e82cdf579be1c23d34ef871
function genTmAnno load('/home/yuanjun/Desktop/cvlibs/thumos15_valfeat/thumos15_validation_meta/thumos15_validation_meta.mat'); meta = thumos15_validation_videos; anno_path = '/home/yuanjun/Desktop/cvlibs/thumos15_valfeat/TH15_Temporal_annotations_validation/annotations'; addpath(anno_path); ...
github
yuanjun-jason/THUMOS15_Challenge_Code-master
getFV_5frame.m
.m
THUMOS15_Challenge_Code-master/thumos15_testfeat/fvPool_5Frame_PRY/getFV_5frame.m
1,737
utf_8
2fd12efa0417d9b774287d6e63e7bcb1
function [FV, META] = getFV_5frame(TJ, frmNum, UCF_PCA, UCF_GMM) frameEndInd = TJ(:, 1); feat = appPCA(TJ, UCF_PCA); clear TJ; FV = cell(0); META = cell(0); frmInd = 6; ind = 1; trjCnt = 0; while 1 if frmInd > ( frmNum - 9 ) break; end % frame from 6 to end-9, ending frame from 6+7 to end-2 ...
github
yuanjun-jason/THUMOS15_Challenge_Code-master
getPry_gpu.m
.m
THUMOS15_Challenge_Code-master/thumos15_testfeat/fvPool_5Frame_PRY/getPry_gpu.m
2,561
utf_8
1567471b26e5969a666ba830d8e44f4e
function [SC, N, Frm] = getPry4(fv_unorm, meta, W, sqrtPRI) SC = cell(9, 1); N = cell(9, 1); Nm = size(fv_unorm, 2)-1; TMP_FV = zeros([size(fv_unorm, 1), Nm], 'single', 'gpuArray'); PAD_N = padarray(meta(2,:), [0, 8]); TMP_N = zeros(1, Nm, 'single'); for p = 1:9 if p == 1 TMP_FV= fv_unorm(:, ...
github
yuanjun-jason/THUMOS15_Challenge_Code-master
getPry.m
.m
THUMOS15_Challenge_Code-master/thumos15_testfeat/fvPool_5Frame_PRY/getPry.m
2,591
utf_8
c9afd9eae63c3adc7795a8a3007f8e38
function [SC, N, Frm] = getPry(fv_unorm, meta, W, sqrtPRI) SC = cell(9, 1); N = cell(9, 1); Nm = size(fv_unorm, 2)-1; PAD_FV = padarray(fv_unorm, [0, 8]); TMP_FV = zeros([size(fv_unorm, 1), Nm], 'single'); PAD_N = padarray(meta(2,:), [0, 8]); TMP_N = zeros(1, Nm, 'single'); for p = 1:9 for j = 1: Nm ...
github
MariusKlug/mobilab-master
eegEpoch.m
.m
mobilab-master/eegEpoch.m
25,019
utf_8
065ebc68b06c5afdb7ca61ebd668a04a
% Creates an object from the class eegEpoch % The class eegEpoch can handle epoched data either in channel or component space. % The class defines methods for ERP computation, single trial wavelet denoising based on Quian and Garcia (2002), % and time-frequency analysis. See examples below. % % Author: Alejandro Ojeda...
github
MariusKlug/mobilab-master
videoMaker.m
.m
mobilab-master/videoMaker.m
2,233
utf_8
ae9c0a1e041d0fc1c8ed4bc8bd4fe104
classdef videoMaker < handle properties nowCursor hTimer hGraphics period hStreamObj videoFilename tmin tmax paintCallback end properties(Hidden = true) vObj progressBar statusBar end methods fun...
github
MariusKlug/mobilab-master
mobilabApplication.m
.m
mobilab-master/mobilabApplication.m
42,559
utf_8
45aa12a41670d708aec74f0331e5d3e9
% The role of the class mobilabApplication is to control the graphical % user interface (gui). The gui is created on execution time by embedding % a Java JTree component in the main window. This interactive tree is created % to display parent-child relationships between the objects provided by the % dataSource. Then,...
github
MariusKlug/mobilab-master
inverseSolutionLoreta.m
.m
mobilab-master/inverseSolutionLoreta.m
3,141
utf_8
4bf9324472dfe985b2d4cb7650cc5b37
function [J,lambdaOpt] = inverseSolutionLoreta(Y,K,L,nlambda,plotGCV,threshold) %[J,lambdaOpt] = inverseSolutionLoreta(Y,K,L,nlambda,plotGCV,threshold) % % Estimates the Primary Current Density of a given topographic map using % a laplacian penalty. The estimated parametric map representing the PCD % is formaly equiva...
github
MariusKlug/mobilab-master
dataSourceMoBI.m
.m
mobilab-master/dataSourceMoBI.m
12,813
utf_8
b40b8cdca4cad82f61e5547105d0464a
% Definition of the class dataSourceMoBI. This class reads into MoBILAB the % content of a folder containing MoBILAB files. % % Author: Alejandro Ojeda, SCCN, INC, UCSD, 05-Apr-2011 %% classdef dataSourceMoBI < dataSource methods %% function obj = dataSourceMoBI(mobiDataDirectory) % Cre...
github
MariusKlug/mobilab-master
mocapEEGdataset.m
.m
mobilab-master/mocapEEGdataset.m
15,973
utf_8
9f1b40497fe07e9e3aacc2407814ddc0
classdef mocapEEGdataset < handle properties mocapTrials eegTrials boundary ersp itc frequency end properties(Dependent) time condition end methods function obj = mocapEEGdataset(mocapObj,mocapChannels,eegObj,eegChannels,latenc...
github
MariusKlug/mobilab-master
variationalDynLoreta.m
.m
mobilab-master/variationalDynLoreta.m
4,368
utf_8
1d43cd2709b776bfa3f7d1a6b6745466
function [J,alpha,beta,T,lambda2,FVU,aic] = variationalDynLoreta(Ut,Y,s2,iLV,L,alpha,beta,options) %[J,alpha,beta,T] = variationalDynLoreta(Ut,Y,s2,iLV,L,alpha,beta,options) % % Computes the posterior distribution of the parameters J given some data V. % The program solves levels of inference: 1) optimization of para...
github
MariusKlug/mobilab-master
inverseSolutionLoreta3D.m
.m
mobilab-master/inverseSolutionLoreta3D.m
3,921
utf_8
79f7dfe7a8e1e3ae9d586f80875d6fad
function [J,lambdaOpt,sig] = inverseSolutionLoreta3D(Y,K,L,nlambda,plotGCV,threshold) %[J,lambdaOpt] = inverseSolutionLoreta(Y,K,L,nlambda,plotGCV,threshold) % % Estimates the Primary Current Density of a given topographic map using % a laplacian penalty. The estimated parametric map representing the PCD % is formaly ...
github
MariusKlug/mobilab-master
eeg.m
.m
mobilab-master/eeg.m
34,013
utf_8
2f666ef0c852ea1262a992d57d1aa5c1
% Definition of the class eeg. This class defines analysis methods % exclusively for EEG data. % % For more details visit: https://code.google.com/p/mobilab/ % % Author: Alejandro Ojeda, SCCN, INC, UCSD, Apr-2011 classdef eeg < dataStream properties isReferenced % Boolean that reflects whether an EEG d...
github
MariusKlug/mobilab-master
dataSource.m
.m
mobilab-master/dataSource.m
46,945
utf_8
cb04f03c6bdf49574c347548acfb93fc
% Definition of the class dataSource. This is an abstract class that serves % as a base for classes that implement interfaces between data acquisition % systems or intermediate data formats and MoBILAB toolbox. % % Author: Alejandro Ojeda, SCCN, INC, UCSD, Apr-2011 %% classdef dataSource < handle properties(SetAc...
github
MariusKlug/mobilab-master
my_load_xdf.m
.m
mobilab-master/my_load_xdf.m
24,158
utf_8
e7f25d937115faa70923b2519cb17dc6
function [streams,fileheader] = my_load_xdf(filename,tmpFolder) % Import an XDF file. % [Streams,FileHeader] = load_xdf(Filename) % % This is a simple MATLAB importer for mult-stream XDF (Extensible Data Format) recordings. All % information covered by the XDF 1.0 specification is imported, plus any additional meta-dat...
github
MariusKlug/mobilab-master
invertParametricEmpiricalBayes.m
.m
mobilab-master/invertParametricEmpiricalBayes.m
3,185
utf_8
9d1677957571aab60e130db6b3951710
function [J,models] = invertParametricEmpiricalBayes(Y,K,Q1,L,eta,Omega,obj,sourceSpace) if nargin < 5, eta = -4;end if nargin < 5, Omega = 16;end [N,~,Nh] = size(Q1); D = triu(ones(Nh)); ind = find(D); clear D; [indI,indJ] = ind2sub([Nh Nh],ind); % N = 0.5*Nh^2; Nij = length(indI); C1 = zeros(Nh); Pi = zeros(N,N,Nh...
github
MariusKlug/mobilab-master
roiStream.m
.m
mobilab-master/roiStream.m
4,789
utf_8
424f3406798381e2b2d430733f1a16d0
classdef roiStream < dataStream properties reducedStateSpace end methods function obj = roiStream(header) if nargin < 1, error('Not enough input arguments.');end obj@dataStream(header); end %% function reducedStateSpace = get.reducedStateSpace(...
github
MariusKlug/mobilab-master
gcv_func.m
.m
mobilab-master/gcv_func.m
1,081
utf_8
e53c07b344eed1456dd978584011ecde
function lambda2Opt = gcv_func(UtY,s,p,nlambda,plotGCV) s2 = s.^2; n = numel(UtY); if isa(s,'gpuArray') s = gather(s); gcv = gpuArray.zeros(nlambda,1); else gcv = zeros(nlambda,1); end tol = max([n p])*eps(max(s)); lambda2 = logspace(log10(tol),log10(max(s.^2)),nlambda); for it=1:nlambda d = lambda2(it)...
github
MariusKlug/mobilab-master
interpolateZeroValues.m
.m
mobilab-master/interpolateZeroValues.m
790
utf_8
9a2d3449e1220e66c19d38704a0f712f
% Given a data with undesired zero values, this function fills those zero % values by using interpolation methods. If there are zero values in the % beginning or end of the data, it can also extrapolate. % % - x is Nxp data, of p signals of length N. Data signals x(:,i) should % have zero values at the same rows. Othe...
github
MariusKlug/mobilab-master
binary_findClosest.m
.m
mobilab-master/binary_findClosest.m
1,068
utf_8
062186fb7d97da5e03230a0d9f6db5f7
% vector is a monotonically increasing sorted vector. function ind = binary_findClosest(vector,target) % % N = length(vector); % % if N <= 5 % [~,ind] = min(abs(vector - target)); % return; % end % % % ind = ceil(N/2); % if vector(ind) > target % ind = binary_findClosest(vector(1:ind-1),target); % else...
github
MariusKlug/mobilab-master
mocapEpoch.m
.m
mobilab-master/mocapEpoch.m
19,168
utf_8
40347ce72080533af4fa2bbe33a402a2
classdef mocapEpoch < epochObject properties derivativeLabel xy end methods function obj = mocapEpoch(varargin) if length(varargin) < 7, error('Not enough input arguments.');end obj@epochObject(varargin{:}); obj.xy = varargin{7}; ...
github
MariusKlug/mobilab-master
nft_wrapper.m
.m
mobilab-master/nft_wrapper.m
5,257
utf_8
35bbc16d4758daa04b16ddf73545f114
% nft_forward_problem_solution() - BEM forward problem solution % % Usage: % >> nft_forward_problem_solution(subject_name, session_name, of) % % Inputs: % subject_name - subject name as entered in NFT main window % session_name - session name as entered in NFT main window % of - output folder where all the outp...
github
MariusKlug/mobilab-master
extractQueryStringsFromTextFile.m
.m
mobilab-master/extractQueryStringsFromTextFile.m
715
utf_8
98b4bf29d6b328215522047ee9449a25
function [queryStrings, spaceLocations] = extractQueryStringsFromTextFile(PathName,FileName) textFile = fullfile(PathName,FileName); fid = fopen(textFile); i = 1; spaceLocations = []; while 1 tline = fgetl(fid); if strcmpi(tline,'%'), break; end; if isempty(tline) || strcmpi(tline(1),' '), spaceLo...
github
MariusKlug/mobilab-master
pickfiles.m
.m
mobilab-master/pickfiles.m
3,136
utf_8
bd155f20b4b2091367231fc3053d47ea
function filesf = pickfiles(directory0,filtand,filtor,filtnot) % Usage: % files = pickfiles(directories,filtand,filtor,filtnot) % % files : vector of files found % directories: cell or vector with directories to look in % filtand: cell or vector of simultaneously wanted strings % filtor: cell or vector of opt...
github
MariusKlug/mobilab-master
mocap_pipeline.m
.m
mobilab-master/mocap_pipeline.m
26,188
utf_8
48e545accc56244adbc380c6be96addb
function mocap_pipeline(dataDirectory,mobiDir) if nargin < 2, mobiDir = fullfile(dataDirectory,'results');end outFolder = fullfile(mobiDir,'setFiles'); if ~exist(mobiDir,'dir'), mkdir(mobiDir);end if ~exist(outFolder,'dir'), mkdir(outFolder);end myCodes = {'2' '3' '4' '5' '6' '7' '9' '10' '11' '12'}; endEventCodes = ...
github
MariusKlug/mobilab-master
tfEpoch.m
.m
mobilab-master/tfEpoch.m
17,027
utf_8
b951bd2379c1ea3942efff45eb1cf54a
classdef tfEpoch < epochObject properties frequency base headModelInfo ersp itc end properties(Dependent) tfData end properties(Hidden,SetAccess=protected) mmfObjTF mmfNameTF svdFilter = 1; end methods function ...
github
MariusKlug/mobilab-master
uigetfile2.m
.m
mobilab-master/uigetfile2.m
2,667
utf_8
a344bcefaca772c110df38301343a003
% uigetfile2() - same as uigetfile but remember folder location. % % Usage: >> uigetfile2(...) % % Inputs: Same as uigetfile % % Author: Arnaud Delorme & Hilit Serby, Scott Makeig, SCCN, UCSD, 2004 % Thanks to input from Bas Kortmann % % Copyright (C) Arnaud Delorme & Hilit Serby, Scott Makeig, SCCN, UCSD, 2004...
github
MariusKlug/mobilab-master
findWhichScreenIsLookedAt.m
.m
mobilab-master/findWhichScreenIsLookedAt.m
1,183
utf_8
f4cd131a3e9a366d2b686389d6b2a89d
%channels are x,y coordinates on each screen.. If looking at screen, values %should be between 0 and 1 for that screen. % in case of multiple screen lookings closer screen is selected. NaN means person doesn't look at any screens. % size(data,2) = 2*numberOfScreens function res = findWhichScreenIsLookedAt(data) re...
github
MariusKlug/mobilab-master
eegplugin_mobilab.m
.m
mobilab-master/eegplugin_mobilab.m
1,722
utf_8
ee816471d08835db6e389b4bf6386b5a
% eegplugin_mobi2eeglab() - MOBILAB plugin for EEGLAB % MOBILAB is a collection of functionalities % for processing MoBI data, see (Makeig et al., % 2009). % Usage: % >> eegplugin_mobilab(fig, trystrs, catchstrs); % % Inputs: % fig ...
github
MariusKlug/mobilab-master
icaEEG.m
.m
mobilab-master/icaEEG.m
28,115
utf_8
53e92c5c6c568cf419f68196d7ca7d79
% Definition of the class icaEEG. This class serves as a placeholder for ICA % analysis of EEG data. It derives from the class eeg incorporating the % traditional ICA fields in EEGLAB software. % % % For more details visit: https://code.google.com/p/mobilab/ % % Author: Alejandro Ojeda, SCCN, INC, UCSD, Apr-2011 cla...
github
MariusKlug/mobilab-master
MocapPipeline.m
.m
mobilab-master/gui/MocapPipeline.m
18,212
utf_8
4b529307f03895e2691bf7f9725387ba
function varargout = MocapPipeline(varargin) % MOCAPPIPELINE MATLAB code for MocapPipeline.fig % MOCAPPIPELINE, by itself, creates a new MOCAPPIPELINE or raises the existing % singleton*. % % H = MOCAPPIPELINE returns the handle to a new MOCAPPIPELINE or the handle to % the existing singleton*. % % ...
github
MariusKlug/mobilab-master
ImportFromSET.m
.m
mobilab-master/gui/ImportFromSET.m
10,402
utf_8
5b937b721375cfffa213c9a728ee9e52
function varargout = ImportFromSET(varargin) % IMPORTFROMSET MATLAB code for ImportFromSET.fig % IMPORTFROMSET, by itself, creates a new IMPORTFROMSET or raises the existing % singleton*. % % H = IMPORTFROMSET returns the handle to a new IMPORTFROMSET or the handle to % the existing singleton*. % % ...
github
MariusKlug/mobilab-master
CopyImport.m
.m
mobilab-master/gui/CopyImport.m
6,117
utf_8
793f5c24a93eaa797deaf75b8b59d089
function varargout = CopyImport(varargin) % COPYIMPORT MATLAB code for CopyImport.fig % COPYIMPORT, by itself, creates a new COPYIMPORT or raises the existing % singleton*. % % H = COPYIMPORT returns the handle to a new COPYIMPORT or the handle to % the existing singleton*. % % COPYIMPORT('CALL...
github
MariusKlug/mobilab-master
CreateEvent.m
.m
mobilab-master/gui/CreateEvent.m
7,538
utf_8
5f8ba271b4fa1882f539f2bfeef7ef46
function varargout = CreateEvent(varargin) % CREATEEVENT MATLAB code for CreateEvent.fig % CREATEEVENT, by itself, creates a new CREATEEVENT or raises the existing % singleton*. % % H = CREATEEVENT returns the handle to a new CREATEEVENT or the handle to % the existing singleton*. % % CREATEEVE...
github
MariusKlug/mobilab-master
ImportFromDatariverFolder.m
.m
mobilab-master/gui/ImportFromDatariverFolder.m
10,485
utf_8
5dadd2c68ed90b62cd20c054a2e5e1b9
function varargout = ImportFromDatariverFolder(varargin) % IMPORTFROMDATARIVERFOLDER MATLAB code for ImportFromDatariverFolder.fig % IMPORTFROMDATARIVERFOLDER, by itself, creates a new IMPORTFROMDATARIVERFOLDER or raises the existing % singleton*. % % H = IMPORTFROMDATARIVERFOLDER returns the handle to a...
github
MariusKlug/mobilab-master
ImportFile2EEGLAB.m
.m
mobilab-master/gui/ImportFile2EEGLAB.m
9,484
utf_8
a15f2a109e5bce1fd52783e58eb48dc2
function varargout = ImportFile2EEGLAB(varargin) % IMPORTFILE2EEGLAB MATLAB code for ImportFile2EEGLAB.fig % IMPORTFILE2EEGLAB, by itself, creates a new IMPORTFILE2EEGLAB or raises the existing % singleton*. % % H = IMPORTFILE2EEGLAB returns the handle to a new IMPORTFILE2EEGLAB or the handle to % t...
github
MariusKlug/mobilab-master
SegmentsEditor.m
.m
mobilab-master/gui/SegmentsEditor.m
19,572
utf_8
5dd000cbae655f04018c0afe4af9a143
function varargout = SegmentsEditor(varargin) % SEGMENTSEDITOR MATLAB code for SegmentsEditor.fig % SEGMENTSEDITOR, by itself, creates a new SEGMENTSEDITOR or raises the existing % singleton*. % % H = SEGMENTSEDITOR returns the handle to a new SEGMENTSEDITOR or the handle to % the existing singleton...
github
MariusKlug/mobilab-master
ImportFolder2EEGLAB.m
.m
mobilab-master/gui/ImportFolder2EEGLAB.m
9,798
utf_8
ffbae5b533dcd0ddd4114d333b9600ad
function varargout = ImportFolder2EEGLAB(varargin) % IMPORTFOLDER2EEGLAB MATLAB code for ImportFolder2EEGLAB.fig % IMPORTFOLDER2EEGLAB, by itself, creates a new IMPORTFOLDER2EEGLAB or raises the existing % singleton*. % % H = IMPORTFOLDER2EEGLAB returns the handle to a new IMPORTFOLDER2EEGLAB or the hand...
github
MariusKlug/mobilab-master
ImportFromXDF.m
.m
mobilab-master/gui/ImportFromXDF.m
10,426
utf_8
09c77bf9453257e3abf22153c4051a16
function varargout = ImportFromXDF(varargin) % IMPORTFROMXDF MATLAB code for ImportFromXDF.fig % IMPORTFROMXDF, by itself, creates a new IMPORTFROMXDF or raises the existing % singleton*. % % H = IMPORTFROMXDF returns the handle to a new IMPORTFROMXDF or the handle to % the existing singleton*. % % ...
github
MariusKlug/mobilab-master
KinematicsPlotTool.m
.m
mobilab-master/gui/KinematicsPlotTool.m
10,301
utf_8
e670e4795c9d98f8575c9799578df72c
function varargout = KinematicsPlotTool(varargin) % KINEMATICSPLOTTOOL MATLAB code for KinematicsPlotTool.fig % KINEMATICSPLOTTOOL, by itself, creates a new KINEMATICSPLOTTOOL or raises the existing % singleton*. % % H = KINEMATICSPLOTTOOL returns the handle to a new KINEMATICSPLOTTOOL or the handle to %...
github
MariusKlug/mobilab-master
ReadDatariverFolder.m
.m
mobilab-master/gui/ReadDatariverFolder.m
9,610
utf_8
3eb56464924ea4ede78f5b09870a7fdf
function varargout = ReadDatariverFolder(varargin) % READDATARIVERFOLDER MATLAB code for ReadDatariverFolder.fig % READDATARIVERFOLDER, by itself, creates a new READDATARIVERFOLDER or raises the existing % singleton*. % % H = READDATARIVERFOLDER returns the handle to a new READDATARIVERFOLDER or the hand...
github
MariusKlug/mobilab-master
ReadDatariverDRF.m
.m
mobilab-master/gui/ReadDatariverDRF.m
10,320
utf_8
f53d43f717d8f44ea7cbcb6f26599cca
function varargout = ReadDatariverDRF(varargin) % READDATARIVERDRF MATLAB code for ReadDatariverDRF.fig % READDATARIVERDRF, by itself, creates a new READDATARIVERDRF or raises the existing % singleton*. % % H = READDATARIVERDRF returns the handle to a new READDATARIVERDRF or the handle to % the exis...
github
MariusKlug/mobilab-master
ActionPlaneCalc.m
.m
mobilab-master/gui/ActionPlaneCalc.m
14,495
utf_8
ee6176e8ef2134fbced9d8ee0769df56
function varargout = ActionPlaneCalc(varargin) % ACTIONPLANECALC MATLAB code for ActionPlaneCalc.fig % ACTIONPLANECALC, by itself, creates a new ACTIONPLANECALC or raises the existing % singleton*. % % H = ACTIONPLANECALC returns the handle to a new ACTIONPLANECALC or the handle to % the existing si...
github
MariusKlug/mobilab-master
mobilabLicense.m
.m
mobilab-master/gui/mobilabLicense.m
3,503
utf_8
eeb7a719aae92eb8986b1b857c42c968
function varargout = mobilabLicense(varargin) % MOBILABLICENSE MATLAB code for mobilabLicense.fig % MOBILABLICENSE, by itself, creates a new MOBILABLICENSE or raises the existing % singleton*. % % H = MOBILABLICENSE returns the handle to a new MOBILABLICENSE or the handle to % the existing singleton...
github
MariusKlug/mobilab-master
ImportFolder.m
.m
mobilab-master/gui/ImportFolder.m
10,077
utf_8
f420062ac17a1261eea4f6c9eecee60c
function varargout = ImportFolder(varargin) % IMPORTFOLDER MATLAB code for ImportFolder.fig % IMPORTFOLDER, by itself, creates a new IMPORTFOLDER or raises the existing % singleton*. % % H = IMPORTFOLDER returns the handle to a new IMPORTFOLDER or the handle to % the existing singleton*. % % IM...
github
MariusKlug/mobilab-master
ImportFromDatariverBDF.m
.m
mobilab-master/gui/ImportFromDatariverBDF.m
10,322
utf_8
64ee9e14c086ba3e83b1f1ca829be534
function varargout = ImportFromDatariverBDF(varargin) % IMPORTFROMDATARIVERBDF MATLAB code for ImportFromDatariverBDF.fig % IMPORTFROMDATARIVERBDF, by itself, creates a new IMPORTFROMDATARIVERBDF or raises the existing % singleton*. % % H = IMPORTFROMDATARIVERBDF returns the handle to a new IMPORTFROMDAT...
github
MariusKlug/mobilab-master
sendReport.m
.m
mobilab-master/gui/sendReport.m
8,199
utf_8
264f9c17907719a033c314d76da94ba7
function varargout = sendReport(varargin) % SENDREPORT MATLAB code for sendReport.fig % SENDREPORT by itself, creates a new SENDREPORT or raises the % existing singleton*. % % H = SENDREPORT returns the handle to a new SENDREPORT or the handle to % the existing singleton*. % % SENDREPORT('CALLB...
github
MariusKlug/mobilab-master
editNotes.m
.m
mobilab-master/gui/editNotes.m
5,039
utf_8
408d886e3c7077bdec4c908f1163ad70
function varargout = editNotes(varargin) % EDITNOTES MATLAB code for editNotes.fig % EDITNOTES, by itself, creates a new EDITNOTES or raises the existing % singleton*. % % H = EDITNOTES returns the handle to a new EDITNOTES or the handle to % the existing singleton*. % % EDITNOTES('CALLBACK',hO...
github
MariusKlug/mobilab-master
ReReferencing.m
.m
mobilab-master/gui/ReReferencing.m
16,840
utf_8
61cb2423e32678aa8fac406fbf04dd20
function varargout = ReReferencing(varargin) % REREFERENCING MATLAB code for ReReferencing.fig % REREFERENCING, by itself, creates a new REREFERENCING or raises the existing % singleton*. % % H = REREFERENCING returns the handle add a new REREFERENCING or the handle add % the existing singleton*. % ...
github
MariusKlug/mobilab-master
EventsEditor.m
.m
mobilab-master/gui/EventsEditor.m
25,651
utf_8
896c7261ad8de094cb436c49fcd1f79e
function varargout = EventsEditor(varargin) % EVENTSEDITOR MATLAB code for EventsEditor.fig % EVENTSEDITOR, by itself, creates a new EVENTSEDITOR or raises the existing % singleton*. % % H = EVENTSEDITOR returns the handle to a new EVENTSEDITOR or the handle to % the existing singleton*. % % EV...
github
MariusKlug/mobilab-master
ImportFile.m
.m
mobilab-master/gui/ImportFile.m
10,275
utf_8
174ad160ea012ab3c581a328c6582a94
function varargout = ImportFile(varargin) % IMPORTFILE MATLAB code for ImportFile.fig % IMPORTFILE, by itself, creates a new IMPORTFILE or raises the existing % singleton*. % % H = IMPORTFILE returns the handle to a new IMPORTFILE or the handle to % the existing singleton*. % % IMPORTFILE('CALL...
github
MariusKlug/mobilab-master
SaveAs.m
.m
mobilab-master/gui/SaveAs.m
10,802
utf_8
59573010cec6f904e2999b5d2a703c23
function varargout = SaveAs(varargin) % SAVEAS MATLAB code for SaveAs.fig % SAVEAS, by itself, creates a new SAVEAS or raises the existing % singleton*. % % H = SAVEAS returns the handle to a new SAVEAS or the handle to % the existing singleton*. % % SAVEAS('CALLBACK',hObject,eventData,handles,...
github
MariusKlug/mobilab-master
EventsToImport.m
.m
mobilab-master/eeglabInterface/EventsToImport.m
6,572
utf_8
98c4680b5189e90e9c8b0ba630796a04
function varargout = EventsToImport(varargin) % EVENTSTOIMPORT MATLAB code for EventsToImport.fig % EVENTSTOIMPORT, by itself, creates a new EVENTSTOIMPORT or raises the existing % singleton*. % % H = EVENTSTOIMPORT returns the handle add a new EVENTSTOIMPORT or the handle add % the existing singlet...
github
MariusKlug/mobilab-master
pop_load_xdf_mobilab.m
.m
mobilab-master/eeglabInterface/pop_load_xdf_mobilab.m
3,638
utf_8
7f97ee89c28ed0fddbdd91014b3e4417
%% pop_load_xdf_mobilab() - Import.XDF file % % Based on load_xdf.m (Christian Kothe). See http://code.google.com/p/xdf/ for more information on XDF. % %% Usage: % >> [ALLEEG EEG CURRENTSET,allDataStreams] = pop_load_drf(source,ALLEEG,EEG,CURRENTSET); % %% Inputs: % source - .XDF or .XDFZ file name % %...
github
MariusKlug/mobilab-master
EventsEditor2.m
.m
mobilab-master/eeglabInterface/EventsEditor2.m
23,043
utf_8
0351856d9ddb0a8c2d61e8e30e8ea953
function varargout = EventsEditor2(varargin) % EVENTSEDITOR2 MATLAB code for EventsEditor2.fig % EVENTSEDITOR2, by itself, creates a new EVENTSEDITOR2 or raises the existing % singleton*. % % H = EVENTSEDITOR2 returns the handle to a new EVENTSEDITOR2 or the handle to % the existing singleton*. % % ...
github
MariusKlug/mobilab-master
CreateEvent.m
.m
mobilab-master/eeglabInterface/CreateEvent.m
8,874
utf_8
5abc26513a1dfe5c2ba644152641eec5
function varargout = CreateEvent(varargin) % CREATEEVENT MATLAB code for CreateEvent.fig % CREATEEVENT, by itself, creates a new CREATEEVENT or raises the existing % singleton*. % % H = CREATEEVENT returns the handle to a new CREATEEVENT or the handle to % the existing singleton*. % % CREATEEVE...
github
MariusKlug/mobilab-master
pop_load_bdf.m
.m
mobilab-master/eeglabInterface/pop_load_bdf.m
2,459
utf_8
7a48adf12ac3491612dd0ef3ec8d3bab
%% pop_load_bdf() - Import Datariver .BDF file % %% Description % Imports Datariver .DRF or MOBILAB .mat file into EEGLAB. This function uses the class dataSourceDRF and dataSourceMAT respectively % to load MoBI data. The program inserts in ALLEEG all the EEG data extracted from the file source and returns in EEG the ...
github
MariusKlug/mobilab-master
pop_load_file_mobilab.m
.m
mobilab-master/eeglabInterface/pop_load_file_mobilab.m
5,198
utf_8
9b58ba98384217296304a7d42a5d278b
%% pop_load_file_mobilab() - Imports multi-stream files into EEGLAB/MoBILAB % %% Description % Imports any any supported file format, so far .xdf (Lab Stream Layer) and .drf (DataRiver), into EEGLAB/MoBILAB. This function % uses the class dataSourceDRF. The program inserts in ALLEEG all the EEG data extracted from the ...
github
MariusKlug/mobilab-master
EventEditorSettings.m
.m
mobilab-master/eeglabInterface/EventEditorSettings.m
7,208
utf_8
ccaf9fe001dbd7ab4b15e0531aa4aca4
function varargout = EventEditorSettings(varargin) % EVENTEDITORSETTINGS MATLAB code for EventEditorSettings.fig % EVENTEDITORSETTINGS, by itself, creates a new EVENTEDITORSETTINGS or raises the existing % singleton*. % % H = EVENTEDITORSETTINGS returns the handle to a new EVENTEDITORSETTINGS or the hand...
github
MariusKlug/mobilab-master
ImportFromXDF2.m
.m
mobilab-master/eeglabInterface/ImportFromXDF2.m
9,868
utf_8
4d97cee9727b8fa42f837ff211dfcd60
function varargout = ImportFromXDF2(varargin) % IMPORTFROMXDF2 MATLAB code for ImportFromXDF2.fig % IMPORTFROMXDF2, by itself, creates a new IMPORTFROMXDF2 or raises the existing % singleton*. % % H = IMPORTFROMXDF2 returns the handle to a new IMPORTFROMXDF2 or the handle to % the existing singleton...
github
MariusKlug/mobilab-master
pop_load_MoBI.m
.m
mobilab-master/eeglabInterface/pop_load_MoBI.m
2,889
utf_8
e0cc07a5685d8c7d645c75d997a2bda5
%% pop_load_MoBIf() - Import from MoBILAB % % Author: Alejandro Ojeda, Nima Bigdely Shamlo, and Christian Kothe, SCCN, INC, UCSD, July 2006 % % See also: eeglab() %% function allDataStreams = pop_load_MoBI(mobiDataDirectory) if nargin < 1, mobiDataDirectory = [];end flag = evalin('base','exist(''allDataStreams'',''va...
github
MariusKlug/mobilab-master
pop_load_drf.m
.m
mobilab-master/eeglabInterface/pop_load_drf.m
3,755
utf_8
eb5d7f8eaccd58e8ffb1563f33c37669
%% pop_load_drf() - Import Datariver .DRF file % %% Description % Imports Datariver .DRF or MOBILAB .mat file into EEGLAB. This function uses the class dataSourceDRF and dataSourceMAT respectively % to load MoBI data. The program inserts in ALLEEG all the EEG data extracted from the file source and returns in EEG the ...
github
MariusKlug/mobilab-master
EventsEditor.m
.m
mobilab-master/eeglabInterface/EventsEditor.m
29,889
utf_8
83837d8161d68bfd108d959ffff9d539
function varargout = EventsEditor(varargin) % EVENTSEDITOR MATLAB code for EventsEditor.fig % EVENTSEDITOR, by itself, creates a new EVENTSEDITOR or raises the existing % singleton*. % % H = EVENTSEDITOR returns the handle to a new EVENTSEDITOR or the handle to % the existing singleton*. % % EV...
github
MariusKlug/mobilab-master
pop_load_folder_mobilab.m
.m
mobilab-master/eeglabInterface/pop_load_folder_mobilab.m
3,404
utf_8
35779aaa7ad68c420da7031408b22f53
%% pop_load_drf() - Import Datariver .DRF file % %% Description % Imports Datariver .DRF or MOBILAB .mat file into EEGLAB. This function uses the class dataSourceDRF and dataSourceMAT respectively % to load MoBI data. The program inserts in ALLEEG all the EEG data extracted from the file source and returns in EEG the ...
github
MariusKlug/mobilab-master
ImportFromDatariver.m
.m
mobilab-master/eeglabInterface/ImportFromDatariver.m
10,027
utf_8
9b54610ea3499657391598dc8544c600
function varargout = ImportFromDatariver(varargin) % IMPORTFROMDATARIVER MATLAB code for ImportFromDatariver.fig % IMPORTFROMDATARIVER, by itself, creates a new IMPORTFROMDATARIVER or raises the existing % singleton*. % % H = IMPORTFROMDATARIVER returns the handle to a new IMPORTFROMDATARIVER or the hand...
github
MariusKlug/mobilab-master
eegplotNGHandle.m
.m
mobilab-master/eeglabInterface/eegplotNGHandle.m
33,123
utf_8
c01e222357f516b50f85f8e42d9a0c58
classdef eegplotNGHandle < browserHandle properties gObjHandle windowWidth normalizeFlag showChannelNumber gain numberOfChannelsToPlot yTickLabel colormap colorInCell osdColor % onscreen display color textHandle roiObj ...
github
MariusKlug/mobilab-master
Events2display.m
.m
mobilab-master/eeglabInterface/Events2display.m
6,440
utf_8
5b552e5e4d248114cdfe94d92312610f
function varargout = Events2display(varargin) % EVENTS2DISPLAY MATLAB code for Events2display.fig % EVENTS2DISPLAY, by itself, creates a new EVENTS2DISPLAY or raises the existing % singleton*. % % H = EVENTS2DISPLAY returns the handle add a new EVENTS2DISPLAY or the handle add % the existing singlet...
github
MariusKlug/mobilab-master
SyncEEGWithMoBILAB.m
.m
mobilab-master/eeglabInterface/SyncEEGWithMoBILAB.m
8,564
utf_8
d2940202d30cf6376a034116b852a82d
function varargout = SyncEEGWithMoBILAB(varargin) % SYNCEEGWITHMOBILAB MATLAB code for SyncEEGWithMoBILAB.fig % SYNCEEGWITHMOBILAB, by itself, creates a new SYNCEEGWITHMOBILAB or raises the existing % singleton*. % % H = SYNCEEGWITHMOBILAB returns the handle to a new SYNCEEGWITHMOBILAB or the handle to %...
github
MariusKlug/mobilab-master
savejson.m
.m
mobilab-master/dependency/jsonlab/savejson.m
13,894
utf_8
e7cec5b8f38043b1b4c02348911ff07b
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
MariusKlug/mobilab-master
loadjson.m
.m
mobilab-master/dependency/jsonlab/loadjson.m
15,312
ibm852
54a5e8d8b39c77904a572c96f3df77a5
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) % date: 2011/09/09 % Nedialko Krouchev: http:...
github
MariusKlug/mobilab-master
clean_channels.m
.m
mobilab-master/dependency/clean_rawdata/clean_channels.m
9,467
utf_8
97311eec26b1a24bc799715b3f3ed7c3
function signal = clean_channels(signal,min_corr,ignored_quantile,window_len,max_broken_time,linenoise_aware) % Remove channels with abnormal data from a continuous data set. % Signal = clean_channels(Signal,MinCorrelation,IgnoredQuantile,WindowLength,MaxBrokenTime,LineNoiseAware) % % This is an automated artifact reje...
github
MariusKlug/mobilab-master
clean_drifts.m
.m
mobilab-master/dependency/clean_rawdata/clean_drifts.m
5,314
utf_8
5ff977c9259d1df503679018565f0e6a
function signal = clean_drifts(signal,transition) % Removes drifts from the data using a forward-backward high-pass filter. % Signal = clean_drifts(Signal,Transition) % % This removes drifts from the data using a forward-backward (non-causal) filter. % NOTE: If you are doing directed information flow analysis, do ...
github
MariusKlug/mobilab-master
asr_process.m
.m
mobilab-master/dependency/clean_rawdata/asr_process.m
8,087
utf_8
cc9a1c4f9c56b6be58274f25f8b9850f
function [outdata,outstate] = asr_process(data,srate,state,windowlen,lookahead,stepsize,maxdims,maxmem,usegpu) % Remove high-amplitude artifacts from a chunk of EEG data. % [Data,State] = asr_process(Data,SamplingRate,State,WindowLength,LookAhead,StepSize,MaxDimensions,MaxMemory) % % In: % Data : Chunk of data t...
github
MariusKlug/mobilab-master
clean_rawdata.m
.m
mobilab-master/dependency/clean_rawdata/clean_rawdata.m
4,183
utf_8
5defcdfd773ad5256471a5e269dde966
% clean_rawdata(): a wrapper to call Christian's clean_artifacts. % Usage: % >> EEG = clean_rawdata(EEG, arg_flatline, arg_highpass, arg_channel, arg_burst, arg_window) % % This function removes drifts, bad channels, generic short-time bursts and bad segments from the data. % Tip: Any parameter can also be passed in...
github
MariusKlug/mobilab-master
pop_clean_rawdata.m
.m
mobilab-master/dependency/clean_rawdata/pop_clean_rawdata.m
5,106
utf_8
74b141e7483955873dcc2d0a2ac55517
% pop_clean_rawdata(): Launch GUI to collect user inputs for % clean_artifacts(). % Usage: % >> EEG = pop_clean_rawdata(); % % This function removes drifts, bad channels, generic short-time bursts and bad segments from the data. % Tip: Any parameter can also be passed in as [] to use the respect...
github
MariusKlug/mobilab-master
clean_artifacts.m
.m
mobilab-master/dependency/clean_rawdata/clean_artifacts.m
9,426
utf_8
0d96f8c534c19c74c0fb6ff0a1c05518
function [EEG,HP,BUR] = clean_artifacts(EEG,varargin) % Clean various types of artifacts from the EEG. % [EEG,HP,BUR] = clean_artifacts(EEG, Options...) % % This function removes drifts, bad channels, generic short-time bursts and bad segments from the data. % Tip: Any parameter can also be passed in as [] to use ...
github
MariusKlug/mobilab-master
vis_artifacts.m
.m
mobilab-master/dependency/clean_rawdata/vis_artifacts.m
22,323
utf_8
7ced8ed802386c3097c0273b4e0f816d
% vis_artifacts(NewEEG,OldEEG,Options...) % Display the artifact rejections done by any of the artifact cleaning functions. % % Keyboard Shortcuts: % [n] : display just the new time series % [o] : display just the old time series % [b] : display both time series super-imposed % [d] : display the difference betw...
github
MariusKlug/mobilab-master
eegplugin_clean_rawdata.m
.m
mobilab-master/dependency/clean_rawdata/eegplugin_clean_rawdata.m
1,334
utf_8
d0283256f81342d0b35f2e401a730ad1
% eegplugin_clean_rawdata() - a wrapper to plug-in Christian's clean_artifact() into EEGLAB. . % % Usage: % >> eegplugin_firstPassOutlierTrimmer(fig,try_strings,catch_strings); % % see also: clean_artifacts % Author: Makoto Miyakoshi and Christian Kothe, SCCN,INC,UCSD 2013 % History: % 06/26/2013 ver 1.0 by Makot...
github
MariusKlug/mobilab-master
cudaica.m
.m
mobilab-master/dependency/cudaica/cudaica.m
13,398
utf_8
6c9148a9fb8eba805ff8a94d19734ef3
% cudaica() - Run stand-alone binary version of runica() from the % Matlab command line. Saves time and memory relative % to runica(). If stored in a float file, data are not % read into Matlab, and so may be larger than Matlab % can handle owing to memory limitations. % Us...
github
MariusKlug/mobilab-master
manually_warp_images.m
.m
mobilab-master/dependency/nonrigid_version23/manually_warp_images.m
20,885
utf_8
99d389af428709425fe2acd4bd76ed36
function varargout = manually_warp_images(varargin) % MANUALLY_WARP_IMAGES, is a GUI which shows the controlpoint grid used % during registration of two images, allowing the user to drag control % points to get a better initial alignement before pressing the start % registration button. % % Example, % Istatic=im2do...
github
MariusKlug/mobilab-master
point_registration.m
.m
mobilab-master/dependency/nonrigid_version23/point_registration.m
7,800
utf_8
33aeda7994a999419734db78ba94b0d9
function [O_trans,Spacing,Xreg]=point_registration(sizeI,Xmoving,Xstatic,Options) % This function creates a 2D or 3D b-spline grid, which transform space to % fit a set of points Xmoving to set of corresponding points in Xstatic. % Usefull for: % - For image-registration based on corresponding landmarks like in ...
github
MariusKlug/mobilab-master
image_registration.m
.m
mobilab-master/dependency/nonrigid_version23/image_registration.m
28,458
utf_8
56d6efbb876ada7e7ebcbf4a0dfdaf31
function [Ireg,O_trans,Spacing,M,B,F] = image_registration(Imoving,Istatic,Options) % This function image_registration is the most easy way to register two % 2D or 3D images both affine and nonrigidly. % % Features: % - It can be used with images from different type of scans or modalities. % - It uses both a rigi...
github
MariusKlug/mobilab-master
penalties_smoothness.m
.m
mobilab-master/dependency/nonrigid_version23/functions/penalties_smoothness.m
5,765
utf_8
45d5ede2a475bd92542a201ce064f98a
function [O_penalty, O_grad]=penalties_smoothness(O,sizeI,Scaling) % This function calculates the 2D or 3D equivalent of the 2D % bending energy of thin sheet of metal, for a 2D or 3D transformation % grid of cubic spline control points. % % [O_penalty, O_derivative]=penalties_smoothness(O,sizeI,Scaling); % %...
github
MariusKlug/mobilab-master
showcs3.m
.m
mobilab-master/dependency/nonrigid_version23/functions/showcs3.m
7,820
utf_8
95b0985136cf1adb4d2095e02e25ad9c
function varargout = showcs3(varargin) % Function showcs3(V) will display x,y,z cross sections of the volume V % The planes can be rotated with the mouse, and slice number with the % sliders. % % Example, % load mri; D=squeeze(D); % scales=[1 1 0.5]; % showcs3(D,scales); % % Function is written by D.Kroon Univers...
github
MariusKlug/mobilab-master
image_difference.m
.m
mobilab-master/dependency/nonrigid_version23/functions/image_difference.m
13,138
utf_8
1069c7d8aced91b8847e651cb08826ab
function [t,I]=image_difference(V,U,type,Mask,MaskNum) % This function gives a registration error and error image I between the two % images or volumes. % % [t,I]=image_difference(I1,I2,type,Mask) % % inputs, % I1: Input image 1 % I2: Input image 2 % type: Type of similarity / error measure % (optional)...
github
MariusKlug/mobilab-master
refine_grid.m
.m
mobilab-master/dependency/nonrigid_version23/functions/refine_grid.m
4,816
utf_8
4c42d558f3b34ebdbe6af2748e541767
function [O_new,Spacing]=refine_grid(O_trans,Spacing,sizeI) % Refine image transformation grid of 1D b-splines with use of spliting matrix % % Msplit=(1/8)*[4 4 0 0; % 1 6 1 0; % 0 4 4 0; % 0 1 6 1; % 0 0 4 4]; % % [O_new,Spacing] = r...
github
MariusKlug/mobilab-master
bspline_trans_points_double.m
.m
mobilab-master/dependency/nonrigid_version23/functions_nonrigid/bspline_trans_points_double.m
7,517
utf_8
e4ba049307f53567d288b81c257e8ec0
function [Tlocal,Dlocal]=bspline_trans_points_double(O_trans,Spacing,X,check) % If Spacing and points are not an integer, we can not use fast look up tables, % but have to calculate the bspline coefficients for every point if(nargin<4) check = any(mod(Spacing,1)>0)|any(mod(X(:),1)>0); end switch size(X,2) ...
github
MariusKlug/mobilab-master
bspline_registration_gradient.m
.m
mobilab-master/dependency/nonrigid_version23/functions_nonrigid/bspline_registration_gradient.m
26,883
utf_8
d107b6f00167e8ba897651724938f155
function [O_error, O_grad]=bspline_registration_gradient(O_grid,sizes,Spacing,I1,I2,options,MaskI1,MaskI2,Points1,Points2,PStrength) % Function registration_gradient. This function will calculate a registration % error value and gradient after b-spline non-rigid registration % of two images / volumes. % % [error, ...
github
MariusKlug/mobilab-master
bspline_grid_fitting.m
.m
mobilab-master/dependency/nonrigid_version23/functions_nonrigid/bspline_grid_fitting.m
4,133
utf_8
604e07a1f6464f93cac69a3f534f3b3b
function O_trans=bspline_grid_fitting(O,Spacing,D,X) switch size(D,2) case 2 O_trans=bspline_grid_fitting_2d(O,Spacing,D,X); case 3 O_trans=bspline_grid_fitting_3d(O,Spacing,D,X); otherwise error('bspline_grid_fitting:input','unknown input dimmension'); end function O_tran...
github
MariusKlug/mobilab-master
bspline_coefficients.m
.m
mobilab-master/dependency/nonrigid_version23/functions_nonrigid/bspline_coefficients.m
2,958
utf_8
a49759452b5320a635ae6707e5b2383d
function W=bspline_coefficients(u,v,w) switch(nargin) case 1 W = bspline_coefficients_1d(u); case 2 W = bspline_coefficients_2d(u,v); case 3 W = bspline_coefficients_3d(u,v,w); end function W=bspline_coefficients_1d(u) W(:,1) = (1-u).^3/6; W(:,2) = ( 3*u.^3 - 6*u....
github
MariusKlug/mobilab-master
jacobiandet_error_2d_double.m
.m
mobilab-master/dependency/nonrigid_version23/functions_nonrigid/jacobiandet_error_2d_double.m
3,421
utf_8
0e391440aa88c43a02df35d3d10abce3
function [O_error, O_grad]=jacobiandet_error_2d_double(Ox,Oy,sizeI,dx,dy) % Gradient and error of the Jacobian of the transformation grid % % [O_error, O_grad]=jacobiandet_error_2d_double(Ox,Oy,sizeI,dx,dy) % % Inputs, % Ox, Oy : are the grid points coordinates % Isize : The size of the input image [m n] ...
github
MariusKlug/mobilab-master
make_transformation_matrix.m
.m
mobilab-master/dependency/nonrigid_version23/functions_affine/make_transformation_matrix.m
2,650
utf_8
c1fa919598c8fce95e5e0c1fdb8d6737
function M=make_transformation_matrix(t,r,s,h) % This function make_transformation_matrix.m creates an affine % 2D or 3D transformation matrix from translation, rotation, resize and shear parameters % % M=make_transformation_matrix.m(t,r,s,h) % % inputs (2D), % t: vector [translateX translateY] % r: vector...
github
MariusKlug/mobilab-master
affine_registration_error.m
.m
mobilab-master/dependency/nonrigid_version23/functions_affine/affine_registration_error.m
12,503
utf_8
8b139e92ebc5b4cb0c47824deb5d8d8d
function [e,egrad]=affine_registration_error(par,scale,I1,I2,type,O_trans,Spacing,MaskI1,MaskI2,Points1,Points2,PStrength,mode) % This function affine_registration_error, uses affine transfomation of the % 3D input volume and calculates the registration error after transformation. % % [e,egrad]=affine_registration_...
github
MariusKlug/mobilab-master
get_example_data.m
.m
mobilab-master/dependency/nonrigid_version23/low_level_examples/get_example_data.m
1,430
utf_8
5a4cf136955012cedf836b1b9cfb6bc1
function [V1,V2]=get_example_data % get_example_data is used to make some rigid and nonrigid transformed % 3D MRI example data for the registration examples. % % example, % [V1,V2]=get_example_data; % % Function is written by D.Kroon University of Twente (October 2008) addpaths; load mri; D=squeeze(D); V2=s...
github
MariusKlug/mobilab-master
strsetmatch.m
.m
mobilab-master/dependency/PropertyGrid/strsetmatch.m
953
utf_8
5bdf3f3944690f5678bc5362dc151341
% Indicator of which elements of a universal set are in a particular set. % % Input arguments: % strset: % the particular set as a cell array of strings % struniversal: % the universal set as a cell array of strings, all elements in the % particular set are expected to be in the universal set % % Outp...
github
MariusKlug/mobilab-master
helptext.m
.m
mobilab-master/dependency/PropertyGrid/helptext.m
1,654
utf_8
56e780c229ded39bb7ecd36b181f35f8
% Help text associated with a function, class, property or method. % Spaces are removed as necessary. % % See also: helpdialog % Copyright 2008-2010 Levente Hunyadi function text = helptext(obj) if ischar(obj) text = gethelptext(obj); else text = gethelptext(class(obj)); end text = texttrim(text)...
github
MariusKlug/mobilab-master
javaclass.m
.m
mobilab-master/dependency/PropertyGrid/javaclass.m
3,722
utf_8
5956d10630cadd5df145b93c0ce2534a
% Return java.lang.Class instance for MatLab type. % % Input arguments: % mtype: % the MatLab name of the type for which to return the java.lang.Class % instance % ndims: % the number of dimensions of the MatLab data type % % See also: class % Copyright 2009-2010 Levente Hunyadi function jclass = ...
github
MariusKlug/mobilab-master
helpdialog.m
.m
mobilab-master/dependency/PropertyGrid/helpdialog.m
3,509
utf_8
f86bd0bd87b39268e6b463ebe2a05362
% Displays a dialog to give help information on an object. % % Examples: % helpdialog char % gives information of character arrays % helpdialog plot % gives help on the plot command % helpdialog(obj) % gives help on the MatLab object obj % % See also: helptext, msgbox % Copyright 2008-2010 Levente...
github
MariusKlug/mobilab-master
getdependentproperties.m
.m
mobilab-master/dependency/PropertyGrid/getdependentproperties.m
938
utf_8
abccd5c7f4e0fc6ba3daebb8ffa115b6
% Publicly accessible dependent properties of an object. % % See also: meta.property % Copyright 2010 Levente Hunyadi function dependent = getdependentproperties(obj) dependent = {}; if isstruct(obj) % structures have no dependent properties return; end try clazz = metaclass(obj); catch %#ok<C...
github
MariusKlug/mobilab-master
example_matrixeditor.m
.m
mobilab-master/dependency/PropertyGrid/example_matrixeditor.m
488
utf_8
e2adde24c77a3ca577bb895ef8b3688c
% Demonstrates how to use the matrix editor. % % See also: MatrixEditor % Copyright 2010 Levente Hunyadi function example_matrixeditor fig = figure( ... 'MenuBar', 'none', ... 'Name', 'Matrix editor demo - Copyright 2010 Levente Hunyadi', ... 'NumberTitle', 'off', ... 'Toolbar', 'none'); e...