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

Cpld design project, 1) Study the CPLD Design Project Brief to gain an unde...

1) Study the CPLD Design Project Brief to gain an understanding of the project, and the System Specification, Circuit Description, Pre-processing and Post-processing Requirements f

Performance equations of three phase induction motor , Performance Equation...

Performance Equations of Three Phase Induction Motor When balanced 3-? voltages are applied to the  stator  winding  a rotating magnetic field  of constant amplitude is produc

Voltage regulator, Voltage regulator: A voltage regulator is an electr...

Voltage regulator: A voltage regulator is an electrical regulator intended to automatically keep a constant voltage level. A voltage regulator is an instance of a negative fee

Nand gate - introduction to microprocessors , NAND Gate NAND   means NO...

NAND Gate NAND   means NOT AND  it complements  the output  of an AND  gate. The symbol  of NAND  by a NOT  gate.  Generally Not  operation  is represented by a bubble as shown

How is segmentation implemented in typical microprocessors, How is segmenta...

How is segmentation implemented in typical microprocessors? The first advantage is as memory segmentation has is that only 16 bit registers are needed both to store segment bas

#title.energy harvesting from door movement., How to convert mechanical ene...

How to convert mechanical energy into electrical energy

Model and simulaions, a short review article on the classification of time ...

a short review article on the classification of time frame

Resistors, Difference between linear and non-linear resistors

Difference between linear and non-linear resistors

Sketch one full period of the am wave, Q. Let a(t) = [1 + m A x(t)] and x(t...

Q. Let a(t) = [1 + m A x(t)] and x(t) = cos 2πf m t, f m c , and x c (t) = A(t) cos 2πfct . (a) With m A =1, sketch one full period of the AM wave and draw the envelope by co

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