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 | Space-at-VT/Quad_CV-SLAM-master | drawfaces.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapes/drawfaces.m | 2,247 | utf_8 | 5c8a03943a5894a51836931271cbc606 | % DRAWFACES Draws triangular faces defined by vertices and face vertex lists
%
% Usage: drawfaces(xyz, F, col)
%
% Arguments:
% xyz - A nx3 matrix defining the vertex list, each row is the
% x,y,z coordinates of a vertex.
% F - A mx3 matrix defining the face list. Each r... |
github | Space-at-VT/Quad_CV-SLAM-master | matchbymonogenicphase.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Match/matchbymonogenicphase.m | 9,328 | utf_8 | e63225faedcf391fb6411d27d71a208e | % MATCHBYMONOGENICPHASE - match image feature points using monogenic phase data
%
% Function generates putative matches between previously detected
% feature points in two images by looking for points that have minimal
% differences in monogenic phase data within windows surrounding each point.
% Only points that corre... |
github | Space-at-VT/Quad_CV-SLAM-master | matchbycorrelation.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Match/matchbycorrelation.m | 7,076 | utf_8 | 12d7e8d4ad6e140c94444ddc3682d518 | % MATCHBYCORRELATION - match image feature points by correlation
%
% Function generates putative matches between previously detected
% feature points in two images by looking for points that are maximally
% correlated with each other within windows surrounding each point.
% Only points that correlate most strongly with... |
github | Space-at-VT/Quad_CV-SLAM-master | phasesym.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/phasesym.m | 22,344 | utf_8 | fe0d5de58f828487776d00bfabd5f354 | % PHASESYM - Function for computing phase symmetry on an image.
%
% This function calculates the phase symmetry of points in an image.
% This is a contrast invariant measure of symmetry. This function can be
% used as a line and blob detector. The greyscale 'polarity' of the lines
% that you want to find can be speci... |
github | Space-at-VT/Quad_CV-SLAM-master | phasesymmono.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/phasesymmono.m | 19,431 | utf_8 | 30a844da3cb8a9df67b71b7235e99d8b | % PHASESYMMONO - phase symmetry of an image using monogenic filters
%
% This function calculates the phase symmetry of points in an image.
% This is a contrast invariant measure of symmetry. This function can be
% used as a line and blob detector. The greyscale 'polarity' of the lines
% that you want to find can be s... |
github | Space-at-VT/Quad_CV-SLAM-master | phasecong2.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/phasecong2.m | 22,233 | utf_8 | 20733d3d7d3ecab46668eae86ca3ee60 | % PHASECONG2 - Computes edge and corner phase congruency in an image.
%
% This function calculates the PC_2 measure of phase congruency.
% This function supersedes PHASECONG
%
% There are potentially many arguments, here is the full usage:
%
% [M m or ft pc EO] = phasecong2(im, nscale, norient, minWaveLength, ...
%... |
github | Space-at-VT/Quad_CV-SLAM-master | phasecong3.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/phasecong3.m | 25,917 | utf_8 | b773c16fa3cfd68c10f8d1156ed23f36 | % PHASECONG3 - Computes edge and corner phase congruency in an image.
%
% This function calculates the PC_2 measure of phase congruency.
% This function supersedes PHASECONG2 and PHASECONG being faster and requires
% less memory
%
% There are potentially many arguments, here is the full usage:
%
% [M m or ft pc EO,... |
github | Space-at-VT/Quad_CV-SLAM-master | noisecomp.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/noisecomp.m | 7,750 | utf_8 | 9676f0608db5db81178e20d70f317783 | % NOISECOMP - Function for denoising an image
%
% function cleanimage = noisecomp(image, k, nscale, mult, norient, softness)
%
% Parameters:
% k - No of standard deviations of noise to reject 2-3
% nscale - No of filter scales to use (5-7) - the more scales used
% the mor... |
github | Space-at-VT/Quad_CV-SLAM-master | loggabor.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/loggabor.m | 1,707 | utf_8 | c15d2b1f67996d38d0003a5309d2f76f | % LOGGABOR
%
% Plots 1D log-Gabor functions
%
% Author: Peter Kovesi
% School of Computer Science & Software Engineering
% The University of Western Australia
% pk @ csse uwa edu au http://www.csse.uwa.edu.au/~pk
function loggabor(nscale, wmin, mult, konwo)
Npts = 2048;
Nwaves = 1;
wma... |
github | Space-at-VT/Quad_CV-SLAM-master | phasecongmono.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/phasecongmono.m | 22,519 | utf_8 | 5d0d160cd66ce1b8ed2bc3db2d332a8f | % PHASECONGMONO - phase congruency of an image using monogenic filters
%
% This code is considerably faster than PHASECONG3 but you may prefer the
% output from PHASECONG3's oriented filters.
%
% There are potentially many arguments, here is the full usage:
%
% [PC or ft T] = ...
% phasecongmono(im, n... |
github | Space-at-VT/Quad_CV-SLAM-master | highpassmonogenic.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/highpassmonogenic.m | 4,645 | utf_8 | 6f1ebd1682ed7dda4670c52c557cb788 | % HIGHPASSMONOGENIC Compute phase and amplitude on highpass images via monogenic filters
%
% Usage: [phase, orient, E, f, h1f, h2f] = highpassmonogenic(im, maxwavelength, n)
%
% Arguments: im - Image to be processed.
% maxwavelength - Wavelength(s) in pixels of the cut-in frequency(ies)
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | step2line.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/step2line.m | 2,815 | utf_8 | 3de96275d1352c256efd4160cfc1ec2d | % STEP2LINE - Generate test image interpolating a step to a line.
%
% Function to generate a test image where the feature type changes
% from a step edge to a line feature from top to bottom
%
% Usage:
% im = step2line(nscales, ampexponent, sze)
%
% nscales - No of fourier components used to construct... |
github | Space-at-VT/Quad_CV-SLAM-master | odot.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/odot.m | 3,720 | utf_8 | 336255093ed76b067368d764f3d823d5 | % ODOT - Demonstrates odot and oslash operators on 1D signal
%
% Usage: [smooth, energy] = odot(f, K)
%
% Arguments: f - a 1D signal
% K - optional 'Weiner' type factor to condition the results
% where division by 0 occurs in the 'oslash' operation.
% K defaults to ... |
github | Space-at-VT/Quad_CV-SLAM-master | dispfeat.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/dispfeat.m | 6,082 | utf_8 | 1baad565a14949d330f8fe298e5a0322 | % DISPFEAT - Displays feature types as detected by PHASECONG.
%
% This function provides a visualisation of the feature types as detected
% by PHASECONG.
%
% Usage: im = dispfeat(ft, edgeim, 'l')
%
% Arguments: ft - An image providing the local weighted mean
% phase angle at every point in t... |
github | Space-at-VT/Quad_CV-SLAM-master | gaborconvolve.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/gaborconvolve.m | 10,723 | utf_8 | e6f93594f5594d23a349d49069729926 | % GABORCONVOLVE - function for convolving image with log-Gabor filters
%
% Usage: [EO, BP] = gaborconvolve(im, nscale, norient, minWaveLength, mult, ...
% sigmaOnf, dThetaOnSigma, Lnorm, feedback)
%
% Arguments:
% The convolutions are done via the FFT. Many of the parameters relate
% to the specification of th... |
github | Space-at-VT/Quad_CV-SLAM-master | monofilt.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/monofilt.m | 6,435 | utf_8 | 07ef46eb32d19a4d79e9ec304c6cb2d3 | % MONOFILT - Apply monogenic filters to an image to obtain 2D analytic signal
%
% Implementation of Felsberg's monogenic filters
%
% Usage: [f, h1f, h2f, A, theta, psi] = ...
% monofilt(im, nscale, minWaveLength, mult, sigmaOnf, orientWrap)
% 3 4 2 0.65 ... |
github | Space-at-VT/Quad_CV-SLAM-master | ppdrc.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/ppdrc.m | 6,128 | utf_8 | 618b559c40273d70cd8fe32a1bdbc061 | % PPDRC Phase Preserving Dynamic Range Compression
%
% Generates a series of dynamic range compressed images at different scales.
% This function is designed to reveal subtle features within high dynamic range
% images such as aeromagnetic and other potential field grids. Often this kind
% of data is presented using hi... |
github | Space-at-VT/Quad_CV-SLAM-master | plotgaborfilters.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/plotgaborfilters.m | 10,822 | utf_8 | 2734ffd48e7ead17030ee0fd2f31fce7 | % PLOTGABORFILTERS - Plots log-Gabor filters
%
% The purpose of this code is to see what effect the various parameter
% settings have on the formation of a log-Gabor filter bank.
%
% Usage: [Ffilter, Efilter, Ofilter] = plotgaborfilters(sze, nscale, norient,...
% minWaveLength, mu... |
github | Space-at-VT/Quad_CV-SLAM-master | spatialgabor.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/spatialgabor.m | 2,644 | utf_8 | 0d56aa13789e5563961e97238d519790 | % SPATIALGABOR - applies single oriented gabor filter to an image
%
% Usage:
% [Eim, Oim, Aim] = spatialgabor(im, wavelength, angle, kx, ky, showfilter)
%
% Arguments:
% im - Image to be processed.
% wavelength - Wavelength in pixels of Gabor filter to construct
% angle - Angle of... |
github | Space-at-VT/Quad_CV-SLAM-master | phasecong.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/phasecong.m | 16,644 | utf_8 | 693c5ec683ef5ce8c816379185261bf7 | % PHASECONG - Computes phase congruency on an image.
%
% Usage: [pc or ft] = phasecong(im)
%
% This function calculates the PC_2 measure of phase congruency.
% For maximum speed the input image should be square and have a
% size that is a power of 2, but the code will operate on images
% of arbitrary size.
%
%
% R... |
github | Space-at-VT/Quad_CV-SLAM-master | convexplpiccis.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/PhaseCongruency/Docs/convexplpiccis.m | 2,812 | utf_8 | 9b5c8c746c570d2d918bfa02e28c6a13 | % Function to create images for the convolution explanation
function [spread, logGabor, gfilter] = convexplpiccis
rows = 200; cols = 200;
wavelength = 16;
sigmaOnf = 0.65;
angl = 1;
thetaSigma = 0.7;
[x,y] = meshgrid([-cols/2:(cols/2-1)]/cols,...
[-rows/2:(rows/2-1)]/rows);
radius = sqrt(x.^2 ... |
github | Space-at-VT/Quad_CV-SLAM-master | needleplotgrad.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapelet/needleplotgrad.m | 736 | utf_8 | ea8a9f082db7226d3372cb1d8d69f44e | % NEEDLEPLOTGRAD - needleplot of 3D surface from gradient data
%
% Usage: needleplotgrad(dzdx, dzdy, len, spacing)
%
% dzdx, dzdy - 2D arrays of gradient with respect to x and y.
% len - length of needle to be plotted.
% spacing - sub-sampling interval to be used in the
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | needleplotst.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapelet/needleplotst.m | 1,396 | utf_8 | 4650078d9f61e45e8d9ee461d0ff2613 | % NEEDLEPLOTST - needleplot of 3D surface from slant tilt data
%
% Usage: needleplotst(slant, tilt, len, spacing)
%
% slant, tilt - 2D arrays of slant and tilt values
% len - length of needle to be plotted
% spacing - sub-sampling interval to be used in the
% slant... |
github | Space-at-VT/Quad_CV-SLAM-master | grad2slanttilt.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapelet/grad2slanttilt.m | 1,060 | utf_8 | 91fc6d997043fb068a75c21305578402 | % GRAD2SLANTTILT - gradient in x y to slant tilt
%
% Function to convert a matrix of surface gradients to
% slant and tilt values.
%
% Usage: [slant, tilt] = grad2slanttilt(dzdx, dzdy)
%
% Copyright (c) 2003 Peter Kovesi
% School of Computer Science & Software Engineering
% The University of Western Australia
% h... |
github | Space-at-VT/Quad_CV-SLAM-master | testp.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapelet/testp.m | 2,365 | utf_8 | a87866eea8b3cc99bcc812612f3558ac | % Function to make ramps test surface for shape from shapelet testing
%
% Usage:
% function [z,s,t] = testp(noise)
%
% Arguments:
% noise - An optional parameter specifying the standard
% deviation of Gaussian noise to add to the slant and tilt
% values. ... |
github | Space-at-VT/Quad_CV-SLAM-master | frankotchellappa.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapelet/frankotchellappa.m | 2,612 | utf_8 | 56bcc95bb901b40d8eee5f4e8a533b91 | % FRANKOTCHELLAPPA - Generates integrable surface from gradients
%
% An implementation of Frankot and Chellappa'a algorithm for constructing
% an integrable surface from gradient information.
%
% Usage: z = frankotchellappa(dzdx,dzdy)
%
% Arguments: dzdx, - 2D matrices specifying a grid of gradients of z
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | slanttilt2grad.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapelet/slanttilt2grad.m | 1,055 | utf_8 | ddb4bb0938e7b1f2ca2bf95e6df5df86 | % SLANTTILT2GRAD - slant and tilt to gradient in x y
%
% Function to convert a matrix of slant and tilt values to
% surface gradients.
%
% Usage: [dzdx, dzdy] = slanttilt2grad(slant, tilt)
%
% Copyright (c) 2003 Peter Kovesi
% School of Computer Science & Software Engineering
% The University of Western Australia... |
github | Space-at-VT/Quad_CV-SLAM-master | shapeletsurf.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Shapelet/shapeletsurf.m | 9,058 | utf_8 | 2401762062998be9eda381ffd422cacb | % SHAPELETSURF - reconstructs surface from surface normals using shapelets
%
% Function reconstructs an estimate of a surface from its surface normals by
% correlating the surface normals with that those of a bank of shapelet
% basis functions. The correlation results are summed to produce the
% reconstruction. The su... |
github | Space-at-VT/Quad_CV-SLAM-master | ridgefreq.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FingerPrints/ridgefreq.m | 2,993 | utf_8 | 06dee0fde68607594d459ca300e6d102 | % RIDGEFREQ - Calculates a ridge frequency image
%
% Function to estimate the fingerprint ridge frequency across a
% fingerprint image. This is done by considering blocks of the image and
% determining a ridgecount within each block by a call to FREQEST.
%
% Usage:
% [freqim, medianfreq] = ridgefreq(im, mask, orienti... |
github | Space-at-VT/Quad_CV-SLAM-master | freqest.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FingerPrints/freqest.m | 3,637 | utf_8 | a4f96f1105673bbd0d6851306a9712c8 | % FREQEST - Estimate fingerprint ridge frequency within image block
%
% Function to estimate the fingerprint ridge frequency within a small block
% of a fingerprint image. This function is used by RIDGEFREQ
%
% Usage:
% freqim = freqest(im, orientim, windsze, minWaveLength, maxWaveLength)
%
% Arguments:
% im... |
github | Space-at-VT/Quad_CV-SLAM-master | ridgefilter.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FingerPrints/ridgefilter.m | 4,770 | utf_8 | a6443447a69fa10919e580f23e30c264 | % RIDGEFILTER - enhances fingerprint image via oriented filters
%
% Function to enhance fingerprint image via oriented filters
%
% Usage:
% newim = ridgefilter(im, orientim, freqim, kx, ky, showfilter)
%
% Arguments:
% im - Image to be processed.
% orientim - Ridge orientation image, obtained fr... |
github | Space-at-VT/Quad_CV-SLAM-master | ridgesegment.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FingerPrints/ridgesegment.m | 2,320 | utf_8 | 2bb49bf39ab2cc6bdd3a9e158ef0a054 | % RIDGESEGMENT - Normalises fingerprint image and segments ridge region
%
% Function identifies ridge regions of a fingerprint image and returns a
% mask identifying this region. It also normalises the intesity values of
% the image so that the ridge regions have zero mean, unit standard
% deviation.
%
% This function... |
github | Space-at-VT/Quad_CV-SLAM-master | plotridgeorient.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FingerPrints/plotridgeorient.m | 1,833 | utf_8 | 19a475206f651dffb3e2c58f210ea9ad | % PLOTRIDGEORIENT - plot of ridge orientation data
%
% Usage: plotridgeorient(orient, spacing, im, figno)
%
% orientim - Ridge orientation image (obtained from RIDGEORIENT)
% spacing - Sub-sampling interval to be used in ploting the
% orientation data the (Plotting every point is
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | ridgeorient.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FingerPrints/ridgeorient.m | 4,785 | utf_8 | d0a1e0389d1ba0031b88a48553cbba9f | % RIDGEORIENT - Estimates the local orientation of ridges in a fingerprint
%
% Usage: [orientim, reliability, coherence] = ridgeorientation(im, gradientsigma,...
% blocksigma, ...
% orientsmoothsigma)
%
% Arguments: im ... |
github | Space-at-VT/Quad_CV-SLAM-master | testfin.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FingerPrints/Docs/testfin.m | 1,759 | utf_8 | 8bd1035571269c92bbeebfee58b37d75 | % TESTFIN
%
% Function to demonstrate use of fingerprint code
%
% Usage: [newim, binim, mask, reliability] = testfin(im);
%
% Argument: im - Fingerprint image to be enhanced.
%
% Returns: newim - Ridge enhanced image.
% binim - Binary version of enhanced image.
% mask - Ridge-like regi... |
github | Space-at-VT/Quad_CV-SLAM-master | adjcontrast.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/adjcontrast.m | 1,772 | utf_8 | df466fd21398669febf7971b25906279 | % ADJCONTRAST - Adjusts image contrast using sigmoid function.
%
% function g = adjcontrast(im, gain, cutoff)
%
% Arguments:
% im - image to be processed.
% gain - controls the actual contrast;
% A value of about 5 is neutral (little change).
% A valu... |
github | Space-at-VT/Quad_CV-SLAM-master | histtruncate.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/histtruncate.m | 4,297 | utf_8 | 8662c6c4ad1997ffd87d3053e4425473 | % HISTTRUNCATE - Truncates ends of an image histogram.
%
% Function truncates a specified percentage of the lower and
% upper ends of an image histogram.
%
% This operation allows grey levels to be distributed across
% the primary part of the histogram. This solves the problem
% when one has, say, a few very bright va... |
github | Space-at-VT/Quad_CV-SLAM-master | adjgamma.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/adjgamma.m | 1,278 | utf_8 | 7923fe5b3ada0cd08b5edf5528839448 | % ADJGAMMA - Adjusts image gamma.
%
% function g = adjgamma(im, g)
%
% Arguments:
% im - image to be processed.
% g - image gamma value.
% Values in the range 0-1 enhance contrast of bright
% regions, values > 1 enhance contrast in dark
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | histeqfloat.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/histeqfloat.m | 2,523 | utf_8 | c9d2c9d7f401952ba393c03926112405 | % HISTEQFLOAT Floating point image histogram equalisation
%
% Histogram equalisation for images containing floating point values. The number
% of distinct values in the output image will be the same as the number of
% distinct values in the input image.
%
% Usage: nim = histeqfloat(im, nbins)
%
% Arguments: im - Im... |
github | Space-at-VT/Quad_CV-SLAM-master | extractfields.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/extractfields.m | 3,195 | utf_8 | fc2a0b4ffe621599238d4558ebbab88e | % EXTRACTFIELDS - Separates fields from a video frame.
%
% Function to separate fields from a video frame
% and (optionally) interpolate intermediate lines
% for each field.
%
% Usage: [f1, f2] = extractfields(im,interp)
%
% f1 and f2 are the odd and even fields
% im is the frame to be split
% interp is an optio... |
github | Space-at-VT/Quad_CV-SLAM-master | interpfields.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/interpfields.m | 2,616 | utf_8 | 995c2497c2bd2f01a7fc72cc0c552c7e | % INTERPFIELDS - Interpolates lines on a field extracted from a video frame.
%
% Function to interpolate intermediate lines on odd or even
% fields extracted from a video frame
%
% Usage: intp = interpfields(field, oddeven);
%
%
% Arguments: field - the field to be interpolated
% oddeven - optional fl... |
github | Space-at-VT/Quad_CV-SLAM-master | agc.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/agc.m | 3,871 | utf_8 | e4153ae09348114147d2cd732b327195 | % AGC Automatic Gain Control for geophysical images
%
% Usage: agcim = agc(im, sigma, p, r)
%
% Arguments: im - The input image. NaNs in the image are handled
% automatically.
% sigma - The standard deviation of the Gaussian filter used to
% determine local image me... |
github | Space-at-VT/Quad_CV-SLAM-master | normalise.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/normalise.m | 2,312 | utf_8 | 5ea78a2901be537abb01b07cd78b3ddf | % NORMALISE - Normalises image values to 0-1, or to desired mean and variance
%
% Usage:
% n = normalise(im)
%
% Offsets and rescales image so that the minimum value is 0
% and the maximum value is 1. Result is returned in n. If the image is
% colour the image is converted to HSV and the value/intensity c... |
github | Space-at-VT/Quad_CV-SLAM-master | remapim.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/remapim.m | 2,589 | utf_8 | 197534d04489cb4cfd3b0d641d848c0a | % REMAPIM - Remaps image intensity values
%
% Usage: newim = remapim(im, x, y, rescale)
% \
% optional
% Arguments
% im - Image to be transformed.
% x,y - Coordinates of spline control points that define the
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | greytrans.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/GreyTrans/greytrans.m | 4,462 | utf_8 | f2f1254324be1d786b5fee45794f6bca | % GREYTRANS - Interactive greyscale manipulation of an image (RGB or greyscale)
%
% Usage: [newim, x, y] = greytrans(im, npts)
%
% Arguments
% im - Image to be transformed
% npts - Optional number of control points of the spline
% defining the mapping function. This defaults... |
github | Space-at-VT/Quad_CV-SLAM-master | ransacfitfundmatrix7.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/ransacfitfundmatrix7.m | 6,338 | utf_8 | e8bb75917201904ec6c3bdd4f36479f1 | % RANSACFITFUNDMATRIX7 - fits fundamental matrix using RANSAC
%
% Usage: [F, inliers] = ransacfitfundmatrix7(x1, x2, t)
%
% This function requires Andrew Zisserman's 7 point fundamental matrix code.
% See: http://www.robots.ox.ac.uk/~vgg/hzbook/code/
%
% Arguments:
% x1 - 2xN or 3xN set of homogeneous poi... |
github | Space-at-VT/Quad_CV-SLAM-master | fitline3d.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/fitline3d.m | 1,200 | utf_8 | 3ca7a782577d8447e17c36ccf25f3d59 | % FITLINE3D - Fits a line to a set of 3D points
%
% Usage: [L] = fitline3d(XYZ)
%
% Where: XYZ - 3xNpts array of XYZ coordinates
% [x1 x2 x3 ... xN;
% y1 y2 y3 ... yN;
% z1 z2 z3 ... zN]
%
% Returns: L - 3x2 matrix consisting of the two endpoints of the line
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | ransacfitfundmatrix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/ransacfitfundmatrix.m | 5,544 | utf_8 | b87d72c56902f27c573b6c545f6754ab | % RANSACFITFUNDMATRIX - fits fundamental matrix using RANSAC
%
% Usage: [F, inliers] = ransacfitfundmatrix(x1, x2, t)
%
% Arguments:
% x1 - 2xN or 3xN set of homogeneous points. If the data is
% 2xN it is assumed the homogeneous scale factor is 1.
% x2 - 2xN or 3xN set of homogeneo... |
github | Space-at-VT/Quad_CV-SLAM-master | ransacfitaffinefund.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/ransacfitaffinefund.m | 4,443 | utf_8 | 1f0e4e13663302b2d953db1e18f9ffe2 | % RANSACFITAFFINEFUND - fits affine fundamental matrix using RANSAC
%
% Usage: [F, inliers] = ransacfitaffinefund(x1, x2, t)
%
% Arguments:
% x1 - 2xN or 3xN set of homogeneous points. If the data is
% 2xN it is assumed the homogeneous scale factor is 1.
% x2 - 2xN or 3xN set of ho... |
github | Space-at-VT/Quad_CV-SLAM-master | fitplane.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/fitplane.m | 1,694 | utf_8 | a058a2453754cff9ea42776f1034436a | % FITPLANE - solves coefficients of plane fitted to 3 or more points
%
% Usage: B = fitplane(XYZ)
%
% Where: XYZ - 3xNpts array of xyz coordinates to fit plane to.
% If Npts is greater than 3 a least squares solution
% is generated.
%
% Returns: B - 4x1 array of plane coefficient... |
github | Space-at-VT/Quad_CV-SLAM-master | randomsample.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/randomsample.m | 2,218 | utf_8 | d672616e8ac80b56f5cb91ac584537d8 | % RANDOMSAMPLE - selects n random items from an array
%
% Usage: items = randomsample(a, n)
%
% Arguments: a - Either an array of values from which the items are to
% be selected, or an integer in which case the items
% are values selected from the array [1:a]
% n -... |
github | Space-at-VT/Quad_CV-SLAM-master | iscolinear.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/iscolinear.m | 2,318 | utf_8 | 65025b7413f8f6b4cb16dd1689a5900f | % ISCOLINEAR - are 3 points colinear
%
% Usage: r = iscolinear(p1, p2, p3, flag)
%
% Arguments:
% p1, p2, p3 - Points in 2D or 3D.
% flag - An optional parameter set to 'h' or 'homog'
% indicating that p1, p2, p3 are homogneeous
% coordinates with arbitrary s... |
github | Space-at-VT/Quad_CV-SLAM-master | ransacfithomography.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/ransacfithomography.m | 4,920 | utf_8 | d479d49f7c8e8689283005bcbe340b61 | % RANSACFITHOMOGRAPHY - fits 2D homography using RANSAC
%
% Usage: [H, inliers] = ransacfithomography(x1, x2, t)
%
% Arguments:
% x1 - 2xN or 3xN set of homogeneous points. If the data is
% 2xN it is assumed the homogeneous scale factor is 1.
% x2 - 2xN or 3xN set of homogeneous po... |
github | Space-at-VT/Quad_CV-SLAM-master | ransac.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/ransac.m | 10,145 | utf_8 | 3089c4a4e2a58e086c8b1c5579aa9c53 | % RANSAC - Robustly fits a model to data with the RANSAC algorithm
%
% Usage:
%
% [M, inliers] = ransac(x, fittingfn, distfn, degenfn s, t, feedback, ...
% maxDataTrials, maxTrials)
%
% Arguments:
% x - Data sets to which we are seeking to fit a model M
% It is assumed ... |
github | Space-at-VT/Quad_CV-SLAM-master | fitline.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/fitline.m | 3,537 | utf_8 | 4b7acec43fdeacc38c926e7d3e6d8a59 | % FITLINE - Least squares fit of a line to a set of points
%
% Usage: [C, dist] = fitline(XY)
%
% Where: XY - 2xNpts array of xy coordinates to fit line to data of
% the form
% [x1 x2 x3 ... xN
% y1 y2 y3 ... yN]
%
% XY can also be a 3xN... |
github | Space-at-VT/Quad_CV-SLAM-master | ransacfitline.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/ransacfitline.m | 4,628 | utf_8 | 164727c9f870963847fe09846fef96a5 | % RANSACFITLINE - fits line to 3D array of points using RANSAC
%
% Usage [L, inliers] = ransacfitline(XYZ, t, feedback)
%
% This function uses the RANSAC algorithm to robustly fit a line
% to a set of 3D data points.
%
% Arguments:
% XYZ - 3xNpts array of xyz coordinates to fit line to.
% t - The d... |
github | Space-at-VT/Quad_CV-SLAM-master | ransacfitplane.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/ransacfitplane.m | 4,279 | utf_8 | 137375e538d457c3880e49035000c802 | % RANSACFITPLANE - fits plane to 3D array of points using RANSAC
%
% Usage [B, P, inliers] = ransacfitplane(XYZ, t, feedback)
%
% This function uses the RANSAC algorithm to robustly fit a plane
% to a set of 3D data points.
%
% Arguments:
% XYZ - 3xNpts array of xyz coordinates to fit plane to.
% t ... |
github | Space-at-VT/Quad_CV-SLAM-master | testfund.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/example/testfund.m | 4,750 | utf_8 | 0deb774af59a52b8be800cea1cfb2adc | % Demonstration of feature matching via simple correlation, and then using
% RANSAC to estimate the fundamental matrix and at the same time identify
% (mostly) inlying matches
%
% Usage: testfund - Demonstrates fundamental matrix calculation
% on two default images.
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | testfitline.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/example/testfitline.m | 3,953 | utf_8 | f97a656b9a7452fe4bce589b0ea934c4 | % TESTFITLINE - demonstrates RANSAC line fitting
%
% Usage: testfitline(outliers, sigma, t, feedback)
%
% Arguments:
% outliers - Fraction specifying how many points are to be
% outliers.
% sigma - Standard deviation of inlying points from the
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | testhomog.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/example/testhomog.m | 2,978 | utf_8 | 8c24c0c26133700b6ca737053fc660e7 | % Demonstration of feature matching via simple correlation, and then using
% RANSAC to estimate the homography between two images and at the same time
% identify (mostly) inlying matches
%
% Usage: testhomog - Demonstrates homography calculation on two
% default images
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | testfundOctave.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/example/testfundOctave.m | 2,769 | utf_8 | 44430d35fa0a1d0a29001b5d76e0f81a | % Demonstration of feature matching via simple correlation, and then using
% RANSAC to estimate the fundamental matrix and at the same time identify
% (mostly) inlying matches
% Peter Kovesi
% School of Computer Science & Software Engineering
% The University of Western Australia
% pk at csse uwa edu au
% http://www... |
github | Space-at-VT/Quad_CV-SLAM-master | testfitplane.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/example/testfitplane.m | 3,367 | utf_8 | 422156cc86a4f56b427ec295e9306b63 | % TESTFITPLANE - demonstrates RANSAC plane fitting
%
% Usage: testfitplane(outliers, sigma, t, feedback)
%
% Arguments:
% outliers - Fraction specifying how many points are to be
% outliers.
% sigma - Standard deviation of inlying points from the
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | testvgghomog.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Robust/example/testvgghomog.m | 2,985 | utf_8 | fb71f9f4828200b6a682941b00c1b3a6 | % Demonstration of feature matching via simple correlation, and then using
% RANSAC to estimate the homography between two images and at the same time
% identify (mostly) inlying matches
%
% Usage: testhomog - Demonstrates homography calculation on two
% default images
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | map2lutfile.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/map2lutfile.m | 754 | utf_8 | 2300f6e519f599653ffb3bf7f3286eeb | % MAP2LUTFILE Writes a colourmap to a .lut file for use with ImageJ
%
% Usage: map2lutfile(map, fname)
%
% The format of a lookup table for ImageJ is 256 bytes of red values, followed
% by 256 green values and finally 256 blue values. A total of 768 bytes.
%
% PK June 2014
function map2lutfile(map, fname)
[N,... |
github | Space-at-VT/Quad_CV-SLAM-master | labmaplib.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/labmaplib.m | 57,246 | utf_8 | dcd370a01f0282850d06f15390cb801c | % LABMAPLIB Library of colour maps designed in CIELAB or RGB space
%
% Usage: 1: [map, name, desc] = labmaplib(I, param_name, value ...)
% 2: labmaplib
% 3: labmaplib(str)
%
% Arguments for Usage 1:
%
% I - An integer specifying the index of the colour map to be
% generat... |
github | Space-at-VT/Quad_CV-SLAM-master | map2ermapperlutfile.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/map2ermapperlutfile.m | 1,797 | utf_8 | aace8b9f7a1a077cdab2c5bc541bea51 | % MAP2ERMAPPERLUTFILE Writes ER Mapper LUT colour map file
%
% Usage: map2ermapperlutfile(map, filename, name, description)
%
% Arguments: map - N x 3 rgb colour map of values 0-1.
% filename - Filename of LUT file to create. A .lut ending is added
% if the filename has no suffix.
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | equalisecolourmap.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/equalisecolourmap.m | 17,813 | utf_8 | 82e0413e04b3e91f13259a454ca53c25 | % EQUALISECOLOURMAP - Equalise colour contrast over a colourmap
%
% Usage: newrgbmap = equalisecolourmap(rgblab, map, formula, W, sigma, diagnostics)
%
% Arguments: rgblab - String 'RGB' or 'LAB' indicating the type of data
% in map.
% map - A Nx3 RGB or CIELAB colourmap
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | ternarycolours.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/ternarycolours.m | 4,004 | utf_8 | ea4668fc20c8bc3e6e26893981927aab | % TERNARYCOLOURS Determine 3 basis colours for a ternary image
%
% This function determines 3 basis colours for constructing ternary/radiometric
% images. Ideally these are isoluminant and have the same chroma. While this
% function does not achieve this perfectly the three colours it generates are
% fairly good.
%
%... |
github | Space-at-VT/Quad_CV-SLAM-master | ternaryimage.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/ternaryimage.m | 3,966 | utf_8 | 34a7ce4ff9d4772808994acf7a46b194 | % TERNARYIMAGE Perceptualy uniform ternary image from 3 bands of data
%
% Usage: rgbim = ternaryimage(im, bands, histcut, Rmap, Gmap, Bmap)
%
% Arguments
% im - Multiband image with at least 3 bands, or a cell array of
% at least 3 images.
% bands - Array of 3 values indicating... |
github | Space-at-VT/Quad_CV-SLAM-master | linearrgbmap.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/linearrgbmap.m | 869 | utf_8 | 8d8f382d6895bd05c46525d1870bd009 | % LINEARRGBMAP Linear rgb colourmap from black to a specified colour
%
% Usage: map = linearrgbmap(C, N)
%
% Arguments: C - 3-vector specifying RGB colour
% N - Number of colourmap elements, defaults to 256
%
% Returns: map - Nx3 RGB colourmap ranging from [0 0 0] to colour C
%
% It is suggested that you... |
github | Space-at-VT/Quad_CV-SLAM-master | readermapperlutfile.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/readermapperlutfile.m | 3,143 | utf_8 | 137e2c6fab526b434b8ab24d23106693 | % READERMAPPERLUTFILE Read ER Mapper LUT colour map file
%
% Usage: [map, name, description] = readermapperlutfile(filename)
%
% Argument: filename - Filename to read
%
% Returns:
% map - N x 3 rgb colour map of values 0-1.
% name - Name of colour map (if specified in file).
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | writecolourmapfn.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/writecolourmapfn.m | 1,354 | utf_8 | 2b064a86456dae2b3ea2634a7edad8c0 | % WRITECOLOURMAPFN Creates a MATLAB function file from a Nx3 colourmap
%
% Usage: writecolourmapfn(map, fname)
%
% PK June 2014
function writecolourmapfn(map, fname)
[N, chan] = size(map);
if chan ~= 3
error('Colourmap must be Nx3');
end
if strendswith(fname, '.m') % If fname has ... |
github | Space-at-VT/Quad_CV-SLAM-master | map2geosofttbl.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/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 | readimagejlutfile.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/readimagejlutfile.m | 1,122 | utf_8 | f1de0f94122413d9e59d237a6b0c2674 | % READIMAGEJLUTFILE Reads lut colourmap file as used by ImageJ
%
% Usage: map = readimagejlutfile(fname)
%
% Argument: fname - Filename of a .lut file
% Returns: map - 256 x 3 colourmap table
%
% The format of a lookup table for ImageJ is 256 bytes of red values, followed
% by 256 green values and finally 256 blu... |
github | Space-at-VT/Quad_CV-SLAM-master | map2actfile.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/map2actfile.m | 741 | utf_8 | 4c119e2da488dd0845d360b13ebc6d46 | % MAP2ACTFILE Writes colourmap to .act file Adobe Colourmap Table
%
% Usage: map2actfile(map, fname)
%
% An Adobe Colourmap Table is a file of 256 sets of R G and B values written as
% bytes, a total of 768 bytes.
%
% PK June 2014
function map2actfile(map, fname)
[N, chan] = size(map);
if N ~= 256 | chan ~... |
github | Space-at-VT/Quad_CV-SLAM-master | ternarymaps.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/ternarymaps.m | 1,992 | utf_8 | f1edae4213fc031028b69d29f72addcc | % TERNARYMAPS Returns three basis colour maps for generating ternary images
%
% Usage: [Rmap, Gmap, Bmap] = ternarymaps(N);
%
% Argument: N - Number of elements within the colour maps. This is optional
% and defaults to 256
% Returns:
% Rmap, Gmap, Bmap - Three colour maps that are nominally red, ... |
github | Space-at-VT/Quad_CV-SLAM-master | geosofttbl2map.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/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 | colourmappath.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/colourmappath.m | 8,143 | utf_8 | f9a69b9f53a23f0d52b7e3d802c71820 | % COLOURMAPPATH Plots the path of a colourmap through colourspace
%
% Usage: colourmappath(map, N, colspace, fig)
%
% Arguments:
% map - The colourmap to be plotted
% N - The nmber of slices through the colourspace to plot.
% colspace - String 'rgb' or 'lab' indicating the colourspace to p... |
github | Space-at-VT/Quad_CV-SLAM-master | map2imagejlutfile.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/map2imagejlutfile.m | 946 | utf_8 | 20cb86304c4f39be3822f85d6648f55f | % MAP2IMAGEJLUTFILE Writes a colourmap to a .lut file for use with ImageJ
%
% Usage: map2imagejlutfile(map, fname)
%
% The format of a lookup table for ImageJ is 256 bytes of red values, followed
% by 256 green values and finally 256 blue values. A total of 768 bytes.
%
% See also: READIMAGEJLUTFILE, READERMAPPERLUT... |
github | Space-at-VT/Quad_CV-SLAM-master | generatelabslice.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Colourmaps/generatelabslice.m | 2,213 | utf_8 | 99f7d5a31fd659193715f4e2451be585 | % GENERATELABSLICE Generates RGB image of slice through CIELAB space
%
% Usage: rgbim = generatelabslice(L, flip);
%
% Arguments: L - Desired lightness level of slice through CIELAB space
% flip - If set to 1 the image is fliped up-down. Default is 0
% Returns: rgbim - RGB image of slice
%
% The size of... |
github | Space-at-VT/Quad_CV-SLAM-master | makehomogeneous.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/makehomogeneous.m | 649 | utf_8 | 19d1cac5b6483d4dd545ef8b6bca5dcb | % MAKEHOMOGENEOUS - Appends a scale of 1 to array inhomogeneous coordinates
%
% Usage: hx = makehomogeneous(x)
%
% Argument:
% x - an N x npts array of inhomogeneous coordinates.
%
% Returns:
% hx - an (N+1) x npts array of homogeneous coordinates with the
% homogeneous scale set to 1
%
... |
github | Space-at-VT/Quad_CV-SLAM-master | plotPoint.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/plotPoint.m | 1,068 | utf_8 | d515fe2aec3bd3915d334310b903a4ba | % PLOTPOINT - Plots point with specified mark and optional text label.
%
% Function to plot 2D points with an optionally specified
% marker and optional text label.
%
% Usage:
% plotPoint(p) where p is a 2D point
% plotPoint(p, 'mark') where mark is say 'r+' or 'g*' etc
% plot... |
github | Space-at-VT/Quad_CV-SLAM-master | lengthRatioConstraint.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/lengthRatioConstraint.m | 1,137 | utf_8 | 587f4507cf32933e2f0468f438c17505 | % lengthRatioConstraint - Affine transform constraints given a length ratio.
%
% Function calculates centre and radius of the constraint
% circle in alpha-beta space generated by having a known
% lenth ratio between two non-parallel line segemnts in
% an affine image
%
% Usage: [c, r] = lengthRatioConstraint(p11... |
github | Space-at-VT/Quad_CV-SLAM-master | fundfromcameras.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/fundfromcameras.m | 1,308 | utf_8 | 89d7618588ec84ececead8d97ea76b3e | % FUNDFROMCAMERAS - Fundamental matrix from camera matrices
%
% Usage: F = fundfromcameras(P1, P2)
%
% Arguments: P1, P2 - Two 3x4 camera matrices
% Returns: F - Fundamental matrix relating the two camera views
%
% See also: FUNDMATRIX, AFFINEFUNDMATRIX
% Reference: Hartley and Zisserman p244
% Copyright (c)... |
github | Space-at-VT/Quad_CV-SLAM-master | circleintersect.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/circleintersect.m | 2,710 | utf_8 | 489ffc783300c34976f2c82fbed8c020 | % CIRCLEINTERSECT - Finds intersection of two circles.
%
% Function to return the intersection points between two circles
% given their centres and radi.
%
% Usage: [i1, i2] = circleintersect(c1, r1, c2, r2, lr)
%
% Where:
% c1 and c2 are 2-vectors specifying the centres of the two circles.
% r1 and r2 ... |
github | Space-at-VT/Quad_CV-SLAM-master | homoTrans.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/homoTrans.m | 879 | utf_8 | bde17d25ed5c319d12d7c6c52fa76ac9 | % HOMOTRANS - homogeneous transformation of points
%
% Function to perform a transformation on homogeneous points/lines
% The resulting points are normalised to have a homogeneous scale of 1
%
% Usage:
% t = homoTrans(P,v);
%
% Arguments:
% P - 3 x 3 or 4 x 4 transformation matrix
% v - ... |
github | Space-at-VT/Quad_CV-SLAM-master | imTrans.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/imTrans.m | 6,645 | utf_8 | fea80d088fd8c2973f2ee271ab3dc146 | % IMTRANS - Homogeneous transformation of an image.
%
% Applies a geometric transform to an image
%
% [newim, newT] = imTrans(im, T, region, sze);
%
% Arguments:
% im - The image to be transformed.
% T - The 3x3 homogeneous transformation matrix.
% region - An optional 4 element vector ... |
github | Space-at-VT/Quad_CV-SLAM-master | affinefundmatrix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/affinefundmatrix.m | 3,219 | utf_8 | 7cbd1c7c427cf3466f0df1c9c57cd131 | % AFFINEFUNDMATRIX - computes affine fundamental matrix from 4 or more points
%
% Function computes the affine fundamental matrix from 4 or more matching
% points in a stereo pair of images. The Gold Standard algorithm given
% by Hartley and Zisserman p351 (2nd Ed.) is used.
%
% Usage: [F, e1, e2] = affinefundmatri... |
github | Space-at-VT/Quad_CV-SLAM-master | imTransD.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/imTransD.m | 3,965 | utf_8 | 253939b60899cb7418ae8eebee0f8b87 | % IMTRANSD - Homogeneous transformation of an image.
%
% This is a stripped down version of imTrans which does not apply any origin
% shifting to the transformed image
%
% Applies a geometric transform to an image
%
% newim = imTransD(im, T, sze, lhrh);
%
% Arguments:
% im - The image to be transformed.
%... |
github | Space-at-VT/Quad_CV-SLAM-master | hnormalise.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/hnormalise.m | 1,010 | utf_8 | 40eeebb3462ab60fb05b133bf0055baf | % HNORMALISE - Normalises array of homogeneous coordinates to a scale of 1
%
% Usage: nx = hnormalise(x)
%
% Argument:
% x - an Nxnpts array of homogeneous coordinates.
%
% Returns:
% nx - an Nxnpts array of homogeneous coordinates rescaled so
% that the scale values nx(N,:) are all 1.
%
... |
github | Space-at-VT/Quad_CV-SLAM-master | homography2d.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/homography2d.m | 2,406 | utf_8 | 6b7055a627ffb3f6658b1f7f7dc1e4c4 | % HOMOGRAPHY2D - computes 2D homography
%
% Usage: H = homography2d(x1, x2)
% H = homography2d(x)
%
% Arguments:
% x1 - 3xN set of homogeneous points
% x2 - 3xN set of homogeneous points such that x1<->x2
%
% x - If a single argument is supplied it is assumed that it
%... |
github | Space-at-VT/Quad_CV-SLAM-master | digiplane.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/digiplane.m | 2,368 | utf_8 | 9634b931390f4536b8d7280b8745f6a1 | % DIGIPLANE - Digitise and transform points within a planar region in an image.
%
% This function allows you to digitise points within a planar region of an
% image for which an inverse perspective transformation has been previously
% determined using, say, INVPERSP. The digitised points are then
% transformed into co... |
github | Space-at-VT/Quad_CV-SLAM-master | circle.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/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 | makeinhomogeneous.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/makeinhomogeneous.m | 791 | utf_8 | ce76d362845ed0c7eef257d1d0406795 | % MAKEINHOMOGENEOUS - Converts homogeneous coords to inhomogeneous coordinates
%
% Usage: x = makehomogeneous(hx)
%
% Argument:
% hx - an N x npts array of homogeneous coordinates.
%
% Returns:
% x - an (N-1) x npts array of inhomogeneous coordinates
%
% Warning: If there are any points at infinity ... |
github | Space-at-VT/Quad_CV-SLAM-master | equalAngleConstraint.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/equalAngleConstraint.m | 1,377 | utf_8 | ad2156349de0fe1efde5bee65bc38203 | % equalAngleConstraint - Affine transform constraints given two equal angles.
%
% Function calculates centre and radius of the constraint
% circle in alpha-beta space generated by having two equal
% (but unknown) angles between two pairs of lines in
% an affine image
%
% Usage: [c, r] = equalAngleConstraint(la1... |
github | Space-at-VT/Quad_CV-SLAM-master | homogreprojerr.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/homogreprojerr.m | 1,423 | utf_8 | 15a06a2d240a29dd5d8a3a1e64268057 | % HOMOGREPROJERR
%
% Computes the symmetric reprojection error for points related by a
% homography.
%
% Usage:
% d2 = homogreprojerr(H, x1, x2)
%
% Arguments:
% H - The homography.
% x1, x2 - [ndim x npts] arrays of corresponding homogeneous
% data points.
%
% Retu... |
github | Space-at-VT/Quad_CV-SLAM-master | rq3.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/rq3.m | 2,075 | utf_8 | e3b4214d505526702abed6b2183c76ea | % RQ3 RQ decomposition of 3x3 matrix
%
% Usage: [R,Q] = rq3(A)
%
% Argument: A - 3 x 3 matrix
% Returns: R - Upper triangular 3 x 3 matrix
% Q - 3 x 3 orthonormal rotation matrix
% Such that R*Q = A
%
% The signs of the rows and columns of R and Q are chosen so that the diagonal
% elements of R are ... |
github | Space-at-VT/Quad_CV-SLAM-master | knownAngleConstraint.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/knownAngleConstraint.m | 929 | utf_8 | b51714229fca51b80fc72c837575dd25 | % knownAngleConstraint - Affine transform constraints given a known angle.
%
% Function calculates centre and radius of the constraint
% circle in alpha-beta space generated by having a known
% angle between two lines in an affine image
%
% Usage: [c, r] = knownAngleConstraint(la, lb, theta)
%
% Where: la and l... |
github | Space-at-VT/Quad_CV-SLAM-master | fundmatrix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/fundmatrix.m | 3,966 | utf_8 | 035de87dbdc38f5d36c84caeb895ca93 | % FUNDMATRIX - computes fundamental matrix from 8 or more points
%
% Function computes the fundamental matrix from 8 or more matching points in
% a stereo pair of images. The normalised 8 point algorithm given by
% Hartley and Zisserman p265 is used. To achieve accurate results it is
% recommended that 12 or more poi... |
github | Space-at-VT/Quad_CV-SLAM-master | hline.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/hline.m | 1,836 | utf_8 | 6b627df996e670c2c7287683e1851639 | % HLINE - Plot 2D lines defined in homogeneous coordinates.
%
% Function for ploting 2D homogeneous lines defined by 2 points
% or a line defined by a single homogeneous vector
%
% Usage: hline(p1,p2) where p1 and p2 are 2D homogeneous points.
% hline(p1,p2,'colour_name') 'black' 'red' 'white' etc
% ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.