image thumbnail

updated 1 month ago

A multidimensional map class by David Young

MapN provides a map class similar to containers.Map, but with multidimensional keys. (map, container, containers)

memoize(f)

MapN

image thumbnail

updated 4 months ago

Fast 2-D convolution by David Young

Speeds up many 2-D convolutions using the SVD; also finds a fast approximation in other cases. (2d, convolution, filtering)

convolve2(x, m, shape, tol)

exindex(arr, varargin)

image thumbnail

updated 4 months ago

Gradients with Gaussian smoothing by David Young

Grey-level gradients are estimated using Gaussian smoothing followed by symmetric differencing. (image processing, image smoothing, gaussian smoothing)

exindex(arr, varargin)

gradients_n(a, varargin)

gradients_x(x, varargin)

image thumbnail

updated 4 months ago

TerraSAR-X and TanDEM-X tools by David Young

Read and convert TerraSAR-X and TanDEM-X COSAR files (sar, insar, synthetic aperture ra...)

TD2TSall(d)

TanDEM2TerraSAR(filein, fileout)

allfiles(d, ext)

image thumbnail

updated 5 months ago

Canny edge detection in 2-D and 3-D by David Young

A Canny edge detector for two-dimensional image and three-dimensional volume data. (canny, edge detection, 3d)

canny(im, varargin)

checkattributes(a, classes, attributes)

exindex(arr, varargin)

image thumbnail

updated 6 months ago

emptyStruct by David Young

Creates empty struct arrays of various kinds (structures, structure, struct)

emptyStruct(fieldnames, sz)

image thumbnail

updated 8 months ago

Max and min keeping NaNs by David Young

The max and min functions ignore NaN values. These functions keep them like arithmetic functions do. (max, min, maximum)

maxNan(a, b, dim)

minNan(a, b, dim)

image thumbnail

updated 2 years ago

Image correspondences using cross-correlation by David Young

Find matching features in pairs of images using normalised cross-correlation: class file and demo. (image analysis, optic flow, optical flow)

Image correspondence by cross-correlation demonstration

convolve2(x, m, shape, tol)

correspDisplay(corresps, im, col)

image thumbnail

updated 2 years ago

Affine optic flow by David Young

Estimates the parameters of an affine (first-order) optic flow model from two images. (optic flow, optical flow, affine)

Affine Optic Flow Demonstration

affine_flowdisplay(flow, im, step, col)

affine_flowedgedisplay(flow, im1, im2)

image thumbnail

updated 2 years ago

Extended Brookshear Machine emulator and assembler by David Young

Emulator and assembler for a simple computer, a teaching aid for computer science courses. (machine code, assembler, gui)

Extended Brookshear Machine Assembler

Extended Brookshear Machine Emulator

assembler(file)

image thumbnail

updated almost 3 years ago

Logarithm of complex sine and cosine avoiding overflow by David Young

Functions to compute log(sin(Z)) and log(cos(Z)) avoiding overflow for large abs(imag(Z)). (mathematics, complex numbers, log)

logcos(z)

logsin(z)

image thumbnail

updated 3 years ago

2-D convolution using the FFT by David Young

Convolution in 2-D using the Fast Fourier Transform. (convolution, filtering, fft)

conv_fft2(x, m, shape)

exindex(arr, varargin)

image thumbnail

updated almost 4 years ago

Fourier transform demonstration by David Young

An introductory demonstration of the discrete Fourier transform, making use of the fft function. (fourier transform, discrete fourier tran..., fast fourier transfor...)

Introductory Fourier Transform Demonstration

image thumbnail

updated 4 years ago

Extended array indexing by David Young

Indexes a virtual array formed by extending an array indefinitely on each dimension. (subscript, index, array)

exindex(arr, varargin)

image thumbnail

updated 4 years ago

Log-polar image sampling by David Young

Resamples an image from a conventional grid to a log-polar grid, and back. (image analysis, image transform, image resampling)

logsampback(logarr, rmin, rmax)

logsample(arr, rmin, rmax, xc, yc, nr, nw)

logtform(rmin, rmax, nr, nw)

image thumbnail

updated 4 years ago

Hough transform for circles by David Young

A Hough transform function for detecting circles, optimised to allow search over radii. (hough transform, circle, image analysis)

Circular Hough Transform Demonstration

circle_hough(b, rrange, varargin)

circle_houghpeaks(h, radii, varargin)

image thumbnail

updated 4 years ago

Elementary Cellular Automata by David Young

Simulates any 1D nearest-neighbour binary cellular automaton. (cellular automata, cellular automaton)

elementaryCellularAutomata(rule, n, width, randfrac)

image thumbnail

updated 5 years ago

Gabor function masks by David Young

Create Gabor-function convolution masks (convolution, filtering, image processing)

gabormask(Size, sigma, period, orient)

Contact us