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 | mhrztrk/thesis-src-master | FbMake.m | .m | thesis-src-master/toolboxes/piotr_toolbox_V2.53/filters/FbMake.m | 6,951 | utf_8 | 2234c44d8dfbcda481ec59a51fb396f3 | function FB = FbMake( dim, flag, show )
% Various 1D/2D/3D filterbanks (hardcoded).
%
% USAGE
% FB = FbMake( dim, flag, [show] )
%
% INPUTS
% dim - dimension
% flag - controls type of filterbank to create
% - if d==1
% 1: gabor filter bank for spatiotemporal stuff
% - i... |
github | mhrztrk/thesis-src-master | imwritesc.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/imwritesc.m | 1,642 | utf_8 | 96798c62fa074f470f28fdffbcb2809f | % IMWRITESC - Writes an image to file, rescaling if necessary.
%
% Usage: imwritesc(im,name)
%
% Floating point image values are rescaled to the range 0-1 so that no
% overflow occurs when writing 8-bit intensity values. The image format to
% use is determined by MATLAB from the file ending.
% If the image ... |
github | mhrztrk/thesis-src-master | showsurf.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/showsurf.m | 3,887 | utf_8 | 1f50f8abbac642a925b579a58b8e724d | % SHOWSURF - shows parametric surface in a convenient way
%
% This function wraps up the commands I usually use to display a surface.
%
% The surface is displayed using SURFL with interpolated shading, in my
% favourite colormap of 'copper', with rotate3d on, and axis vis3d set.
%
% Usage can be any of the following
% ... |
github | mhrztrk/thesis-src-master | supertorus.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/supertorus.m | 2,444 | utf_8 | 91c1e7e27c0219d233582240dcb7c17e | % SUPERTORUS - generates a 'supertorus' surface
%
% Usage:
% [x,y,z] = supertorus(xscale, yscale, zscale, rad, e1, e2, n)
%
% Arguments:
% xscale, yscale, zscale - Scaling in the x, y and z directions.
% e1, e2 - Exponents of the x and y coords.
% rad - Mean radius of torus.... |
github | mhrztrk/thesis-src-master | show.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/show.m | 4,944 | utf_8 | e2225be3d05b416c72fc6f1acbde02d0 | % SHOW - Displays an image with the right size and colors and with a title.
%
% Usage:
% h = show(im)
% h = show(im, figNo)
% h = show(im, title)
% h = show(im, figNo, title)
%
% Arguments: im - Either a 2 or 3D array of pixel values or the name
% of an image f... |
github | mhrztrk/thesis-src-master | showlogfft.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/showlogfft.m | 1,714 | utf_8 | 42781f03bdda3d2cb65e768aa35df9c8 | % SHOWLOGFFT - Displays log amplitude spectrum of an fft.
%
% Usage: showlogfft(ft, figNo)
%
% Arguments: ft - Fourier transform to be displayed
% figNo - Optional figure number to display image in.
%
% The fft is quadrant shifted to place zero frequency at the centre and the
% log of the amplitude dis... |
github | mhrztrk/thesis-src-master | rgb2lab.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/rgb2lab.m | 858 | utf_8 | a36d40ac469569715a2d55861a001dd5 | % RGB2LAB - RGB to L*a*b* colour space
%
% Usage: Lab = rgb2lab(im)
%
% This function wraps up calls to MAKECFORM and APPLYCFORM in a conveenient
% form. Note that if the image is of type uint8 this function casts it to
% double and divides by 255 so that the transformed image can have the
% proper negative values for... |
github | mhrztrk/thesis-src-master | pathlist.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/pathlist.m | 1,202 | utf_8 | 2551671f5f3c9a17293d82ed6aee8167 | % PATHLIST Produces a cell array of directories along a directory path
%
% Usage: plist = pathlist(fullpath)
%
% Example: If fullpath = '/Users/pk/Matlab/Spatial'
% plist =
% '/' '/Users/' '/Users/pk/' '/Users/pk/Matlab/' '/Users/pk/Matlab/Spatial'
%
% plist{end} is always fullpath
% plist{end-1} is ... |
github | mhrztrk/thesis-src-master | superquad.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/superquad.m | 2,798 | utf_8 | 2dfc95eb41c2bf03bb78f5f0bb8b7c07 | % SUPERQUAD - generates a superquadratic surface
%
% Usage: [x,y,z] = superquad(xscale, yscale, zscale, e1, e2, n)
%
% Arguments:
% xscale, yscale, zscale - Scaling in the x, y and z directions.
% e1, e2 - Exponents of the x and y coords.
% n - Number of subdivisions of logitude an... |
github | mhrztrk/thesis-src-master | rgb2nrgb.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/rgb2nrgb.m | 1,125 | utf_8 | 743c25dcc6996a893f06243bfc96fa8e | % RGB2NRGB - RGB to normalised RGB
%
% Usage: nrgb = rgb2nrgb(im, offset)
%
% Arguments: im - Colour image to be normalised
% offset - Optional value added to (R+G+B) to discount low
% intensity colour values. Defaults to 1
%
% r = R / (R + G + B) etc
% Copyright (c) 2009 Peter ... |
github | mhrztrk/thesis-src-master | weightedhistc.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/weightedhistc.m | 1,498 | utf_8 | b474157c0a9fa58fc7eb358c7c7ccc37 | % WEIGHTEDHISTC Weighted histogram count
%
% This function provides a basic equivalent to MATLAB's HISTC function for
% weighted data.
%
% Usage: h = weightedhistc(vals, weights, edges)
%
% Arguments:
% vals - vector of values.
% weights - vector of weights associated with each element in vals. vals
% ... |
github | mhrztrk/thesis-src-master | clouds.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/clouds.m | 2,224 | utf_8 | 19da24c99a4e3918ef7066646bd5eaf5 | % CLOUDS
%
% Function to create a movie of noise images having 1/f amplitude spectum properties
%
% Usage: clouds(size, factor, meandev, stddev, lowvel, velfactor, nframes)
%
% size - size of image to produce
% factor - controls spectrum = 1/(f^factor)
% meandev - mean change in phaseangle per fr... |
github | mhrztrk/thesis-src-master | matprint.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/matprint.m | 1,453 | utf_8 | bb847e0506584e9e043482b7a69bcbb4 | % MATPRINT - prints a matrix with specified format string
%
% Usage: matprint(a, fmt, fid)
%
% a - Matrix to be printed.
% fmt - C style format string to use for each value.
% fid - Optional file id.
%
% Eg. matprint(a,'%3.1f') will print each entry to 1 decimal place
... |
github | mhrztrk/thesis-src-master | noiseonf.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/noiseonf.m | 2,721 | utf_8 | 7e6aa4c322e74986335ec241a51bcfb2 | % NOISEONF - Creates 1/f spectrum noise images.
%
% Function to create noise images having 1/f amplitude spectum properties.
% When displayed as a surface these images also generate great landscape
% terrain.
%
% Usage: im = noiseonf(size, factor)
%
% size - A 1 or 2-vector specifying size of image to produce... |
github | mhrztrk/thesis-src-master | fillnan.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/fillnan.m | 1,524 | utf_8 | 361c379272f7052c828bc28f2f074685 | % FILLNAN - fills NaN values in an image with closest non Nan value
%
% NaN values in an image are replaced with the value in the closest pixel
% that is not a NaN.
%
% Usage: [newim, mask] = fillnan(im);
%
% Argument: im - Image to be 'filled'
% Returns: newim - Filled image
% mask - Binary i... |
github | mhrztrk/thesis-src-master | polartrans.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/polartrans.m | 3,367 | utf_8 | 9aed63869d7ac444d0e2198fcd91e306 | % POLARTRANS - Transforms image to polar coordinates
%
% Usage: pim = polartrans(im, nrad, ntheta, cx, cy, linlog, shape)
%
% Arguments:
% im - image to be transformed.
% nrad - number of radius values.
% ntheta - number of theta values.
% cx, cy - optional specification... |
github | mhrztrk/thesis-src-master | basename.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/basename.m | 549 | utf_8 | 619048021d1d621f2344798ad8fec477 | % BASENAME Trims off the .ending of a filename
%
% Usage: bname = basename(name)
%
% Argument: name - Name of a file with a .ending
% Returns: bname - Name with the suffix trimmed
% Peter Kovesi
% Centre for Exploration Targeting
% The University of Western Australia
% peter.kovesi at uwa edu au
%
% August 2010
... |
github | mhrztrk/thesis-src-master | showfft.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/showfft.m | 1,583 | utf_8 | 84feb4356cbd80bb40330f4f2ae3097a | % SHOWFFT - Displays amplitude spectrum of an fft.
%
% Usage: showfft(ft, figNo)
%
% Arguments: ft - Fourier transform to be displayed
% figNo - Optional figure number to display image in.
%
% The fft is quadrant shifted to place zero frequency at the centre.
%
% If figNo is omitted a new figure window... |
github | mhrztrk/thesis-src-master | deres.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/deres.m | 525 | utf_8 | 013e5ac5596abe1811cec7954e1abca0 | % DERES - Deresolves an image.
%
% Usage: im2 = deres(im, s)
%
% Arguments: im - image to be deresolved
% s = deresolution factor
%
% Returns the deresolved image
% PK October 2000
function im2 = deres(im, s)
if ndims(im) == 3 % Assume colour image
im2 = zeros(size(im));
im2(:,:,1) = blkproc... |
github | mhrztrk/thesis-src-master | cloud9.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/cloud9.m | 3,590 | utf_8 | 3ce5e64cce1547247f3b914e7a6fc5c8 | % CLOUD9 - Cloud movie of 1/f noise.
%
% Function to create a movie of noise images having 1/f amplitude spectum
% properties.
%
% Usage: CloudMovie = cloud9(size, factor, nturns, velfactor, nframes)
%
% size - [rows cols] size of image to produce
% factor - controls spectrum = 1/(f^factor)
% ntu... |
github | mhrztrk/thesis-src-master | derespolar.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/derespolar.m | 2,543 | utf_8 | 16675236c863fa3ce1c748e6f5264835 | % DERESPOLAR - Desresolves image in polar coordinates.
%
% Performs a deresolution operation on an image using Polar Coordinates
%
% Usage: deres = derespolar(im, nr, na, xc, yc)
% where: nr = resolution in the radial direction
% na = resolution in the angular direction
% ... |
github | mhrztrk/thesis-src-master | digipts.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/digipts.m | 876 | utf_8 | 95a93e018771e295649e1cc41496df4e | % DIGIPTS - digitise points in an image
%
% Function to digitise points in an image. Points are digitised by clicking
% with the left mouse button. Clicking any other button terminates the
% function. Each location digitised is marked with a red '+'.
%
% Usage: [u,v] = digipts
%
% where u and v are nx1 arrays of x... |
github | mhrztrk/thesis-src-master | implace.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/implace.m | 3,014 | utf_8 | e28ca1e9784b3b7297c12b70c7278015 | % IMPLACE - place image at specified location within larger image
%
% Usage: newim = implace(im1, im2, roff, coff)
%
% Arguments:
%
% im1 - Image that im2 is to be placed in.
% im2 - Image to be placed.
% roff - Row and column offset of placement of im2 relative
% coff to im1, (0,0) aligns ... |
github | mhrztrk/thesis-src-master | namenpath.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/namenpath.m | 921 | utf_8 | 2f308fc4b71683904c79d16a0a402c8e | % NAMENPATH Returns filename and its path from a full filename
%
% Usage: [name, pth] = namenpath(fullfilename)
%
% Argument: fullfilename - filename specifier which may include directory
% path specification
%
% Returns: name - The filename without directory path specification
% ... |
github | mhrztrk/thesis-src-master | removenan.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/removenan.m | 1,057 | utf_8 | 69d193c99b44b881024b4b92777413b4 | % REMOVENAN - removes NaNs from an array
%
% Usage: m = removenan(a, defaultval)
%
% a - The matrix containing NaN values
% defaultval - The default value to replace NaNs
% if omitted this defaults to 0
%
% See Also: FILLNAN
% Copyright (c) 2004 Peter Kovesi
% School of Computer Science & ... |
github | mhrztrk/thesis-src-master | togglefigs.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/togglefigs.m | 860 | utf_8 | e6fe90713bccd88e732d44803777c3e4 | % TOGGLEFIGS - toggles figures to aid comparison
%
% Usage: togglefigs(figs)
%
% Argument: figs - figure numbers, separated by commas, to toggle
%
% Example if you have 3 figures you wish to compare manually drag them until
% they are perfectly overlaid, then use
% >> togglefigs(1, 2, 3)
% PK March 2010
function to... |
github | mhrztrk/thesis-src-master | matscii.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/matscii.m | 3,441 | utf_8 | 58129d6167a995d9b76c9cce83edd57a | % MATSCII - Function to generate ASCII images
%
% Usage: picci = matscii(im, width, gamma, filename)
%
% im - 2D array of image brightness colours.
% Image can be grey scale or colour.
% width - desired width of resulting character image.
% gamma - optional gamma value to enhance contrast,
% ... |
github | mhrztrk/thesis-src-master | strstartswith.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/strstartswith.m | 704 | utf_8 | 7d481f98266b52e06c23ec8c2fc6265d | % STRSTARTSWITH - tests if a string starts with a specified substring
%
% Usage: b = strstartswith(str, substr)
%
% Arguments:
% str - string to be tested
% substr - starting string that we are hoping to find
%
% Returns: true/false. Note that case of strings is ignored
%
% See also: STRENDSWITH
% P... |
github | mhrztrk/thesis-src-master | cubicroots.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/cubicroots.m | 2,783 | utf_8 | 88bc63423a4c8bcc0d94d2848fa6be1f | % CUBICROOTS - finds real valued roots of cubic
%
% Usage: root = cubicroots(a,b,c,d)
%
% Arguments:
% a, b, c, d - coeffecients of cubic defined as
% ax^3 + bx^2 + cx + d = 0
% Returns:
% root - an array of 1 or 3 real valued roots
%
% Reference: mathworld.wolfram.com/CubicFormula.html
% ... |
github | mhrztrk/thesis-src-master | findimage.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/findimage.m | 1,005 | utf_8 | a35496ad535eb0a9039a62934c30d3ac | % FINDIMAGE - invokes image dialog box for interactive image loading
%
% Usage: [im, filename] = findimage(disp, c)
%
% Arguments:
% disp - optional flag 1/0 that results in image being displayed
% c - optional flag 1/0 that results in imcrop being invoked
% Returns:
% im - image
%... |
github | mhrztrk/thesis-src-master | strendswith.m | .m | thesis-src-master/toolboxes/Kovesi/Misc/strendswith.m | 784 | utf_8 | 777294f5f43fa2c6b8e3ba00016839b3 | % STRENDSWITH - tests if a string ends with a specified substring
%
% Usage: b = strendswith(str, substr)
%
% Arguments:
% str - string to be tested
% substr - ending of string that we are hoping to find
%
% Returns: true/false. Note that case of strings is ignored
%
% See also: STRSTARTSWITH
% Pete... |
github | mhrztrk/thesis-src-master | supertorus.m | .m | thesis-src-master/toolboxes/Kovesi/Shapes/supertorus.m | 2,444 | utf_8 | 91c1e7e27c0219d233582240dcb7c17e | % SUPERTORUS - generates a 'supertorus' surface
%
% Usage:
% [x,y,z] = supertorus(xscale, yscale, zscale, rad, e1, e2, n)
%
% Arguments:
% xscale, yscale, zscale - Scaling in the x, y and z directions.
% e1, e2 - Exponents of the x and y coords.
% rad - Mean radius of torus.... |
github | mhrztrk/thesis-src-master | superquad.m | .m | thesis-src-master/toolboxes/Kovesi/Shapes/superquad.m | 2,798 | utf_8 | 2dfc95eb41c2bf03bb78f5f0bb8b7c07 | % SUPERQUAD - generates a superquadratic surface
%
% Usage: [x,y,z] = superquad(xscale, yscale, zscale, e1, e2, n)
%
% Arguments:
% xscale, yscale, zscale - Scaling in the x, y and z directions.
% e1, e2 - Exponents of the x and y coords.
% n - Number of subdivisions of logitude an... |
github | mhrztrk/thesis-src-master | gplot3d.m | .m | thesis-src-master/toolboxes/Kovesi/Shapes/gplot3d.m | 3,051 | utf_8 | 023a1e53d0acecbb7ff057579a8854eb | function [Xout,Yout,Zout]=gplot3d(A,xyz,lc)
%GPLOT3D Plot graph, as in "graph theory".
% This is a modification of MATLAB's GPLOT function for vertices in 3D.
% GPLOT3D(A,xyz) plots the graph specified by A and xyz. A graph, G, is
% a set of nodes numbered from 1 to n, and a set of connections, or
% edges, betw... |
github | mhrztrk/thesis-src-master | icosahedron.m | .m | thesis-src-master/toolboxes/Kovesi/Shapes/icosahedron.m | 3,196 | utf_8 | deced73cec8d737a7b03e362c983c1e5 | % ICOSAHEDRON Generates vertices and graph of icosahedron
%
% Usage: [xyz, A, F] = icosahedron(radius)
%
% Argument: radius - Optional radius of icosahedron. Defaults to 1.
% Returns: xyz - 12x3 matrix of vertex coordinates.
% A - Adjacency matrix defining connectivity of vertices.
% ... |
github | mhrztrk/thesis-src-master | geodome.m | .m | thesis-src-master/toolboxes/Kovesi/Shapes/geodome.m | 7,525 | utf_8 | a355932b362ab421da085e542941b502 | % GEODOME Generates geodesic sphere
%
% Usage: [xyz, A, F] = geodome(frequency, radius)
%
% The sphere is generated from subdivisions of the faces of an icosahedron.
%
% Arguments:
% frequency - The number of subdivisions of each edge of an
% icosahedron. A frequency of 1 will give you a... |
github | mhrztrk/thesis-src-master | drawfaces.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | matchbymonogenicphase.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | matchbycorrelation.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | phasesym.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | phasesymmono.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | phasecong2.m | .m | thesis-src-master/toolboxes/Kovesi/PhaseCongruency/phasecong2.m | 23,164 | utf_8 | 83de0661ef7bedb0451b4421ab33d7df | % 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 | mhrztrk/thesis-src-master | phasecong3.m | .m | thesis-src-master/toolboxes/Kovesi/PhaseCongruency/phasecong3.m | 26,353 | utf_8 | e5487ca18d0f3eec5ca9a243d7a70d67 | % 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 f... |
github | mhrztrk/thesis-src-master | noisecomp.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | loggabor.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | phasecongmono.m | .m | thesis-src-master/toolboxes/Kovesi/PhaseCongruency/phasecongmono.m | 21,311 | utf_8 | d5c7d332ac37853547ffb2bb89ff90be | % 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 | mhrztrk/thesis-src-master | step2line.m | .m | thesis-src-master/toolboxes/Kovesi/PhaseCongruency/step2line.m | 2,860 | utf_8 | f7cbae561b36aff75c6ddf6116a81f0e | % 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 | mhrztrk/thesis-src-master | odot.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | dispfeat.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | gaborconvolve.m | .m | thesis-src-master/toolboxes/Kovesi/PhaseCongruency/gaborconvolve.m | 10,987 | utf_8 | 20c5f4435e143462283bdf991dac7c68 | % GABORCONVOLVE - function for convolving image with log-Gabor filters
%
% Usage: [EO, BP] = gaborconvolve(im, nscale, norient, minWaveLength, mult, ...
% sigmaOnf, Lnorm, feedback)
%
% Arguments:
% The convolutions are done via the FFT. Many of the parameters relate
% to the specification of the filters in th... |
github | mhrztrk/thesis-src-master | monofilt.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | plotgaborfilters.m | .m | thesis-src-master/toolboxes/Kovesi/PhaseCongruency/plotgaborfilters.m | 10,315 | utf_8 | fe06f6a4b0311a0008fb9786209e4066 | % 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 | mhrztrk/thesis-src-master | spatialgabor.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | phasecong.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | convexplpiccis.m | .m | thesis-src-master/toolboxes/Kovesi/PhaseCongruency/Docs/convexplpiccis.m | 2,884 | utf_8 | c73812719db08612eddaff3437e2413b | % 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 ... |
github | mhrztrk/thesis-src-master | needleplotgrad.m | .m | thesis-src-master/toolboxes/Kovesi/Shapelet/needleplotgrad.m | 758 | utf_8 | c0bb3b31a34d8fc8cf86c384b5f2da52 | % 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 | mhrztrk/thesis-src-master | needleplotst.m | .m | thesis-src-master/toolboxes/Kovesi/Shapelet/needleplotst.m | 1,443 | utf_8 | 86c5bdaa284362a76e6260f265211832 | % 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
% ... |
github | mhrztrk/thesis-src-master | grad2slanttilt.m | .m | thesis-src-master/toolboxes/Kovesi/Shapelet/grad2slanttilt.m | 1,097 | utf_8 | 051e7b40ca4bf4dbefca92a57a98e63f | % 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 Aus... |
github | mhrztrk/thesis-src-master | testp.m | .m | thesis-src-master/toolboxes/Kovesi/Shapelet/testp.m | 2,445 | utf_8 | 6b2251b60b788250af3cf1e0a34dcc15 | % 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
% ... |
github | mhrztrk/thesis-src-master | frankotchellappa.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | slanttilt2grad.m | .m | thesis-src-master/toolboxes/Kovesi/Shapelet/slanttilt2grad.m | 1,090 | utf_8 | 7fb013bc78a565346b80337d3535d16d | % 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... |
github | mhrztrk/thesis-src-master | shapeletsurf.m | .m | thesis-src-master/toolboxes/Kovesi/Shapelet/shapeletsurf.m | 9,292 | utf_8 | ab9b782a8bb8c8d669105b6ffe6dba0c | % 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. T... |
github | mhrztrk/thesis-src-master | ridgefreq.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | freqest.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | ridgefilter.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | ridgesegment.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | plotridgeorient.m | .m | thesis-src-master/toolboxes/Kovesi/FingerPrints/plotridgeorient.m | 1,898 | utf_8 | 830409dd2081c8e49dec602b704f949d | % 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 i... |
github | mhrztrk/thesis-src-master | ridgeorient.m | .m | thesis-src-master/toolboxes/Kovesi/FingerPrints/ridgeorient.m | 4,184 | utf_8 | e84fa64cec3cd01411a5323fdf55dc89 | % RIDGEORIENT - Estimates the local orientation of ridges in a fingerprint
%
% Usage: [orientim, reliability] = ridgeorientation(im, gradientsigma,...
% blocksigma, ...
% orientsmoothsigma)
%
% Arguments: im - A nor... |
github | mhrztrk/thesis-src-master | testfin.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | adjcontrast.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | histtruncate.m | .m | thesis-src-master/toolboxes/Kovesi/GreyTrans/histtruncate.m | 3,479 | utf_8 | 523f2f8b7d6b7d53677a0f96c9b5feec | % 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 | mhrztrk/thesis-src-master | adjgamma.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | extractfields.m | .m | thesis-src-master/toolboxes/Kovesi/GreyTrans/extractfields.m | 2,581 | utf_8 | 3f7391885ad003848b4060e0033b9736 | % 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 | mhrztrk/thesis-src-master | interpfields.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | normalise.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | remapim.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | greytrans.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | ransacfitfundmatrix7.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | fitline3d.m | .m | thesis-src-master/toolboxes/Kovesi/Robust/fitline3d.m | 1,247 | utf_8 | 1f7cee8975c9f96bfb8aa43046474e5f | % 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 | mhrztrk/thesis-src-master | ransacfitfundmatrix.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | ransacfitaffinefund.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | fitplane.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | randomsample.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | iscolinear.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | ransacfithomography.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | ransac.m | .m | thesis-src-master/toolboxes/Kovesi/Robust/ransac.m | 9,877 | utf_8 | 6161d8cc1a602a9c2796433f55d7b6dd | % 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 | mhrztrk/thesis-src-master | fitline.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | ransacfitline.m | .m | thesis-src-master/toolboxes/Kovesi/Robust/ransacfitline.m | 4,630 | utf_8 | f8170d97622886f0164d889653b6ac4d | % 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 | mhrztrk/thesis-src-master | ransacfitplane.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | testfund.m | .m | thesis-src-master/toolboxes/Kovesi/Robust/example/testfund.m | 4,588 | utf_8 | d04112e1cea81ffff1e0291f50ef57c1 | % 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 | mhrztrk/thesis-src-master | testfitline.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | testhomog.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | testfundOctave.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | testfitplane.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | testvgghomog.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | makehomogeneous.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | plotPoint.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | lengthRatioConstraint.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | fundfromcameras.m | .m | thesis-src-master/toolboxes/Kovesi/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 | mhrztrk/thesis-src-master | circleintersect.m | .m | thesis-src-master/toolboxes/Kovesi/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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.