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

Determine the active - reactive and apparent power, Determine the active - ...

Determine the active - reactive and apparent power: In the given circuit, determine the active, reactive and apparent power. Figure Solution  The inductive

Show binary coded decimal number system, Q. Show Binary Coded Decimal Numbe...

Q. Show Binary Coded Decimal Number System? If we analysis single digit values for hex, the numbers 0 - F, they represent the values 0 - 15 in decimal, and occupy a nibble. Fre

Set up a table for a 4-to-10 line excess-3 decoding, Q. (a) Excess-3 cod...

Q. (a) Excess-3 code is a 4-bit binary code for the 10 decimal digits and is found useful in digital computer arithmetic. Each combination is found by adding 3 to the decimal nu

PLC Programming, FIG. 2 Car Park Simulation Consider the above diagram, FI...

FIG. 2 Car Park Simulation Consider the above diagram, FIGURE 2, of the car park. The object of this assignment is to write a program to operate the barriers to allow the cars in

Find the input resistance and output resistance, Quite often an amplifier i...

Quite often an amplifier is used as a component of an amplifier circuit. Consider the amplifier circuit shown in Figure, which contains an amplifier block as an internal component.

Digital switching switching in telecommunication, Name the switching scheme...

Name the switching schemes used in a digital exchange

Determine self inductances of coils, Determine self inductances of coils: ...

Determine self inductances of coils: The number of turns in two coupled coils A and B are 600 and 1700 respectively. While a current of 6 A flows in coil B, the total flux in

Give properties and uses of silicon and nickel iron alloys, Give the proper...

Give the properties and uses of silicon iron alloy and nickel iron alloy. Silicon Iron alloy: Pure iron has low resistivity that results in higher eddy current losses. These

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