image thumbnail

updated 6 months ago

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

Tristan Ursell (view profile)

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

Active Figure Zoom for Selecting Points by Tristan Ursell

Tristan Ursell (view profile)

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

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

Tristan Ursell (view profile)

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

slide_map=rgbslide(mat_in,varargin)

image thumbnail

updated 1 year ago

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

Tristan Ursell (view profile)

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

Tristan Ursell (view profile)

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 almost 2 years ago

Frechet Distance Calculator by Tristan Ursell

Tristan Ursell (view profile)

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

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

image thumbnail

updated almost 2 years ago

Find Image Extrema by Tristan Ursell

Tristan Ursell (view profile)

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

Image Noise Reduction by Local Statistics by Tristan Ursell

Tristan Ursell (view profile)

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

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

image thumbnail

updated 2 years ago

Connected Component Analysis on an Undirected Graph by Tristan Ursell

Tristan Ursell (view profile)

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

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

image thumbnail

updated almost 3 years ago

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

Tristan Ursell (view profile)

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

Copy Files in Batches using Search Terms by Tristan Ursell

Tristan Ursell (view profile)

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

accumulator

image thumbnail

updated 3 years ago

File Name Search Function by Tristan Ursell

Tristan Ursell (view profile)

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

filenames=filefinder(searchpath,varargin)

image thumbnail

updated 3 years ago

Random Numbers from a Discrete Distribution by Tristan Ursell

Tristan Ursell (view profile)

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

gendist(P,N,M,varargin)

image thumbnail

updated 3 years ago

Fire and/or Custom Colormap Function by Tristan Ursell

Tristan Ursell (view profile)

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

fire(m)

image thumbnail

updated 3 years ago

2D Distance Transform of Arbitrary Points by Tristan Ursell

Tristan Ursell (view profile)

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

Matrix Convolution with Sub-Pixel Resolution by Tristan Ursell

Tristan Ursell (view profile)

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

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

image thumbnail

updated 3 years ago

image_save by Tristan Ursell

Tristan Ursell (view profile)

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