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 range of analog output voltage, Q. For the 4-bit D/A converte...

Q. For the 4-bit D/A converter of Figure with V ref =-5 V, determine the range of analog output voltage and the smallest increment. Ans. The binary input range is from 0

Find the per-phase impedance of the load, Q. A three-phase, three-wire 208-...

Q. A three-phase, three-wire 208-V system is connected to a balanced three-phase load. The line currents ¯ IA, ¯ IB, and ¯ IC are given to be in phase with the line-to-line voltage

Classification of solids insulators semiconductor condutors, Classification...

Classification of Solids into Insulators, Semiconductor and Conductors A solid can conduct electric current if the electrons can move in it. This is possible only when an ener

Explain about half duplex transmission, Q. Explain about Half Duplex Transm...

Q. Explain about Half Duplex Transmission? Half Duplex Transmission A half-duplex channel can receive andsend, though not at the same instance. It's like a one-lane bridge w

Explain piezoelectricity, Explain piezoelectricity. Piezoelectricity: ...

Explain piezoelectricity. Piezoelectricity: It gives us a means of converting electrical energy to mechanical energy and vice versa. While an electric field is applied to

Explain current-to-voltage amplifier, Q. Explain Current-to-Voltage Amplifi...

Q. Explain Current-to-Voltage Amplifier? The basic circuit is shown in Figure, which is similar to that of an inverting amplifier. The - input is connected directly to a curren

Find the frequency of oscillation - amplifier gain, Q. Find the frequency o...

Q. Find the frequency of oscillation, amplifier gain ? The transfer function is found to be where the equation is written as a Laplace transform (s=jw). Analysis of thi

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