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

Matrix, create a matrix of 5x6. with identical columns and rows ranging fro...

create a matrix of 5x6. with identical columns and rows ranging from 200 to 1000 in equal increments

Counter-controlled analog to digital converter, Q. Counter-controlled analo...

Q. Counter-controlled analog to digital converter? Figure shows the block diagram of a counter-controlledA/Dconverter. Resetting the binary counter to zero produces D/A output

Explain the hysteresis loop of a magnetic material, Explain the hysteresis ...

Explain the hysteresis loop of a magnetic material. Hystereses loop-Below the Curie temperature all-ferromagnetic materials show the identified hysteresis in the B (i.e. flux

Fsk scheme, Question: (a) An FSK Scheme is used in a wireless transmi...

Question: (a) An FSK Scheme is used in a wireless transmission with the data bits 1011010. With the help of a labeled diagram, describe in detail the final output of the MSK

Find the induced armature voltage at rated load, Q. A50-kW, 230-Vcompound g...

Q. A50-kW, 230-Vcompound generator has the following data: armature-circuit resistance 0.05 , series-field circuit resistance 0.05 , and shunt- field circuit resistance 125 . As

Find current-equivalent resistor reductions for the network, Q. Find the cu...

Q. Find the currents I x using current division and equivalent resistor reductions for the networks given in Figure.

What is a co-processor, What is a co-processor? 8087 NDP (numerical da...

What is a co-processor? 8087 NDP (numerical data processor) is also termed as math co-processor that is used in parallel with the major processor for number crunching applicat

Show principal source of energy, Q. Show Principal source of energy? Th...

Q. Show Principal source of energy? The principal source of energy comes from the burning of fossil fuels such as coal and oil to generate steam, which drives steam turbines, w

Compute the percentage change, Q. A particular BJT has a nominal value of α...

Q. A particular BJT has a nominal value of α 0.99. Calculate the nominal β.If α can easily change ±1%, compute the percentage changes that can occur in β.

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