image thumbnail

updated 3 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 6 months ago

Image Noise Reduction by Local Statistics by Tristan Ursell

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

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

image thumbnail

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

Random Numbers from a Discrete Distribution by Tristan Ursell

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

gendist(P,N,M,varargin)

image thumbnail

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

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)

Contact us