Distance Measurement
This is an adaptation of the projecting method for ellipse introduced by D. Eberly.Internet publication: "Distance from a point to an ellipse in 2D" (2004) Geometric Tools, LLC, www.geometrictools.comBook publication: "3D Game Engine Design", 2nd edition.Morgan Kaufmann Publishers, San Francisco,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): Distance from points to a parabola Download |
The Frechet distance is a measure of similarity between two curves, P and Q. It is defined as the minimum cord-length sufficient to join a point traveling forward along P and one traveling forward along Q, although the rate of travel for either point may not necessarily be uniform.This algorithm...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Discrete Frechet Distance Download |
A given color image from life has been segmented by the watershed segmentation algorithm. But I confused how to measure the color value of the different segmentation regions. So I expect someone can read my code and write the color measurement part following my code.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 81.92 KB | Download (39): image segmentation and color measurement Download |
Three demos are used to show the process of automatic tracking and measurement of blood cells motion in microvessels.Please run demo1.m,demo2.m and demo3.m.If the demos are helpful to your research, please cite this reference:[1]Yuan Chen et al.Automatic tracking and measurement of the motion of...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 768 KB | Download (43): Blood cells tracking and measurement by using spatiotemporal images analysis Download |
% Estimate lengths on an image by point-click.% [lengths] = image_measure;%% This function prompts the user to select an image file to open, then% opens and plots the image. The program waits for the user to resize the% image if desired. The user then:% 1.) left-clicks on the endpoints of a known...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Image Measurement Utility Download |
A function for carbonation depth measurement out of an image of phenolphthalein sprayed fresh fracture of concrete beam.The algorithm can be easily adopted for similar proposes, like chloride penetration.a description of the algorithm can be found in:2nd International RILEM Workshop on Concrete...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Carbonation Depth Measurement by Image Analysis Download |
DIFFUSION_DISTANCE calculate the diffusion distance between matricesdist = diffusion_distance(im1, im2, [sig, dim], threshold, pad_type])[dist, iter] = diffusion_distance(im1, im2) compute the diffusion distancebetween im1 and im2 (histograms).Optionally returns the number of iterations. This...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Diffusion Distance Download |
Function to find the minimum distance loop from given set of points.This function uses the distance formula to genrate a minimum distance loop.function mindist = minimumdistance(X,Y,x,y)X = X coordinate vectorY = Y coordinate vector(x,y) point where the loop is to be startedThis point is labeled...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Minimum Distance loop between 'n' number of points Download |
The m-file provides a tool to calculate the Bhattacharyya Distance Measure (BDM) between two classes of normal distributed data. The BDM is widely used in Pattern Recognition as a criterion for Feature Selection.Directly calculation may result in divide by zero error due to possible (near)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Bhattacharyya Distance Measure for Pattern Recognition Download |
Hi Arnaud,here is on of the files I mentioned.I drive a pump with the simelectronics induction motor. when it comes to measuring the torque, the power output totally changes.i did not connect the torque measurement tool yet. so you can run the model first, and then connect the tool and see the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (43): Torque Measurement changes output data Download |
DISTMATLATLON Computes distance matrix between list of coords in X and Y D = DISTMATLATLON(X,Y) for matrices X and Y, with columns [Lat Lon], returns the distance matrix where the (i,j)th entry is the distance between the i'th and j'th row of X and Y respectively. X and Y must have columns in the...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Distance Matrix Latitude Longitude Download |
% Find pair-wise SQUARE EUCLIDEAN distance% or 'Weighted square euclidean' distance% between each point in A and B% For 2 vector a, b% Euclidean distance= d = sum((a-b).^2)% Weighted version = d = sum(wts.*(a-b).^2)% ------------------------------% Input:% A= m_by_p, m points in p-dimension% B=...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Pairwise distance between 2 group of vectors (multidimensional) Download |
Computes the shortest distance between two line segments given start and end points for each. Adapts the algorithm found on Dan Sunday's website (http://softsurfer.com/Archive/algorithm_01...ment_to_Segment).Usage: Input the start and end x,y,z coordinates for two line segments.p1, p2 are [x,y,z]...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Shortest distance between two line segments Download |
This program calculates the distance between two locations (latitude and longitude) using the Haversine formula. The Haversine formula gives the shortest distance between two points over the earth's surface, ignoring elevation, hills, etc...The program accepts two inputs that can be locations...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Distance calculation using Haversine formula Download |
TMWidgets is a set of functions that make it easy to include real-time updating displays in your measurement application. TMWidgets includes three widgets: a strip chart (for time series), a spectrum scope (for frequency) a specgramscope (for frequency and time) and a thermometer (for scalar...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 194.56 KB | Download (43): Test and Measurement Widgets Download |
Uses x,y coordinates to produce distance-based spatial weight matrices useful for spatial econometric regressions. The user is asked to input x and y coordinates, as well as a lower and upper bound threshold for the neighborhood.The code is adapted from a previous version by Shawn Bucholtz of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Inverse Distance Spatial Weights Matrix Download |
This program calculates the Euclidean distances of every possible pair of points, whose coordinates are given as rows in a matrix. It is particularly useful for distance-based classifiers, due to its limited computational cost. The program can be easily adapted to calculate Manhattan distance or...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Distance Matrix calculation Download |
QT clustering algorithm as described in:Heyer, L. J., Kruglyak, S., Yooseph, S. (1999). Exploring expression data: Identification and analysis of coexpressed genes. Genome Research 9,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): QT Clustering using Euclidean Distance, Jackknife Correlation Download |
The solution to the problem of calculating the distance between an ellipse and a point is less than straightforward. The problem can be solved analytically however, which boild down to solving a quartic equation in cos(f), with (f) the true anomaly on the ellipse.This submission implements this...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Distance between points and ellipse Download |
Calculate the distance of a given point P from a triangle TRI.Point P is a row vector of the form 1x3. The triangle is a matrix formed by three rows of points TRI = [P1;P2;P3] each of size 1x3. dist = pointTriangleDistance(TRI,P) returns the distance of the point P to the triangle TRI. [dist,PP0]...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Distance between a point and a triangle in 3D Download |