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 | colourmappath.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Colourmaps/colourmappath.m | 11,106 | utf_8 | 657a67e384f4f2074c75cffc36b9c945 | % COLOURMAPPATH Plots the path of a colour map through colour space
%
% Usage: colourmappath(map, param_name, value, ....)
%
% Required argument:
% map - The colourmap to be plotted
%
% Optional parameter-value pairs, default values in brackets:
% 'N' - The nmber of slices through the colourspac... |
github | jacksky64/imageProcessing-master | map2imagejlutfile.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Colourmaps/map2imagejlutfile.m | 946 | utf_8 | 20cb86304c4f39be3822f85d6648f55f | % MAP2IMAGEJLUTFILE Writes a colourmap to a .lut file for use with ImageJ
%
% Usage: map2imagejlutfile(map, fname)
%
% The format of a lookup table for ImageJ is 256 bytes of red values, followed
% by 256 green values and finally 256 blue values. A total of 768 bytes.
%
% See also: READIMAGEJLUTFILE, READERMAPPERLUT... |
github | jacksky64/imageProcessing-master | generatelabslice.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Colourmaps/generatelabslice.m | 2,213 | utf_8 | 99f7d5a31fd659193715f4e2451be585 | % GENERATELABSLICE Generates RGB image of slice through CIELAB space
%
% Usage: rgbim = generatelabslice(L, flip);
%
% Arguments: L - Desired lightness level of slice through CIELAB space
% flip - If set to 1 the image is fliped up-down. Default is 0
% Returns: rgbim - RGB image of slice
%
% The size of... |
github | jacksky64/imageProcessing-master | imagept2plane.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/imagept2plane.m | 4,695 | utf_8 | aa2e6cfa89e81e68b3652ab0b7ea3e52 | % IMAGEPT2PLANE - Project image points to a plane and return their 3D locations
%
% Usage: pt = imagept2plane(C, xy, planeP, planeN)
%
% Arguments:
% C - Camera structure, see CAMSTRUCT for definition. Alternatively
% C can be a 3x4 camera projection matrix.
% xy - Image points specifi... |
github | jacksky64/imageProcessing-master | skew.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/skew.m | 527 | utf_8 | 68057bbcf6dc0afb3b008a6351532a72 | % SKEW - Constructs 3x3 skew-symmetric matrix from 3-vector
%
% Usage: s = skew(v)
%
% Argument: v - 3-vector
% Returns: s - 3x3 skew-symmetric matrix
%
% The cross product between two vectors, a x b can be implemented as a matrix
% product skew(a)*b
% Peter Kovesi
% Centre for Exploration Targeting
% The Univers... |
github | jacksky64/imageProcessing-master | makehomogeneous.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/makehomogeneous.m | 649 | utf_8 | 19d1cac5b6483d4dd545ef8b6bca5dcb | % MAKEHOMOGENEOUS - Appends a scale of 1 to array inhomogeneous coordinates
%
% Usage: hx = makehomogeneous(x)
%
% Argument:
% x - an N x npts array of inhomogeneous coordinates.
%
% Returns:
% hx - an (N+1) x npts array of homogeneous coordinates with the
% homogeneous scale set to 1
%
... |
github | jacksky64/imageProcessing-master | plotPoint.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/plotPoint.m | 1,068 | utf_8 | d515fe2aec3bd3915d334310b903a4ba | % PLOTPOINT - Plots point with specified mark and optional text label.
%
% Function to plot 2D points with an optionally specified
% marker and optional text label.
%
% Usage:
% plotPoint(p) where p is a 2D point
% plotPoint(p, 'mark') where mark is say 'r+' or 'g*' etc
% plot... |
github | jacksky64/imageProcessing-master | lengthRatioConstraint.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/lengthRatioConstraint.m | 1,137 | utf_8 | 587f4507cf32933e2f0468f438c17505 | % lengthRatioConstraint - Affine transform constraints given a length ratio.
%
% Function calculates centre and radius of the constraint
% circle in alpha-beta space generated by having a known
% lenth ratio between two non-parallel line segemnts in
% an affine image
%
% Usage: [c, r] = lengthRatioConstraint(p11... |
github | jacksky64/imageProcessing-master | fundfromcameras.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/fundfromcameras.m | 1,308 | utf_8 | 89d7618588ec84ececead8d97ea76b3e | % FUNDFROMCAMERAS - Fundamental matrix from camera matrices
%
% Usage: F = fundfromcameras(P1, P2)
%
% Arguments: P1, P2 - Two 3x4 camera matrices
% Returns: F - Fundamental matrix relating the two camera views
%
% See also: FUNDMATRIX, AFFINEFUNDMATRIX
% Reference: Hartley and Zisserman p244
% Copyright (c)... |
github | jacksky64/imageProcessing-master | circleintersect.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/circleintersect.m | 2,710 | utf_8 | 489ffc783300c34976f2c82fbed8c020 | % CIRCLEINTERSECT - Finds intersection of two circles.
%
% Function to return the intersection points between two circles
% given their centres and radi.
%
% Usage: [i1, i2] = circleintersect(c1, r1, c2, r2, lr)
%
% Where:
% c1 and c2 are 2-vectors specifying the centres of the two circles.
% r1 and r2 ... |
github | jacksky64/imageProcessing-master | undistortimage.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/undistortimage.m | 3,670 | utf_8 | 96664f80594b9f7b22b3372441e5f591 | % UNDISTORTIMAGE - Removes lens distortion from an image
%
% Usage: nim = undistortimage(im, f, ppx, ppy, k1, k2, k3, p1, p2)
%
% Arguments:
% im - Image to be corrected.
% f - Focal length in terms of pixel units
% (focal_length_mm/pixel_size_mm)
% ppx, ppy - Principal point ... |
github | jacksky64/imageProcessing-master | homoTrans.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/homoTrans.m | 879 | utf_8 | bde17d25ed5c319d12d7c6c52fa76ac9 | % HOMOTRANS - homogeneous transformation of points
%
% Function to perform a transformation on homogeneous points/lines
% The resulting points are normalised to have a homogeneous scale of 1
%
% Usage:
% t = homoTrans(P,v);
%
% Arguments:
% P - 3 x 3 or 4 x 4 transformation matrix
% v - ... |
github | jacksky64/imageProcessing-master | imTrans.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/imTrans.m | 6,266 | utf_8 | efdc293e9b12ecbd2485a2d4a360f8f8 | % IMTRANS - Homogeneous transformation of an image.
%
% Applies a geometric transform to an image
%
% [newim, newT] = imTrans(im, T, region, sze);
%
% Arguments:
% im - The image to be transformed.
% T - The 3x3 homogeneous transformation matrix.
% region - An optional 4 element vector ... |
github | jacksky64/imageProcessing-master | affinefundmatrix.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/affinefundmatrix.m | 3,219 | utf_8 | 7cbd1c7c427cf3466f0df1c9c57cd131 | % AFFINEFUNDMATRIX - computes affine fundamental matrix from 4 or more points
%
% Function computes the affine fundamental matrix from 4 or more matching
% points in a stereo pair of images. The Gold Standard algorithm given
% by Hartley and Zisserman p351 (2nd Ed.) is used.
%
% Usage: [F, e1, e2] = affinefundmatri... |
github | jacksky64/imageProcessing-master | ray2raydist.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/ray2raydist.m | 1,643 | utf_8 | eeaa7c5e8fa86f575414560d70b2d3ae | % RAY2RAYDIST Minimum distance between two 3D rays
%
% Usage: d = ray2raydist(p1, v1, p2, v2)
%
% Arguments:
% p1, p2 - 3D points that lie on rays 1 and 2.
% v1, v2 - 3D vectors defining the direction of each ray.
%
% Returns:
% d - The minimum distance between the rays.
%
% Each ray is defined... |
github | jacksky64/imageProcessing-master | idealimagepts.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/idealimagepts.m | 2,834 | utf_8 | b6897b349d37dd57db0f46ad95c3ade7 | % IDEALIMAGEPTS - Ideal image points with no distortion.
%
% Usage: xyideal = idealimagepts(C, xy)
%
% Arguments:
% C - Camera structure, see CAMSTRUCT for definition.
% xy - Image points specified as 2 x N array (x,y) / (col,row)
%
% Returns:
% xyideal - Ideal image points. These points corre... |
github | jacksky64/imageProcessing-master | imTransD.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/imTransD.m | 3,965 | utf_8 | 253939b60899cb7418ae8eebee0f8b87 | % IMTRANSD - Homogeneous transformation of an image.
%
% This is a stripped down version of imTrans which does not apply any origin
% shifting to the transformed image
%
% Applies a geometric transform to an image
%
% newim = imTransD(im, T, sze, lhrh);
%
% Arguments:
% im - The image to be transformed.
%... |
github | jacksky64/imageProcessing-master | camstruct2projmatrix.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/camstruct2projmatrix.m | 1,238 | utf_8 | 59571df196f3b1f2119baf291817faa7 | % CAMSTRUCT2PROJMATRIX
%
% Usage: P = camstruct2projmatrix(C)
%
% Argument: C - Camera structure.
% Returns: P - 3x4 camera projection matrix that maps homogeneous 3D world
% coordinates to homogeneous image coordinates.
%
% Function takes a camera structure and returns its equivalent projection matrix
... |
github | jacksky64/imageProcessing-master | hnormalise.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/hnormalise.m | 1,010 | utf_8 | 40eeebb3462ab60fb05b133bf0055baf | % HNORMALISE - Normalises array of homogeneous coordinates to a scale of 1
%
% Usage: nx = hnormalise(x)
%
% Argument:
% x - an Nxnpts array of homogeneous coordinates.
%
% Returns:
% nx - an Nxnpts array of homogeneous coordinates rescaled so
% that the scale values nx(N,:) are all 1.
%
... |
github | jacksky64/imageProcessing-master | homography2d.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/homography2d.m | 2,963 | utf_8 | f321f03ac1a2722e93c1c15cf2ec62f2 | % HOMOGRAPHY2D - computes 2D homography
%
% Usage: H = homography2d(x1, x2)
% H = homography2d(x)
%
% Arguments:
% x1 - 3xN set of homogeneous points
% x2 - 3xN set of homogeneous points such that x1<->x2
%
% x - If a single argument is supplied it is assumed ... |
github | jacksky64/imageProcessing-master | digiplane.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/digiplane.m | 2,368 | utf_8 | 9634b931390f4536b8d7280b8745f6a1 | % DIGIPLANE - Digitise and transform points within a planar region in an image.
%
% This function allows you to digitise points within a planar region of an
% image for which an inverse perspective transformation has been previously
% determined using, say, INVPERSP. The digitised points are then
% transformed into co... |
github | jacksky64/imageProcessing-master | circle.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/circle.m | 1,226 | utf_8 | 3ce939f9b481cd974576f40a598a69b6 | % CIRCLE - Draws a circle.
%
% Usage: circle(c, r, n, col)
%
% Arguments: c - A 2-vector [x y] specifying the centre.
% r - The radius.
% n - Optional number of sides in the polygonal approximation.
% (defualt is 16 sides)
% col - optional colour, defaults to blue... |
github | jacksky64/imageProcessing-master | makeinhomogeneous.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/makeinhomogeneous.m | 791 | utf_8 | ce76d362845ed0c7eef257d1d0406795 | % MAKEINHOMOGENEOUS - Converts homogeneous coords to inhomogeneous coordinates
%
% Usage: x = makehomogeneous(hx)
%
% Argument:
% hx - an N x npts array of homogeneous coordinates.
%
% Returns:
% x - an (N-1) x npts array of inhomogeneous coordinates
%
% Warning: If there are any points at infinity ... |
github | jacksky64/imageProcessing-master | equalAngleConstraint.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/equalAngleConstraint.m | 1,377 | utf_8 | ad2156349de0fe1efde5bee65bc38203 | % equalAngleConstraint - Affine transform constraints given two equal angles.
%
% Function calculates centre and radius of the constraint
% circle in alpha-beta space generated by having two equal
% (but unknown) angles between two pairs of lines in
% an affine image
%
% Usage: [c, r] = equalAngleConstraint(la1... |
github | jacksky64/imageProcessing-master | homogreprojerr.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/homogreprojerr.m | 1,423 | utf_8 | 15a06a2d240a29dd5d8a3a1e64268057 | % HOMOGREPROJERR
%
% Computes the symmetric reprojection error for points related by a
% homography.
%
% Usage:
% d2 = homogreprojerr(H, x1, x2)
%
% Arguments:
% H - The homography.
% x1, x2 - [ndim x npts] arrays of corresponding homogeneous
% data points.
%
% Retu... |
github | jacksky64/imageProcessing-master | solvestereopt.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/solvestereopt.m | 2,796 | utf_8 | ab30e670d732d1cd166a798c6abcb100 | % SOLVESTEREOPT - Homogeneous linear solution of a stereo point
%
% Usage: [pt, xy_reproj] = solvestereopt(xy, P)
%
% Multiview stereo: Solves 3D location of a point given image coordinates of
% that point in two, or more, images.
%
% Arguments: xy - 2xN matrix of x, y image coordinates, one column for
% ... |
github | jacksky64/imageProcessing-master | plotcamera.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/plotcamera.m | 4,710 | utf_8 | d5ab74b232b4b16fae65c1dd4a7be3fe | % PLOTCAMERA - Plots graphical representation of camera(s) showing pose
%
% Usage plotcamera(C, l, col, plotCamPath, fig)
%
% Arguments:
% C - Camera structure (or structure array).
% l - The length of the sides of the rectangular cone indicating
% the camera's field of view.
% ... |
github | jacksky64/imageProcessing-master | rq3.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/rq3.m | 2,075 | utf_8 | e3b4214d505526702abed6b2183c76ea | % RQ3 RQ decomposition of 3x3 matrix
%
% Usage: [R,Q] = rq3(A)
%
% Argument: A - 3 x 3 matrix
% Returns: R - Upper triangular 3 x 3 matrix
% Q - 3 x 3 orthonormal rotation matrix
% Such that R*Q = A
%
% The signs of the rows and columns of R and Q are chosen so that the diagonal
% elements of R are ... |
github | jacksky64/imageProcessing-master | cameraproject.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/cameraproject.m | 4,913 | utf_8 | f9fc42724dcaf1f7daedf1d2a3dc0eb1 | % CAMERAPROJECT - Projects 3D points into camera image
%
% Usage: [xy, visible] = cameraproject(C, pt)
%
% Arguments:
% C - Camera structure, see CAMSTRUCT for definition.
% Alternatively C can be a 3x4 camera projection matrix.
% pt - 3xN matrix of 3D points to project i... |
github | jacksky64/imageProcessing-master | projmatrix2camstruct.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/projmatrix2camstruct.m | 1,873 | utf_8 | 81a5a584da00209fcf97254abc68630d | % PROJMATRIX2CAMSTRUCT - Projection matrix to camera structure
%
% Function takes a projection matrix and returns its equivalent camera
% structure.
%
% Usage: C = projmatrix2camstruct(P, rows, cols)
%
% Argument: P - 3x4 camera projection matrix that maps homogeneous 3D world
% coordinates to homogeneou... |
github | jacksky64/imageProcessing-master | camstruct.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/camstruct.m | 6,365 | utf_8 | dcc71aa566e144d95085ce040c320786 | % CAMSTRUCT - Construct a camera structure
%
% Usage: C = camstruct(param_name, value, ...
%
% Where the parameter names can be as follows with defaults in brackets
%
% fx - X focal length in pixel units. ([])
% fy - Y focal length in pixel units. ([])
% or f - Focal length in pixel units, ... |
github | jacksky64/imageProcessing-master | knownAngleConstraint.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/knownAngleConstraint.m | 929 | utf_8 | b51714229fca51b80fc72c837575dd25 | % knownAngleConstraint - Affine transform constraints given a known angle.
%
% Function calculates centre and radius of the constraint
% circle in alpha-beta space generated by having a known
% angle between two lines in an affine image
%
% Usage: [c, r] = knownAngleConstraint(la, lb, theta)
%
% Where: la and l... |
github | jacksky64/imageProcessing-master | fundmatrix.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/fundmatrix.m | 4,069 | utf_8 | 632e6f9e26790316764a91117aa2adb9 | % FUNDMATRIX - computes fundamental matrix from 8 or more points
%
% Function computes the fundamental matrix from 8 or more matching points in
% a stereo pair of images. The normalised 8 point algorithm given by
% Hartley and Zisserman p265 is used. To achieve accurate results it is
% recommended that 12 or more poi... |
github | jacksky64/imageProcessing-master | hline.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/hline.m | 1,836 | utf_8 | 6b627df996e670c2c7287683e1851639 | % HLINE - Plot 2D lines defined in homogeneous coordinates.
%
% Function for ploting 2D homogeneous lines defined by 2 points
% or a line defined by a single homogeneous vector
%
% Usage: hline(p1,p2) where p1 and p2 are 2D homogeneous points.
% hline(p1,p2,'colour_name') 'black' 'red' 'white' etc
% ... |
github | jacksky64/imageProcessing-master | findinverselensdist.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/findinverselensdist.m | 3,831 | utf_8 | 043036f753c8840f6f801b5111b368b7 | % FINDINVERSELENSDIST - Find inverse radial lens distortion parameters
%
% Usage: [ik1, ik2, maxerr] = findinverselensdist(k1, k2, rmax, fig)
%
% Arguments: k1, k2 - Radial lens distortion coeffecients.
% rmax - Maximum normalised radius to consider in fitting the
% inverse lens ... |
github | jacksky64/imageProcessing-master | homography1d.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/homography1d.m | 2,662 | utf_8 | bf1d84269964988e4400e66cabf14617 | % HOMOGRAPHY1D - computes 1D homography
%
% Usage: H = homography1d(x1, x2)
%
% Arguments:
% x1 - 2xN set of homogeneous points
% x2 - 2xN set of homogeneous points such that x1<->x2
% Returns:
% H - the 2x2 homography such that x2 = H*x1
%
% This code is modelled after the norm... |
github | jacksky64/imageProcessing-master | decomposecamera.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Projective/decomposecamera.m | 3,310 | utf_8 | bd4b36c6cb0956aae39430857afe8750 | % DECOMPOSECAMERA Decomposition of a camera projection matrix
%
% Usage: [K, Rc_w, Pc, pp, pv] = decomposecamera(P);
%
% P is decomposed into the form P = K*[R -R*Pc]
%
% Argument: P - 3 x 4 camera projection matrix
% Returns:
% K - Calibration matrix of the form
% | ax s ppx |... |
github | jacksky64/imageProcessing-master | normalise2dpts.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | hcross.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | upwardcontinue.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | tiltderiv.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Geosci/tiltderiv.m | 1,298 | utf_8 | ef5a552157a3f7a9282a06162331419d | % TILTDERIV Tilt derivative of potential field data
%
% Usage: td = tiltderiv(im)
%
% Arguments: im - Input potential field image.
%
% Returns: td - The tilt derivative.
%
%
% Reference:
% Hugh G. Miller and Vijay Singh. Potential field tilt - a new concept for
% location of potential field sources. Applied Geop... |
github | jacksky64/imageProcessing-master | orientationfilter.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | relief.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | irelief.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Geosci/irelief.m | 13,089 | utf_8 | 64ddae94f44fb4a9df10a6065b3753fe | % 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 | jacksky64/imageProcessing-master | agc.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | vertderiv.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Geosci/vertderiv.m | 2,723 | utf_8 | f77ed0c735d85a28547dfac1878a70a7 | % VERTDERIV Vertical derivative of potential field data
%
% Usage: vd = vertderiv(im, order)
%
% Arguments: im - Input potential field image.
% order - Order of derivative 1st 2nd etc. Defaults to 1.
% The order can be fractional if you wish, say, 1.5
%
% Returns: vd - The vertical deriv... |
github | jacksky64/imageProcessing-master | smoothorient.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | imtrim.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | hessianfeatures.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/hessianfeatures.m | 2,917 | utf_8 | 9e1d6647b257b73405b63ecc1dfc3924 | % HESSIANFEATURES - Computes determiant of hessian features in an image.
%
% Usage: hdet = hessianfeatures(im, sigma)
%
% Arguments:
% im - Greyscale image to be processed.
% sigma - Defines smoothing scale.
%
% Returns: hdet - Matrix of determinants of Hessian
%
% The local max... |
github | jacksky64/imageProcessing-master | regionadjacency.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | integgausfilt.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | anisodiff.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/anisodiff.m | 2,600 | utf_8 | 3d6827b7cb6831ab151cc363a892fd5a | % ANISODIFF - Anisotropic diffusion.
%
% Usage:
% diff = anisodiff(im, niter, kappa, lambda, option)
%
% Arguments:
% im - input image
% niter - number of iterations.
% kappa - conduction coefficient 20-100 ?
% lambda - max value of .25 for stability
% option - 1 Perona Ma... |
github | jacksky64/imageProcessing-master | drawregionboundaries.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | canny.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | integralimage.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | slic.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/slic.m | 14,966 | utf_8 | 8fa6f6e0639ea7e9ed8c1e3b8dd480fd | % 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 | jacksky64/imageProcessing-master | nonmaxsuppts.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/nonmaxsuppts.m | 6,729 | utf_8 | eb23198eb43f6202473f2bc1364435e0 | % 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, Keyword-Value options...)
%
% Required argument:
% ... |
github | jacksky64/imageProcessing-master | hysthresh.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | renumberregions.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | harris.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/harris.m | 5,655 | utf_8 | e82f23a9bcba7fbf7a20e48f24f766f1 | % Harris - Harris corner detector
%
% Usage: cim = harris(im, sigma, k)
% [cim, r, c] = harris(im, sigma, k, keyword-value options...)
%
% Required arguments:
% im - Image to be processed.
% sigma - Standard deviation of smoothing Gaussian used to sum
% ... |
github | jacksky64/imageProcessing-master | imsetborder.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | shi_tomasi.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/shi_tomasi.m | 5,131 | utf_8 | af81f94ffce582e9531f9618ded6de3f | % SHI_TOMASI - Shi - Tomasi corner detector
%
% Usage: cim = shi_tomasi(im, sigma)
% [cim, r, c] = shi_tomasi(im, sigma, keyword-value options...)
%
% Required arguments:
% im - Image to be processed.
% sigma - Standard deviation of smoothing Gaussian used to s... |
github | jacksky64/imageProcessing-master | integralfilter.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | adaptivethresh.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | featureorient.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | cleanupregions.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | subpix2d.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/subpix2d.m | 4,179 | utf_8 | 9130e8af913300cae8a4eec009fb10af | % 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 | jacksky64/imageProcessing-master | filterregionproperties.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/filterregionproperties.m | 3,359 | utf_8 | 269f01ad39e5f78d6ef590d56473ad58 | % FILTERREGIONPROPERTIES Filters regions on their property values
%
% Usage: bw = filterregionproperties(bw, {property, fn, value}, { ... } )
%
% Arguments:
% bw - Binary image
% {property, fn, value} - 3-element cell array consisting of:
% property - String matching... |
github | jacksky64/imageProcessing-master | intfilttranspose.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | makeregionsdistinct.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | mcleanupregions.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | integaverage.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | subpix3d.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | fastradial.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/fastradial.m | 5,399 | utf_8 | b540902aad74684be591d3126ad87319 | % FASTRADIAL - Loy and Zelinski's fast radial feature detector
%
% An implementation of Loy and Zelinski's fast radial feature detector
%
% Usage: S = fastradial(im, radii, alpha, beta)
%
% Arguments:
% im - Image to be analysed
% radii - Array of integer radius values to be processed
... |
github | jacksky64/imageProcessing-master | maskimage.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | impad.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/impad.m | 1,134 | utf_8 | 5b51ac5f58f9a48d78c3468799786d4c | % 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 | jacksky64/imageProcessing-master | finddisconnected.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | gaussfilt.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | noble.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/noble.m | 5,562 | utf_8 | 5edfd0d0dceb4dad2a92712a2be8f5f6 | % NOBLE - Noble's corner detector
%
% Usage: cim = noble(im, sigma)
% [cim, r, c] = noble(im, sigma, keyword-value options...)
%
% Required arguments:
% im - Image to be processed.
% sigma - Standard deviation of smoothing Gaussian used to sum
% ... |
github | jacksky64/imageProcessing-master | derivative5.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | solveinteg.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | derivative7.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Spatial/derivative7.m | 3,752 | utf_8 | 358273e985c8915dbe914b5368390cdc | % DERIVATIVE7 - 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 | jacksky64/imageProcessing-master | nonmaxsup.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | integgaussfilt.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | rotx.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | angleaxisrotate.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Rotations/angleaxisrotate.m | 1,352 | utf_8 | aa84e472c4234c58e628b30ac255b800 | % 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 | jacksky64/imageProcessing-master | homotrans.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | trans.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | plotframe.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Rotations/plotframe.m | 1,964 | utf_8 | 0f41b60ca2191bba7912190141e9250b | % PLOTFRAME - plots a coordinate frame specified by a homogeneous transform
%
% Usage: function plotframe(T, len, label, colr)
%
% Arguments:
% T - 4x4 homogeneous transform or 3x3 rotation matrix
% len - length of axis arms to plot (defaults to 1)
% label - text string to append to x,y,z labels on axes... |
github | jacksky64/imageProcessing-master | newangleaxis.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Rotations/newangleaxis.m | 1,120 | utf_8 | 99157ce84285ee91eeb2c84cecccfd22 | % 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 | jacksky64/imageProcessing-master | rotz.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | angleaxis2matrix.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Rotations/angleaxis2matrix.m | 1,793 | utf_8 | 965230307dd2fd317515c242f796a791 | % ANGLEAXIS2MATRIX - converts angle-axis descriptor to 4x4 homogeneous
% transformation matrix
%
% Usage: T = angleaxis2matrix(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 | jacksky64/imageProcessing-master | matrix2quaternion.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | vector2quaternion.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | invht.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | roty.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | invrpy.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Rotations/invrpy.m | 1,416 | utf_8 | 564006f3b82a8b1d500b2ec21afc1f92 | % 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
%
% rotz(phi1) * roty(the... |
github | jacksky64/imageProcessing-master | normaliseangleaxis.m | .m | imageProcessing-master/Matlab Code for Computer Vision/Rotations/normaliseangleaxis.m | 1,163 | utf_8 | b382ff3c5687a58b63642451c0e3153b | % NORMALISEANGLEAXIS - normalises angle-axis descriptor
%
% Function normalises theta so that it lies in the range -pi to 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 | jacksky64/imageProcessing-master | quaternionconjugate.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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 | jacksky64/imageProcessing-master | dhtrans.m | .m | imageProcessing-master/Matlab Code for Computer Vision/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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.