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

Define byte assembler directive, What do you understand by DB assembler...

What do you understand by DB assembler directive?   DB (Define Byte): The DB directive explains by a byte-type variable (that is a variable that occupies one byte of memo

What is own-exchange routing, Q. What is Own-exchange routing? Distribu...

Q. What is Own-exchange routing? Distributed routing or own-exchange routing enables alternative routes to be chosen at intermediate nodes. Hence the strategy is capable of res

What is meaning of parallel in - serial out shift register, What is the Mea...

What is the Meaning of Parallel In - Serial Out Shift Registers? A four-bit parallel in - serial out shift register is shown below D0, D1, D2 and D3 are parallel inputs

Spectrum analyser, The spectrum analyser plots amplitude against frequency,...

The spectrum analyser plots amplitude against frequency, in other words it shows signals in the frequency domain. The spectrum analyser has the same trigger options as the oscillos

Impact of abnormal solar winds on the earth, (a) Provide examples of intent...

(a) Provide examples of intentional electromagnetic sources and examples of unintentional sources. (b) Describe the process of the formation of lightning. (c) Reduce each of

Name the flag bits available in 8085 microprocessors, Name  the flag bits a...

Name  the flag bits available in 8085 microprocessors. The 8085 microprocessor has five flags to show  five different  types  of data conditions .they are zero(Z),carry(CY),Sig

Microcontroller, 1. Look at a method of creating AC from DC. 2. This may...

1. Look at a method of creating AC from DC. 2. This may involve a microcontroller. 3. Method must be able to synchronise your produced AC to local AC supply. 4. Look at po

Compute the magnitude of the line-to-line voltage, Q. Three identical imped...

Q. Three identical impedances of 30 30° are connected in delta to a three-phase 173-V system by conductors that have impedances of 0.8 + j0.6  each. Compute the magnitude of the l

Determine the voltage gain , (a) A second order Sallen and Key Low Pass Act...

(a) A second order Sallen and Key Low Pass Active Filter has these component values R 1 =R 2 =15 kΩ, C 1 =C 2 =1 nF and the feedback resistors are R 3 =3.9 kΩ and R 4 =2.3 kΩ

Biasing, Biasing: Bipolar transistor amplifiers have to be properly bi...

Biasing: Bipolar transistor amplifiers have to be properly biased to operate properly. In circuits made up with individual devices (discrete circuits), biasing networks contai

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