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

Thunderstrom detector, Ask question #how to construct thunderstrom detector...

Ask question #how to construct thunderstrom detector with circuit breaker.

8086 mostly used , Where 8086 mostly used & tell application of 8086? ...

Where 8086 mostly used & tell application of 8086? Ans) 8086 is used for common purpose like it is used in traffic signals for control purpose .It's also used for small applic

Algorithm pseudo code and flow charts , Algorithm  pseudo code and flow  ...

Algorithm  pseudo code and flow  charts Algorithm:   before  writing  the program  the programmer must understand  the problem  for which are  program is to  be written. Then

Quality of supply and services - power distribution, Quality of Supply and...

Quality of Supply and Services  - Power Distribution For effectual management and performance improvement it is essential to measure the several defined parameters of the proc

Determine the resulting waveform, Two pure sine waves have similar amplitud...

Two pure sine waves have similar amplitude "A" and frequency "f." They are out of phase through 180 degrees. If these two signals are added, the resulting waveform will be:

State value of current flowing in the winding, The winding of an electromag...

The winding of an electromagnet has an inductance of 3H and a resistance of 15?. When it is connected to a 120 V d.c. supply, Determine: (a)  the steady state value of current f

Digital control system, block diagram of digital control system and explain...

block diagram of digital control system and explain each block

2365 - 305 task a, List four sources of information which are essential to ...

List four sources of information which are essential to the designer of this electrical installation.

Impurities in semiconductors, Impurities in Semiconductors Can be a...

Impurities in Semiconductors Can be added in accurately controlled amounts. Can modify the electronic and optical properties. Used to change conductivity over wide ra

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