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 | daijifeng001/R-FCN-master | rfcn_im_detect.m | .m | R-FCN-master/functions/rfcn/rfcn_im_detect.m | 4,841 | utf_8 | 745db87845920ed7aa50a0e1360d6d62 | function [pred_boxes, scores] = rfcn_im_detect(conf, caffe_net, im, boxes, max_rois_num_in_gpu)
% [pred_boxes, scores] = rfcn_im_detect(conf, caffe_net, im, boxes, max_rois_num_in_gpu)
% --------------------------------------------------------
% R-FCN implementation
% Modified from MATLAB Faster R-CNN (https://github.c... |
github | daijifeng001/R-FCN-master | rfcn_prepare_image_roidb.m | .m | R-FCN-master/functions/rfcn/rfcn_prepare_image_roidb.m | 5,796 | utf_8 | c50c48945928e0df3a58ee0ac7bc7a06 | function [image_roidb, bbox_means, bbox_stds] = rfcn_prepare_image_roidb(conf, imdbs, roidbs, bbox_means, bbox_stds)
% [image_roidb] = rfcn_prepare_image_roidb(conf, imdbs, roidbs, cache_img)
% --------------------------------------------------------
% R-FCN implementation
% Modified from MATLAB Faster R-CNN (https://g... |
github | daijifeng001/R-FCN-master | showboxes.m | .m | R-FCN-master/utils/showboxes.m | 2,624 | utf_8 | be6b3bca7e6364f27e7ac8d3f76a3628 | function showboxes(im, boxes, legends, color_conf)
% Draw bounding boxes on top of an image.
% showboxes(im, boxes)
%
% -------------------------------------------------------
fix_width = 800;
if isa(im, 'gpuArray')
im = gather(im);
end
imsz = size(im);
scale = fix_width / imsz(2);
im = imresize(im, scale);
if ... |
github | daijifeng001/R-FCN-master | roidb_from_voc.m | .m | R-FCN-master/imdb/roidb_from_voc.m | 8,266 | utf_8 | 22b2a467016af58abb2def409c681824 | function roidb = roidb_from_voc(imdb, varargin)
% roidb = roidb_from_voc(imdb, rootDir)
% Builds an regions of interest database from imdb image
% database. Uses precomputed selective search boxes available
% in the R-CNN data package.
%
% Inspired by Andrea Vedaldi's MKL imdb and roidb code.
% AUTORIGHTS
% --... |
github | Reza219/Diffusion-gradient-descent-TLS-master | creategraph_f.m | .m | Diffusion-gradient-descent-TLS-master/Function/creategraph_f.m | 1,996 | utf_8 | fc747190dc8db3a65ae2e5c5d15e9758 | %Creates a connection matrix for a random graph
%INPUTS:
%type --> Number from 1 to 5, selecting the type of graph
% 1=fully connected, 2=line topology, 3=tree topology,
% 4=random starting from tree, 5=random starting from chain
%nn --> Number of nodes in the graph
%lpn --> Average number of links ... |
github | eldar/deepcut-cnn-master | classification_demo.m | .m | deepcut-cnn-master/matlab/demo/classification_demo.m | 5,412 | utf_8 | 8f46deabe6cde287c4759f3bc8b7f819 | function [scores, maxlabel] = classification_demo(im, use_gpu)
% [scores, maxlabel] = classification_demo(im, use_gpu)
%
% Image classification demo using BVLC CaffeNet.
%
% IMPORTANT: before you run this demo, you should download BVLC CaffeNet
% from Model Zoo (http://caffe.berkeleyvision.org/model_zoo.html)
%
% *****... |
github | fschwaiger/matlab-dependency-injector-master | Injector.m | .m | matlab-dependency-injector-master/Injector.m | 13,959 | utf_8 | 8fcf1e30f8c13f15d0363e099cee60d0 | classdef Injector < handle
% Resolves object dependencies automatically by class inspection.
%
% Usage:
% injector = Injector(knownDependency1, ...)
% injector = Injector('knownDependency1', value1, ...)
% injector = injector.with(knownDependency1, ...)
% injector = injector.with('kn... |
github | oliparson/parson-2012-aaai-master | my_learn_params_dbn_em.m | .m | parson-2012-aaai-master/my_learn_params_dbn_em.m | 5,749 | utf_8 | ea7415d7fa8e18ba9aeb19276c35a212 | function [bnet, LL, engine] = my_learn_params_dbn_em(engine, evidence, varargin)
% LEARN_PARAMS_DBN Set the parameters in a DBN to their ML/MAP values using batch EM.
% [bnet, LLtrace, engine] = learn_params_dbn_em(engine, data, ...)
%
% data{l}{i,t} = value of node i in slice t of time-series l, or [] if hidden.
% S... |
github | Space-at-VT/Quad_CV-SLAM-master | f_perspproj.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_perspproj.m | 2,779 | utf_8 | 6fb84130899bccf266d4cc966b0d6389 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.3 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% function [ucam,vcam]=f_perspproj(U,H,K,adjplot);
%
% Syntax:
% ------
% U = "matrix of points... |
github | Space-at-VT/Quad_CV-SLAM-master | f_Festim.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_Festim.m | 6,046 | utf_8 | 6c55665b4d55171b2b45369935005341 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.1 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% function f_Festim(Ua,Ud,algorithm)
%
% Descr:
% ----- This function performs the estimation o... |
github | Space-at-VT/Quad_CV-SLAM-master | f_ellipse.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_ellipse.m | 946 | utf_8 | 6683e13d754f38f0a77a60c946199854 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Epipolar Geometry Toolbox (EGT) %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% f_ellipse Parameterization of an ellipse.
%
% [x,y] = f_ellipse(A,passo)
% A = 3by3 symmetric matrix of the ellipse in the essential position.
% passo = step of parameter
%
% Desc... |
github | Space-at-VT/Quad_CV-SLAM-master | f_hyperbola.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_hyperbola.m | 1,558 | utf_8 | 27283c94f5dca32fbc90049ff59cf809 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Epipolar Geometry Toolbox (EGT) %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% f_hyperbola Parameterization of a hyperbola.
%
% [x,y] = f_hyperbola(A,passo)
% A = 3by3 symmetric matrix of the hyperbola in the essential position.
% passo = step of parameter
%
... |
github | Space-at-VT/Quad_CV-SLAM-master | f_panepipconic.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_panepipconic.m | 2,614 | utf_8 | 267e1603a01e4655bdbce0dd0f058d98 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5%%%%%
% % Epipolar Geometry Toolbox v1.3 (EGT) %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% f_panepipconic(nvers,K,color,a,b,quadric,passo,ampiezza);
%
% Description:
% -----------
% Plots the epipolar conics in the CCD image plane (pixels)
%
% Syntax:
% ------
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | f_panepipoles.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_panepipoles.m | 6,183 | utf_8 | c7775ea6ca152faa0cfa3af9c4a668e0 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Epipolar Geometry Toolbox v1.3 (EGT) %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% [Xcd_e,e_cd]=f_panepipoles(Hd,Ha,a1,b1,quadric1,a2,b2,quadric2,K1,K2,color1,color2);
%
%- DESCRIPTION:
% "f_panepipoles" computes the mirror (<wf>) and image (pixels) coord... |
github | Space-at-VT/Quad_CV-SLAM-master | f_3Dwf.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_3Dwf.m | 2,012 | utf_8 | 6e9c8227dd3aad0110ff52ec45be8cdb | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.3 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% f_3Dwf(color,scale,axislabel);
%
% Syntax:
% ------
% color = a string containing the color... |
github | Space-at-VT/Quad_CV-SLAM-master | f_normalize.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_normalize.m | 1,876 | utf_8 | 41db67699ac62f2d5c671e57825ac61f | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.1 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% [Unormsc,T]=f_normalize(U);
%
% Descr.=
% ------ This function performs a normalization of inpu... |
github | Space-at-VT/Quad_CV-SLAM-master | f_colfilt.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_colfilt.m | 1,429 | utf_8 | 9838554a81d7a0afeca8ee11aaa0c828 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Epipolar Geometry Toolbox v1.3 (EGT) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% function f_colfilt(I,U)
%
% Descr:
% ----- This function performs the color filtering process. A simple
% mean-variance filtering on RGB levels is adopted.
% T... |
github | Space-at-VT/Quad_CV-SLAM-master | f_3Dsurface.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_3Dsurface.m | 5,260 | utf_8 | 90416e18e7de19fc593a5de16489ea2f | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.1 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% [x,y,z,nx,ny,nz]=f_3Dsurface;
% [x,y,z,nx,ny,nz]=f_3Dsurface(ogg);
% [x,y,z,nx,ny,nz]=f_3Dsur... |
github | Space-at-VT/Quad_CV-SLAM-master | f_panEestim.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_panEestim.m | 2,035 | utf_8 | c4052694b4520fd2a0da2b2f506bd5f6 | function [E,gE]=f_panEestim(M,n,error)
%Each column of M contains the mirror projections X_M of the 3-D point P in both actual and desired views.
%M=[X_Ma;
% X_Md]
%Controlla che siano dati in ingresso almeno le 6 coordinate nei 2 CCD
%ed almeno 8 punti nella scena
if (size(M,1)~=6) | (size(M,2)<8),
disp('Error:... |
github | Space-at-VT/Quad_CV-SLAM-master | f_normplane.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_normplane.m | 1,744 | utf_8 | 3e47381cf89b342e609ea283854bfc4d | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Epipolar Geometry Toolbox (EGT) %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% f_normplane Normal versor of a plane.
%
% [plane,flag] = f_normplane(X1,X2);
% X1,X2 = vectors belonging to the plane; the normal versor to the plane
% is defined as the cr... |
github | Space-at-VT/Quad_CV-SLAM-master | f_colparam.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_colparam.m | 5,376 | utf_8 | d7bd369b4555824a0e6dc1b18a8c53e1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Epipolar Geometry Toolbox (EGT) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% function U=f_colparam(I,flag,type);
%
% where U=[mr mg mb vr vg vb sigma_r sigma_g sigma_b];
%
% Descr.
% -----
% Computation of color parameters for color filtering.
% The function take in inpu... |
github | Space-at-VT/Quad_CV-SLAM-master | f_epipole.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_epipole.m | 2,190 | utf_8 | 12fcae1575e42520f2aa7be95845e50c | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %
%% Epipolar Geometry Toolbox v1.3 (EGT) %
%% %
%%%%%%% DII - University of Siena %%%%%%
%
% function [ea,ed,F] = f_epipole(Ha,Hd,Ka,Kd)
%
% Input:
% -----
% Ha = "Homogenous matrix... |
github | Space-at-VT/Quad_CV-SLAM-master | f_3Dframe.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_3Dframe.m | 2,258 | utf_8 | f917652b6baffe7b9e150e38221b1fee | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.3 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% f_3Dframe(H,color,scale,axislabel);
%
% Syntax:
% ------
% H = homogeneous trasformatio... |
github | Space-at-VT/Quad_CV-SLAM-master | f_3Dcamera.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_3Dcamera.m | 3,039 | utf_8 | 1140c5892590ae11ebb7a8511bfa9d21 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.3 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% f_3Dcamera(H,color,scale);
%
% Syntax:
% ------
% H = homogeneous trasformation matrix ... |
github | Space-at-VT/Quad_CV-SLAM-master | f_roundn.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_roundn.m | 553 | utf_8 | f6aec8be51906c99c70b40e80903e651 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Epipolar Geometry Toolbox (EGT) %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%ROUNDN Rounds input at n-th power of 10
%
% y = ROUNDN(x)
% y = ROUNDN(x,n) rounds the input data x at a power
% of tens. n=-3 rounds the input data to
% the 10^(-3) (thousand) position.
%
fu... |
github | Space-at-VT/Quad_CV-SLAM-master | f_parabola.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_parabola.m | 798 | utf_8 | 87a7a3f2c4fd077a238477683c6a9432 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Epipolar Geometry Toolbox (EGT) %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% f_parabola Parameterization of a parabola.
%
% [x,y] = f_parabola(A,passo)
% A = 3by3 symmetric matrix of the parabola in the essential position.
% passo = step of parameter
%
% De... |
github | Space-at-VT/Quad_CV-SLAM-master | f_lambda.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_lambda.m | 1,795 | utf_8 | cbdbb8303c168f485947cf8e9ea3d55e | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Epipolar Geometry Toolbox v.1.3 (EGT) %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% [lambda1,lambda2] = f_lambda(a,b,quadric,v)
%
% f_lambda : Scale factors defining the intersection between a
% mirror and a line going passing through the or... |
github | Space-at-VT/Quad_CV-SLAM-master | f_skew.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_skew.m | 340 | utf_8 | fc600feccbc45ff11787796c0d9b9c07 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Epipolar Geometry Toolbox (EGT) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% function f_skew(vett)
%
% Descr:
% ----- Computes the skew matrix of a vector "vett".
%
function A=f_skew(vett)
A=[ 0, -vett(3), vett(2);
vett(3), 0, -vett(1);
-vett(... |
github | Space-at-VT/Quad_CV-SLAM-master | f_findepipoles.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_findepipoles.m | 2,173 | utf_8 | 207471b5f4b1ffe52bc362a9aaa047e9 |
%%%%%%%%%%%%%%%%%%%%%%%
%%%% subfunction %%%%
%%%%%%%%%%%%%%%%%%%%%%%
function [qe1, qe2, e1, e2] = f_findepipoles(F,a,b,K);
% calcola gli epipoli o meglio la loro proiezione sulo specchio (sdr mirror)
% F = coordinate del fuoco dell'altro specchio espresse nel sdr mirror
% relativo allo specchio per il quale sto... |
github | Space-at-VT/Quad_CV-SLAM-master | f_Rt2H.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_Rt2H.m | 1,233 | utf_8 | 278721ca5e4804412787ba12dfde8590 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Epipolar Geometry Toolbox v1.1 (EGT) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% H = function f_Rt2H(R,t)
%
% R is a 3x3 roll-pitch-yaw rotation matrix of camera frame wrt the EGT frame (see manual)
% t is a 3x1 translation vector
% H is a 4x4 homogeneous tran... |
github | Space-at-VT/Quad_CV-SLAM-master | f_daqaXhmir.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_daqaXhmir.m | 2,288 | utf_8 | 9edfbb28278e3e665af92447ba53964e | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Epipolar Geometry Toolbox (EGT) %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% [Xhmir] = f_daqaXhmir(Q,K,a,b,quadric)
%
% Reprojects image points to the central catadioptric camera mirror.
%
% DESCR:
% ------
% This function reprojects the image point... |
github | Space-at-VT/Quad_CV-SLAM-master | f_3Dwfenum.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_3Dwfenum.m | 997 | utf_8 | 0ea0b79c179714679d09e293cbc81fee | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.1 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% f_3Dwfenum(P,col,m);
%
% Syntax:
% ------
% P = 3D corrdinates of feature points (in w.f.)
... |
github | Space-at-VT/Quad_CV-SLAM-master | f_3Dpanoramic.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_3Dpanoramic.m | 5,417 | utf_8 | 31cabf6dd3a89c38c91fe8f997fbb94a | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Epipolar Geometry Toolbox v1.3 (EGT) %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% f_3Dpanoramic(H,color,quadric,a,b,r_rim)
%
%USAGE:
% Plot a 3D panoramic (parabolic/hyperbolic) camera;
% IMP= Note th... |
github | Space-at-VT/Quad_CV-SLAM-master | f_3Drandpoint.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_3Drandpoint.m | 972 | utf_8 | 3c1d0871a7756663228b96becbba146d | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.3 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% f_3Drandpoint(n,center,radius);
%
% Description:
% -----------
% This function generates "n" ... |
github | Space-at-VT/Quad_CV-SLAM-master | f_unstacked.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_unstacked.m | 723 | utf_8 | f0adcb0f14f873d9a129942d76f8521c | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Epipolar Geometry Toolbox (EGT) %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%Syntax:
%-------
% U = f_unstacked(M,dimension)
%
%Description:
%-----------
% The vector "M" will be unstacked in a (dimension x dimension) matrix "U"
%
%Author
%------
% Gian Luca Mariottini
... |
github | Space-at-VT/Quad_CV-SLAM-master | f_perspline.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_perspline.m | 2,736 | utf_8 | 52ac80fd87b51f47405d33cbc20862a0 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Epipolar Geometry Toolbox v1.1 (EGT) %%
%% %%
%%%%%%%% DII- University of Siena %%%%%%%%%
%
% function v=f_perspline(U,H,K,adjplot,fig);
%
% function ell=f_perspline(PL,H,K,adjplot,fig);
%
%... |
github | Space-at-VT/Quad_CV-SLAM-master | f_panproj.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_panproj.m | 5,814 | utf_8 | c42d2aa8dc43f249fc3aaa741b93d467 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Epipolar Geometry Toolbox v1.3 (EGT) %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% [q,Xhmir]=f_panproj(X,H,K,a,b,quadric,color)
%
% Catadioptric projection of the scene points (hyperbolic/parabolic) mirror.
%
% X = matrix containing the scene points, it can be a 4... |
github | Space-at-VT/Quad_CV-SLAM-master | f_projectmir.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_projectmir.m | 1,540 | utf_8 | 90e33935a929ae8d5152e520e03f0ac6 | % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Epipolar Geometry Toolbox v1.3 (EGT) %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% f_projectmir(a,b,quadric,Xmir)
%
% Usage:
% -----
% Projection on the mirror surface of a point Xmir in the mirror frame.
%
% Sintax:
% ------
% a,b = mirror param... |
github | Space-at-VT/Quad_CV-SLAM-master | f_panE.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/EGT_v1p3_includedButBarelyUsed/f_panE.m | 992 | utf_8 | 9fd5ac8d52eab7b2aba081e233e9b15f | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Epipolar Geometry Toolbox (EGT) %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% f_panE(H1,H2) returns the essential matrix E=R*S for panoramic camera with
% hyperbolic mirror, where R is the rotation matrix between two camera and
% S is the skew-symmetric matrix of trans... |
github | Space-at-VT/Quad_CV-SLAM-master | imwritesc.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/imwritesc.m | 1,398 | utf_8 | 68650e74e308c991970251d3bed6b85f | % IMWRITESC - Writes an image to file, rescaling if necessary.
%
% Usage: imwritesc(im,name)
%
% Floating point image values are rescaled to the range 0-1 so that no
% overflow occurs when writing 8-bit intensity values. The image format to
% use is determined by MATLAB from the file ending.
% If the image ... |
github | Space-at-VT/Quad_CV-SLAM-master | circlesineramp.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/circlesineramp.m | 5,201 | utf_8 | 046282d0f9a58b0c7a94b39faab80bc4 | % CIRCLESINERAMP Generates test image for evaluating cyclic colour maps
%
% Usage: [im, alpha] = circlesineramp(sze, amp, cycles, p, hole);
% [im, alpha] = circlesineramp;
%
% Arguments: sze - Size of test image. Defaults to 512x512.
% amp - Amplitude of sine wave. Defaults to pi/10
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | showsurf.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/showsurf.m | 3,887 | utf_8 | 1f50f8abbac642a925b579a58b8e724d | % SHOWSURF - shows parametric surface in a convenient way
%
% This function wraps up the commands I usually use to display a surface.
%
% The surface is displayed using SURFL with interpolated shading, in my
% favourite colormap of 'copper', with rotate3d on, and axis vis3d set.
%
% Usage can be any of the following
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | randmap.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/randmap.m | 731 | utf_8 | 620b6965c1e7db6de65c332753df18f4 | % RANDMAP Generates a colourmap of random colours
%
% Useful for displaying a labeled segmented image
%
% map = randmap(N)
%
% Argument: N - Number of elements in the colourmap. Default = 1024.
% This ensures images that have been segmented up to 1024
% regions will (well, are more l... |
github | Space-at-VT/Quad_CV-SLAM-master | viewlabspace2.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/viewlabspace2.m | 5,040 | utf_8 | c26a4bba6036fee81e85d2dddfa11c9c | % VIEWLABSPACE2 Visualisation of L*a*b* space
%
% Usage: viewlabspace2(dtheta)
%
% Argument: dtheta - Optional specification of increment in angle of plane
% through L*a*b* space. Defaults to pi/30
%
% Function allows interactive viewing of a sequence of images corresponding to
% different ve... |
github | Space-at-VT/Quad_CV-SLAM-master | chirplin.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/chirplin.m | 1,589 | utf_8 | ec0a1da79fe966d9276fbd30096a364d | % CHIRPLIN Generates linear chirp test image
%
% The test image consists of a linear chirp signal in the horizontal direction
% with the amplitude of the chirp being modulated from 1 at the top of the image
% to 0 at the bottom.
%
% Usage: im = chirplin(sze, f0, k, p)
%
% Arguments: sze - [rows cols] specifying s... |
github | Space-at-VT/Quad_CV-SLAM-master | supertorus.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/supertorus.m | 2,444 | utf_8 | 91c1e7e27c0219d233582240dcb7c17e | % SUPERTORUS - generates a 'supertorus' surface
%
% Usage:
% [x,y,z] = supertorus(xscale, yscale, zscale, rad, e1, e2, n)
%
% Arguments:
% xscale, yscale, zscale - Scaling in the x, y and z directions.
% e1, e2 - Exponents of the x and y coords.
% rad - Mean radius of torus.... |
github | Space-at-VT/Quad_CV-SLAM-master | cmyk2rgb.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/cmyk2rgb.m | 890 | utf_8 | 6d12e2501c39dec555e670c4190cf6e7 | % CMYK2RGB Basic conversion of CMYK colour table to RGB
%
% Usage: map = cmyk2rgb(cmyk)
%
% Argument: cmyk - N x 4 table of cmyk values (assumed 0 - Returns)
% 1: map - N x 3 table of RGB values
%
% Note that you can use MATLAB's functions MAKECFORM and APPLYCFORM to
% perform the conversion. However I find tha... |
github | Space-at-VT/Quad_CV-SLAM-master | graymap.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/graymap.m | 865 | utf_8 | b4f07ef527be1d1937f6ade25c5c67ac | % GRAYMAP Generates a gray colourmap over a specified range
%
% Usage: map = graymap(gmin, gmax, N)
%
% Arguments: gmin, gmax - Minimum and maximum gray values desired in
% colourmap. Defaults are 0 and 1
% N - Number of elements in the colourmap. Default = 256.
%
% See al... |
github | Space-at-VT/Quad_CV-SLAM-master | findimages.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/findimages.m | 801 | utf_8 | 20b68f3c818e0bc36b576390784e740c | % FINDIMAGES - invokes image dialog box for multiple image loading
%
% Usage: [im, filename] = findimages
%
% Returns:
% im - Cell array of images
% filename - Cell arrauy of filenames of images
%
% See Also: FINDIMAGE
% Peter Kovesi
% Centre for Exploration Targeting
% The University of Western A... |
github | Space-at-VT/Quad_CV-SLAM-master | showlogfft.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/showlogfft.m | 1,718 | utf_8 | 8bf452f34bee6609519ee61053657aa2 | % SHOWLOGFFT - Displays log amplitude spectrum of an fft.
%
% Usage: showlogfft(ft, figNo)
%
% Arguments: ft - Fourier transform to be displayed
% figNo - Optional figure number to display image in.
%
% The fft is quadrant shifted to place zero frequency at the centre and the
% log of the amplitude dis... |
github | Space-at-VT/Quad_CV-SLAM-master | polyfit2d.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/polyfit2d.m | 2,438 | utf_8 | a05847f0b684d1549e8bf19c81e011eb | % POLYFIT2D Fits 2D polynomial surface to data
%
% Usage: c = polyfit2d(x, y, z, degree)
%
% Arguments: x, y, z - coordinates of data points
% degree - degree of polynomial surface
%
% Returns: c - The coefficients of polynomial surface.
% There will ... |
github | Space-at-VT/Quad_CV-SLAM-master | rgb2lab.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/rgb2lab.m | 1,185 | utf_8 | 6e8fc4059a79087be85fe2c3f03ea3f4 | % RGB2LAB - RGB to L*a*b* colour space
%
% Usage: Lab = rgb2lab(im, wp)
%
% Arguments: im - RGB image or Nx3 colourmap for conversion
% wp - Optional string specifying the adapted white point.
% This defaults to 'D65' which corresponds to a typical monitor.
%
% Returns: Lab - The convert... |
github | Space-at-VT/Quad_CV-SLAM-master | pathlist.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/pathlist.m | 1,202 | utf_8 | 2551671f5f3c9a17293d82ed6aee8167 | % PATHLIST Produces a cell array of directories along a directory path
%
% Usage: plist = pathlist(fullpath)
%
% Example: If fullpath = '/Users/pk/Matlab/Spatial'
% plist =
% '/' '/Users/' '/Users/pk/' '/Users/pk/Matlab/' '/Users/pk/Matlab/Spatial'
%
% plist{end} is always fullpath
% plist{end-1} is ... |
github | Space-at-VT/Quad_CV-SLAM-master | superquad.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/superquad.m | 2,798 | utf_8 | 2dfc95eb41c2bf03bb78f5f0bb8b7c07 | % SUPERQUAD - generates a superquadratic surface
%
% Usage: [x,y,z] = superquad(xscale, yscale, zscale, e1, e2, n)
%
% Arguments:
% xscale, yscale, zscale - Scaling in the x, y and z directions.
% e1, e2 - Exponents of the x and y coords.
% n - Number of subdivisions of logitude an... |
github | Space-at-VT/Quad_CV-SLAM-master | hsvmap.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/hsvmap.m | 1,842 | utf_8 | ec6d79772fe1bba81deabf0312847a24 | % HSVMAP Generates an HSV colourmap over a specified range of hues
%
% The function generates colours over a specified range of hues from the HSV
% colourtmap
%
% map = hsvmap(hmin, hmax, N)
%
% Arguments: hmin - Minimum hue value 0 - 1. Default = 0
% hmax - Maximum hue value 0 - 2. Default = 1
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | rgb2nrgb.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/rgb2nrgb.m | 1,125 | utf_8 | 743c25dcc6996a893f06243bfc96fa8e | % RGB2NRGB - RGB to normalised RGB
%
% Usage: nrgb = rgb2nrgb(im, offset)
%
% Arguments: im - Colour image to be normalised
% offset - Optional value added to (R+G+B) to discount low
% intensity colour values. Defaults to 1
%
% r = R / (R + G + B) etc
% Copyright (c) 2009 Peter ... |
github | Space-at-VT/Quad_CV-SLAM-master | bbspline.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/bbspline.m | 2,725 | utf_8 | a734eef68d0fdde4040b265425909148 | % BBSPLINE - Basic B-spline
%
% Usage: S = bbspline(P, k, N)
%
% Arguments: P - [dim x Npts] array of control points
% k - order of spline (>= 2).
% k = 2: Linear
% k = 3: Quadratic, etc
% N - Optional number of points to evaluate along
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | weightedhistc.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/weightedhistc.m | 1,498 | utf_8 | b474157c0a9fa58fc7eb358c7c7ccc37 | % WEIGHTEDHISTC Weighted histogram count
%
% This function provides a basic equivalent to MATLAB's HISTC function for
% weighted data.
%
% Usage: h = weightedhistc(vals, weights, edges)
%
% Arguments:
% vals - vector of values.
% weights - vector of weights associated with each element in vals. vals
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | bilateralmap.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/bilateralmap.m | 2,549 | utf_8 | c9a16e3cdc46d415b9bb829195bb212e | % BILATERALMAP Generates a bilateral colourmap
%
% This function generate a colourmap where the first half has one hue and the
% second half has another hue. Saturation varies linearly from 0 in the middle
% to 1 at ech end. This gives a colourmap which varies from white at the middle
% to an increasing saturation of ... |
github | Space-at-VT/Quad_CV-SLAM-master | clouds.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/clouds.m | 2,219 | utf_8 | 55889e6ed17ca0979b08f7fb102f76e6 | % CLOUDS
%
% Function to create a movie of noise images having 1/f amplitude spectum properties
%
% Usage: clouds(size, factor, meandev, stddev, lowvel, velfactor, nframes)
%
% size - size of image to produce
% factor - controls spectrum = 1/(f^factor)
% meandev - mean change in phaseangle per fr... |
github | Space-at-VT/Quad_CV-SLAM-master | matprint.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/matprint.m | 1,453 | utf_8 | bb847e0506584e9e043482b7a69bcbb4 | % MATPRINT - prints a matrix with specified format string
%
% Usage: matprint(a, fmt, fid)
%
% a - Matrix to be printed.
% fmt - C style format string to use for each value.
% fid - Optional file id.
%
% Eg. matprint(a,'%3.1f') will print each entry to 1 decimal place
... |
github | Space-at-VT/Quad_CV-SLAM-master | noiseonf.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/noiseonf.m | 2,320 | utf_8 | fad84fc70d1aff602b459ef9097309a4 | % NOISEONF - Creates 1/f spectrum noise images.
%
% Function to create noise images having 1/f amplitude spectum properties.
% When displayed as a surface these images also generate great landscape
% terrain.
%
% Usage: im = noiseonf(size, factor)
%
% size - A 1 or 2-vector specifying size of image to produce... |
github | Space-at-VT/Quad_CV-SLAM-master | fillnan.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/fillnan.m | 1,673 | utf_8 | dc2ec069c5ace1262d2f396fd2fa6f8e | % FILLNAN - fills NaN values in an image with closest non Nan value
%
% NaN values in an image are replaced with the value in the closest pixel
% that is not a NaN.
%
% Usage: [newim, mask] = fillnan(im);
%
% Argument: im - Image to be 'filled'
% Returns: newim - Filled image
% mask - Binary i... |
github | Space-at-VT/Quad_CV-SLAM-master | testdbscan.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/testdbscan.m | 2,247 | utf_8 | aa690910417795cfda803d2e25a271c2 | % TESTDBSCAN Program to test/demonstrate the DBSCAN clustering algorithm
%
% Simple usage: testdbscan;
%
% Full usage: [C, ptsC] = testdbscan(E, minPts)
%
%
% Arguments:
% E - Distance threshold for clustering. Defaults to 0.3
% minPts - Minimum number of points required to form a... |
github | Space-at-VT/Quad_CV-SLAM-master | polartrans.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/polartrans.m | 3,367 | utf_8 | 9aed63869d7ac444d0e2198fcd91e306 | % POLARTRANS - Transforms image to polar coordinates
%
% Usage: pim = polartrans(im, nrad, ntheta, cx, cy, linlog, shape)
%
% Arguments:
% im - image to be transformed.
% nrad - number of radius values.
% ntheta - number of theta values.
% cx, cy - optional specification... |
github | Space-at-VT/Quad_CV-SLAM-master | labmap.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/labmap.m | 8,483 | utf_8 | e7cda593bf59d9e52b88e7ef4e13bb57 | % LABMAP - Generates a colourmap based on L*a*b* space
%
% This function can generate a wide range of colourmaps but it can be a bit
% difficult to drive...
%
% The idea: Create a spiral path within in L*a*b* space to use as a
% colourmap. L*a*b* space is designed to be perceptually uniform so, in
% principle, it shoul... |
github | Space-at-VT/Quad_CV-SLAM-master | basename.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/basename.m | 549 | utf_8 | 619048021d1d621f2344798ad8fec477 | % BASENAME Trims off the .ending of a filename
%
% Usage: bname = basename(name)
%
% Argument: name - Name of a file with a .ending
% Returns: bname - Name with the suffix trimmed
% Peter Kovesi
% Centre for Exploration Targeting
% The University of Western Australia
% peter.kovesi at uwa edu au
%
% August 2010
... |
github | Space-at-VT/Quad_CV-SLAM-master | showfft.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/showfft.m | 1,588 | utf_8 | a10b28024b7bb20f06be15f948efa5b2 | % SHOWFFT - Displays amplitude spectrum of an fft.
%
% Usage: showfft(ft, figNo)
%
% Arguments: ft - Fourier transform to be displayed
% figNo - Optional figure number to display image in.
%
% The fft is quadrant shifted to place zero frequency at the centre.
%
% If figNo is omitted a new figure window... |
github | Space-at-VT/Quad_CV-SLAM-master | deres.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/deres.m | 525 | utf_8 | 013e5ac5596abe1811cec7954e1abca0 | % DERES - Deresolves an image.
%
% Usage: im2 = deres(im, s)
%
% Arguments: im - image to be deresolved
% s = deresolution factor
%
% Returns the deresolved image
% PK October 2000
function im2 = deres(im, s)
if ndims(im) == 3 % Assume colour image
im2 = zeros(size(im));
im2(:,:,1) = blkproc... |
github | Space-at-VT/Quad_CV-SLAM-master | showangularim.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/showangularim.m | 5,543 | utf_8 | 75afab7bd1c9c526602370d0b685a282 | % SHOWANGULARIM - Displays image of angular data
%
% For angular data to be rendered correctly it is important that the data values
% are respected so that data values are correctly assigned to specific entries
% in a cyclic colour map. The assignment of values to colours also depends on
% whether the data is cyclic o... |
github | Space-at-VT/Quad_CV-SLAM-master | sineramp.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/sineramp.m | 6,449 | utf_8 | 3822c5178fbc41718ed71ad20daf56cd | % SINERAMP - Generates sine on a ramp colour map test image
%
% The test image consists of a sine wave superimposed on a ramp function The
% amplitude of the sine wave is modulated from its full value at the top of the
% image to 0 at the bottom.
%
% The image is useful for evaluating the effectiveness of different c... |
github | Space-at-VT/Quad_CV-SLAM-master | pbspline.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/pbspline.m | 3,360 | utf_8 | 0f159d999c118e226bfb35f4cd46b581 | % PBSPLINE - Basic Periodic B-spline
%
% Usage: S = pbspline(P, k, N)
%
% Arguments: P - [dim x Npts] array of control points
% k - order of spline (>= 2).
% k = 2: Linear
% k = 3: Quadratic, etc
% N - Optional number of points to evaluate along
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | cloud9.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/cloud9.m | 3,590 | utf_8 | 3ce5e64cce1547247f3b914e7a6fc5c8 | % CLOUD9 - Cloud movie of 1/f noise.
%
% Function to create a movie of noise images having 1/f amplitude spectum
% properties.
%
% Usage: CloudMovie = cloud9(size, factor, nturns, velfactor, nframes)
%
% size - [rows cols] size of image to produce
% factor - controls spectrum = 1/(f^factor)
% ntu... |
github | Space-at-VT/Quad_CV-SLAM-master | circle.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/circle.m | 1,226 | utf_8 | 3ce939f9b481cd974576f40a598a69b6 | % CIRCLE - Draws a circle.
%
% Usage: circle(c, r, n, col)
%
% Arguments: c - A 2-vector [x y] specifying the centre.
% r - The radius.
% n - Optional number of sides in the polygonal approximation.
% (defualt is 16 sides)
% col - optional colour, defaults to blue... |
github | Space-at-VT/Quad_CV-SLAM-master | showdivim.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/showdivim.m | 2,519 | utf_8 | 9205933da4b7d7051f7944c5724dc03b | % SHOWDIVIM - Displays image with diverging colour map
%
% For data to be displayed correctly with a diverging colour map it is
% important that the data values are respected so that the reference value in
% the data is correctly associated with the centre entry of a diverging
% colour map.
%
% In contrast, default dis... |
github | Space-at-VT/Quad_CV-SLAM-master | applycolourmap.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/applycolourmap.m | 2,384 | utf_8 | b0984e5c82c0247913a60a5469b86f5b | % APPLYCOLOURMAP Applies colourmap to a single channel image to obtain an RGB result
%
% Usage: rgbim = applycolourmap(im, map, range)
%
% Arguments: im - Single channel image to apply colourmap to.
% map - RGB colourmap of size ncolours x 3. RGB values are
% floating point values in the... |
github | Space-at-VT/Quad_CV-SLAM-master | derespolar.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/derespolar.m | 2,543 | utf_8 | 16675236c863fa3ce1c748e6f5264835 | % DERESPOLAR - Desresolves image in polar coordinates.
%
% Performs a deresolution operation on an image using Polar Coordinates
%
% Usage: deres = derespolar(im, nr, na, xc, yc)
% where: nr = resolution in the radial direction
% na = resolution in the angular direction
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | map2geosofttbl.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/map2geosofttbl.m | 1,642 | utf_8 | 8886e0a749224765428fd3f92e8ac2c4 | % MAP2GEOSOFTTBL Converts MATLAB colourmap to Geosoft .tbl file
%
% Usage: map2geosofttbl(map, filename, cmyk)
%
% Arguments: map - N x 3 rgb colourmap
% filename - Output filename
% cmyk - Optional flag 0/1 indicating whether CMYK values should
% be written. Defaults to 0 whe... |
github | Space-at-VT/Quad_CV-SLAM-master | digipts.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/digipts.m | 876 | utf_8 | 95a93e018771e295649e1cc41496df4e | % DIGIPTS - digitise points in an image
%
% Function to digitise points in an image. Points are digitised by clicking
% with the left mouse button. Clicking any other button terminates the
% function. Each location digitised is marked with a red '+'.
%
% Usage: [u,v] = digipts
%
% where u and v are nx1 arrays of x... |
github | Space-at-VT/Quad_CV-SLAM-master | polyval2d.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/polyval2d.m | 1,403 | utf_8 | 699c1158bb9d569730ba4b087241556c | % POLYVAL2D Evaluates 2D polynomial surface generated by POLYFIT2D
%
% Usage: z = polyval2d(x, y, c)
%
% Arguments: x, y - Locations where polynomial is to be evaluated
% c - Coefficients of polynomial as generated by polyfit2d
%
% Returns z - The surface values evalated ... |
github | Space-at-VT/Quad_CV-SLAM-master | implace.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/implace.m | 3,014 | utf_8 | e28ca1e9784b3b7297c12b70c7278015 | % IMPLACE - place image at specified location within larger image
%
% Usage: newim = implace(im1, im2, roff, coff)
%
% Arguments:
%
% im1 - Image that im2 is to be placed in.
% im2 - Image to be placed.
% roff - Row and column offset of placement of im2 relative
% coff to im1, (0,0) aligns ... |
github | Space-at-VT/Quad_CV-SLAM-master | namenpath.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/namenpath.m | 921 | utf_8 | 2f308fc4b71683904c79d16a0a402c8e | % NAMENPATH Returns filename and its path from a full filename
%
% Usage: [name, pth] = namenpath(fullfilename)
%
% Argument: fullfilename - filename specifier which may include directory
% path specification
%
% Returns: name - The filename without directory path specification
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | rgb2cmyk.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/rgb2cmyk.m | 1,000 | utf_8 | 21df7ae00f80e81c2fb8577985fd5f65 | % RGB2CMYK - Basic conversion of RGB colour table to cmyk
%
% Usage: cmyk = rgb2cmyk(map)
%
% Argument: map - N x 3 table of RGB values (assumed 0 - 1)
% Returns: cmyk - N x 4 table of cmyk values
%
% Note that you can use MATLAB's functions MAKECFORM and APPLYCFORM to
% perform the conversion. However I find... |
github | Space-at-VT/Quad_CV-SLAM-master | removenan.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/removenan.m | 1,057 | utf_8 | 69d193c99b44b881024b4b92777413b4 | % REMOVENAN - removes NaNs from an array
%
% Usage: m = removenan(a, defaultval)
%
% a - The matrix containing NaN values
% defaultval - The default value to replace NaNs
% if omitted this defaults to 0
%
% See Also: FILLNAN
% Copyright (c) 2004 Peter Kovesi
% School of Computer Science & ... |
github | Space-at-VT/Quad_CV-SLAM-master | togglefigs.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/togglefigs.m | 3,177 | utf_8 | fa815dc34f1c5f91ce9a79d45915bca9 | % TOGGLEFIGS Convenient switching between figures to aid comparison
%
% Usage 1: togglefigs
%
% Use arrow keys to index through figures that are currently being displayed, or
% enter single digit figure numbers to select figures directly.
% Hit ''X'' to exit.
%
% Usage 2: togglefigs(figs)
% Argument: figs - figur... |
github | Space-at-VT/Quad_CV-SLAM-master | geosofttbl2map.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/geosofttbl2map.m | 1,313 | utf_8 | 97f965db62a9a1ea1d2d5bccb32bd608 | % GEOSOFTTBL2MAP Converts Geosoft .tbl file to MATLAB colourmap
%
% Usage: geosofttbl2map(filename, map)
%
% Arguments: filename - Input filename of tbl file
% map - N x 3 rgb colourmap
%
%
% This function reads a Geosoft .tbl file and converts the KCMY values to a RGB
% colourmap.
%
% See als... |
github | Space-at-VT/Quad_CV-SLAM-master | matscii.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/matscii.m | 3,441 | utf_8 | 58129d6167a995d9b76c9cce83edd57a | % MATSCII - Function to generate ASCII images
%
% Usage: picci = matscii(im, width, gamma, filename)
%
% im - 2D array of image brightness colours.
% Image can be grey scale or colour.
% width - desired width of resulting character image.
% gamma - optional gamma value to enhance contrast,
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | chirpexp.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/chirpexp.m | 1,705 | utf_8 | 10fa570e744728ca340a78b6f94c7c64 | % CHIRPEXP Generates exponential chirp test image
%
% The test image consists of a linear chirp signal in the horizontal direction
% with the amplitude of the chirp being modulated from 1 at the top of the image
% to 0 at the bottom.
%
% Usage: im = chirpexp(sze, f0, k, p)
%
% Arguments: sze - [rows cols] specify... |
github | Space-at-VT/Quad_CV-SLAM-master | geoseries.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/geoseries.m | 1,666 | utf_8 | 8235bdedc3251f7e5b688f27de734492 | % GEOSERIES Generate geometric series
%
% Usage 1: s = geoseries(s1, mult, n)
%
% Arguments: s1 - The starting value in the series.
% mult - The scaling factor between succesive values.
% n - The desired number of elements in the series.
%
% Usage 2: s = geoseries([s1 sn], n)
%
% Arg... |
github | Space-at-VT/Quad_CV-SLAM-master | strstartswith.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/strstartswith.m | 704 | utf_8 | 7d481f98266b52e06c23ec8c2fc6265d | % STRSTARTSWITH - tests if a string starts with a specified substring
%
% Usage: b = strstartswith(str, substr)
%
% Arguments:
% str - string to be tested
% substr - starting string that we are hoping to find
%
% Returns: true/false. Note that case of strings is ignored
%
% See also: STRENDSWITH
% P... |
github | Space-at-VT/Quad_CV-SLAM-master | cubicroots.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/cubicroots.m | 2,783 | utf_8 | 88bc63423a4c8bcc0d94d2848fa6be1f | % CUBICROOTS - finds real valued roots of cubic
%
% Usage: root = cubicroots(a,b,c,d)
%
% Arguments:
% a, b, c, d - coeffecients of cubic defined as
% ax^3 + bx^2 + cx + d = 0
% Returns:
% root - an array of 1 or 3 real valued roots
%
% Reference: mathworld.wolfram.com/CubicFormula.html
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | findimage.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/findimage.m | 1,030 | utf_8 | d22c0bf85ea1bee389ca4ca6abdc58f4 | % FINDIMAGE - invokes image dialog box for interactive image loading
%
% Usage: [im, filename] = findimage(disp, c)
%
% Arguments:
% disp - optional flag 1/0 that results in image being displayed
% c - optional flag 1/0 that results in imcrop being invoked
% Returns:
% im - image
%... |
github | Space-at-VT/Quad_CV-SLAM-master | strendswith.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/strendswith.m | 1,172 | utf_8 | a53036600dfe2e1dfcf91ecf2909348b | % STRENDSWITH - tests if a string ends with a specified substring
%
% Usage: b = strendswith(str, substr)
%
% Arguments:
% str - string to be tested
% substr - ending of string that we are hoping to find.
% substr may be a cell array of string endings, in this case
% the fu... |
github | Space-at-VT/Quad_CV-SLAM-master | viewlabspace.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/viewlabspace.m | 7,197 | utf_8 | dc94ef25aa766f949aa5f92fb0c8a1f6 | % VIEWLABSPACE Visualisation of L*a*b* space
%
% Usage: viewlabspace(dL)
%
% Argument: dL - Optional increment in lightness with each slice of L*a*b*
% space. Defaults to 5
%
% Function allows interactive viewing of a sequence of images corresponding to
% different slices of lightness in L*a*b* s... |
github | Space-at-VT/Quad_CV-SLAM-master | circularstruct.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Misc/circularstruct.m | 648 | utf_8 | aec494462bd52689db93faf1d6a9ea60 | % CIRCULARSTRUCT
%
% Function to construct a circular structuring element
% for morphological operations.
%
% function strel = circularstruct(radius)
%
% Note radius can be a floating point value though the resulting
% circle will be a discrete approximation
%
% Peter Kovesi March 2000
function strel = circularstruc... |
github | Space-at-VT/Quad_CV-SLAM-master | supertorus.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapes/supertorus.m | 2,444 | utf_8 | 91c1e7e27c0219d233582240dcb7c17e | % SUPERTORUS - generates a 'supertorus' surface
%
% Usage:
% [x,y,z] = supertorus(xscale, yscale, zscale, rad, e1, e2, n)
%
% Arguments:
% xscale, yscale, zscale - Scaling in the x, y and z directions.
% e1, e2 - Exponents of the x and y coords.
% rad - Mean radius of torus.... |
github | Space-at-VT/Quad_CV-SLAM-master | superquad.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapes/superquad.m | 2,798 | utf_8 | 2dfc95eb41c2bf03bb78f5f0bb8b7c07 | % SUPERQUAD - generates a superquadratic surface
%
% Usage: [x,y,z] = superquad(xscale, yscale, zscale, e1, e2, n)
%
% Arguments:
% xscale, yscale, zscale - Scaling in the x, y and z directions.
% e1, e2 - Exponents of the x and y coords.
% n - Number of subdivisions of logitude an... |
github | Space-at-VT/Quad_CV-SLAM-master | gplot3d.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapes/gplot3d.m | 3,051 | utf_8 | 023a1e53d0acecbb7ff057579a8854eb | function [Xout,Yout,Zout]=gplot3d(A,xyz,lc)
%GPLOT3D Plot graph, as in "graph theory".
% This is a modification of MATLAB's GPLOT function for vertices in 3D.
% GPLOT3D(A,xyz) plots the graph specified by A and xyz. A graph, G, is
% a set of nodes numbered from 1 to n, and a set of connections, or
% edges, betw... |
github | Space-at-VT/Quad_CV-SLAM-master | icosahedron.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapes/icosahedron.m | 3,196 | utf_8 | deced73cec8d737a7b03e362c983c1e5 | % ICOSAHEDRON Generates vertices and graph of icosahedron
%
% Usage: [xyz, A, F] = icosahedron(radius)
%
% Argument: radius - Optional radius of icosahedron. Defaults to 1.
% Returns: xyz - 12x3 matrix of vertex coordinates.
% A - Adjacency matrix defining connectivity of vertices.
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | geodome.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapes/geodome.m | 7,596 | utf_8 | d70bca00571f6191c84ac6221a8de9b3 | % GEODOME Generates geodesic sphere
%
% Usage: [xyz, A, F] = geodome(frequency, radius)
%
% The sphere is generated from subdivisions of the faces of an icosahedron.
%
% Arguments:
% frequency - The number of subdivisions of each edge of an
% icosahedron. A frequency of 1 will give you a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.