plateform stringclasses 1
value | repo_name stringlengths 13 113 | name stringlengths 3 74 | ext stringclasses 1
value | path stringlengths 12 229 | size int64 23 843k | source_encoding stringclasses 9
values | md5 stringlengths 32 32 | text stringlengths 23 843k |
|---|---|---|---|---|---|---|---|---|
github | Space-at-VT/Quad_CV-SLAM-master | homography1d.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/homography1d.m | 2,563 | utf_8 | fbc32350ac0b75c481540ff0cf905070 | % HOMOGRAPHY1D - computes 1D homography
%
% Usage: H = homography1d(x1, x2)
%
% Arguments:
% x1 - 2xN set of homogeneous points
% x2 - 2xN set of homogeneous points such that x1<->x2
% Returns:
% H - the 2x2 homography such that x2 = H*x1
%
% This code is modelled after the normalised dir... |
github | Space-at-VT/Quad_CV-SLAM-master | decomposecamera.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/decomposecamera.m | 3,283 | utf_8 | 74f6d563e0498193a8e7d05ec90963c1 | % DECOMPOSECAMERA Decomposition of a camera projection matrix
%
% Usage: [K, R, C, pp, pv] = decomposecamera(P);
%
% P is decomposed into the form P = K*[R -R*C]
%
% Argument: P - 3 x 4 camera projection matrix
% Returns:
% K - Calibration matrix of the form
% | ax s x0 |
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | normalise2dpts.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/normalise2dpts.m | 2,361 | utf_8 | 2b9d94a3681186006a3fd47a45faf939 | % NORMALISE2DPTS - normalises 2D homogeneous points
%
% Function translates and normalises a set of 2D homogeneous points
% so that their centroid is at the origin and their mean distance from
% the origin is sqrt(2). This process typically improves the
% conditioning of any equations used to solve homographies, fun... |
github | Space-at-VT/Quad_CV-SLAM-master | hcross.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Projective/hcross.m | 919 | utf_8 | dbb3f3d4ef79e25ca3000ea976409e0c | % HCROSS - Homogeneous cross product, result normalised to s = 1.
%
% Function to form cross product between two points, or lines,
% in homogeneous coodinates. The result is normalised to lie
% in the scale = 1 plane.
%
% Usage: c = hcross(a,b)
%
% Copyright (c) 2000-2005 Peter Kovesi
% School of Computer Science & ... |
github | Space-at-VT/Quad_CV-SLAM-master | upwardcontinue.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Geosci/upwardcontinue.m | 3,839 | utf_8 | a7a1d8416166d9c658b7a7d4bac8770b | % UPWARDCONTINUE Upward continuation for magnetic or gravity potential field data
%
% Usage: [up, psf] = upwardcontinue(im, h, dx, dy)
%
% Arguments: im - Input potential field image
% h - Height to upward continue to (+ve)
% dx, dy - Grid spacing in x and y. The upward continuation height
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | orientationfilter.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Geosci/orientationfilter.m | 6,042 | utf_8 | 9e5fa0a05cdc4d0f3b48c2710e4e91f4 | % ORIENTATIONFILTER Generate orientation selective filterings of an image
%
% Usage: oim = orientationfilter(im, norient, angoverlap, boost, cutoff, histcut)
%
% Arguments: im - Image to be filtered.
% norient - Number of orientations, try 8.
% angoverlap - Angular bandwidth overlap factor. A va... |
github | Space-at-VT/Quad_CV-SLAM-master | relief.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Geosci/relief.m | 5,218 | utf_8 | 8f99e38c832592297aa91384d12779a2 | % RELIEF Generates relief shaded image
%
% Usage: shadeim = relief(im, azimuth, elevation, dx, rgbim)
%
% Arguments: im - Image/heightmap to be relief shaded.
% azimuth - Of light direction in degrees. Zero azimuth points
% upwards and increases clockwise. Defaults to 45.
% elevation - ... |
github | Space-at-VT/Quad_CV-SLAM-master | irelief.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Geosci/irelief.m | 13,014 | utf_8 | f5dec6de9b362a6a4b8ee3a046bf3209 | % IRELIEF Interactive Relief Shading
%
% Usage: irelief(im, rgbim, figNo)
%
% Arguments: im - Image/heightmap to be relief shaded
% rgbim - Optional RGB image to which the shading pattern derived
% from 'im' is applied. Alternatively, rgbim can be a Nx3
% RGB colourmap whic... |
github | Space-at-VT/Quad_CV-SLAM-master | agc.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Geosci/agc.m | 3,871 | utf_8 | e4153ae09348114147d2cd732b327195 | % AGC Automatic Gain Control for geophysical images
%
% Usage: agcim = agc(im, sigma, p, r)
%
% Arguments: im - The input image. NaNs in the image are handled
% automatically.
% sigma - The standard deviation of the Gaussian filter used to
% determine local image me... |
github | Space-at-VT/Quad_CV-SLAM-master | smoothorient.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/smoothorient.m | 1,577 | utf_8 | 792640aa0e4acc0b3bf99d63587a382f | % SMOOTHORIENT - applies smoothing to orientation field
%
% Usage: smorient = smoothorient(orient, sigma)
%
% Input:
% orient - Image containing feature normal orientation angles in degrees.
% sigma - Standard deviation of Gaussian to use (try 1)
%
% Returns:
% smorient - Smoothed orientation image.
... |
github | Space-at-VT/Quad_CV-SLAM-master | imtrim.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/imtrim.m | 767 | utf_8 | 3198c92eac92c39200792c9dc1e94f9d | % IMTRIM - removes a boundary of an image
%
% Usage: trimmedim = imtrim(im, b)
%
% Arguments: im - Image to be trimmed (greyscale or colour)
% b - Width of boundary to be removed
%
% Returns: trimmedim - Trimmed image of size rows-2*b x cols-2*b
%
% See also: IMPAD, IMSETBORDER
% Peter Kovesi
% Ce... |
github | Space-at-VT/Quad_CV-SLAM-master | regionadjacency.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/regionadjacency.m | 4,510 | utf_8 | c2fb48dec79835eac0afc0d068601942 | % REGIONADJACENCY Computes adjacency matrix for image of labeled segmented regions
%
% Usage: [Am, Al] = regionadjacency(L, connectivity)
%
% Arguments: L - A region segmented image, such as might be produced by a
% graph cut or superpixel algorithm. All pixels in each
% region are la... |
github | Space-at-VT/Quad_CV-SLAM-master | integgausfilt.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/integgausfilt.m | 2,500 | utf_8 | a2a14a4604cd4a021514fffb77dd587e | % INTEGGAUSFILT - Approximate Gaussian filtering using integral filters
%
% This function approximates Gaussian filtering by repeatedly applying
% averaging filters. The averaging is performed via integral images which
% results in a fixed and very low computational cost that is independent of
% the Gaussian size.
%
%... |
github | Space-at-VT/Quad_CV-SLAM-master | anisodiff.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/anisodiff.m | 2,612 | utf_8 | 44cb5f8f44aea3b4e24ab8a438b049be | % ANISODIFF - Anisotropic diffusion.
%
% Usage:
% diff = anisodiff(im, niter, kappa, lambda, option)
%
% Arguments:
% im - input image
% niter - number of iterations.
% kappa - conduction coefficient 20-100 ?
% lambda - max value of .25 for stability
% option - 1 Perona Ma... |
github | Space-at-VT/Quad_CV-SLAM-master | drawregionboundaries.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/drawregionboundaries.m | 2,312 | utf_8 | 52e55969a30f9db62b4847f5a14997d4 | % DRAWREGIONBOUNDARIES Draw boundaries of labeled regions in an image
%
% Usage: maskim = drawregionboundaries(l, im, col)
%
% Arguments:
% l - Labeled image of regions.
% im - Optional image to overlay the region boundaries on.
% col - Optional colour specification. Defaults to black. No... |
github | Space-at-VT/Quad_CV-SLAM-master | canny.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/canny.m | 2,293 | utf_8 | 6bdaaea9bcfecd3c0443e573bdac5381 | % CANNY - Canny edge detection
%
% Function to perform Canny edge detection.
%
% Usage: [gradient or] = canny(im, sigma)
%
% Arguments: im - image to be procesed
% sigma - standard deviation of Gaussian smoothing filter.
% Optional, defaults to 1.
%
% Returns: gradient - edge... |
github | Space-at-VT/Quad_CV-SLAM-master | integralimage.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/integralimage.m | 1,583 | utf_8 | 625ff486923979d644b6b48a01c2af43 | % INTEGRALIMAGE - computes integral image of an image
%
% Usage: intim = integralimage(im)
%
% This function computes an integral image such that the value of intim(r,c)
% equals sum(sum(im(1:r, 1:c))
%
% An integral image can be used with the function INTEGRALFILTER to perform
% filtering operations (using rectangula... |
github | Space-at-VT/Quad_CV-SLAM-master | slic.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/slic.m | 14,802 | utf_8 | 6b0c38eeaddd4c3c4c9de2c660dffb6d | % SLIC Simple Linear Iterative Clustering SuperPixels
%
% Implementation of Achanta, Shaji, Smith, Lucchi, Fua and Susstrunk's
% SLIC Superpixels
%
% Usage: [l, Am, Sp, d] = slic(im, k, m, seRadius, colopt, mw)
%
% Arguments: im - Image to be segmented.
% k - Number of desired superpixels. Note that thi... |
github | Space-at-VT/Quad_CV-SLAM-master | nonmaxsuppts.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/nonmaxsuppts.m | 5,260 | utf_8 | 6399ae2ee34081b954004dc47eec6578 | % NONMAXSUPPTS - Non-maximal suppression for features/corners
%
% Non maxima suppression and thresholding for points generated by a feature
% or corner detector.
%
% Usage: [r,c] = nonmaxsuppts(cim, radius, thresh, im)
% /
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | hysthresh.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/hysthresh.m | 2,218 | utf_8 | 1083374237be0a6bad69e6afd431e1c0 | % HYSTHRESH - Hysteresis thresholding
%
% Usage: bw = hysthresh(im, T1, T2)
%
% Arguments:
% im - image to be thresholded (assumed to be non-negative)
% T1 - upper threshold value
% T2 - lower threshold value
% (T1 and T2 can be entered in any order, the larger o... |
github | Space-at-VT/Quad_CV-SLAM-master | renumberregions.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/renumberregions.m | 2,350 | utf_8 | 0bf07a365af7d4978066949f3e98d8a5 | % RENUMBERREGIONS
%
% Usage: [nL, minLabel, maxLabel] = renumberregions(L)
%
% Argument: L - A labeled image segmenting an image into regions, such as
% might be produced by a graph cut or superpixel algorithm.
% All pixels in each region are labeled by an integer.
%
% Returns: nL - ... |
github | Space-at-VT/Quad_CV-SLAM-master | harris.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/harris.m | 4,704 | utf_8 | db810db41e16c4fc210438eeb81ad3be | % HARRIS - Harris corner detector
%
% Usage: cim = harris(im, sigma)
% [cim, r, c] = harris(im, sigma, thresh, radius, disp)
% [cim, r, c, rsubp, csubp] = harris(im, sigma, thresh, radius, disp)
%
% Arguments:
% im - image to be processed.
% sigma - standard... |
github | Space-at-VT/Quad_CV-SLAM-master | imsetborder.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/imsetborder.m | 807 | utf_8 | 8dd6e75f6b5240fffbdb56e60521ef9b | % IMSETBORDER - sets pixels on image border to a value
%
% Usage: im = imsetborder(im, b, v)
%
% Arguments:
% im - image
% b - border size
% v - value to set image borders to (defaults to 0)
%
% See also: IMPAD, IMTRIM
% Peter Kovesi
% Centre for Exploration Targeting
% The Universit... |
github | Space-at-VT/Quad_CV-SLAM-master | integralfilter.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/integralfilter.m | 3,939 | utf_8 | ec95f49a7ef5558aefe8fd9a4309c358 | % INTEGRALFILTER - performs filtering using an integral image
%
% This function exploits an integral image to perform filtering operations
% (using rectangular filters) on an image in time that only depends on the
% image size irrespective of the filter size.
%
% Usage: fim = integralfilter(intim, f)
%
% Arguments: i... |
github | Space-at-VT/Quad_CV-SLAM-master | adaptivethresh.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/adaptivethresh.m | 5,822 | utf_8 | bc7dac46afe55c2c4fb9c0add2d40792 | % ADAPTIVETHRESH - Wellner's adaptive thresholding
%
% Thresholds an image using a threshold that is varied across the image relative
% to the local mean, or median, at that point in the image. Works quite well on
% text with shadows
%
% Usage: bw = adaptivethresh(im, fsize, t, filterType, thresholdMode)
%
% bw... |
github | Space-at-VT/Quad_CV-SLAM-master | featureorient.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/featureorient.m | 4,226 | utf_8 | a6493ad9d0ee982914e92bc8b1e31ce3 | % FEATUREORIENT - Estimates the local orientation of features in an edgeimage
%
% Usage: orientim = featureorient(im, gradientsigma,...
% blocksigma, ...
% orientsmoothsigma, ...
% radians)
%
% Arguments: im... |
github | Space-at-VT/Quad_CV-SLAM-master | cleanupregions.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/cleanupregions.m | 5,516 | utf_8 | c5b7d4595fd7df10edbce6cbb7cc912e | % CLEANUPREGIONS Cleans up small segments in an image of segmented regions
%
% Usage: [seg, Am] = cleanupregions(seg, areaThresh, connectivity)
%
% Arguments: seg - A region segmented image, such as might be produced by a
% graph cut algorithm. All pixels in each region are labeled
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | subpix2d.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/subpix2d.m | 3,983 | utf_8 | 18d15956198e29a24e64871a95378041 | % SUBPIX2D Sub-pixel locations in 2D image
%
% Usage: [rs, cs] = subpix2d(r, c, L);
%
% Arguments:
% r, c - row, col vectors of extrema to pixel precision.
% L - 2D corner image
%
% Returns:
% rs, cs - row, col vectors of valid extrema to sub-pixel
% precision.
%
% Note that... |
github | Space-at-VT/Quad_CV-SLAM-master | filterregionproperties.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/filterregionproperties.m | 3,361 | utf_8 | 78fd996bb33dcfb2a24751069b09f3ee | % FILTERREGIONPROPERTIES Filters regions on their property's values
%
% Usage: bw = filterregionproperties(bw, {property, fn, value}, { ... } )
%
% Arguments:
% bw - Binary image
% {property, fn, value} - 3-element cell array consisting of:
% property - String matchi... |
github | Space-at-VT/Quad_CV-SLAM-master | intfilttranspose.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/intfilttranspose.m | 1,102 | utf_8 | 0007e26379314049c0716d1ff851e36c | % INTFILTTRANSPOSE - transposes an integral filter
%
% Usage: ft = intfilttranspose(f)
%
% Argument: f - an integral image filter as described in the function INTEGRALFILTER
%
% Returns: ft - a transposed version of the filter
%
% See also: INTEGRALFILTER, INTEGRALIMAGE, INTEGAVERAGE
% Copyright (c) 2007 Peter Koves... |
github | Space-at-VT/Quad_CV-SLAM-master | makeregionsdistinct.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/makeregionsdistinct.m | 2,142 | utf_8 | 87ec3511235a3eefd60cffbc8135de46 | % MAKEREGIONSDISTINCT Ensures labeled segments are distinct
%
% Usage: [seg, maxlabel] = makeregionsdistinct(seg, connectivity)
%
% Arguments: seg - A region segmented image, such as might be produced by a
% superpixel or graph cut algorithm. All pixels in each
% region are labeled by... |
github | Space-at-VT/Quad_CV-SLAM-master | mcleanupregions.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/mcleanupregions.m | 4,352 | utf_8 | 956767ca7a2a6d8f168c2b2ab86d64f9 | % MCLEANUPREGIONS Morphological clean up of small segments in an image of segmented regions
%
% Usage: [seg, Am] = mcleanupregions(seg, seRadius)
%
% Arguments: seg - A region segmented image, such as might be produced by a
% graph cut algorithm. All pixels in each region are labeled
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | integaverage.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/integaverage.m | 2,088 | utf_8 | 6ff6d948c4e18c25ee2d9269d186448c | % INTEGAVERAGE - performs averaging filtering using an integral image
%
% Usage: avim = integaverage(im,rad)
%
% Arguments: im - Image to be filtered
% rad - 'Radius' of square region over which averaging is
% performed (rad = 1 implies a 3x3 average)
% Returns: avim ... |
github | Space-at-VT/Quad_CV-SLAM-master | subpix3d.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/subpix3d.m | 4,434 | utf_8 | 22fda4d036d1bac30b6b36da20187f7a | % SUBPIX3D Sub-pixel locations in 3D volume
%
% Usage: [rs, cs, ss] = subpix3d(r, c, s, L);
%
% Arguments:
% r, c, s - row, col and scale vectors of extrema to pixel precision.
% L - 3D volumetric corner data, or 2D + scale space data.
%
% Returns:
% rs, cs, ss - row, col and scale vectors of val... |
github | Space-at-VT/Quad_CV-SLAM-master | fastradial.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/fastradial.m | 5,266 | utf_8 | a2c8bf249cad23d23934aef50e515289 | % FASTRADIAL - Loy and Zelinski's fast radial feature detector
%
% An implementation of Loy and Zelinski's fast radial feature detector
%
% Usage: S = fastradial(im, radii, alpha, beta)
%
% Arguments:
% im - Image to be analysed
% radii - Array of integer radius values to be processed
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | maskimage.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/maskimage.m | 1,122 | utf_8 | 189c1feb312b970fdf4e22824ef53747 | % MASKIMAGE Apply mask to image
%
% Usage: maskedim = maskimage(im, mask, col)
%
% Arguments: im - Image to be masked
% mask - Binary masking image
% col - Value/colour to be applied to regions where mask == 1
% If im is a colour image col can be a 3-vector
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | impad.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/impad.m | 1,007 | utf_8 | dbffc182864409600c65556c2136b244 | % IMPAD - adds zeros to the boundary of an image
%
% Usage: paddedim = impad(im, b, v)
%
% Arguments: im - Image to be padded (greyscale or colour)
% b - Width of padding boundary to be added
% v - Optional padding value if you do not want it to be 0.
%
% Returns: paddedim - Padded ... |
github | Space-at-VT/Quad_CV-SLAM-master | finddisconnected.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/finddisconnected.m | 2,563 | utf_8 | 3e7d83e1dd00f59f9bd54fe42b93428b | % FINDDISCONNECTED find groupings of disconnected labeled regions
%
% Usage: list = finddisconnected(l)
%
% Argument: l - A labeled image segmenting an image into regions, such as
% might be produced by a graph cut or superpixel algorithm.
% All pixels in each region are labeled by an ... |
github | Space-at-VT/Quad_CV-SLAM-master | gaussfilt.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/gaussfilt.m | 1,114 | utf_8 | 4e021d34f436d86073a1a4fcb135b2b7 | % GAUSSFILT - Small wrapper function for convenient Gaussian filtering
%
% Usage: smim = gaussfilt(im, sigma)
%
% Arguments: im - Image to be smoothed.
% sigma - Standard deviation of Gaussian filter.
%
% Returns: smim - Smoothed image.
%
% If called with sigma = 0 the function immediately returns with ... |
github | Space-at-VT/Quad_CV-SLAM-master | derivative5.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/derivative5.m | 4,808 | utf_8 | 989b39a3f681a8cad7375573fa1a7a0f | % DERIVATIVE5 - 5-Tap 1st and 2nd discrete derivatives
%
% This function computes 1st and 2nd derivatives of an image using the 5-tap
% coefficients given by Farid and Simoncelli. The results are significantly
% more accurate than MATLAB's GRADIENT function on edges that are at angles
% other than vertical or horizont... |
github | Space-at-VT/Quad_CV-SLAM-master | solveinteg.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/solveinteg.m | 3,146 | utf_8 | 0b0df74b4066fbe41ed1f8a44f09200f | % SOLVEINTEG
%
% This function is used by INTEGGAUSFILT to solve for the multiple averaging
% filter widths needed to approximate a Gaussian of desired standard deviation.
%
% Usage: [wl, wu, m, sigmaActual] = solveinteg(sigma, n)
%
% Arguments: sigma - Desired standard deviation of Gaussian. This should not
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | derivative7.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/derivative7.m | 3,752 | utf_8 | 59ac2311726917925b934ce48b7ae87f | % DERIVATIVE5 - 7-Tap 1st and 2nd discrete derivatives
%
% This function computes 1st and 2nd derivatives of an image using the 7-tap
% coefficients given by Farid and Simoncelli. The results are significantly
% more accurate than MATLAB's GRADIENT function on edges that are at angles
% other than vertical or horizont... |
github | Space-at-VT/Quad_CV-SLAM-master | nonmaxsup.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/nonmaxsup.m | 6,606 | utf_8 | 175ee530f04d95568bfbdb8b17524c7f | % NONMAXSUP - Non-maxima suppression
%
% Usage:
% [im,location] = nonmaxsup(inimage, orient, radius);
%
% Function for performing non-maxima suppression on an image using an
% orientation image. It is assumed that the orientation image gives
% feature normal orientation angles in degrees (0-180).
%
% Input:
... |
github | Space-at-VT/Quad_CV-SLAM-master | integgaussfilt.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Spatial/integgaussfilt.m | 4,116 | utf_8 | 957cc904a9b7d1545d8c3094dfc9e044 | % INTEGGAUSSFILT - Approximate Gaussian filtering using integral filters
%
% This function approximates Gaussian filtering by repeatedly applying
% averaging filters. The averaging is performed via integral images which
% results in a fixed and very low computational cost that is independent of
% the Gaussian size.
%
... |
github | Space-at-VT/Quad_CV-SLAM-master | rotx.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/rotx.m | 589 | utf_8 | bc55598911b9d73eb90ab44cab59a9db | % ROTX - Homogeneous transformation for a rotation about the x axis
%
% Usage: T = rotx(theta)
%
% Argument: theta - rotation about x axis
% Returns: T - 4x4 homogeneous transformation matrix
%
% See also: TRANS, ROTY, ROTZ, INVHT
% Copyright (c) 2001 Peter Kovesi
% School of Computer Science & Software Engin... |
github | Space-at-VT/Quad_CV-SLAM-master | angleaxisrotate.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/angleaxisrotate.m | 1,383 | utf_8 | 9ac58e5db9309d73f49b53b0f9c99b6d | % ANGLEAXISROTATE - uses angle axis descriptor to rotate vectors
%
% Usage: v2 = angleaxisrotate(t, v)
%
% Arguments: t - 3-vector giving rotation axis with magnitude equal to the
% rotation angle in radians.
% v - 4xn matrix of homogeneous 4-vectors to be rotated or
% 3... |
github | Space-at-VT/Quad_CV-SLAM-master | homotrans.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/homotrans.m | 1,371 | utf_8 | 8fc0c2c8b73dcccc47ba10e8a451beee | % HOMOTRANS - Homogeneous transformation of points/lines
%
% Function to perform a transformation on 2D or 3D homogeneous coordinates
% The resulting coordinates are normalised to have a homogeneous scale of 1
%
% Usage:
% t = homotrans(P, v);
%
% Arguments:
% P - 3 x 3 or 4 x 4 homogeneous transfo... |
github | Space-at-VT/Quad_CV-SLAM-master | trans.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/trans.m | 708 | utf_8 | c2bc04ae87a1f56d814ee75d140cea19 | % TRANS - Homogeneous transformation for a translation by x, y, z
%
% Usage: T = trans(x, y, z)
% T = trans(v)
%
% Arguments: x,y,z - translations in x,y and z, or alternatively
% v - 3-vector defining x, y and z.
% Returns: T - 4x4 homogeneous transformation matrix
%
% See also: ROTX, RO... |
github | Space-at-VT/Quad_CV-SLAM-master | plotframe.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/plotframe.m | 1,677 | utf_8 | 40c9bb130ec46ca33912f804e87f2eac | % PLOTFRAME - plots a coordinate frame specified by a homogeneous transform
%
% Usage: function plotframe(T, len, label)
%
% Arguments:
% T - 4x4 homogeneous transform
% len - length of axis arms to plot (defaults to 1)
% label - text string to append to x,y,z labels on axes
%
% len and label are optio... |
github | Space-at-VT/Quad_CV-SLAM-master | newangleaxis.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/newangleaxis.m | 1,101 | utf_8 | 4ad89dd95a736dff8b3603430648964c | % NEWANGLEAXIS - Constructs angle-axis descriptor
%
% Usage: t = newangleaxis(theta, axis)
%
% Arguments: theta - angle of rotation
% axis - 3-vector defining axis of rotation
% Returns: t - 3-vector giving rotation axis with magnitude equal to the
% rotation angle in radians.
%
% S... |
github | Space-at-VT/Quad_CV-SLAM-master | rotz.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/rotz.m | 593 | utf_8 | 485891081a31d4907a07ce934642fea2 | % ROTZ - Homogeneous transformation for a rotation about the z axis
%
% Usage: T = rotz(theta)
%
% Argument: theta - rotation about z axis
% Returns: T - 4x4 homogeneous transformation matrix
%
% See also: TRANS, ROTX, ROTY, INVHT
% Copyright (c) 2001 Peter Kovesi
% School of Computer Science & Software Engin... |
github | Space-at-VT/Quad_CV-SLAM-master | angleaxis2matrix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/angleaxis2matrix.m | 1,793 | utf_8 | 0252f63ff9c4999658e4db8055454f0c | % ANGLEAXIS2MATRIX - converts angle-axis descriptor to 4x4 homogeneous
% transformation matrix
%
% Usage: T = amgleaxis2matrix(t)
%
% Argument: t - 3-vector giving rotation axis with magnitude equal to the
% rotation angle in radians.
% Returns: T - 4x4 Homogeneous transformation matrix
%
% See a... |
github | Space-at-VT/Quad_CV-SLAM-master | matrix2quaternion.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/matrix2quaternion.m | 2,010 | utf_8 | ad7a1983aceaa9953be167eddabb22ae | % MATRIX2QUATERNION - Homogeneous matrix to quaternion
%
% Converts 4x4 homogeneous rotation matrix to quaternion
%
% Usage: Q = matrix2quaternion(T)
%
% Argument: T - 4x4 Homogeneous transformation matrix
% Returns: Q - a quaternion in the form [w, xi, yj, zk]
%
% See Also QUATERNION2MATRIX
% Copyright (c) 2008 ... |
github | Space-at-VT/Quad_CV-SLAM-master | vector2quaternion.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/vector2quaternion.m | 563 | utf_8 | a87aa8408a94f8010721a2ea603c64f9 | % VECTOR2QUATERNION - embeds 3-vector in a quaternion representation
%
% Usage: Q = vector2quaternion(v)
%
% Argument: v - 3-vector
% Returns: Q - Quaternion given by [0; v(:)]
%
% See also: NEWQUATERNION, QUATERNIONROTATE, QUATERNIONPRODUCT, QUATERNIONCONJUGATE
% Copyright (c) 2008 Peter Kovesi
% School of Compute... |
github | Space-at-VT/Quad_CV-SLAM-master | invht.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/invht.m | 505 | utf_8 | 62f8fca3096c7b08ba22952fef7e6416 | % INVHT - inverse of a homogeneous transformation matrix
%
% Usage: Tinv = invht(T)
%
% Argument: T - 4x4 homogeneous transformation matrix
% Returns: Tinv - inverse
%
% See also: TRANS, ROTX, ROTY, ROTZ
% Copyright (c) 2001 Peter Kovesi
% School of Computer Science & Software Engineering
% The University of ... |
github | Space-at-VT/Quad_CV-SLAM-master | roty.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/roty.m | 589 | utf_8 | 1523f4098a8a375de8eed1c69ae75c92 | % ROTY - Homogeneous transformation for a rotation about the y axis
%
% Usage: T = roty(theta)
%
% Argument: theta - rotation about y axis
% Returns: T - 4x4 homogeneous transformation matrix
%
% See also: TRANS, ROTX, ROTZ, INVHT
% Copyright (c) 2001 Peter Kovesi
% School of Computer Science & Software Engin... |
github | Space-at-VT/Quad_CV-SLAM-master | invrpy.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/invrpy.m | 1,251 | utf_8 | 327fc230e354d616448b0620e8b51b4f | % INVRPY - inverse of Roll Pitch Yaw transform
%
% Usage: [rpy1, rpy2] = invrpy(RPY)
%
% Argument: RPY - 4x4 Homogeneous transformation matrix or 3x3 rotation matrix
% Returns: rpy1 = [phi1, theta1, psi1] - the 1st solution and
% rpy2 = [phi2, theta2, psi2] - the 2nd solution
%
% rotx(phi1)*roty(theta1)*... |
github | Space-at-VT/Quad_CV-SLAM-master | normaliseangleaxis.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/normaliseangleaxis.m | 995 | utf_8 | a160233e601e4a5bf231afef48739445 | % NORMALISEANGLEAXIS - normalises angle-axis descriptor
%
% Function normalises theta so that it has maximum magnitude of pi to ensure one-to-one
% mapping between angle-axis descriptor and resulting rotation
%
% Usage: t2 = normaliseangleaxis(t)
%
% Argument: t - 3-vector giving rotation axis with magnitude equal t... |
github | Space-at-VT/Quad_CV-SLAM-master | quaternionconjugate.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/quaternionconjugate.m | 525 | utf_8 | d7df86d9770e7881f0cda73f664a8be5 | % QUATERNIONCONJUGATE - Conjugate of a quaternion
%
% Usage: Qconj = quaternionconjugate(Q)
%
% Argument: Q - Quaternions in the form Q = [Qw Qi Qj Qk]
% Returns: Qconj - Conjugate
%
% See also: NEWQUATERNION, QUATERNIONROTATE, QUATERNIONPRODUCT
% Copyright (c) 2008 Peter Kovesi
% School of Computer Science & So... |
github | Space-at-VT/Quad_CV-SLAM-master | dhtrans.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/dhtrans.m | 1,161 | utf_8 | 817bf7d3f603627a2da4773fefc67097 | % DHTRANS - computes Denavit Hartenberg matrix
%
% This function calculates the 4x4 homogeneous transformation matrix, representing
% the Denavit Hartenberg matrix, given link parameters of joint angle, length, joint
% offset and twist.
%
% Usage: T = DHtrans(theta, offset, length, twist)
%
% Arguments: theta - joint... |
github | Space-at-VT/Quad_CV-SLAM-master | matrix2angleaxis.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/matrix2angleaxis.m | 2,351 | utf_8 | 1c675a6fc3be8ab220ce1ca0f2adde3b | % MATRIX2ANGLEAXIS - Homogeneous matrix to angle-axis description
%
% Usage: t = matrix2angleaxis(T)
%
% Argument: T - 4x4 Homogeneous transformation matrix
% Returns: t - 3-vector giving rotation axis with magnitude equal to the
% rotation angle in radians.
%
% See also: ANGLEAXIS2MATRIX, ANGLEAXI... |
github | Space-at-VT/Quad_CV-SLAM-master | quaternionproduct.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/quaternionproduct.m | 818 | utf_8 | bcfe792d9518a1c110b9957970f4f7c8 | % QUATERNIONPRODUCT - Computes product of two quaternions
%
% Usage: Q = quaternionproduct(A, B)
%
% Arguments: A, B - Quaternions assumed to be 4-vectors in the
% form A = [Aw Ai Aj Ak]
% Returns: Q - Quaternion product
%
% See also: NEWQUATERNION, QUATERNIONROTATE, QUATERNIONCONJUGATE
% Copyr... |
github | Space-at-VT/Quad_CV-SLAM-master | quaternion2matrix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/quaternion2matrix.m | 1,413 | utf_8 | 7296cadf62f6ca9273e726ffd7e19d95 | % QUATERNION2MATRIX - Quaternion to a 4x4 homogeneous transformation matrix
%
% Usage: T = quaternion2matrix(Q)
%
% Argument: Q - a quaternion in the form [w xi yj zk]
% Returns: T - 4x4 Homogeneous rotation matrix
%
% See also MATRIX2QUATERNION, NEWQUATERNION, QUATERNIONROTATE
% Copyright (c) 2008 Peter Kovesi
... |
github | Space-at-VT/Quad_CV-SLAM-master | newquaternion.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/newquaternion.m | 647 | utf_8 | a36af1ff9a23186bd42b779523671cea | % NEWQUATERNION - Construct quaternion
%
% Q = newquaternion(theta, axis)
%
% Arguments: theta - angle of rotation
% axis - 3-vector defining axis of rotation
% Returns: Q - a quaternion in the form [w xi yj zk]
%
% See Also: QUATERNION2MATRIX, MATRIX2QUATERNION, QUATERNIONROTATE
% Copyright (c) ... |
github | Space-at-VT/Quad_CV-SLAM-master | quaternionrotate.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/quaternionrotate.m | 2,026 | utf_8 | e0b6a4a18c8be41ee01226e17cbd83e8 | % QUATERNIONROTATE - Rotates a 3D vector by a quaternion
%
% Usage: vnew = quaternionrotate(Q, v)
%
% Arguments: Q - a quaternion in the form [w xi yj zk]
% v - a vector to rotate, either an inhomogeneous 3-vector or a
% homogeneous 4-vector
% Returns: vnew - rotated vector
%
% See also MATRI... |
github | Space-at-VT/Quad_CV-SLAM-master | inveuler.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Rotations/inveuler.m | 1,220 | utf_8 | 5ebf0b9f54aead905ee1300724228adc | % INVEULER - inverse of Euler transform
%
% Usage: [euler1, euler2] = inveuler(T)
%
% Argument: T - 4x4 Homogeneous transformation matrix or 3x3 rotation matrix
% Returns: euler1 = [phi1, theta1, psi1] - the 1st solution and,
% euler2 = [phi2, theta2, psi2] - the 2nd solution
%
% rotz(phi1)*roty(theta1)*rot... |
github | Space-at-VT/Quad_CV-SLAM-master | ternarymix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Blender/ternarymix.m | 11,449 | utf_8 | d0ff6ce9a0598b2e77970fc6b6d5301d | % TERNARYMIX Image blending over three images
%
% Function uses Barycentric coordinates over a triangle to interpolate/blend
% three images.
%
% Usage: ternarymix(im, nodeLabel, RGB, normBlend, figNo, imcol)
%
% Arguments: im - 3-element cell array of images to blend. If omitted or
% empty a file s... |
github | Space-at-VT/Quad_CV-SLAM-master | logisticweighting.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Blender/logisticweighting.m | 3,064 | utf_8 | 2896739e6134ef8ef15bfd4bc3726f12 | % LOGISTICWEIGHTING Weighting function based on the logistics function
%
% Adaptation of the generalised logistics function for defining the variation of
% a weighting function for blending images
%
% Usage: w = logisticweighting(x, b, R)
%
% Arguments: x - Value, or array of values at which to evaluate the weightin... |
github | Space-at-VT/Quad_CV-SLAM-master | cyclemix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Blender/cyclemix.m | 9,035 | utf_8 | 3290a5ce842ce329f1eb6607a37fd6af | % CYCLEMIX Multi-image blending over a cyclic sequence of images
%
% Usage: cyclemix(im, figNo, nodeLabel)
%
% Arguments:
% im - A cell array of images to be blended. If omitted, or
% empty, the user is prompted to select images via a file
% dialog.
% figNo ... |
github | Space-at-VT/Quad_CV-SLAM-master | swipe.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Blender/swipe.m | 4,273 | utf_8 | 7c2b2caaa4d0220623293d8e255c4c4a | % SWIPE Interactive image swiping between 2, 3 or 4 images.
%
% Usage swipe(im, figNo)
%
% Arguments: im - 2D Cell array of images to be blended. Two, three or four
% images can be blended.
% figNo - Optional figure window number to use.
%
% Click in the image to toggle in/out of swiping m... |
github | Space-at-VT/Quad_CV-SLAM-master | cliquemix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Blender/cliquemix.m | 12,716 | utf_8 | af1f5b7d70b3da907c7b0ba0dccfbe57 | % CLIQUEMIX Multi-image blending over a clique
%
% Function allows blending between any pair within a collection of images
%
% Usage: cliquemix(im, B, figNo, nodeLabel)
%
% Arguments:
% im - A cell array of images to be blended. If omitted, or
% empty, the user is prompted to select ima... |
github | Space-at-VT/Quad_CV-SLAM-master | collectncheckimages.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Blender/collectncheckimages.m | 5,392 | utf_8 | 7f3d2bd790c314d39156748f34dce0ed | % COLLECTNCHECKIMAGES Collects and checks images prior to blending
%
% Usage: [im, nImages, fname, pathname] = collectncheckimages(im)
%
% Used by image blending functions
%
% Argument: im - Cell arry of images. If omitted a dialog box is
% presented so that images can be selected interactively.
%... |
github | Space-at-VT/Quad_CV-SLAM-master | linimix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Blender/linimix.m | 6,472 | utf_8 | c68afc24d26a59ce58a2fff608c974ee | % LINIMIX An Interactive Image for viewing multiple images
%
% Usage: linimix(im, B, figNo, XY)
%
% Arguments: im - 1D Cell array of images to be blended. If this is not
% supplied, or is empty, the user is prompted with a file
% dialog to select a series of images.
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | bilinimix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/Blender/bilinimix.m | 5,635 | utf_8 | f1768150812e05ba0dbf1f8ac2b8e2ec | % BILINIMIX An Interactive Image for viewing multiple images
%
% Usage: bilinimix(im, figNo)
%
% Arguments: im - 2D Cell array of greyscale images to be blended.
% figNo - Optional figure window number to use.
%
% This function provides an 'Interactive Image'. It is intended to allow
% efficient visual e... |
github | Space-at-VT/Quad_CV-SLAM-master | findendsjunctions.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/LineSegments/findendsjunctions.m | 3,885 | utf_8 | 1c766254222e0b8fd5326786249247bf | % FINDENDSJUNCTIONS - find junctions and endings in a line/edge image
%
% Usage: [rj, cj, re, ce] = findendsjunctions(edgeim, disp)
%
% Arguments: edgeim - A binary image marking lines/edges in an image. It is
% assumed that this is a thinned or skeleton image
% disp - An optional... |
github | Space-at-VT/Quad_CV-SLAM-master | selectseg.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/LineSegments/selectseg.m | 3,097 | utf_8 | bdbe2a909309c465b0131e308d8ddc32 | % SELECTSEG - Interactive selection of linesegments with mouse.
%
% Usage: segs = selectseg(seglist);
%
% seglist - an Nx4 array storing line segments in the form
% [x1 y1 x2 y2
% x1 y1 x2 y2
% . . ] etc
%
%
% See al... |
github | Space-at-VT/Quad_CV-SLAM-master | maxlinedev.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/LineSegments/maxlinedev.m | 2,478 | utf_8 | 64cc6d88009aa2a148c843e2d4041218 | % MAXLINEDEV - Find max deviation from a line in an edge contour.
%
% Function finds the point of maximum deviation from a line joining the
% endpoints of an edge contour.
%
% Usage: [maxdev, index, D, totaldev] = maxlinedev(x,y)
%
% Arguments:
% x, y - arrays of x,y (col,row) indicies of connected pixels... |
github | Space-at-VT/Quad_CV-SLAM-master | drawedgelist.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/LineSegments/drawedgelist.m | 5,139 | utf_8 | 37224c54b8034d4fadf13c9b60861db5 | % DRAWEDGELIST - plots pixels in edgelists
%
% Usage: h = drawedgelist(edgelist, rowscols, lw, col, figno, mid)
%
% Arguments:
% edgelist - Cell array of edgelists in the form
% { [r1 c1 [r1 c1 etc }
% ...
% rN cN] ....]
% rowscols - ... |
github | Space-at-VT/Quad_CV-SLAM-master | lineseg.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/LineSegments/lineseg.m | 3,017 | utf_8 | ff2e4a5d3f9faabdf548561ed00b22b6 | % LINESEG - Form straight line segements from an edge list.
%
% Usage: seglist = lineseg(edgelist, tol)
%
% Arguments: edgelist - Cell array of edgelists where each edgelist is an
% Nx2 array of (row col) coords.
% tol - Maximum deviation from straight line before a
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | cleanedgelist.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/LineSegments/cleanedgelist.m | 13,314 | utf_8 | a79468f2b92f2ce262730a04d766d643 | % CLEANEDGELIST - remove short edges from a set of edgelists
%
% Function to clean up a set of edge lists generated by EDGELINK so that
% isolated edges and spurs that are shorter that a minimum length are removed.
% This code can also be use with a set of line segments generated by LINESEG.
%
% Usage: nedgelist = clea... |
github | Space-at-VT/Quad_CV-SLAM-master | edgelink.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/LineSegments/edgelink.m | 21,107 | utf_8 | 25bee720223bdbc51946de674aa2d085 | % EDGELINK - Link edge points in an image into lists
%
% Usage: [edgelist edgeim, etypr] = edgelink(im, minlength, location)
%
% **Warning** 'minlength' is ignored at the moment because 'cleanedgelist'
% has some bugs and can be memory hungry
%
% Arguments: im - Binary edge image, it is assu... |
github | Space-at-VT/Quad_CV-SLAM-master | edgelist2image.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/LineSegments/edgelist2image.m | 2,027 | utf_8 | 5c5436b3f23a712f883ddb43a21e1d1c | % EDGELIST2IMAGE - transfers edgelist data back into a 2D image array
%
% Usage: im = edgelist2image(edgelist, rowscols)
%
% edgelist - Cell array of edgelists in the form
% { [r1 c1 [r1 c1 etc }
% ...
% rN cN] ....]
% rowscols - Opt... |
github | Space-at-VT/Quad_CV-SLAM-master | bandpassfilter.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/bandpassfilter.m | 1,514 | utf_8 | d98c0b715b1b05c4e8c5e415a260dd2c | % BANDPASSFILTER - Constructs a band-pass butterworth filter
%
% usage: f = bandpassfilter(sze, cutin, cutoff, n)
%
% where: sze is a two element vector specifying the size of filter
% to construct [rows cols].
% cutin and cutoff are the frequencies defining the band pass 0 - 0.5
% n ... |
github | Space-at-VT/Quad_CV-SLAM-master | upwardcontinue.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/upwardcontinue.m | 4,042 | utf_8 | c50e198c0e568fd171e5713d3d05342b | % UPWARDCONTINUE Upward continuation for magnetic or gravity potential field data
%
% Usage: [up, pim, psf] = upwardcontinue(im, h, dx, dy)
%
% Arguments: im - Input potential field image
% h - Height to upward continue to (+ve)
% dx, dy - Grid spacing in x and y. The upward continuation height
... |
github | Space-at-VT/Quad_CV-SLAM-master | highboostfilter.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/highboostfilter.m | 1,962 | utf_8 | ada657e25d617c134fb03bf410b0be5b | % HIGHBOOSTFILTER - Constructs a high-boost Butterworth filter.
%
% usage: f = highboostfilter(sze, cutoff, n, boost)
%
% where: sze is a two element vector specifying the size of filter
% to construct [rows cols].
% cutoff is the cutoff frequency of the filter 0 - 0.5.
% n is the ... |
github | Space-at-VT/Quad_CV-SLAM-master | invfft2.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/invfft2.m | 250 | utf_8 | 41b97c8ab7dc15522b2c5a414bf55b38 | % INVFFT2 - takes inverse fft and returns real part
%
% Function to `wrap up' taking the inverse Fourier transform
% and extracting the real part into the one operation
% Peter Kovesi October 1999
function ift = invfft2(ft)
ift = real(ifft2(ft));
|
github | Space-at-VT/Quad_CV-SLAM-master | lowpassfilter.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/lowpassfilter.m | 2,448 | utf_8 | 1bdb6b9b70b06af9d2bc12b6b877da54 | % LOWPASSFILTER - Constructs a low-pass butterworth filter.
%
% usage: f = lowpassfilter(sze, cutoff, n)
%
% where: sze is a two element vector specifying the size of filter
% to construct [rows cols].
% cutoff is the cutoff frequency of the filter 0 - 0.5
% n is the order of the f... |
github | Space-at-VT/Quad_CV-SLAM-master | imspect.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/imspect.m | 4,926 | utf_8 | 1567515542e483c4deb2ccc804ff7ac9 | % IMSPECT - Plots image amplitude spectrum averaged over all orientations.
%
% Usage: [amp, f, slope] = imspect(im, nbins, lowcut)
% \ /
% optional
% Arguments:
% im - Image to be analysed.
% nbins - ... |
github | Space-at-VT/Quad_CV-SLAM-master | psf.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/psf.m | 2,323 | utf_8 | de5c27f8dd4eb69a3ae36c1be3f20990 | % PSF - Generates point spread functions for use with deconvolution fns.
%
% This function can generate a variety function shapes based around the
% Butterworth filter. In plan view the filter can be elliptical and at
% any orientation. The `squareness/roundness' of the shape can also be
% manipulated.
%
% Usag... |
github | Space-at-VT/Quad_CV-SLAM-master | filtergrid.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/filtergrid.m | 2,441 | utf_8 | a196e165846902098ffcbc16ddf71f6c | % FILTERGRID Generates grid for constructing frequency domain filters
%
% Usage: [radius, u1, u2] = filtergrid(rows, cols)
% [radius, u1, u2] = filtergrid([rows, cols])
%
% Arguments: rows, cols - Size of image/filter
%
% Returns: radius - Grid of size [rows cols] containing normalised
% ... |
github | Space-at-VT/Quad_CV-SLAM-master | highpassfilter.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/highpassfilter.m | 1,443 | utf_8 | 78f60a0dd6f0ef66653d547868fad1f9 | % HIGHPASSFILTER - Constructs a high-pass butterworth filter.
%
% usage: f = highpassfilter(sze, cutoff, n)
%
% where: sze is a two element vector specifying the size of filter
% to construct [rows cols].
% cutoff is the cutoff frequency of the filter 0 - 0.5
% n is the order of t... |
github | Space-at-VT/Quad_CV-SLAM-master | circsine.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/circsine.m | 4,260 | utf_8 | 893087d7a53808570c9f889e54751a3e | % CIRCSINE Generates circular sine wave grating
% Can also be use to construct phase congruent patterns
%
% Usage: im = circsine(sze, wavelength, nScales, ampExponent, offset, p, trim)
%
% Arguments:
% sze - The size of the square image to be produced.
% wavelength - The wavelength in pixels of t... |
github | Space-at-VT/Quad_CV-SLAM-master | starsine.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/starsine.m | 2,832 | utf_8 | abd68ddc67ebf80755d1aa93503a1100 | % STARSINE Generates phase congruent star shaped sine wave grating
%
% Usage: im = starsine(sze, nCycles, nScales, ampExponent, offset)
%
% Arguments:
% sze - The size of the square image to be produced.
% nCycles - The number of sine wave cycles around centre point.
% Typica... |
github | Space-at-VT/Quad_CV-SLAM-master | freqcomp.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/freqcomp.m | 5,474 | utf_8 | 58a18bdbdc50fca6a82844487445c5ad | % FREQCOMP - Demonstrates image reconstruction from Fourier components
%
% Usage: recon = freqcomp(im, Npts, delay)
%
% Arguments: im - Image to be reconstructed.
% Npts - Number of frequency components to consider
% (defaults to 50).
% delay - Optional ... |
github | Space-at-VT/Quad_CV-SLAM-master | psf2.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/psf2.m | 3,000 | utf_8 | 20d5aff861110c5341b9d6fec90f8007 | % PSF2 - Generates point spread functions for use with deconvolution fns.
%
% This function can generate a variety function shapes based around the
% Butterworth filter. In plan view the filter can be elliptical and at
% any orientation. The 'squareness/roundness' of the shape can also be
% manipulated.
%
% Usa... |
github | Space-at-VT/Quad_CV-SLAM-master | perfft2.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/perfft2.m | 3,150 | utf_8 | 8216912bde513f4fbc7b59635da9d870 | % PERFFT2 2D Fourier transform of Moisan's periodic image component
%
% Usage: [P, S, p, s] = perfft2(im)
%
% Argument: im - Image to be transformed
% Returns: P - 2D fft of periodic image component
% S - 2D fft of smooth component
% p - Periodic component (spatial domain)
% s -... |
github | Space-at-VT/Quad_CV-SLAM-master | invfft2shft.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/invfft2shft.m | 308 | utf_8 | 1ee9d3b8e1e84f25b0fb5503595f7bfa | % INVFFT2SHFT - takes inverse fft, quadrant shifts and returns real part.
%
% Function to `wrap up' taking the inverse Fourier transform
% quadrant shifting and extraction of the real part into the one operation
% Peter Kovesi October 1999
function ift = invfft2shft(ft)
ift = fftshift(real(ifft2(ft)));
|
github | Space-at-VT/Quad_CV-SLAM-master | quantizephase.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/quantizephase.m | 1,944 | utf_8 | c4d5690a2daf54b63e4c2fd0ccecb488 | % QUANTIZEPHASE Quantize phase values in an image
%
% Usage: qim = quantizephase(im, N)
%
% Arguments: im - Image to be processed
% N - Desired number of quantized phase values
%
% Returns: qim - Phase quantized image
%
% Phase values in an image are important. However, despite this, they can be
% qua... |
github | Space-at-VT/Quad_CV-SLAM-master | homomorphic.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MatlabFns_kovesi_includedButBarelyUsed/FrequencyFilt/homomorphic.m | 5,424 | utf_8 | 51155a84aab5eba10f502eb788a81b16 | % HOMOMORPHIC - Performs homomorphic filtering on an image.
%
% Function performs homomorphic filtering on an image. This form of
% filtering sharpens features and flattens lighting variantions in an image.
% It usually is very effective on images which have large variations in
% lighting, for example when a subject ap... |
github | Space-at-VT/Quad_CV-SLAM-master | getCorrectCameraMatrix.m | .m | Quad_CV-SLAM-master/Kelly_SLAM_Matlab/MultiViewGeometry_functions/getCorrectCameraMatrix.m | 2,966 | utf_8 | 79c77435c86b777d5cc8eb2a7eef4879 | % getCorrectCameraMatrix - Check which of the 4 P solutions from the
% essential matrix is the correct one
%
%
% Given the essential matrix, two matching points in two images, and the
% camera calibration of both images, it checks which of the 4 possible
% solutions (p259) is the correct one by... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.