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

Gis applications in management of power distribution systems, GIS Applicati...

GIS Applications in Management of Power Distribution Systems: a.)        Inventory of existing network. b.)        Easy access to network details. c.)        Easy access

Find the effective area of a half-wave dipole, Q. The effective area of a d...

Q. The effective area of a dipole is given by A e =0.13λ 2 . Find the effective area of a half-wave dipole at 3 GHz.

What do you understand by detroit-type automation, (a) What do you understa...

(a) What do you understand by Detroit-type automation? (b) What are the situations under which the above kind of automation can be planned ?

Explain the synchronous up-down counters, Explain the Synchronous Up-Down C...

Explain the Synchronous Up-Down Counters? The circuit of a 3-bit synchronous up-down counter and a table of its sequence are shown below.  Alike to an asynchronous up-down count

Explain cache structure in pentium, Explain cache structure in Pentium. ...

Explain cache structure in Pentium. Cache structure in Pentium: The cache in the Pentium has been changed by the one determined in the 80486 microprocessor. The Pentium has t

Explain the limiting the spectrum, Explain the Limiting the Spectrum Th...

Explain the Limiting the Spectrum This low-pass filter is known an anti-aliasing filter. These filters are originated at the input to most applications. Since they are required

Explain steady-state error of linear systems, Q. Explain Steady-State Error...

Q. Explain Steady-State Error of Linear Systems? If the steady-state response of the output does not agree exactly with the steady state of the input, the system is said to hav

Calculate the current flowing through the inductor, The circuit is altered ...

The circuit is altered by replacing the capacitor, C1 with an inductor of 150mH and left with the switch in position (a) for a long time. At time t=0, the switch is moved from posi

Sketch the phasor diagram showing all the voltages, Q. A balanced wye-conne...

Q. A balanced wye-connected load with a per-phase impedance of 4 + j3  is supplied by a 173-V, 60-Hz three-phase source. (a) Find the line current, the power factor, the total

Efficiency Equations for AC Generators., Most ac generators used in Power S...

Most ac generators used in Power Stations are of the " Flux Cutting " types. Their effiencies range from less than 33% to slightly more than 60%. In their efficiency equations, the

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