# Auto Gaussian & Gabor Surface Fit (Scripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

See full specifications

## Auto Gaussian & Gabor Surface Fit (Scripts) Publisher's description

### 2 functions to fit a 2D Gaussian or 2D Gabor to a surface

Auto Gaussian & Gabor Surface fit
---
2 functions to fit a 2D Gaussian or 2D Gabor to a surface. The routines are automatic in the sense that they do not require the specification of starting guesses for the model parameters. This is done by evaluating the quality of fit (sum of squared error) for many different choices of parameters then refining the most promising set of params through least-squares (exhaustive search followed by refinement). Least-squares is statistically equivalent to maximum likelihood estimation of the model parameters on the assumption of independent, normally distributed Gaussian noise in the observations (pixels).

autoGaussianSurf(xi,yi,zi) fits a Gaussian, defined as:

zi = a*exp(-((xi-x0).^2/2/sigmax^2 + (yi-y0).^2/2/sigmay^2)) + b

autoGaborSurf(xi,yi,zi) fits a Gabor, defined as:

zi = a*exp(-(xip,.^2+yip.^2)/2/sigma^2)*cos(2*pi*xip/lambda + phase) + b

Where:
xip = (xi-x0)*cos(theta) + (yi-i0)*sin(theta);
yip =-(xi-x0)*sin(theta) + (yi-i0)*cos(theta);

The Gabor fit calls autoGaussianSurf internally, using the fact that the absolute value of a Gabor in the Fourier domain is a Gaussian

#### System Requirements:

MATLAB 7.9 (2009b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

#### Auto Gaussian & Gabor Surface Fit (Scripts) Tags:

Click on a tag to find related softwares

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation