Gaussian derivatives, Electrical Engineering

Gaussian derivatives

Generate Gaussian kernels for a given scale "sigma", and display the kernel.

The size of the kernel should be floor(3*sigm)+1;

(i) Write an m-file "gauss.m" which generates Gaussian kernel.

function G=gauss(sigm)
s=floor(3*sigm)+1;
x=[-s:s];
G = exp(-x.^2/(2*sigm^2));
G=G/sum(sum(G));
plot(?);

Why G has to be normalized?

(ii) write an m-file gauss_x.m which generates 1 order derivative of the Gaussian kernel.

function G=gauss_x(sigm)
s=floor(3*sigm)+1;
x=[-s:s];

G=?

(iii)  Write an m-file gauss_xx.m which generates 2 order derivative of the Gaussian kernel.

function G=gauss_xx(sigm)
s=floor(3*sigm)+1;
x=[-s:s];
G=?

Observe Gaussian kernels for different sigma values.
Why the size of the kernel should be  (3*sigm)+1 ?

Posted Date: 2/26/2013 12:18:07 AM | Location : United States







Related Discussions:- Gaussian derivatives, Assignment Help, Ask Question on Gaussian derivatives, Get Answer, Expert's Help, Gaussian derivatives Discussions

Write discussion on Gaussian derivatives
Your posts are moderated
Related Questions
what is the full design for 16 logic microoperations

explain the proprty and the application of carbon and tungsten in lamp?


Fourier transform  (filtering) (i) Perform low pass filtering in the frequency domain. Write and m-file lowfft.m which does this operation. lowfft.m function lowfft im

Q. What are the different types of distributing frames used in exchanges? Ans: Different distribution  frames  used  in  exchange  are  displayed in  figure.  Each subscribe

Q. Show Power and Power Factor in ac Circuits? Power is the rate of change of energy with respect to time. The unit of power is a watt (W), which is a joule per second (J/s). T

A cylindrical shell with flat ends is of 1.5 m Internal diameter and 4 m length. It is subjected to an internal pressure of 300 N/cm 2 . The principal stress is not to exceed 15 K

What is meant by doping? Doping: Semiconductors in its extremely pure form are termed as intrinsic semiconductor such intrinsic semiconductor to which several suitable impur

A copper cylinder 40 cm diameter and 10 mm thick is nearly wound with a layer of 4mm diameter steel wire under a tensile stress of 80 Mpa. If the steam under a pressure of 5 Mpa is

PIVOT PIN MOVEMENT