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

Relative permeability of the cast steel, A closed magnetic circuit of cast ...

A closed magnetic circuit of cast steel having a 6cm long path of cross-sectional area 1cm 2 and a 2 cm path of cross-sectional area 0.5 cm 2 . A coil of 200 turns is wound around

DSP-chebyshev, Consider Chebyshev Type I versus Chebyshev Type II (also cal...

Consider Chebyshev Type I versus Chebyshev Type II (also called inverse Chebyshev) Ölters. Which one should be used based on the following criteria? (If there is no difference betw

High level language - third generation language , High Level Language ( thi...

High Level Language ( third Generation Language ) The difficulties of low  level  languages are overcome  by high  level languages. In  assembly  language  mnemonics  were used

When mt2 and gate is negative, when MT 2 and Gate  is Negative In th...

when MT 2 and Gate  is Negative In this case gate  current  flows  through P 2 N 3 junction. Junction N 1 P 2 forward  biased hence the triac  starts  conduction through  P

Electronics, #What are the types of Negative Feedback Amplifier?

#What are the types of Negative Feedback Amplifier?

Determine potential difference across resistor, Determine Potential Differe...

Determine Potential Difference: Compute the current through each element of the given network and also determine potential difference across 15 Ω resistor. Figure

Determine the magnetic flux, Determine the magnetic flux: A coil is wo...

Determine the magnetic flux: A coil is wound uniformly with 300 turns over a steel ring of relative permeability 900, with a mean circumference of 40mm and cross-sectional are

What is the advantage of using jfet as an amplifier, Q. What is the advanta...

Q. What is the advantage of using JFET as an amplifier? As an amplifier of small time-varying signals, the JFET has a number of valuable assets. First of all it has a very high

Knowledge of science and engineering fundamentals, Knowledge of science and...

Knowledge of science and engineering fundamentals Knowledge of basic science and engineering fundamentals is necessary for engineers to develop solution to any complex problem

Determine the remaining voltages and currents, Q. Some element voltages and...

Q. Some element voltages and currents are given in the network configuration of Figure. Determine the remaining voltages and currents. Also calculate the power delivered to each el

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