image thumbnail

updated 30 days ago

Pair-wise Euclidean Distance Matrix by Quan Wang

Computing distance matrix without loops (data, distance, matrix)

D=distanceMatrix(X)

demo.m

image thumbnail

updated 1 month ago

Zip Code Latitude Longitude City State County by Sami

Distance between two zip codes (zip, zip code, distance)

ZipLatLon.m

image thumbnail

updated 1 month ago

MeasureClick - measure between two clicks quickly by Matthew Arthington

Quickly display the distance and gradient between two clicks (plot, figure, dialogue box)

measureClick(varargin)

image thumbnail

updated 2 months ago

Distance between points and ellipse by Rody Oldenhuis

Compute the distances between an ellipse and an arbitrary number of points, in 3D (distance, ellipse, point cloud)

distanceEllipsePoints.m

image thumbnail

updated 2 months ago

Determine the distance between two ellipses (in 3D) by Rody Oldenhuis

Determine the minimum distance (and corresponding angles) between two ellipses (geometry, ellipse, quartic)

distanceEllipseEllipse.m

image thumbnail

updated 7 months ago

Connect Randomly Ordered 2D Points into a Minimal Nearest-Neighbor Closed Contour by Tristan Ursell

Connects randomly ordered 2D points into a minimal nearest neighbor contour. (contour, nearest, neighbor)

[Xout,Yout,varargout]=points2contour(Xin,Yin,P,direction,...

image thumbnail

updated 9 months ago

2D fast marching algorithm by Juan Cardelino

computation of distance maps using fast marching (differential equation..., fast marching, algorithm)

T=fast_marching(data_points,siz,plot)

test_fm.m

image thumbnail

updated 10 months ago

Geodesics on an ellipsoid of revolution by Charles Karney

Solutions of the direct and inverse geodesic problems (earth, geodesy, geodesic)

A1m1f(epsi)

A2m1f(epsi)

A3coeff(n)

image thumbnail

updated 11 months ago

Frechet Distance Calculator by Tristan Ursell

Estimate the similarity between curves in space using the scalar Frechet Distance. (curve, curves, path)

frechet(X1,Y1,X2,Y2,varargin)

image thumbnail

updated 1 year ago

Hausdorff Distance by Zachary Danziger

Calculates the Hausdorff Distance between two sets of points in a Euclidean metric space. (mathematics, metric, distance)

HausdorffDist(P,Q,lmf,dv)

image thumbnail

updated 1 year ago

distance2curve by John D'Errico

Find the closest point on a (n-dimensional) curve to any given point or set of points (nearest, closest, distance)

distance2curve(curvexy,mapxy,interpmethod)

image thumbnail

updated 1 year ago

Edit Distance Algorithm by Reza Ahmadzadeh

Edit Distance is a standard Dynamic Programming problem. (mathematics, search, dynamic programming)

EditDistance(string1,string2)

image thumbnail

updated 1 year ago

LatLon distance by M Sohrabinia

Find distance between two points based on latlon coordinates (distance, latlon distance, distance on earth)

lldistkm.m

image thumbnail

updated 1 year ago

Array Factor by Electromagnetizery

Array Factor for dipoles. Adjustable number of elements, progressive phase, and separation distance. (af, array, factor)

ArrayFactor(varargin)

image thumbnail

updated 1 year ago

NEARESTPOINT (sep 2012) by Jos (10584)

NEARESTPOINT - find the nearest value in another vector (statistics, probability, distance)

nearestpoint(x,y,m)

image thumbnail

updated 1 year ago

IPDM: Inter-Point Distance Matrix by John D'Errico

An efficient and accurate Inter-Point Distance Matrix (distance, interpoint, distances)

demo_ipdm

ipdm(data1,varargin)

image thumbnail

updated 1 year ago

interparc by John D'Errico

Distance based interpolation along a general curve in space (interpolation, spline, linear)

interparc(t,px,py,varargin)

image thumbnail

updated 1 year ago

Orthodromic distance by Nicolas Keckl

This function computes the orthodromic distance between A and B on WGS84. (orthodromic, distance, wgs84)

orthodrome(A,B)

image thumbnail

updated almost 2 years ago

Multidimensional Hausdorff distance for two sets of points by Denny Milakara

- 2D to nD, where n < length(points) - autocorrects wrong coords orientation (hausdorff, distance, hausdorff distance)

hausdorff(L1,L2)

image thumbnail

updated almost 2 years ago

Image chamfer distances and geodesic diameter by David Legland

Propagates geodesic distances in binary images, and compute geodesic diameter (image, distance, geodesic)

demoImChamferDistance

demoImGeodesicPath

demoImMaxGeodesicPath

image thumbnail

updated 2 years ago

2D Distance Transform of Arbitrary Points by Tristan Ursell

Distance transform from arbitrary points at a user set resolution and range. (image, point, points)

[Xvec,Yvec,Dist]=clouddist(Xin,Yin,xlim,ylim,res)

image thumbnail

updated 2 years ago

posdist by Jakob Tougaard

Calculates distance between two geographical positions in lat/long format (distance, latitude, longitude)

posdist(lat1,lon1,lat2,lon2,method)

image thumbnail

updated 2 years ago

arclength by John D'Errico

Compute the arclength of a general curve in any number of dimensions (arclength, spline, curve)

arclength(px,py,varargin)

image thumbnail

updated 2 years ago

Pairwise Distance Matrix by Mo Chen

Compute a matrix of square Euclidean or Mahalanobis distances between points sets(fully optimized!). (euclidean, distance, pairwise)

sqdistance(A, B, M)

image thumbnail

updated 2 years ago

geodistance by Ganquan Mao

Calculates the distance on the surface of the earth. (distance, earth surface, geodistance)

r=geodistance(ci,cf,m)

image thumbnail

updated 2 years ago

haversine by Ritchie Smith

Computes the haversine (great circle) distance in metres between successive points on the Earth. (haversine, latitude, longitude)

d=haversine(lat,long)

image thumbnail

updated 3 years ago

Shortest Distance Between Two Lines in N dimensions by Alexander Brodsky

Function calculates shortest distance between two lines presented by two points for each line. (2d, 3d, intersection)

[dist Pc Qc]=distBW2lines(L1,L2)

image thumbnail

updated 3 years ago

Travel Guide (GridLess Based Djikstra Algorithm) by Krishna Lalith

Player need to Define Map & 2 Points to get Shortest Distance. (djikstra, algorithm, shortest)

Callback_Grid(handy,varargin)

TravelGuide(action)

[shortpath,flag]=ShortDist(S,D,Adj_Mat)

image thumbnail

updated 3 years ago

Travel Guide (Grid Based Djikstra Algorithm) by Krishna Lalith

Player need to Define Map & 2 Points to get Shortest Distance. (djikstra, algorithm, shortest)

Callback_Grid(handy,varargin)

TravelGuide(action)

[shortpath]=ShortDist(S,D,Adj_Mat)

image thumbnail

updated 3 years ago

Travel Guide (Points Based Djikstra Algorithm) by Krishna Lalith

Player need to Define 2 Points to get Shortest Distance Path. (djikstra, algorithm, shortest)

Callback_Grid(handy,varargin)

TravelGuide(action)

[shortpath,flag]=ShortDist(S,D,Adj_Mat)

image thumbnail

updated 3 years ago

Minimum distance between two polygons by sjye

Computes the minimum distance between two different shape polygons. (Vertex-vertex case) (polygon, minimum, distance)

min_dist_btwn_two_polygons(P1,P2)

image thumbnail

updated 3 years ago

Mahalanobis Distance by Kardi Teknomo

Return mahalanobis distance of two data matrices A and B (row = object, column = feature) (mahalanobis distance, statistics, data mining)

d=MahalanobisDistance(A, B)

image thumbnail

updated 3 years ago

Covariance matrix by Kardi Teknomo

Return covariance matrix for given data matrix X (row = object, column = feature) (statistics, distance, data mining)

C=Covariance(X)

image thumbnail

updated 3 years ago

DNorm2 by Jan Simon

Euclidian norm along a specified dim of an array - fast C-Mex (2norm, norm, distance)

DNorm2(X, n)

uTest_DNorm2(doSpeed)

image thumbnail

updated 3 years ago

OpenSURF (including Image Warp) by Dirk-Jan Kroon

SURF (Speeded Up Robust Features) image feature point detection / matching, as in SIFT (registration, surf, opensurf)

D=FastHessian_BuildDerivative(r,c,t,m,b)

Iout=affine_warp(Iin,M,mode)

PaintSURF(I, ipts)

image thumbnail

updated 3 years ago

geodistance by Orlando Rodríguez

Calculates the distance on the surface of the earth. (distance, earth surface, geodistance)

geodistance( ci , cf , m )

image thumbnail

updated almost 4 years ago

Distance calculation using Haversine formula by Josiah Renfree

Compute the distance between two locations using the Haversine formula (haversine, latitude, longitude)

haversine(loc1, loc2)

image thumbnail

updated 4 years ago

Draw Line Segments (anti aliased) by Alvin

Drawing line segments, Distances from line segments, and line segment masks (lines, image processing, line segment)

distanceFromLineSegment(x,y,p0,p1)

lineMask(imgSize, p0, p1, sigma)

image thumbnail

updated 5 years ago

Minimum distance between two polygons by Guillaume JACQUENOT

This function computes the minimum euclidean distance between two polygons P1 & P2. (polygon, distance, minimum)

curveintersect.m

min_dist_between_two_polygons.m

image thumbnail

updated 5 years ago

Minimum Distance loop between 'n' number of points by Rohit

This functions finds minimum distance loop between no.of points using the distance formula. (point, distance, measurement)

minimumdistance(X,Y,x,y)

image thumbnail

updated 5 years ago

GDIST by Andrew Stevens

Display distance and azimuth between two points on a figure (gui tools, distance, maps)

varargout=gdist(varargin)

image thumbnail

updated 5 years ago

2D minimal segments distance by Roberto Olmi

Computes the minimal distace between two segments (measurements, distance, segments)

d=segDistance(P,Q)

image thumbnail

updated almost 6 years ago

Diffusion Distance by Matthew Foster

Calculate the diffusion distance between histograms (image analysis, histogram, distance)

diffusion_distance(im1, im2, sig, dim, threshold, pad_type)

image thumbnail

updated 6 years ago

Distance from a point to polygon by Alejandro Weinstein

Calculate the distance from a point to 2-D polygon, and the point on the polygon closest to the poin (polygon, point, distance)

p_poly_dist(x, y, xv, yv)

image thumbnail

updated 6 years ago

Basic co-occurence by Patrice

Calculates the co-occurence matrix (image analysis, cooccurrence, gray scale)

y=cooc(I, dx,dy,gl);

image thumbnail

updated 6 years ago

Calculation of distance between strings by Eduard Polityko

A function computes Levenshtein and editor distances with use of Vagner-Fisher algorithm. (strings, levenstein distance, editor distance)

[d,A]=strdist(r,b,krk,cas)

Fordist.m

image thumbnail

updated 6 years ago

Computing Pairwise Distances and Metrics by Dahua Lin

Compute pairwise distance or metric values between two sets of vectors (distance, metric, pairwise)

slmetric_pw(X1, X2, mtype, varargin)

slmetric_pw_compile()

image thumbnail

updated 7 years ago

some important image processing tools by islam alabbasy

this smalll program applays some image processing tool box which are useful in image registeration. (application, image tool, edge detecting)

eximptool.m

image thumbnail

updated 7 years ago

Tanimoto by B. Andre Weinstock

Determines Tanimoto distance emulating a pdist function (statistics, probability, tanimoto)

tanimoto(X)

image thumbnail

updated 7 years ago

Constrained Dynamic Time Warping Distance Measure by Dave DeBarr

This MEX function computes the constrained dynamic time warping distance between two time series. (audio processing, video processing, dtw)

Contact us