Generate a custom 2D gaussian. More...
Functions | |
function ret = | customgauss (in gsize, in sigmax, in sigmay, in theta, in offset, in factor, in center) |
Generate a custom 2D gaussian.
File at Matlab-Central from Thomas Dideriksen
function ret = customgauss | ( | in | gsize, |
in | sigmax, | ||
in | sigmay, | ||
in | theta, | ||
in | offset, | ||
in | factor, | ||
in | center | ||
) |
gsize | Size of the output 'gauss', should be a 1x2 vector |
sigmax | Std. dev. in the X direction |
sigmay | Std. dev. in the Y direction |
theta | Rotation in degrees |
offset | Minimum value in output |
factor | Related to maximum value of output, should be different from zero |
center | The center position of the gaussian, should be a |