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

Find the rotor current, A 2200-V, 1000-hp, three-phase, 60-Hz, 16-pole, wye...

A 2200-V, 1000-hp, three-phase, 60-Hz, 16-pole, wye-connected, wound-rotor induction motor is connected to a 2200-V, three-phase, 60-Hz bus that is supplied by synchronous generato

CAO, conditional branch instruction

conditional branch instruction

Circuite theory, In real life, transformers have losses which cause their b...

In real life, transformers have losses which cause their behaviour to deviate from the ideal. Explain the reasons for this non-ideal behaviour

Explain common base configuration, Q. Explain common base configuration? ...

Q. Explain common base configuration? Common-base transistor amplifiers are so-called because the input and output voltage points share the base lead of the transistor in commo

Why are waveguides not used at low frequencies, Q. Comment brie?y on the fo...

Q. Comment brie?y on the following: (a) Why are waveguides not used at low frequencies? (b) Why are open-wire lines not generally used as guiding structures at very high freq

Bcd to excess 3 code converter, What are the industrial applications of the...

What are the industrial applications of the project bcd to excess 3 code converter?

How to convert binary to decimal number, Q. How to convert Binary to Decima...

Q. How to convert Binary to Decimal number system? It is extremely easy to convert from a binary number to a decimal number. As like the decimal system, we multiply each digit

Microprocessor, Write a program to count how many from your data set called...

Write a program to count how many from your data set called MYDATA, which is a set of signed single-byte numbers, has positive value and are odd numbers. Save the result in POSOD

Illustratecommon base configuration, Q. IllustrateCommon base configuration...

Q. IllustrateCommon base configuration? Common base configuration: In this circuit the base is common to both input and the output.Such a configuration is also known as groun

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