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

Obtain an expression for the total pulling force on the bar, A magnetic cra...

A magnetic crane used for lifting weights can be modeled and analyzed as a simple magnetic circuit, as shown in Figure. Its configuration consists of two distinct pieces of the sam

Electrical, star delta drawing with timer

star delta drawing with timer

Bjt, what is compensation of bjt

what is compensation of bjt

Determine the value of maximum power, Determine the value of maximum power:...

Determine the value of maximum power: Determine the value of load resistance, R L for which the source shall transfer the maximum power. Also determine the value of maximum p

3-phase 4 wire meters with ct and md, 3-Phase 4 Wire Meters with CT and MD ...

3-Phase 4 Wire Meters with CT and MD If load is commonly more than 50 A, CT operated meters should be used. It is to be remembered that CTs should be properly selected for acc

Compute the smallest load resistance, Q. A practical voltage source is repr...

Q. A practical voltage source is represented by an ideal voltage source of 30 V along with a series internal source resistance of 1.2 . Compute the smallest load resistance that c

Explain in detail the operation of 8255 in mode 1, Explain in detail the op...

Explain in detail the operation of 8255 in mode1 taking suitable example. In mode1, Ports A and B are programmed as input or output ports and Port C is used for handshaking.

Voltmeter transistor, explain basic working of voltmeter transistor

explain basic working of voltmeter transistor

Explain effect of frequency of applied electric field, Explain effect of fr...

Explain effect of frequency of applied electric field. If an external electric field is applied, the distance among charges that is related to chemical bonding keeps constant i

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