image thumbnail

updated 9 months ago

Active Figure Zoom for Selecting Points by Tristan Ursell

Select points at a user-specified zoom level that moves around the image as you click. (figure, zoom, select)

[X,Y]=getline_zoom(Im1,varargin)

image thumbnail

updated 9 months ago

Adaptive Colormap Function Creates a Colormap Specific to Data by Tristan Ursell

Easily design and fit a colormap to the values in your data! (color, red, blue)

slide_map=rgbslide(mat_in,varargin)

image thumbnail

updated 10 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 1 year ago

1D Non-derivative Peak Finder by Tristan Ursell

Up-sample and filter noisy data to find peaks without using derivatives. (signal processing, interpolation, measurement)

varargout =peakfind(x_data,y_data,varargin)

image thumbnail

updated 1 year 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

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 year ago

Image Noise Reduction by Local Statistics by Tristan Ursell

Reduce image noise by measuring local pixel statistics and remapping intensities. (image processing, image, noise)

[varargout]=relnoise(Iin,sz,sigma,varargin)

image thumbnail

updated almost 2 years ago

Connected Component Analysis on an Undirected Graph by Tristan Ursell

Connected component analysis on undirected graphs, with thresholding and connectivity constraints. (graph, theory, undirected)

[groups,orphans]=graph_analysis(W,varargin)

image thumbnail

updated 2 years ago

Create a Simulated Image of Diffraction Limited Spots with Noise by Tristan Ursell

Create images with diffraction-limited spots of varying size and intensity, with noise. (image, create, creation)

[Iout,Inoise,spot_data]=spotmaker(im_sz,num_spots,varargin)

image thumbnail

updated 2 years ago

Copy Files in Batches using Search Terms by Tristan Ursell

Copy files matching search terms, from sub-directories matching search terms into a new directory. (array, cell, copy)

accumulator

image thumbnail

updated 2 years ago

File Name Search Function by Tristan Ursell

Generate a list of file names that meet a set of text search criteria. (file, search, find)

filenames=filefinder(searchpath,varargin)

image thumbnail

updated 2 years ago

Generate Random Numbers from a 2D Discrete Distribution by Tristan Ursell

Random numbers from any 2D discrete probability distribution, at any resolution. (discrete, distribution, generate)

[x0,y0]=pinky(Xin,Yin,dist_in,varargin)

image thumbnail

updated 2 years ago

Random Numbers from a Discrete Distribution by Tristan Ursell

Simple algorithm to generate random numbers from a user-defined discrete probability distribution. (random, number, variable)

gendist(P,N,M,varargin)

image thumbnail

updated 2 years ago

Fire and/or Custom Colormap Function by Tristan Ursell

Use the 'fire' colormap in Matlab, or create your own. (color, colormap, custom)

fire(m)

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

Matrix Convolution with Sub-Pixel Resolution by Tristan Ursell

Convolve two matrices at sub-pixel resolution, using bilinear interpolation. (matrix, convolve, convolution)

matout=matoverlay(mat1,mat2,x,y)

image thumbnail

updated 2 years ago

image_save by Tristan Ursell

You know that annoying error when trying to write to an image stack in Matlab? (image, stack, save)

image_save(Im1,basename,varargin)

Contact us