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

Quantizer, Q. When the quantum step size δv and the step size of f (t) are ...

Q. When the quantum step size δv and the step size of f (t) are the same as in , the quantizer is said to have a gain of unity. If, on the other hand, the quantizer has a gain of K

Describe the two core-excited states, Using the optimized 6-311G(d,p) geome...

Using the optimized 6-311G(d,p) geometry determined in question 1, perform the following equivalent core calculations for any two inequivalent carbons of butadiene: (a) Equivale

Customer relationship management software, Customer Relationship Management...

Customer Relationship Management Software CRM software products are most varied and variable in cost and functionality. The significant CRM software application includes: a

Describe an integrator circuit, Q. Describe an integrator circuit ? A c...

Q. Describe an integrator circuit ? A circuit in which output voltage is directly proportional to the integral of the input is known as an integrating circuit. An integrating c

Weighted-resistor converter, Q. WEIGHTED-RESISTOR CONVERTER? Figure sho...

Q. WEIGHTED-RESISTOR CONVERTER? Figure shows a 4-bit weighted-resistor D/A converter which includes a reference voltage source, a set of four electronically controlled switches

Read-and-write memory, Q. Read-and-write memory? Writing is the same as...

Q. Read-and-write memory? Writing is the same as storing data intomemory and reading is the same as retrieving the data later. RAM is said to be volatile because its contents a

EDC, What is hall effect?

What is hall effect?

Compute the maximum value of the voltage induced in the coil, Q. The coil i...

Q. The coil is placed so that its axis of revolution is perpendicular to a uniform field, as shown in Figure If the flux per pole is 0.02 Wb, and the coil, consisting of 2 turns, 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