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

Representation of magnetic fields, The direction of the magnetic field line...

The direction of the magnetic field lines is given by 'Maxwell's Right-Hand corkscrew rule'  The thumb of the right hand indicates the direction of current flow in the wire and

Sampling of digital communication systems, Q. Sampling of digital communica...

Q. Sampling of digital communication systems? Sampling of an analog signal makes it discrete in time. A bandlimited signal can be recovered exactly from its samples, taken peri

Discuss important properties and uses of ceramics, Discuss important proper...

Discuss important properties and uses of Ceramics. Ceramics - These are materials made by high temperature firing treatment of natural clay and specific inorganic matters. The

Define combinations of logic gates, Define Combinations of logic gates? ...

Define Combinations of logic gates? The Logic gates be able to combined to produce more complex functions. They can as well be combined to substitute one kind of gate for anoth

Explain generating mode of rotating machines, Q. Explain Generating mode of...

Q. Explain Generating mode of rotating machines? The generating mode has mechanical power input and electric power output. The torque T applied externally to the shaft drives t

Find the minimum rate of sampling, Find the minimum rate of sampling that m...

Find the minimum rate of sampling that must be used to convert the message into digital form: (a) If an audio message has a spectral extent of 3 kHz. (b) If a television sign

Math, How you write this number in letters. 20,000.000.000

How you write this number in letters. 20,000.000.000

What is transconductance, Q. What is transconductance? Explain its signific...

Q. What is transconductance? Explain its significance from the transfer characteristics. Transconductance is the transistor gain of the JFET; it indicates the amount of control

Illustrate the construction and working of thermistor, Illustrate the const...

Illustrate the construction and working of:- (i) Pressure Thermometer (ii) Selective Radiation Pyrometer (iii) Thermistor (iv) Laws of Thermocouple

., Ask quA 380-V, 15-hp, 50-Hz, four-pole, Y-connected wound-rotor inductio...

Ask quA 380-V, 15-hp, 50-Hz, four-pole, Y-connected wound-rotor induction motor has the following impedances in ohms per phase referred to the stator circuit: R1= 0.453? R2= 0.24

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