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 | sunhongfu/scripts-master | jpg_write.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/jpg_write.m | 898 | utf_8 | 2ec215dcac320f380bff814c62d09c54 | function jpg_write(x, file, varargin)
%function jpg_write(x, file, varargin)
arg.clim = [];
arg.qual = 99;
arg = vararg_pair(arg, varargin);
if isempty(arg.clim)
arg.clim = minmax(x);
end
x = floor(255*(x-arg.clim(1))/(arg.clim(2)-arg.clim(1)));
x = max(x,0);
x = min(x,255);
x = uint8(x);
x = x.';
file = file_ch... |
github | sunhongfu/scripts-master | xtick.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/xtick.m | 482 | utf_8 | cf4f7a0e298bed9f6e9808cbf5baafd2 | function xtick(arg)
%|function xtick(arg)
%| set axis xticks to just end points
if ~nargin
lim = get(gca, 'xlim');
if lim(1) == -lim(2)
lim = [lim(1) 0 lim(2)];
end
set(gca, 'xtick', lim)
elseif nargin == 1
if ischar(arg)
switch arg
case 'off'
set(gca, 'xtick', [])
set(gca, 'xticklabel', [])
case ... |
github | sunhongfu/scripts-master | jf_mip3.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/jf_mip3.m | 1,511 | utf_8 | ee392bfcbeae0ee1437753a1d74904a1 | function out = jf_mip3(vol, varargin)
%|function out = jf_mip3(vol, varargin)
%|
%| create a MIP (maximum intensity projection) mosaic from a 3D volume
%| in
%| vol [] [nx ny nz] 3d
%| option
%| 'show' bool default: 1 if no output, 0 else
%| 'type' char 'mip' (default) | 'sum' | 'mid'
%| out
%| out [] [nx+nz ny+nz]... |
github | sunhongfu/scripts-master | subplot_stack.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/subplot_stack.m | 1,219 | utf_8 | d36068356f2b48aac3c75d89a4584eac | function subplot_stack(x, ys, str_title, colors)
%function subplot_stack(x, ys, str_title, colors)
% a tight stack of subplots to show L signal components
% in
% x [N,1]
% ys [N,L] or ?
if nargin == 1 & streq(x, 'test'), subplot_stack_test, return, end
if nargin < 2, help(mfilename), error(mfilename), end
if ~isvar(... |
github | sunhongfu/scripts-master | movie2.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/movie2.m | 2,123 | utf_8 | cbbaf61f83e762896df3850e8d12ae20 | function [mov avi] = movie2(x, varargin)
%|function [mov avi] = movie2(x, [options])
%| in
%| x [nx ny nz] sequence of 2d frames
%| option
%| clim "color" limits default: minmax(x)
%| file name of avi file default: [test_dir 'tmp.avi']
%| cmap colormap default: gray(256)
%| fps frames per second in avifile defau... |
github | sunhongfu/scripts-master | yaxis_pi.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/yaxis_pi.m | 1,124 | utf_8 | e129c4b8ad40edc7a47f5b0cab53ebd6 | function yaxis_pi(varargin)
%function yaxis_pi(varargin)
% label y axis with various forms of "pi"
% the argument can be a string with p's in it, or fractions of pi:
% [0 1/2 1] or '0 p/2 p' -> [0 pi/2 pi]
% [-1 0 1] or '-p 0 p' -> [-pi 0 pi]
% etc.
% Jeff Fessler
if length(varargin) == 0
ticks = '0 p';
elseif lengt... |
github | sunhongfu/scripts-master | jf_add_slider.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/jf_add_slider.m | 2,254 | utf_8 | 202a6292a4880b44dee34b2b4c51096e | function hs = jf_add_slider(varargin)
%|function hs = jf_add_slider([options])
%|
%| add a slider control to the current figure to enable interaction
%|
%| option
%| 'callback' @ (value,data{:}) function to call with
%| slider value [0,1] and data
%| 'pos' [l b w h] slider position
%| 'data' {} data to be pas... |
github | sunhongfu/scripts-master | jf_slicer.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/jf_slicer.m | 1,594 | utf_8 | bccf2da9064af86ffb306ec118277cce | function jf_slicer(data, varargin)
%|function jf_slicer(data, [options])
%|
%| slice 3d data interactively (along 3rd dimension)
%| uses scroll wheel to sweep through all slices
%|
%| in
%| data [nx ny nz]
%|
%| options
%| clim [1 2] clim arg to im()
%| iz [1] initial slice (default: nz/2+1)
%|
%| Jeff Fessler, Uni... |
github | sunhongfu/scripts-master | label.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/label.m | 654 | utf_8 | 6ae74a9fa1ebfb4616a56849758663e3 | function label(varargin)
% usage:
% label x string
% label y string
% label tex ... todo
narg = length(varargin);
if narg < 2
error 'need x or y'
end
props = {'interpreter', 'none'};
if streq(varargin{1}, 'x')
arg2 = varargin{2};
xlabel(arg2, props{:})
elseif streq(varargin{1}, 'y')
arg2 = varargin{2};
ylabel... |
github | sunhongfu/scripts-master | fig_text.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/fig_text.m | 1,398 | utf_8 | 20a59fa6097354c841c2f7e7fbf80e9b | function hh = fig_text(varargin)
%|function hh = fig_text(...)
%| add text to figure, using coordinates relative to entire window
%| options:
%| '-date' prepend date
%| '-tex' tex parse string
%| x,y coordinates relative to [0 0 1 1]
%| {args} style arguments for text() command
%| jeff fessler
comment = '';
thed... |
github | sunhongfu/scripts-master | im_toggle.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/im_toggle.m | 2,525 | utf_8 | dc930a7b6f4278cde007dcf7464e52a0 | function im_toggle(i1, i2, varargin)
%|function im_toggle(i1, i2, [..., options for im()])
%| toggle between two or more images via keypress
if nargin == 1 && streq(i1, 'test'), im_toggle_test, return, end
if nargin < 2, help(mfilename), error(mfilename), end
% find leading additional arguments corresponding to ima... |
github | sunhongfu/scripts-master | texts.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/texts.m | 1,224 | utf_8 | 855769813da86ffc24b870bc0514a55a | function ho = texts(x, y, str, varargin)
%function ho = texts(x, y, str [, center], options)
% put text on current plot using screen coordinates
% user can supply optional name/value object properties.
% for horizontalalign, only the value is needed (e.g., 'center')
% if it is the first option.
if nargin == 1 && str... |
github | sunhongfu/scripts-master | im.m | .m | scripts-master/MRF/recon/_src/_NUFFT/graph/im.m | 14,093 | utf_8 | 842e9abbdd9c15e8fc82cb53a7faa718 | function h = im(varargin)
%|function h = im([options,] [xx,] [yy,] zz, [scale|clim,] [title])
%| show matrix zz as an image, possibly with (x,y) axes labeled by xx,yy
%|
%| options:
%| subplot an integer for subplot
%| 'notick' no axis tick marks
%| 'black0' make sure image value of 0 is black (max white)
%| 'blue0'... |
github | sunhongfu/scripts-master | mtimes_block.m | .m | scripts-master/MRF/recon/_src/_NUFFT/@Fatrix/mtimes_block.m | 1,276 | utf_8 | 11f89a7167f3f66a965c297a8620dcd5 | function y = mtimes_block(ob, x, istart, nblock)
%function y = mtimes_block(ob, x, istart, nblock)
% y = G(i'th block) * x or y = G'(i'th block) * x
% in either case the projection data will be "small"
% istart is 1,...,nblock
% support 'exists' option for seeing if this routine is available
if nargin == 2 & ischar(x... |
github | sunhongfu/scripts-master | mtimes.m | .m | scripts-master/MRF/recon/_src/_NUFFT/@Fatrix/mtimes.m | 1,374 | utf_8 | b01e213ce10f513c5f91f944f5e7d1f4 | function y = mtimes(ob, x)
%function y = mtimes(ob, x)
% y = M * x or x = M' * y
if ~isa(ob, 'Fatrix')
error 'only multiplication on right is done'
end
if isa(x, 'Fatrix') % object1 * object2, tested in Gcascade
y = Gcascade(ob, x);
return
end
%
% partial multiplication?
%
if ob.is_subref
error 'subref not done'... |
github | sunhongfu/scripts-master | do_cascade.m | .m | scripts-master/MRF/recon/_src/_NUFFT/@Fatrix/private/do_cascade.m | 870 | utf_8 | c5e864c129913ce1841a0ce0b0ddacda | function y = do_cascade(cascade, x, is_transpose, istart, nblock, is_before)
%function y = do_cascade(cascade, x, is_transpose, istart, nblock, is_before)
% do cascade * x or cascade' * x
if isempty(cascade)
y = x;
elseif isa(cascade, 'function_handle') | isa(cascade, 'inline')
if nargin(cascade) == 4
y = feval(... |
github | sunhongfu/scripts-master | recon_arc_asset.m | .m | scripts-master/GERecon/recon_arc_asset.m | 11,061 | utf_8 | eb77545d89bf56e33f277cbd7081dd35 | function recon_arc_asset(pfilePath, calibrationPfile, outputDir)
% % mac
% cd '/Users/hongfusun/DATA/p-files/oct7/raw/'
% pfilePath='/Users/hongfusun/DATA/p-files/oct7/raw/P31232.7';
% calibrationPfile='/Users/hongfusun/DATA/p-files/oct7/raw/P32328.7';
% pfilePath='/Users/hongfusun/DATA/p-files/oc... |
github | sunhongfu/scripts-master | deleteoutliers.m | .m | scripts-master/fMRI-QSM/deleteoutliers.m | 3,493 | utf_8 | a97518a30ca50a19dcfb5e180b3089c7 | function [b,idx,outliers] = deleteoutliers(a,alpha,rep);
% [B, IDX, OUTLIERS] = DELETEOUTLIERS(A, ALPHA, REP)
%
% For input vector A, returns a vector B with outliers (at the significance
% level alpha) removed. Also, optional output argument idx returns the
% indices in A of outlier values. Optional output argum... |
github | sunhongfu/scripts-master | Get_mrd_3D5.m | .m | scripts-master/XiangFeng/Get_mrd_3D5.m | 10,379 | utf_8 | ba0ba6f33bf17effeafe8a956b00c067 | % Description: Function to open multidimensional MRD/SUR files given a filename with PPR-parsing
% Inputs: string filename, reordering1, reordering2
% Outputs: complex data, raw dimension [no_expts,no_echoes,no_slices,no_views,no_views_2,no_samples], MRD/PPR parameters
% Author: Ruslan Garipov
% Date: 01/03/2014 - ... |
github | yhexie/particle-filter-localization-master | bresenham.m | .m | particle-filter-localization-master/bresenham.m | 2,568 | utf_8 | dc4f9f7fd627abd3521074f046e9271e | function [myline,mycoords,outmat,X,Y] = bresenham(mymat,mycoordinates,dispFlag, threshold)
%#codegen
% BRESENHAM: Generate a line profile of a 2d image
% using Bresenham's algorithm
% [myline,mycoords] = bresenham(mymat,mycoordinates,dispFlag)
%
% - For a demo purpose, try >> bresenham();
%
% - mymat... |
github | ccaicedo/SCMBAT-master | PropMap_find_piece.m | .m | SCMBAT-master/Octave/PropMap_find_piece.m | 4,556 | utf_8 | 4d3a8b78a9f94ba1b7303735d59cd194 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | BWRatedCompliance.m | .m | SCMBAT-master/Octave/BWRatedCompliance.m | 1,425 | utf_8 | 0bf79533fef231c4f5e1861208309fc3 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | Coupler.m | .m | SCMBAT-master/Octave/Coupler.m | 8,330 | utf_8 | ccd504c09378a7084ab7bd214abedccc | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | TxDuty_FreqList.m | .m | SCMBAT-master/Octave/TxDuty_FreqList.m | 5,179 | utf_8 | 3da5aeb176c3a93dd680333ec55a4a76 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | calcNarrowBW.m | .m | SCMBAT-master/Octave/calcNarrowBW.m | 1,658 | utf_8 | c1ccf20fe3468e32e84452cc6cf24472 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | DSA_MaxPow.m | .m | SCMBAT-master/Octave/DSA_MaxPow.m | 4,172 | utf_8 | dc43fe82b08a7f8b719bf331417d4c1b | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | freq_sort.m | .m | SCMBAT-master/Octave/freq_sort.m | 1,375 | utf_8 | 9132e23b975d0d792c1289e80d9abd1e | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | calculate_power_3dB.m | .m | SCMBAT-master/Octave/calculate_power_3dB.m | 1,965 | utf_8 | 6f8a072779b1f31d264978fdccdf4810 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | Hop_Analysis.m | .m | SCMBAT-master/Octave/Hop_Analysis.m | 1,628 | utf_8 | 90dab15cd51acf2f80a3ad9dd9a2c35d | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | TxDuty_BandList.m | .m | SCMBAT-master/Octave/TxDuty_BandList.m | 5,195 | utf_8 | b66c749cd23d988131f81a25f14b01f1 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | plotBWRated.m | .m | SCMBAT-master/Octave/plotBWRated.m | 1,493 | utf_8 | 16bd8da1a24f69c79fb45500fbabc310 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | calculate_power.m | .m | SCMBAT-master/Octave/calculate_power.m | 1,840 | utf_8 | 95de70ec56d9271e4aa1521cf86918d0 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | find_power.m | .m | SCMBAT-master/Octave/find_power.m | 2,027 | utf_8 | 475ad5565b5b74fd112c969fb7cdcf62 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | PowerMap_find.m | .m | SCMBAT-master/Octave/PowerMap_find.m | 2,380 | utf_8 | 5bd83161e7f1b937e3a9d547e33dc599 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | DSA_TotPow.m | .m | SCMBAT-master/Octave/DSA_TotPow.m | 9,255 | utf_8 | bce88b50b4f3f40260032f4d3cc13ce0 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | calculateEPSD.m | .m | SCMBAT-master/Octave/calculateEPSD.m | 1,209 | utf_8 | 5748ff810dea09f6e62c94d935369742 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | new_spectrum.m | .m | SCMBAT-master/Octave/new_spectrum.m | 2,533 | utf_8 | bec979afc4bff8aa6dba4d48d96e0614 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | compat.m | .m | SCMBAT-master/Octave/compat.m | 1,942 | utf_8 | 3acb27129a17270c97de12952378ac09 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of th... |
github | ccaicedo/SCMBAT-master | plotBTPRated.m | .m | SCMBAT-master/Octave/plotBTPRated.m | 1,606 | utf_8 | 7ba0ec5f03f638f1b6a7d547a4c1df20 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | TxMPSD.m | .m | SCMBAT-master/Octave/TxMPSD.m | 4,454 | utf_8 | 16d7efcfa51e5d81835e1db0e94904ac | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | TxHop_FreqList.m | .m | SCMBAT-master/Octave/TxHop_FreqList.m | 4,842 | utf_8 | 5f34647f595fb1e083895f40f609afa0 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | plotDutyRated.m | .m | SCMBAT-master/Octave/plotDutyRated.m | 1,190 | utf_8 | 1dfa2e97051ccd11e14fcd557a188e25 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | find_direction.m | .m | SCMBAT-master/Octave/find_direction.m | 2,349 | utf_8 | 10cf744c1dbbb51537d71471489fa466 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | TxHop_BandList.m | .m | SCMBAT-master/Octave/TxHop_BandList.m | 4,478 | utf_8 | 31f1fac8825eacd42ba320bb8dddd616 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | MaxPow_Diff.m | .m | SCMBAT-master/Octave/MaxPow_Diff.m | 1,561 | utf_8 | 410524f5e50cff3f1e96809b3fc73628 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ccaicedo/SCMBAT-master | calculateBAEPSD.m | .m | SCMBAT-master/Octave/calculateBAEPSD.m | 1,189 | utf_8 | 68a2a4f5cd7024e07751d51cb0245ac8 | %{
Copyright (C) 2016 Syracuse University
This file is part of the Spectrum Consumption Model Builder and
Analysis Tool
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the Licens... |
github | ColumbiaDVMM/Segmentation-Using-Superpixels-master | edison_wrapper.m | .m | Segmentation-Using-Superpixels-master/msseg/edison_wrapper.m | 6,071 | utf_8 | e38b90d4d1c4979c05527087208324c4 | function [varargout] = edison_wrapper(rgbim, featurefun, varargin)
%
% Performing mean_shift operation on image
%
% Usage:
% [fimage labels modes regSize grad conf] = edison_wrapper(rgbim, featurefunc, ...)
%
% Inputs:
% rgbim - original image in RGB space
% featurefunc - converting RGB to some feature space in ... |
github | ColumbiaDVMM/Segmentation-Using-Superpixels-master | msseg.m | .m | Segmentation-Using-Superpixels-master/msseg/msseg.m | 2,216 | utf_8 | 704da001d36390de9568b3942400295b | % Performing mean_shift image segmentation using EDISON code implementation
% of Comaniciu's paper with a MEX wrapper from Shai Bagon. links at bottom
% of help
%
% Usage:
% [S L] = msseg(I,hs,hr,M)
%
% Inputs:
% I - original image in RGB or grayscale
% hs - spatial bandwith for mean shift analysis
% hr - ... |
github | ColumbiaDVMM/Segmentation-Using-Superpixels-master | compare_segmentations.m | .m | Segmentation-Using-Superpixels-master/evals/compare_segmentations.m | 4,879 | utf_8 | 9894ac0153bc6ab19440e99ea9a875b0 | %A MATLAB Toolbox
%
%Compare two segmentation results using
%1. Probabilistic Rand Index
%2. Variation of Information
%3. Global Consistency Error
%
%IMPORTANT: The two input images must have the same size!
%
%Authors: John Wright, and Allen Y. Yang
%Contact: Allen Y. Yang <yang@eecs.berkeley.edu>
%
%(c) Copyright. Uni... |
github | ColumbiaDVMM/Segmentation-Using-Superpixels-master | compare_image_boundary_error.m | .m | Segmentation-Using-Superpixels-master/evals/compare_image_boundary_error.m | 2,214 | utf_8 | df0574848dc09e9cb1903235da501e92 | %A MATLAB Toolbox
%
%Compare two segmentation results using the Boundary Displacement Error
%
%IMPORTANT: The input two images must have the same size!
%
%Authors: John Wright, and Allen Y. Yang
%Contact: Allen Y. Yang <yang@eecs.berkeley.edu>
%
%(c) Copyright. University of California, Berkeley. 2007.
%
%No... |
github | ColumbiaDVMM/Segmentation-Using-Superpixels-master | Rand_index.m | .m | Segmentation-Using-Superpixels-master/evals/Rand_index.m | 3,073 | utf_8 | 1908dff37c5ef0f12f9077404f6ed054 | function ri=Rand_index(sampleLabels1,sampleLabels2)
% compare_segmentations
%
% Computes several simple segmentation benchmarks. Written for use with
% images, but works for generic segmentation as well (i.e. if the
% sampleLabels inputs are just lists of labels, rather than rectangular
% arrays).
%
% The me... |
github | ColumbiaDVMM/Segmentation-Using-Superpixels-master | colorspace.m | .m | Segmentation-Using-Superpixels-master/others/colorspace.m | 14,019 | utf_8 | c8d23ed54d9745d5e49e7d99ee1ed95f | function varargout = colorspace(Conversion,varargin)
%COLORSPACE Convert a color image between color representations.
% B = COLORSPACE(S,A) converts the color representation of image A
% where S is a string specifying the conversion. S tells the
% source and destination color spaces, S = 'dest<-src', or
% ... |
github | ColumbiaDVMM/Segmentation-Using-Superpixels-master | k_means.m | .m | Segmentation-Using-Superpixels-master/others/k_means.m | 1,984 | utf_8 | 031bae601547fa2a4821a4657bdf547c | function [R, M] = k_means(X, K, seed)
%KMEANS: K-means clustering
% idx = KMEANS(X, K) returns M with K columns, one for each mean. Each
% column of X is a datapoint. K is the number of clusters
% [idx, mu] = KMEANS(X, K) also returns mu, a row vector, R(i) is the
% index of the cluster datapoint X(:, i)... |
github | ColumbiaDVMM/Segmentation-Using-Superpixels-master | sc.m | .m | Segmentation-Using-Superpixels-master/others/sc.m | 39,501 | utf_8 | 33abd391190c650fbdfca77620408f4e | function I = sc(I, varargin)
%SC Display/output truecolor images with a range of colormaps
%
% Examples:
% sc(image)
% sc(image, limits)
% sc(image, map)
% sc(image, limits, map)
% sc(image, map, limits)
% sc(..., col1, mask1, col2, mask2,...)
% out = sc(...)
% sc
%
% Generates a truecolor... |
github | ma-xu/2PTWSVM-master | psvm.m | .m | 2PTWSVM-master/AccuracyPSVM/psvm.m | 5,947 | utf_8 | 484a5de502317215d57c1fc439c57533 | function [w,gamma, trainCorr, testCorr, cpu_time, nu]=psvm(A,d,k,nu,output,bal);
% version 1.1
% last revision: 01/24/03
%===============================================================================
% Usage: [w,gamma,trainCorr, testCorr,cpu_time,nu]=psvm(A,d,k,nu,output,bal)
%
% A and d are both required, e... |
github | ma-xu/2PTWSVM-master | psvm2.m | .m | 2PTWSVM-master/AccuracyPSVM/psvm2.m | 6,063 | utf_8 | a401eae3c716fd9565e4fb0c51d9b9d6 | function [w,gamma, trainCorr, testCorr, cpu_time, nu,testcorrstd]=psvm2(A,d,k,nu,output,bal);
% version 1.1
% last revision: 01/24/03
%===============================================================================
% Usage: [w,gamma,trainCorr, testCorr,cpu_time,nu]=psvm(A,d,k,nu,output,bal)
%
% A and d are bot... |
github | ma-xu/2PTWSVM-master | monitormatlab.m | .m | 2PTWSVM-master/NEW_TWSVM/monitormatlab.m | 30,148 | utf_8 | 702d3e62f38bce4f5547affd49f0de96 | function monitormatlab(action)
%MONITORMATLAB Displays runtime diagnostic information
% This task manager like tool displays real time memory
% state of MATLAB, HG, and Java using time based strip charts.
%
% The following information is displayed:
% * Memory allocated by MATLAB
% * Memory allocated by Java
% ... |
github | ma-xu/2PTWSVM-master | monitormatlab.m | .m | 2PTWSVM-master/NEW_GEPSVM/monitormatlab.m | 30,148 | utf_8 | 702d3e62f38bce4f5547affd49f0de96 | function monitormatlab(action)
%MONITORMATLAB Displays runtime diagnostic information
% This task manager like tool displays real time memory
% state of MATLAB, HG, and Java using time based strip charts.
%
% The following information is displayed:
% * Memory allocated by MATLAB
% * Memory allocated by Java
% ... |
github | stoman/MachineLearningKernelMethods-master | gradient.m | .m | MachineLearningKernelMethods-master/functions/gradient.m | 260 | utf_8 | a74bbc7c4ac0e82b40fa580599439977 | %A gradient computation used for the fminunc function in mnist/learning.m
%for the gradient descent.
%Author: Stefan Toman (toman@tum.de)
function [L, grad] = gradient(w, x, y)
L = 1/2*norm(x*w-y);
if nargout > 1
grad = x'*(x*w-y);
end;
end |
github | stoman/MachineLearningKernelMethods-master | euclideankernel.m | .m | MachineLearningKernelMethods-master/functions/euclideankernel.m | 700 | utf_8 | 770d7b069d4fe145d4eeb48087d03f02 | %This function returns a function handle for a Euclidean kernel. The
%argument nrinputs is optional and defaults to 2. If nrinputs is 1 the
%function will take one argument, if nrinputs is 2 it will take two
%arguments and call the function for one argument with the difference of
%the arguments.
%Author: Stefan Toman (... |
github | stoman/MachineLearningKernelMethods-master | gaussiankernel.m | .m | MachineLearningKernelMethods-master/functions/gaussiankernel.m | 1,120 | utf_8 | f155a3486cb007982465902a74eb5c72 | %This function returns a function handle for a Gaussian kernel using a
%given parameter gamma. The argument nrinputs is optional and defaults to
%2. If nrinputs is 1 the function will take one argument, if nrinputs is 2
%it will take two arguments and call the function for one argument with the
%difference of the argum... |
github | stoman/MachineLearningKernelMethods-master | funpredict.m | .m | MachineLearningKernelMethods-master/functions/funpredict.m | 790 | utf_8 | b9833b2b5c971ba6e44bfd00184cab59 | %This function returns a handle to a prediction function using kernels
%given a training set X and Y, a regularization parameter lambda and a
%kernel function K. The resulting function can predict single data as row
%vectors or several vectors simultaneously given as a matrix.
%Author: Stefan Toman (toman@tum.de)
funct... |
github | stoman/MachineLearningKernelMethods-master | defaultkernel.m | .m | MachineLearningKernelMethods-master/functions/defaultkernel.m | 175 | utf_8 | d3836fdf1ebdd60c998aa84c69161ec6 | %This function returns a function handle for a default kernel (the inner
%product).
%Author: Stefan Toman (toman@tum.de)
function K = defaultkernel()
K = @(x,z) x*z';
end
|
github | stoman/MachineLearningKernelMethods-master | printresults.m | .m | MachineLearningKernelMethods-master/functions/printresults.m | 522 | utf_8 | cdb1adc5a9b9500164e21a66d04fcbef | %This function evaluates the quality of predicted results on a test set as
%used in mnist/learning.m. x and y are the test data, w are the parameters
%of the prediction function, name is the name of the method in use and a
%and b are the labels of the two classes of objects.
%Author: Stefan Toman (toman@tum.de)
functio... |
github | stoman/MachineLearningKernelMethods-master | predictionquality.m | .m | MachineLearningKernelMethods-master/functions/predictionquality.m | 378 | utf_8 | b8484f32a6393ed5a1910fc72ee870c3 | %This function predicts the classes of some objects using a given
%prediction function. predict is the prediction function and X and Y are
%the test data. The return value is the number of correct estimates.
%Author: Stefan Toman (toman@tum.de)
function correct = predictionquality(predict, X, Y)
predictions = predi... |
github | stoman/MachineLearningKernelMethods-master | naivekernel.m | .m | MachineLearningKernelMethods-master/functions/naivekernel.m | 828 | utf_8 | d038124cec473315638d6f6176b98082 | %This function returns a function handle for a naive kernel using a
%parameter width. The kernel will create a box above each data point of
%size 1 with length 2*width. The argument nrinputs is optional and
%defaults to 2. If nrinputs is 1 the function will take one argument, if
%nrinputs is 2 it will take two argument... |
github | stoman/MachineLearningKernelMethods-master | testdataset.m | .m | MachineLearningKernelMethods-master/functions/testdataset.m | 440 | utf_8 | bf12d5a9d596571fe5fe42bf3e5088d4 | %This function creates a data set given two types of objects. X is the
%concatenation of the rows of both sets, Y is a vector containing 1 for all
%objects in the first set and -1 for all objects in the second set. The
%test data are also converted to doubles.
%Author: Stefan Toman (toman@tum.de)
function [X, Y] = test... |
github | siam1251/Fast-SeqSLAM-master | patchNormalize.m | .m | Fast-SeqSLAM-master/fast_seqSlam/patchNormalize.m | 1,483 | iso_8859_1 | bd4717ee5240260998e3b2043d5a7090 | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at ... |
github | siam1251/Fast-SeqSLAM-master | doFindMatchesModified.m | .m | Fast-SeqSLAM-master/fast_seqSlam/doFindMatchesModified.m | 6,615 | utf_8 | 22903cb2aa235535aede7f5513322e82 | %
%
function results = doFindMatchesModified(results, params)
filename = sprintf('%s/matches-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
if params.matching.load && exist(filename, 'file')
display(sprintf('Loading matchi... |
github | siam1251/Fast-SeqSLAM-master | previous stable_doFindMatchesModified.m | .m | Fast-SeqSLAM-master/fast_seqSlam/previous stable_doFindMatchesModified.m | 5,841 | utf_8 | 02d08b5e18097163ec0485e94f34dfcb | %
%
function results = doFindMatchesModified(results, params)
filename = sprintf('%s/matches-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
if params.matching.load && exist(filename, 'file')
display(sprintf('Loading matchi... |
github | siam1251/Fast-SeqSLAM-master | b_doDifferenceMatrix.m | .m | Fast-SeqSLAM-master/fast_seqSlam/b_doDifferenceMatrix.m | 4,516 | utf_8 | 53f2379567ce2965dee54bf1163a7d93 | %
%
function results = doDifferenceMatrix(results, params)
addpath(genpath('./flann'));
filename = sprintf('%s/difference-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
if params.differenceMatrix.load && exist(filename, 'file')
display... |
github | siam1251/Fast-SeqSLAM-master | doPreprocessing.m | .m | Fast-SeqSLAM-master/fast_seqSlam/doPreprocessing.m | 3,144 | utf_8 | 88439f0df15bc850c247e25f9338587a | %
function results = doPreprocessing(params)
for i = 1:length(params.dataset)
% shall we just load it?
filename = sprintf('%s/preprocessing-%s%s.mat', params.dataset(i).savePath, params.dataset(i).saveFile, params.saveSuffix);
if params.dataset(i).preprocessing.load && exi... |
github | siam1251/Fast-SeqSLAM-master | b_doPreprocessing.m | .m | Fast-SeqSLAM-master/fast_seqSlam/b_doPreprocessing.m | 3,811 | iso_8859_1 | 4c79c1ead929d54cc2610f05b48630a1 | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at y... |
github | siam1251/Fast-SeqSLAM-master | doContrastEnhancement.m | .m | Fast-SeqSLAM-master/fast_seqSlam/doContrastEnhancement.m | 2,015 | iso_8859_1 | 0fe5d2f80ba01e5d10f64177d2e7695d | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at y... |
github | siam1251/Fast-SeqSLAM-master | b_doContrastEnhancement.m | .m | Fast-SeqSLAM-master/fast_seqSlam/b_doContrastEnhancement.m | 2,015 | iso_8859_1 | 0fe5d2f80ba01e5d10f64177d2e7695d | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at y... |
github | siam1251/Fast-SeqSLAM-master | doDifferenceMatrix_noMutualConstraint.m | .m | Fast-SeqSLAM-master/fast_seqSlam/doDifferenceMatrix_noMutualConstraint.m | 4,792 | utf_8 | 39d2472da02c8305260087d5fef5d1be | %
%
function results = doDifferenceMatrix_noMutualConstraint(results, params)
addpath(genpath('./flann'));
filename = sprintf('%s/difference-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
tic;
if params.differenceMatrix.load && exist(f... |
github | siam1251/Fast-SeqSLAM-master | showPrecisionCurve.m | .m | Fast-SeqSLAM-master/fast_seqSlam/showPrecisionCurve.m | 3,688 | utf_8 | 9a33792a410fba51873fd621e129b0d0 | % Sayem Mohammad Siam
% University of Alberta
% Date 20th March 2016
% Computes empirical statistics based on classification output.
% Modified the following matlab functions prc_stats_empirical(targs, dvs) to compute
% Precision recall for SLAM
function showPrecisionCurve(matches,targs,range,imageSkip,filename)
... |
github | siam1251/Fast-SeqSLAM-master | openSeqSLAM.m | .m | Fast-SeqSLAM-master/fast_seqSlam/openSeqSLAM.m | 1,826 | iso_8859_1 | a02a94c886b776a5bcb33c971460a2fa | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at y... |
github | siam1251/Fast-SeqSLAM-master | doDifferenceMatrix.m | .m | Fast-SeqSLAM-master/fast_seqSlam/doDifferenceMatrix.m | 4,590 | utf_8 | 2cd561e80b84d7b6d45246cb95eec6e1 | %
%
function results = doDifferenceMatrix(results, params)
addpath(genpath('./flann'));
filename = sprintf('%s/difference-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
tic;
if params.differenceMatrix.load && exist(filename, 'file')
... |
github | siam1251/Fast-SeqSLAM-master | doFindMatchesModified.m | .m | Fast-SeqSLAM-master/fast_seqSlam/back_fast/doFindMatchesModified.m | 6,617 | utf_8 | aa817af8acf450d798153c3da4b69fb0 | %
%
function results = doFindMatchesModified(results, params)
filename = sprintf('%s/matches-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
if params.matching.load && exist(filename, 'file')
display(sprintf('Loading matchi... |
github | siam1251/Fast-SeqSLAM-master | doPreprocessing.m | .m | Fast-SeqSLAM-master/fast_seqSlam/back_fast/doPreprocessing.m | 3,144 | utf_8 | 88439f0df15bc850c247e25f9338587a | %
function results = doPreprocessing(params)
for i = 1:length(params.dataset)
% shall we just load it?
filename = sprintf('%s/preprocessing-%s%s.mat', params.dataset(i).savePath, params.dataset(i).saveFile, params.saveSuffix);
if params.dataset(i).preprocessing.load && exi... |
github | siam1251/Fast-SeqSLAM-master | doDifferenceMatrix.m | .m | Fast-SeqSLAM-master/fast_seqSlam/CMakeFiles/doDifferenceMatrix.m | 4,276 | utf_8 | df153f88a48c06590dd35c17112304ce | %
%
function results = doDifferenceMatrix(results, params)
addpath(genpath('./flann'));
filename = sprintf('%s/difference-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
if params.differenceMatrix.load && exist(filename, 'file')
display... |
github | siam1251/Fast-SeqSLAM-master | doDifferenceMatrix.m | .m | Fast-SeqSLAM-master/fast_seqSlam/CMakeFiles/mex_nearest_neighbors.dir/doDifferenceMatrix.m | 4,216 | utf_8 | dac48ceba7e3fcece6fa922ed9d95c1b | %
%
function results = doDifferenceMatrix(results, params)
addpath(genpath('./flann'));
filename = sprintf('%s/difference-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
if params.differenceMatrix.load && exist(filename, 'file')
display... |
github | siam1251/Fast-SeqSLAM-master | flann_search.m | .m | Fast-SeqSLAM-master/fast_seqSlam/flann/flann_search.m | 3,506 | utf_8 | cffd29579f0290f0f680a3f12cb7a671 | %Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
%Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
%
%THE BSD LICENSE
%
%Redistribution and use in source and binary forms, with or without
%modification, are permitted provided that the following conditions
%are met:
%
... |
github | siam1251/Fast-SeqSLAM-master | flann_load_index.m | .m | Fast-SeqSLAM-master/fast_seqSlam/flann/flann_load_index.m | 1,578 | utf_8 | f9bcc41fd5972c5c987d6a4d41bdc796 | %Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
%Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
%
%THE BSD LICENSE
%
%Redistribution and use in source and binary forms, with or without
%modification, are permitted provided that the following conditions
%are met:
%
... |
github | siam1251/Fast-SeqSLAM-master | test_flann.m | .m | Fast-SeqSLAM-master/fast_seqSlam/flann/test_flann.m | 10,100 | utf_8 | d65a8eac8c411227a355b4ddbe6de38a | %Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
%Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
%
%THE BSD LICENSE
%
%Redistribution and use in source and binary forms, with or without
%modification, are permitted provided that the following conditions
%are met:
%
... |
github | siam1251/Fast-SeqSLAM-master | flann_free_index.m | .m | Fast-SeqSLAM-master/fast_seqSlam/flann/flann_free_index.m | 1,614 | utf_8 | 5d719d8d60539b6c90bee08d01e458b5 | %Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
%Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
%
%THE BSD LICENSE
%
%Redistribution and use in source and binary forms, with or without
%modification, are permitted provided that the following conditions
%are met:
%
... |
github | siam1251/Fast-SeqSLAM-master | flann_save_index.m | .m | Fast-SeqSLAM-master/fast_seqSlam/flann/flann_save_index.m | 1,563 | utf_8 | 5a44d911827fba5422041529b3c01cf6 | %Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
%Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
%
%THE BSD LICENSE
%
%Redistribution and use in source and binary forms, with or without
%modification, are permitted provided that the following conditions
%are met:
%
... |
github | siam1251/Fast-SeqSLAM-master | flann_set_distance_type.m | .m | Fast-SeqSLAM-master/fast_seqSlam/flann/flann_set_distance_type.m | 1,926 | utf_8 | 8ba72989a4ac1bd6b30bec841b9def25 | %Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
%Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
%
%THE BSD LICENSE
%
%Redistribution and use in source and binary forms, with or without
%modification, are permitted provided that the following conditions
%are met:
%
... |
github | siam1251/Fast-SeqSLAM-master | doPreprocessing.m | .m | Fast-SeqSLAM-master/fast_seqSlam/back_original/doPreprocessing.m | 3,898 | iso_8859_1 | 7519d4254e7bd4ce8189bf94ae9117a9 | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at y... |
github | siam1251/Fast-SeqSLAM-master | defaultParameters.m | .m | Fast-SeqSLAM-master/demo/defaultParameters.m | 1,714 | utf_8 | 82fece418707dd09e59815fb69b91339 | %
%
function params=defaultParameters()
% switches
params.DO_PREPROCESSING = 1;
params.DO_RESIZE = 1;
params.DO_GRAYLEVEL = 1;
params.DO_PATCHNORMALIZATION = 0;
params.DO_SAVE_PREPROCESSED_IMG = 1;
params.DO_DIFF_MATRIX = 1;
params.DO_CONTRAST_ENHANCEMENT = 0;%mak... |
github | siam1251/Fast-SeqSLAM-master | patchNormalize.m | .m | Fast-SeqSLAM-master/demo/prcurve/local_fast_seqSlam/patchNormalize.m | 1,483 | iso_8859_1 | bd4717ee5240260998e3b2043d5a7090 | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at ... |
github | siam1251/Fast-SeqSLAM-master | doFindMatchesModified.m | .m | Fast-SeqSLAM-master/demo/prcurve/local_fast_seqSlam/doFindMatchesModified.m | 5,881 | utf_8 | fa185462c4ee7aa944de7689bb43d7c6 | %
%
function results = doFindMatchesModified(results, params)
filename = sprintf('%s/matches-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
if params.matching.load && exist(filename, 'file')
display(sprintf('Loading matchi... |
github | siam1251/Fast-SeqSLAM-master | doFindMatches.m | .m | Fast-SeqSLAM-master/demo/prcurve/local_fast_seqSlam/doFindMatches.m | 3,543 | iso_8859_1 | d58b1f0451dacccc9bd8fcd447712c2a | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at y... |
github | siam1251/Fast-SeqSLAM-master | doPreprocessing.m | .m | Fast-SeqSLAM-master/demo/prcurve/local_fast_seqSlam/doPreprocessing.m | 3,385 | utf_8 | 8fe0631458856f931c18a870de22ec6d | %
function results = doPreprocessing(params)
for i = 1:length(params.dataset)
% shall we just load it?
filename = sprintf('%s/preprocessing-%s%s.mat', params.dataset(i).savePath, params.dataset(i).saveFile, params.saveSuffix);
if params.dataset(i).preprocessing.load && exi... |
github | siam1251/Fast-SeqSLAM-master | doContrastEnhancement.m | .m | Fast-SeqSLAM-master/demo/prcurve/local_fast_seqSlam/doContrastEnhancement.m | 2,164 | iso_8859_1 | 3a5452345b7790f53cc34d31bc80b80d | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at y... |
github | siam1251/Fast-SeqSLAM-master | showPrecisionCurve.m | .m | Fast-SeqSLAM-master/demo/prcurve/local_fast_seqSlam/showPrecisionCurve.m | 3,142 | utf_8 | a08bcb7a982e8b06ae0f9695de25d40f | function showPrecisionCurve(matches,targs,range,imageSkip,filename)
% Compute empirical curves
dvs = matches(:,2)';
predicted = matches(:,1)';
[TPR_emp, FPR_emp, PPV_emp] = precision_recall(targs, dvs, predicted,range,imageSkip);
points = [TPR_emp,PPV_emp];
filename = strcat('prcu... |
github | siam1251/Fast-SeqSLAM-master | openSeqSLAM.m | .m | Fast-SeqSLAM-master/demo/prcurve/local_fast_seqSlam/openSeqSLAM.m | 1,771 | iso_8859_1 | 5dbda8263e359c610136532c81968d9a | %
% Copyright 2013, Niko Sünderhauf
% niko@etit.tu-chemnitz.de
%
% This file is part of OpenSeqSLAM.
%
% OpenSeqSLAM is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation, either version 3 of the License, or
% (at y... |
github | siam1251/Fast-SeqSLAM-master | doDifferenceMatrix.m | .m | Fast-SeqSLAM-master/demo/prcurve/local_fast_seqSlam/doDifferenceMatrix.m | 4,276 | utf_8 | df153f88a48c06590dd35c17112304ce | %
%
function results = doDifferenceMatrix(results, params)
addpath(genpath('./flann'));
filename = sprintf('%s/difference-%s-%s%s.mat', params.savePath, params.dataset(1).saveFile, params.dataset(2).saveFile, params.saveSuffix);
if params.differenceMatrix.load && exist(filename, 'file')
display... |
github | siam1251/Fast-SeqSLAM-master | pdftops.m | .m | Fast-SeqSLAM-master/graphs/altmany-export_fig-113e357/pdftops.m | 5,528 | utf_8 | 1042ce73e979a940784d5ea5f57f1ffc | function varargout = pdftops(cmd)
%PDFTOPS Calls a local pdftops executable with the input command
%
% Example:
% [status result] = pdftops(cmd)
%
% Attempts to locate a pdftops executable, finally asking the user to
% specify the directory pdftops was installed into. The resulting path is
% stored for futur... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.