Gaussian derivatives, Electrical Engineering

Assignment Help:

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 ?


Related Discussions:- Gaussian derivatives

Difference between div and idiv instructions, Mention how do the DIV & I...

Mention how do the DIV & IDIV instructions differ in their functionality DIV: Unsigned numbers division and IDIV: Signed number division.

CRO, draw a labled diagram of CRO and explain the function of its parts

draw a labled diagram of CRO and explain the function of its parts

Molecular chain, Molecular Chain (MIT, Princeton, Colorado) Consider a ...

Molecular Chain (MIT, Princeton, Colorado) Consider a one-dimensional chain consisting of N molecules which exist in two configurations, α, β, with corresponding energies  and

Calculate the iron loss, Q. The efficiency of a 400-kVA, single-phase, 60-H...

Q. The efficiency of a 400-kVA, single-phase, 60-Hz transformer is 98.77% when delivering full-load current at 0.8 power factor, and 99.13%with half rated current at unity power fa

Show npn common emitter amplifier, Q. Show NPN Common Emitter Amplifier? ...

Q. Show NPN Common Emitter Amplifier? The common emitter configuration lends itself to voltage amplification and is the most common configuration for transistor amplifiers.

Applied electronics, What is coupling? Explain the types of coupling

What is coupling? Explain the types of coupling

Signals, Using the audiorecorder() function in MATLAB, make a recording of ...

Using the audiorecorder() function in MATLAB, make a recording of your voice. Use a sample rate of 8kHz, 16 bits per sample, and aim to record around 2 seconds worth. Quantize th

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd