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
Ciaran1981/SeAMS-master
ransacfitaffinefund.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
fitplane.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
randomsample.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
iscolinear.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
ransacfithomography.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
ransac.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
fitline.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
ransacfitline.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
ransacfitplane.m
.m
SeAMS-master/Utilities/MatlabFns/Robust/ransacfitplane.m
4,394
utf_8
baa5ff279844792a35a0615536c87855
% 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. % ...
github
Ciaran1981/SeAMS-master
testfund.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
testfitline.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
testhomog.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
testfundOctave.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
testfitplane.m
.m
SeAMS-master/Utilities/MatlabFns/Robust/example/testfitplane.m
3,474
utf_8
8e3a7a2e2bd65da6d3a122e6e903d3f8
% 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
Ciaran1981/SeAMS-master
testvgghomog.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
map2lutfile.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
labmaplib.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
map2ermapperlutfile.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
equalisecolourmap.m
.m
SeAMS-master/Utilities/MatlabFns/Colourmaps/equalisecolourmap.m
17,848
utf_8
c7a0f9aaa4f59e3e4036e8066e7ee6d4
% 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 colour map %...
github
Ciaran1981/SeAMS-master
cmap.m
.m
SeAMS-master/Utilities/MatlabFns/Colourmaps/cmap.m
39,595
utf_8
935b84d3970635a6758ed182998117e1
% CMAP Library of perceptually uniform colour maps % % Usage: 1: [map, name, desc] = cmap(I, param_name, value ...) % 2: cmap % 3: cmap(str) % % Arguments for Usage 1: % % I - A string label indicating the colour map to be generated or a % string specifying a colour map n...
github
Ciaran1981/SeAMS-master
ternarycolours.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
map2qgisstyle.m
.m
SeAMS-master/Utilities/MatlabFns/Colourmaps/map2qgisstyle.m
3,266
utf_8
e8e5248686bb0f8761231f97fcc521db
% MAP2QGISSTYLE Writes colour maps to QGIS style file % % Usage: map2qgisstyle(map, mapname, filename) % % Arguments: map - N x 3 colour map, or a cell array of N x 3 colour maps % mapname - String giving the colour map name, or a cell array of % strings % filename - File name to...
github
Ciaran1981/SeAMS-master
ternaryimage.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
linearrgbmap.m
.m
SeAMS-master/Utilities/MatlabFns/Colourmaps/linearrgbmap.m
882
utf_8
ffe885dc19eb15928ea8117e1902d32e
% 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
Ciaran1981/SeAMS-master
readermapperlutfile.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
writecolourmapfn.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
map2geosofttbl.m
.m
SeAMS-master/Utilities/MatlabFns/Colourmaps/map2geosofttbl.m
1,634
utf_8
f354e08adec5586e24061af7e42c98de
% 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
Ciaran1981/SeAMS-master
readimagejlutfile.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
map2actfile.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
ternarymaps.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
geosofttbl2map.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
colourmappath.m
.m
SeAMS-master/Utilities/MatlabFns/Colourmaps/colourmappath.m
11,106
utf_8
657a67e384f4f2074c75cffc36b9c945
% COLOURMAPPATH Plots the path of a colour map through colour space % % Usage: colourmappath(map, param_name, value, ....) % % Required argument: % map - The colourmap to be plotted % % Optional parameter-value pairs, default values in brackets: % 'N' - The nmber of slices through the colourspac...
github
Ciaran1981/SeAMS-master
map2imagejlutfile.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
generatelabslice.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
makehomogeneous.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
plotPoint.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
lengthRatioConstraint.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
fundfromcameras.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
circleintersect.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
homoTrans.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
imTrans.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
affinefundmatrix.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
imTransD.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
hnormalise.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
homography2d.m
.m
SeAMS-master/Utilities/MatlabFns/Projective/homography2d.m
2,493
utf_8
60985e0ab95fe690d769c83adff61080
% 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 ...
github
Ciaran1981/SeAMS-master
digiplane.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
circle.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
makeinhomogeneous.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
equalAngleConstraint.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
homogreprojerr.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
rq3.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
knownAngleConstraint.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
fundmatrix.m
.m
SeAMS-master/Utilities/MatlabFns/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
Ciaran1981/SeAMS-master
hline.m
.m
SeAMS-master/Utilities/MatlabFns/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 % ...
github
Ciaran1981/SeAMS-master
homography1d.m
.m
SeAMS-master/Utilities/MatlabFns/Projective/homography1d.m
2,662
utf_8
bf1d84269964988e4400e66cabf14617
% HOMOGRAPHY1D - computes 1D homography % % Usage: H = homography1d(x1, x2) % % Arguments: % x1 - 2xN set of homogeneous points % x2 - 2xN set of homogeneous points such that x1<->x2 % Returns: % H - the 2x2 homography such that x2 = H*x1 % % This code is modelled after the norm...
github
Ciaran1981/SeAMS-master
decomposecamera.m
.m
SeAMS-master/Utilities/MatlabFns/Projective/decomposecamera.m
3,283
utf_8
74f6d563e0498193a8e7d05ec90963c1
% DECOMPOSECAMERA Decomposition of a camera projection matrix % % Usage: [K, R, C, pp, pv] = decomposecamera(P); % % P is decomposed into the form P = K*[R -R*C] % % Argument: P - 3 x 4 camera projection matrix % Returns: % K - Calibration matrix of the form % | ax s x0 | % ...
github
Ciaran1981/SeAMS-master
normalise2dpts.m
.m
SeAMS-master/Utilities/MatlabFns/Projective/normalise2dpts.m
2,361
utf_8
2b9d94a3681186006a3fd47a45faf939
% NORMALISE2DPTS - normalises 2D homogeneous points % % Function translates and normalises a set of 2D homogeneous points % so that their centroid is at the origin and their mean distance from % the origin is sqrt(2). This process typically improves the % conditioning of any equations used to solve homographies, fun...
github
Ciaran1981/SeAMS-master
hcross.m
.m
SeAMS-master/Utilities/MatlabFns/Projective/hcross.m
919
utf_8
dbb3f3d4ef79e25ca3000ea976409e0c
% HCROSS - Homogeneous cross product, result normalised to s = 1. % % Function to form cross product between two points, or lines, % in homogeneous coodinates. The result is normalised to lie % in the scale = 1 plane. % % Usage: c = hcross(a,b) % % Copyright (c) 2000-2005 Peter Kovesi % School of Computer Science & ...
github
Ciaran1981/SeAMS-master
upwardcontinue.m
.m
SeAMS-master/Utilities/MatlabFns/Geosci/upwardcontinue.m
3,839
utf_8
a7a1d8416166d9c658b7a7d4bac8770b
% UPWARDCONTINUE Upward continuation for magnetic or gravity potential field data % % Usage: [up, psf] = upwardcontinue(im, h, dx, dy) % % Arguments: im - Input potential field image % h - Height to upward continue to (+ve) % dx, dy - Grid spacing in x and y. The upward continuation height % ...
github
Ciaran1981/SeAMS-master
orientationfilter.m
.m
SeAMS-master/Utilities/MatlabFns/Geosci/orientationfilter.m
6,042
utf_8
9e5fa0a05cdc4d0f3b48c2710e4e91f4
% ORIENTATIONFILTER Generate orientation selective filterings of an image % % Usage: oim = orientationfilter(im, norient, angoverlap, boost, cutoff, histcut) % % Arguments: im - Image to be filtered. % norient - Number of orientations, try 8. % angoverlap - Angular bandwidth overlap factor. A va...
github
Ciaran1981/SeAMS-master
relief.m
.m
SeAMS-master/Utilities/MatlabFns/Geosci/relief.m
5,218
utf_8
8f99e38c832592297aa91384d12779a2
% RELIEF Generates relief shaded image % % Usage: shadeim = relief(im, azimuth, elevation, dx, rgbim) % % Arguments: im - Image/heightmap to be relief shaded. % azimuth - Of light direction in degrees. Zero azimuth points % upwards and increases clockwise. Defaults to 45. % elevation - ...
github
Ciaran1981/SeAMS-master
irelief.m
.m
SeAMS-master/Utilities/MatlabFns/Geosci/irelief.m
13,014
utf_8
f5dec6de9b362a6a4b8ee3a046bf3209
% IRELIEF Interactive Relief Shading % % Usage: irelief(im, rgbim, figNo) % % Arguments: im - Image/heightmap to be relief shaded % rgbim - Optional RGB image to which the shading pattern derived % from 'im' is applied. Alternatively, rgbim can be a Nx3 % RGB colourmap whic...
github
Ciaran1981/SeAMS-master
agc.m
.m
SeAMS-master/Utilities/MatlabFns/Geosci/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
Ciaran1981/SeAMS-master
smoothorient.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/smoothorient.m
1,577
utf_8
792640aa0e4acc0b3bf99d63587a382f
% SMOOTHORIENT - applies smoothing to orientation field % % Usage: smorient = smoothorient(orient, sigma) % % Input: % orient - Image containing feature normal orientation angles in degrees. % sigma - Standard deviation of Gaussian to use (try 1) % % Returns: % smorient - Smoothed orientation image. ...
github
Ciaran1981/SeAMS-master
imtrim.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/imtrim.m
767
utf_8
3198c92eac92c39200792c9dc1e94f9d
% IMTRIM - removes a boundary of an image % % Usage: trimmedim = imtrim(im, b) % % Arguments: im - Image to be trimmed (greyscale or colour) % b - Width of boundary to be removed % % Returns: trimmedim - Trimmed image of size rows-2*b x cols-2*b % % See also: IMPAD, IMSETBORDER % Peter Kovesi % Ce...
github
Ciaran1981/SeAMS-master
regionadjacency.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/regionadjacency.m
4,510
utf_8
c2fb48dec79835eac0afc0d068601942
% REGIONADJACENCY Computes adjacency matrix for image of labeled segmented regions % % Usage: [Am, Al] = regionadjacency(L, connectivity) % % Arguments: L - A region segmented image, such as might be produced by a % graph cut or superpixel algorithm. All pixels in each % region are la...
github
Ciaran1981/SeAMS-master
integgausfilt.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/integgausfilt.m
2,500
utf_8
a2a14a4604cd4a021514fffb77dd587e
% INTEGGAUSFILT - Approximate Gaussian filtering using integral filters % % This function approximates Gaussian filtering by repeatedly applying % averaging filters. The averaging is performed via integral images which % results in a fixed and very low computational cost that is independent of % the Gaussian size. % %...
github
Ciaran1981/SeAMS-master
anisodiff.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/anisodiff.m
2,600
utf_8
3d6827b7cb6831ab151cc363a892fd5a
% ANISODIFF - Anisotropic diffusion. % % Usage: % diff = anisodiff(im, niter, kappa, lambda, option) % % Arguments: % im - input image % niter - number of iterations. % kappa - conduction coefficient 20-100 ? % lambda - max value of .25 for stability % option - 1 Perona Ma...
github
Ciaran1981/SeAMS-master
drawregionboundaries.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/drawregionboundaries.m
2,312
utf_8
52e55969a30f9db62b4847f5a14997d4
% DRAWREGIONBOUNDARIES Draw boundaries of labeled regions in an image % % Usage: maskim = drawregionboundaries(l, im, col) % % Arguments: % l - Labeled image of regions. % im - Optional image to overlay the region boundaries on. % col - Optional colour specification. Defaults to black. No...
github
Ciaran1981/SeAMS-master
canny.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/canny.m
2,293
utf_8
6bdaaea9bcfecd3c0443e573bdac5381
% CANNY - Canny edge detection % % Function to perform Canny edge detection. % % Usage: [gradient or] = canny(im, sigma) % % Arguments: im - image to be procesed % sigma - standard deviation of Gaussian smoothing filter. % Optional, defaults to 1. % % Returns: gradient - edge...
github
Ciaran1981/SeAMS-master
integralimage.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/integralimage.m
1,583
utf_8
625ff486923979d644b6b48a01c2af43
% INTEGRALIMAGE - computes integral image of an image % % Usage: intim = integralimage(im) % % This function computes an integral image such that the value of intim(r,c) % equals sum(sum(im(1:r, 1:c)) % % An integral image can be used with the function INTEGRALFILTER to perform % filtering operations (using rectangula...
github
Ciaran1981/SeAMS-master
slic.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/slic.m
14,802
utf_8
6b0c38eeaddd4c3c4c9de2c660dffb6d
% SLIC Simple Linear Iterative Clustering SuperPixels % % Implementation of Achanta, Shaji, Smith, Lucchi, Fua and Susstrunk's % SLIC Superpixels % % Usage: [l, Am, Sp, d] = slic(im, k, m, seRadius, colopt, mw) % % Arguments: im - Image to be segmented. % k - Number of desired superpixels. Note that thi...
github
Ciaran1981/SeAMS-master
nonmaxsuppts.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/nonmaxsuppts.m
5,260
utf_8
6399ae2ee34081b954004dc47eec6578
% NONMAXSUPPTS - Non-maximal suppression for features/corners % % Non maxima suppression and thresholding for points generated by a feature % or corner detector. % % Usage: [r,c] = nonmaxsuppts(cim, radius, thresh, im) % / % ...
github
Ciaran1981/SeAMS-master
hysthresh.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/hysthresh.m
2,218
utf_8
1083374237be0a6bad69e6afd431e1c0
% HYSTHRESH - Hysteresis thresholding % % Usage: bw = hysthresh(im, T1, T2) % % Arguments: % im - image to be thresholded (assumed to be non-negative) % T1 - upper threshold value % T2 - lower threshold value % (T1 and T2 can be entered in any order, the larger o...
github
Ciaran1981/SeAMS-master
renumberregions.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/renumberregions.m
2,350
utf_8
0bf07a365af7d4978066949f3e98d8a5
% RENUMBERREGIONS % % Usage: [nL, minLabel, maxLabel] = renumberregions(L) % % Argument: L - A labeled image segmenting an image into regions, such as % might be produced by a graph cut or superpixel algorithm. % All pixels in each region are labeled by an integer. % % Returns: nL - ...
github
Ciaran1981/SeAMS-master
harris.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/harris.m
4,704
utf_8
db810db41e16c4fc210438eeb81ad3be
% HARRIS - Harris corner detector % % Usage: cim = harris(im, sigma) % [cim, r, c] = harris(im, sigma, thresh, radius, disp) % [cim, r, c, rsubp, csubp] = harris(im, sigma, thresh, radius, disp) % % Arguments: % im - image to be processed. % sigma - standard...
github
Ciaran1981/SeAMS-master
imsetborder.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/imsetborder.m
807
utf_8
8dd6e75f6b5240fffbdb56e60521ef9b
% IMSETBORDER - sets pixels on image border to a value % % Usage: im = imsetborder(im, b, v) % % Arguments: % im - image % b - border size % v - value to set image borders to (defaults to 0) % % See also: IMPAD, IMTRIM % Peter Kovesi % Centre for Exploration Targeting % The Universit...
github
Ciaran1981/SeAMS-master
integralfilter.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/integralfilter.m
3,939
utf_8
ec95f49a7ef5558aefe8fd9a4309c358
% INTEGRALFILTER - performs filtering using an integral image % % This function exploits an integral image to perform filtering operations % (using rectangular filters) on an image in time that only depends on the % image size irrespective of the filter size. % % Usage: fim = integralfilter(intim, f) % % Arguments: i...
github
Ciaran1981/SeAMS-master
adaptivethresh.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/adaptivethresh.m
5,822
utf_8
bc7dac46afe55c2c4fb9c0add2d40792
% ADAPTIVETHRESH - Wellner's adaptive thresholding % % Thresholds an image using a threshold that is varied across the image relative % to the local mean, or median, at that point in the image. Works quite well on % text with shadows % % Usage: bw = adaptivethresh(im, fsize, t, filterType, thresholdMode) % % bw...
github
Ciaran1981/SeAMS-master
featureorient.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/featureorient.m
4,226
utf_8
a6493ad9d0ee982914e92bc8b1e31ce3
% FEATUREORIENT - Estimates the local orientation of features in an edgeimage % % Usage: orientim = featureorient(im, gradientsigma,... % blocksigma, ... % orientsmoothsigma, ... % radians) % % Arguments: im...
github
Ciaran1981/SeAMS-master
cleanupregions.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/cleanupregions.m
5,516
utf_8
c5b7d4595fd7df10edbce6cbb7cc912e
% CLEANUPREGIONS Cleans up small segments in an image of segmented regions % % Usage: [seg, Am] = cleanupregions(seg, areaThresh, connectivity) % % Arguments: seg - A region segmented image, such as might be produced by a % graph cut algorithm. All pixels in each region are labeled % ...
github
Ciaran1981/SeAMS-master
subpix2d.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/subpix2d.m
3,983
utf_8
18d15956198e29a24e64871a95378041
% SUBPIX2D Sub-pixel locations in 2D image % % Usage: [rs, cs] = subpix2d(r, c, L); % % Arguments: % r, c - row, col vectors of extrema to pixel precision. % L - 2D corner image % % Returns: % rs, cs - row, col vectors of valid extrema to sub-pixel % precision. % % Note that...
github
Ciaran1981/SeAMS-master
filterregionproperties.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/filterregionproperties.m
3,361
utf_8
78fd996bb33dcfb2a24751069b09f3ee
% FILTERREGIONPROPERTIES Filters regions on their property's values % % Usage: bw = filterregionproperties(bw, {property, fn, value}, { ... } ) % % Arguments: % bw - Binary image % {property, fn, value} - 3-element cell array consisting of: % property - String matchi...
github
Ciaran1981/SeAMS-master
intfilttranspose.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/intfilttranspose.m
1,102
utf_8
0007e26379314049c0716d1ff851e36c
% INTFILTTRANSPOSE - transposes an integral filter % % Usage: ft = intfilttranspose(f) % % Argument: f - an integral image filter as described in the function INTEGRALFILTER % % Returns: ft - a transposed version of the filter % % See also: INTEGRALFILTER, INTEGRALIMAGE, INTEGAVERAGE % Copyright (c) 2007 Peter Koves...
github
Ciaran1981/SeAMS-master
makeregionsdistinct.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/makeregionsdistinct.m
2,142
utf_8
87ec3511235a3eefd60cffbc8135de46
% MAKEREGIONSDISTINCT Ensures labeled segments are distinct % % Usage: [seg, maxlabel] = makeregionsdistinct(seg, connectivity) % % Arguments: seg - A region segmented image, such as might be produced by a % superpixel or graph cut algorithm. All pixels in each % region are labeled by...
github
Ciaran1981/SeAMS-master
mcleanupregions.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/mcleanupregions.m
4,352
utf_8
956767ca7a2a6d8f168c2b2ab86d64f9
% MCLEANUPREGIONS Morphological clean up of small segments in an image of segmented regions % % Usage: [seg, Am] = mcleanupregions(seg, seRadius) % % Arguments: seg - A region segmented image, such as might be produced by a % graph cut algorithm. All pixels in each region are labeled % ...
github
Ciaran1981/SeAMS-master
integaverage.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/integaverage.m
2,088
utf_8
6ff6d948c4e18c25ee2d9269d186448c
% INTEGAVERAGE - performs averaging filtering using an integral image % % Usage: avim = integaverage(im,rad) % % Arguments: im - Image to be filtered % rad - 'Radius' of square region over which averaging is % performed (rad = 1 implies a 3x3 average) % Returns: avim ...
github
Ciaran1981/SeAMS-master
subpix3d.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/subpix3d.m
4,434
utf_8
22fda4d036d1bac30b6b36da20187f7a
% SUBPIX3D Sub-pixel locations in 3D volume % % Usage: [rs, cs, ss] = subpix3d(r, c, s, L); % % Arguments: % r, c, s - row, col and scale vectors of extrema to pixel precision. % L - 3D volumetric corner data, or 2D + scale space data. % % Returns: % rs, cs, ss - row, col and scale vectors of val...
github
Ciaran1981/SeAMS-master
fastradial.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/fastradial.m
5,399
utf_8
b540902aad74684be591d3126ad87319
% FASTRADIAL - Loy and Zelinski's fast radial feature detector % % An implementation of Loy and Zelinski's fast radial feature detector % % Usage: S = fastradial(im, radii, alpha, beta) % % Arguments: % im - Image to be analysed % radii - Array of integer radius values to be processed ...
github
Ciaran1981/SeAMS-master
maskimage.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/maskimage.m
1,122
utf_8
189c1feb312b970fdf4e22824ef53747
% MASKIMAGE Apply mask to image % % Usage: maskedim = maskimage(im, mask, col) % % Arguments: im - Image to be masked % mask - Binary masking image % col - Value/colour to be applied to regions where mask == 1 % If im is a colour image col can be a 3-vector % ...
github
Ciaran1981/SeAMS-master
impad.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/impad.m
1,007
utf_8
dbffc182864409600c65556c2136b244
% IMPAD - adds zeros to the boundary of an image % % Usage: paddedim = impad(im, b, v) % % Arguments: im - Image to be padded (greyscale or colour) % b - Width of padding boundary to be added % v - Optional padding value if you do not want it to be 0. % % Returns: paddedim - Padded ...
github
Ciaran1981/SeAMS-master
finddisconnected.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/finddisconnected.m
2,563
utf_8
3e7d83e1dd00f59f9bd54fe42b93428b
% FINDDISCONNECTED find groupings of disconnected labeled regions % % Usage: list = finddisconnected(l) % % Argument: l - A labeled image segmenting an image into regions, such as % might be produced by a graph cut or superpixel algorithm. % All pixels in each region are labeled by an ...
github
Ciaran1981/SeAMS-master
gaussfilt.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/gaussfilt.m
1,114
utf_8
4e021d34f436d86073a1a4fcb135b2b7
% GAUSSFILT - Small wrapper function for convenient Gaussian filtering % % Usage: smim = gaussfilt(im, sigma) % % Arguments: im - Image to be smoothed. % sigma - Standard deviation of Gaussian filter. % % Returns: smim - Smoothed image. % % If called with sigma = 0 the function immediately returns with ...
github
Ciaran1981/SeAMS-master
derivative5.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/derivative5.m
4,808
utf_8
989b39a3f681a8cad7375573fa1a7a0f
% DERIVATIVE5 - 5-Tap 1st and 2nd discrete derivatives % % This function computes 1st and 2nd derivatives of an image using the 5-tap % coefficients given by Farid and Simoncelli. The results are significantly % more accurate than MATLAB's GRADIENT function on edges that are at angles % other than vertical or horizont...
github
Ciaran1981/SeAMS-master
solveinteg.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/solveinteg.m
3,146
utf_8
0b0df74b4066fbe41ed1f8a44f09200f
% SOLVEINTEG % % This function is used by INTEGGAUSFILT to solve for the multiple averaging % filter widths needed to approximate a Gaussian of desired standard deviation. % % Usage: [wl, wu, m, sigmaActual] = solveinteg(sigma, n) % % Arguments: sigma - Desired standard deviation of Gaussian. This should not % ...
github
Ciaran1981/SeAMS-master
derivative7.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/derivative7.m
3,752
utf_8
59ac2311726917925b934ce48b7ae87f
% DERIVATIVE5 - 7-Tap 1st and 2nd discrete derivatives % % This function computes 1st and 2nd derivatives of an image using the 7-tap % coefficients given by Farid and Simoncelli. The results are significantly % more accurate than MATLAB's GRADIENT function on edges that are at angles % other than vertical or horizont...
github
Ciaran1981/SeAMS-master
nonmaxsup.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/nonmaxsup.m
6,606
utf_8
175ee530f04d95568bfbdb8b17524c7f
% NONMAXSUP - Non-maxima suppression % % Usage: % [im,location] = nonmaxsup(inimage, orient, radius); % % Function for performing non-maxima suppression on an image using an % orientation image. It is assumed that the orientation image gives % feature normal orientation angles in degrees (0-180). % % Input: ...
github
Ciaran1981/SeAMS-master
integgaussfilt.m
.m
SeAMS-master/Utilities/MatlabFns/Spatial/integgaussfilt.m
4,116
utf_8
957cc904a9b7d1545d8c3094dfc9e044
% INTEGGAUSSFILT - Approximate Gaussian filtering using integral filters % % This function approximates Gaussian filtering by repeatedly applying % averaging filters. The averaging is performed via integral images which % results in a fixed and very low computational cost that is independent of % the Gaussian size. % ...
github
Ciaran1981/SeAMS-master
rotx.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/rotx.m
589
utf_8
bc55598911b9d73eb90ab44cab59a9db
% ROTX - Homogeneous transformation for a rotation about the x axis % % Usage: T = rotx(theta) % % Argument: theta - rotation about x axis % Returns: T - 4x4 homogeneous transformation matrix % % See also: TRANS, ROTY, ROTZ, INVHT % Copyright (c) 2001 Peter Kovesi % School of Computer Science & Software Engin...
github
Ciaran1981/SeAMS-master
angleaxisrotate.m
.m
SeAMS-master/Utilities/MatlabFns/Rotations/angleaxisrotate.m
1,383
utf_8
9ac58e5db9309d73f49b53b0f9c99b6d
% ANGLEAXISROTATE - uses angle axis descriptor to rotate vectors % % Usage: v2 = angleaxisrotate(t, v) % % Arguments: t - 3-vector giving rotation axis with magnitude equal to the % rotation angle in radians. % v - 4xn matrix of homogeneous 4-vectors to be rotated or % 3...