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
jacksky64/imageProcessing-master
namenpath.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
rgb2cmyk.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/rgb2cmyk.m
1,000
utf_8
21df7ae00f80e81c2fb8577985fd5f65
% RGB2CMYK - Basic conversion of RGB colour table to cmyk % % Usage: cmyk = rgb2cmyk(map) % % Argument: map - N x 3 table of RGB values (assumed 0 - 1) % Returns: cmyk - N x 4 table of cmyk values % % Note that you can use MATLAB's functions MAKECFORM and APPLYCFORM to % perform the conversion. However I find...
github
jacksky64/imageProcessing-master
removenan.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
rectintersect.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/rectintersect.m
605
utf_8
2f251c6700fc7ac087c802341994cf69
% RECTINTERSECT - Returns true if rectangles intersect % % Usage: intersect = rectintersect(r1, r2) % % Arguments: r1, r2 - The two rectangles to be tested where the % rectangles are defined following the MATLAB % convention of [left bottom width height] % % See also: RECTA...
github
jacksky64/imageProcessing-master
togglefigs.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/togglefigs.m
3,177
utf_8
fa815dc34f1c5f91ce9a79d45915bca9
% TOGGLEFIGS Convenient switching between figures to aid comparison % % Usage 1: togglefigs % % Use arrow keys to index through figures that are currently being displayed, or % enter single digit figure numbers to select figures directly. % Hit ''X'' to exit. % % Usage 2: togglefigs(figs) % Argument: figs - figur...
github
jacksky64/imageProcessing-master
pointinconvexpoly.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/pointinconvexpoly.m
2,515
utf_8
2540c1eb544a1a7ed698bcd917996db6
% POINTINCONVEXPOLY Determine if a 2D point is within a convex polygon % % Usage: v = pointinconvexpoly(p, poly) % % Arguments: p - 2D point. % poly - Convex polygon defined as a series of vertices in % sequence, clockwise or anticlockwise around the polygon as % a 2 x N a...
github
jacksky64/imageProcessing-master
geosofttbl2map.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/geosofttbl2map.m
1,313
utf_8
97f965db62a9a1ea1d2d5bccb32bd608
% GEOSOFTTBL2MAP Converts Geosoft .tbl file to MATLAB colourmap % % Usage: geosofttbl2map(filename, map) % % Arguments: filename - Input filename of tbl file % map - N x 3 rgb colourmap % % % This function reads a Geosoft .tbl file and converts the KCMY values to a RGB % colourmap. % % See als...
github
jacksky64/imageProcessing-master
matscii.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
chirpexp.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/chirpexp.m
1,971
utf_8
9b0330d3aaf9432d3b2aa5f9322406b7
% CHIRPEXP Generates exponential chirp test image % % The test image consists of an exponential chirp signal in the horizontal % direction with the amplitude of the chirp being modulated from 1 at the top of % the image to 0 at the bottom. % % Usage: im = chirpexp(sze, w0, w1, p) % % Arguments: sze - [rows cols] ...
github
jacksky64/imageProcessing-master
geoseries.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/geoseries.m
1,666
utf_8
8235bdedc3251f7e5b688f27de734492
% GEOSERIES Generate geometric series % % Usage 1: s = geoseries(s1, mult, n) % % Arguments: s1 - The starting value in the series. % mult - The scaling factor between succesive values. % n - The desired number of elements in the series. % % Usage 2: s = geoseries([s1 sn], n) % % Arg...
github
jacksky64/imageProcessing-master
strstartswith.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
cubicroots.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
findimage.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/findimage.m
1,030
utf_8
d22c0bf85ea1bee389ca4ca6abdc58f4
% FINDIMAGE - invokes image dialog box for interactive image loading % % Usage: [im, filename] = findimage(disp, c) % % Arguments: % disp - optional flag 1/0 that results in image being displayed % c - optional flag 1/0 that results in imcrop being invoked % Returns: % im - image %...
github
jacksky64/imageProcessing-master
strendswith.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/strendswith.m
1,172
utf_8
a53036600dfe2e1dfcf91ecf2909348b
% STRENDSWITH - tests if a string ends with a specified substring % % Usage: b = strendswith(str, substr) % % Arguments: % str - string to be tested % substr - ending of string that we are hoping to find. % substr may be a cell array of string endings, in this case % the fu...
github
jacksky64/imageProcessing-master
viewlabspace.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/viewlabspace.m
7,192
utf_8
cbfb89e9024d64a0fe77892badc56b0c
% VIEWLABSPACE Visualisation of L*a*b* space % % Usage: viewlabspace(dL) % % Argument: dL - Optional increment in lightness with each slice of L*a*b* % space. Defaults to 5 % % Function allows interactive viewing of a sequence of images corresponding to % different slices of lightness in L*a*b* s...
github
jacksky64/imageProcessing-master
circularstruct.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Misc/circularstruct.m
648
utf_8
aec494462bd52689db93faf1d6a9ea60
% CIRCULARSTRUCT % % Function to construct a circular structuring element % for morphological operations. % % function strel = circularstruct(radius) % % Note radius can be a floating point value though the resulting % circle will be a discrete approximation % % Peter Kovesi March 2000 function strel = circularstruc...
github
jacksky64/imageProcessing-master
supertorus.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
superquad.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
gplot3d.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
icosahedron.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
geodome.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Shapes/geodome.m
7,596
utf_8
d70bca00571f6191c84ac6221a8de9b3
% GEODOME Generates geodesic sphere % % Usage: [xyz, A, F] = geodome(frequency, radius) % % The sphere is generated from subdivisions of the faces of an icosahedron. % % Arguments: % frequency - The number of subdivisions of each edge of an % icosahedron. A frequency of 1 will give you a...
github
jacksky64/imageProcessing-master
drawfaces.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
matchbymonogenicphase.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
matchbycorrelation.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
phasesym.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
phasesymmono.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
phasecong2.m
.m
imageProcessing-master/Matlab Code for Computer Vision/PhaseCongruency/phasecong2.m
22,754
utf_8
4c97e691728c820aefd65a29a31d6dc5
% 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
jacksky64/imageProcessing-master
phasecong3.m
.m
imageProcessing-master/Matlab Code for Computer Vision/PhaseCongruency/phasecong3.m
26,465
utf_8
0c014f3a3af8bd7658da095b5c402b61
% 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
jacksky64/imageProcessing-master
noisecomp.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
loggabor.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
phasecongmono.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
highpassmonogenic.m
.m
imageProcessing-master/Matlab Code for Computer Vision/PhaseCongruency/highpassmonogenic.m
5,083
utf_8
5757adc283f2cfd76b0279ac438de2a9
% 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
jacksky64/imageProcessing-master
step2line.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
odot.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
dispfeat.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
gaborconvolve.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
monofilt.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ppdrc.m
.m
imageProcessing-master/Matlab Code for Computer Vision/PhaseCongruency/ppdrc.m
6,348
utf_8
a73a5e99aa7b7db0ace9da43a9a88e26
% 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
jacksky64/imageProcessing-master
plotgaborfilters.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
spatialgabor.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
phasecong.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
convexplpiccis.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
needleplotgrad.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
needleplotst.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
grad2slanttilt.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
testp.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Shapelet/testp.m
2,436
utf_8
9568a363ea5a8f8a4a4d28e4b6bdb4ff
% 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
jacksky64/imageProcessing-master
frankotchellappa.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
slanttilt2grad.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
shapeletsurf.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ridgefreq.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
freqest.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ridgefilter.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ridgesegment.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
plotridgeorient.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ridgeorient.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
testfin.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
adjcontrast.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
histtruncate.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
adjgamma.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
histeqfloat.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
extractfields.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
interpfields.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
agc.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
normalise.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
remapim.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
greytrans.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ransacfitfundmatrix7.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
fitline3d.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ransacfitfundmatrix.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Robust/ransacfitfundmatrix.m
5,810
utf_8
26f6632c53896e5e0e2f95b86e26394d
% 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
jacksky64/imageProcessing-master
ransacfitaffinefund.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
fitplane.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
randomsample.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
iscolinear.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ransacfithomography.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ransac.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Robust/ransac.m
10,255
utf_8
c362c71608a367b36e27faf346c8e810
% 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
jacksky64/imageProcessing-master
fitline.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ransacfitline.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ransacfitplane.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
testfund.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Robust/example/testfund.m
4,834
utf_8
0a1cac5c368987d90056180271adbfb5
% 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
jacksky64/imageProcessing-master
testfitline.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
testhomog.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
testfundOctave.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
testfitplane.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
testvgghomog.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
map2lutfile.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
labmaplib.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
map2ermapperlutfile.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
equalisecolourmap.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Colourmaps/equalisecolourmap.m
17,904
utf_8
fb400048f547aa42b98ce524346562d4
% 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
jacksky64/imageProcessing-master
cmap.m
.m
imageProcessing-master/Matlab Code for Computer Vision/Colourmaps/cmap.m
45,076
utf_8
f2b84fc935b1cb87ca94d191893eefde
% 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
jacksky64/imageProcessing-master
ternarycolours.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
map2qgisstyle.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ternaryimage.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
linearrgbmap.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
readermapperlutfile.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
writecolourmapfn.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
map2geosofttbl.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
readimagejlutfile.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
map2actfile.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
ternarymaps.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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
jacksky64/imageProcessing-master
geosofttbl2map.m
.m
imageProcessing-master/Matlab Code for Computer Vision/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...