image thumbnail

updated 1 month ago

Find Image Extrema by Tristan Ursell

Find local maxima, local minima, saddle points, and flat regions in an image. (image, maximum, maxima)

[x,y,z,c]=imextrema(im1,varargin)

image thumbnail

updated 1 month ago

Grid of points within a polygon by Sulimon Sattari

This function generates an array of points that lie within a given polygon (polygon, points, point)

polygrid( xv, yv, ppa)

image thumbnail

updated 8 months ago

GINPUT on GUI (Keeping toolbar features on) & Use of custom pointers by Divakar Roy

GUI Framework to use GINPUT (keeping all toolbar features on) + Custom pointers for plots and more. (impixel, figure, mouse)

demo_ginput_gui.m

ginput_gui.m

image thumbnail

updated 1 year ago

Get Rotation Matrix from 2 Orthogonal Planes by Gemma Parra

Computes a 3x3 rotation matrix from two orthogonal planes in a 3D point cloud. (rotation, matrix, 3d)

callbackClickARectangleLowerRight(src, eventData, pointClou...

callbackClickARectangleUpperLeft(src, eventData, pointCloud...

getRMatrix(pointCloud)

image thumbnail

updated 1 year ago

dist2plane by Val Schmidt

A function to calculate the distance from a point to a plane. (mathematics, point, plane)

dist2plane(po,C)

image thumbnail

updated 1 year 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 1 year 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. (points, distance, neighbor)

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

image thumbnail

updated 1 year ago

Gravitational comparison between a point mass and prism mass model by Martin Fuchs

Gravitational quantities of a prism and a point mass are being derived for specified heights. (gravity, prism, point)

mPrismCart(x,y,z,mass,xi,yi,zi)

mpointCart.m

TestPrismMassModel.m

image thumbnail

updated 1 year ago

Point Coordinates on Multiple Monitors by Stephen Cobeldick

Returns coordinates of a point on your monitor/s. Suits multiple screens & OS's, consistent syntax. (multiple monitors, point, coordinates)

monitpt(varargin)

image thumbnail

updated 2 years ago

Feature Detection by GAGAN

This function can be used for corner and edge detection for any RGB or grayscale image. (corner detection, feature detction matl..., edge detection matlab)

O=feature_detection(input,varargin)

image thumbnail

updated almost 3 years ago

Absolute Orientation - Horn's method by Matt J

Solves weighted absolute orientation problem using Horn's quaternion-based method. (absolute orientation, quaternion, coordinate transforma...)

[Bfit,report]=absorient(A,B,doScale)

[Bfit,report]=absorient(A,B,doScale)

[Bfit,report]=absorient(A,B,doScale)

image thumbnail

updated 3 years ago

Position of a point and a straight line or segment by Nassim Khaled

It determines the relative position of a point with respect to a planar segment or st. line (position, point, straight line)

Pos=Position(A,B,C)

image thumbnail

updated 3 years ago

Click3dPoint by Babak Taati

Select a point from a 3D point cloud by clicking on it. (point cloud, 3d, callbak)

callbackClickA3DPoint(src, eventData, pointCloud)

clickA3DPoint(pointCloud)

rowNorm(A)

image thumbnail

updated almost 4 years ago

IEEE 754r Half Precision floating point converter by James Tursa

Converts MATLAB or C variables to/from IEEE 754r Half Precision floating point bit pattern. (754, floating, half precision)

halfprecision(varargin)

halfprecisionmax

halfprecisionmin

image thumbnail

updated 4 years ago

msopen by Fahad Al Mahmood

Opens Microsoft Office files (Word, Excel, Power Point, Project, & Access). (access, word, files)

msopen(varargin)

image thumbnail

updated 4 years ago

inside triangle by Nassim Khaled

inside_triangle is used to check if a point P is inside the triangle P1P2P3 or not. (triangle, plane, inside)

True=inside_triangle(P,P1,P2,P3);

image thumbnail

updated 4 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

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 5 years ago

Piecewise parabolic interpolation by Orlando Rodríguez

Code to interpolate function values and corresponding derivatives. (approximation, interpolation, derivatives)

ppinterp( x, y, xi )

image thumbnail

updated 5 years ago

Contour edition by Vincent Garcia

Edit an object contour using mouse interactions (contour edition, point, square)

ctr_editContour(img,o_ctrType,o_ctr)

test()

image thumbnail

updated 6 years ago

Figure out residue of a function of complex variable by Pu Ke

Try to figure out all residues of corresponding singular point (symbolic math, residue, function)

res=myrese(exprz,z)

image thumbnail

updated almost 7 years ago

Digital Image Filtering by James Wilcox

Performs Point and Spatial Operations and their histograms (filtering, point, spatial operations)

image thumbnail

updated almost 7 years ago

MEX_SHAPE by John Evans

Reads in common ESRI shapefile formats. (data export, shapefile, polyline)

mex_shape ( shapefile )

mex_shape ( shapefile )

shape_get ( shapefile )

image thumbnail

updated almost 8 years ago

CPU Floating Point Operations per Second (for Windows) by Michael Kleder

Standard benchmark (by Al Aburto) for determining floating point speed, ported into Windows. (flops, processor, mflops)

image thumbnail

updated 8 years ago

peaks by Nagi Hatoum

Find the peaks and troughs in a vector. (peak, through, maximum)

[p,t]=peaks(s)

image thumbnail

updated 8 years ago

PCAANGLE by Jøger Hansegård

Estimate the direction of the major axis of two dimensional point data. (linear algebra, angle, direction)

pcaangle(x, y, plotoption)

image thumbnail

updated 8 years ago

curvspace by Yo Fukushima

Generate evenly spaced points along an existing curve in 2D or 3D. (approximation, interpolation, linspace)

curvspace(p,N)

image thumbnail

updated 9 years ago

Orthotomic surface of a Bezier surface by Bui Quoc Tinh

Drawing the orthotomic surface of a bezier surface. (specialized, plotting, orthotomic)

Bepoly=B(i,n,u)

Bepoly=B_daoham(i,n,u)

f=factorial(n)

image thumbnail

updated 9 years ago

Co_drag by Chuyen Nguyen Kim Le

Dragging source point for Orthotomic curve. (data exploration, drag, source)

animator(action)

orthotomic.m

image thumbnail

updated 11 years ago

DispCoord1&2.m by Zhihua He

Display 2-D and 3-D coordinates. (annotation, customization, 2d)

DispCoord1(Mode)

DispCoord2

image thumbnail

updated 15 years ago

fpbin.c by James Stine

View a double precision floating-point number in binary, hex, and its correct stored value. (mex, floating, point)

Contact us