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

Explain cwd instructions in 8086 family, Explain CWD instructions in 8086...

Explain CWD instructions in 8086 family with example and their effect on flag. Convert signed word to signed double word: CWD instruction enlarges the sign bit of a word int

When mt2 is negative and g is positive , When MT 2 is Negative  and g is ...

When MT 2 is Negative  and g is positive In this  case  gate  current  flows  through  junctions P 2 N 2   electrons  are injected from  N 2   layer to  P 2   a result  junct

Compare with register, Compare with Register The contents  of the re...

Compare with Register The contents  of the register  are compared with  the contents  of the accumulator  here  register  may be  any one  of the  A, B, C, D E, H, or L  reg

Complex programmable logic device, The small electronics consultancy compan...

The small electronics consultancy company that you work for has been commissioned to design a portable mixed signal heart rate monitor unit for the National Health Service. You hav

Transistor, Transistor A transistor is a semiconductor device that is ...

Transistor A transistor is a semiconductor device that is employed to amplify and switch electronic signals. It is made up of a solid piece of semiconductor material, with min

Hybrid meters, Hybrid Meters These meters have electronic measurement ...

Hybrid Meters These meters have electronic measurement circuits but show is by impulse counters/stepper motors. Accuracy is classically class 1.0 or 2.0 and commonly these met

Electromechanical meters, Electromechanical Meters Electromechanical e...

Electromechanical Meters Electromechanical energy meters are based on the Ferraris Principle (see note in the margin). The working of these meters is explained. Working o

Calculate the current flowing through the inductor, The circuit is altered ...

The circuit is altered by replacing the capacitor, C1 with an inductor of 150mH and left with the switch in position (a) for a long time. At time t=0, the switch is moved from posi

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