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

Show function of compensating plate in interferometer, Q. Show Function of ...

Q. Show Function of Compensating Plate in interferometer? In absence of plate G2 the reflected ray passes the plate G1 twice, whereas the transmitted ray does not passes even o

Metals, Metals, Semiconductors, and Insulators For electrons...

Metals, Semiconductors, and Insulators For electrons to move within an applied electric field there have to be states available to them. A totally filled band ca

Add register and carry with accumulator, Add Register and Carry with Accumu...

Add Register and Carry with Accumulator The contents  of register R and the  carry flag are added to the  contents of the  accumulator  and result of  addition  is also  sto

What happen when negative bias applied to the gate of fet, Q. What happens ...

Q. What happens when a negative bias is applied to the gate of a FET? The result of applying a negative bias to the gate is to reach the saturation level at a lower level of V

Matlab program for niquit, how to write a matlab program for TITO system to...

how to write a matlab program for TITO system to draw nyquit plots.

TTL NAND gate, Q. Explain working of TTL NAND gate? The TTL logic famil...

Q. Explain working of TTL NAND gate? The TTL logic family uses only transistors instead of a combination of transistors and diodes. TTL has the same high and low ranges as DTL.

For carry flag , For carry flag  CC ( Call on Carry ) and CNC ( Call ...

For carry flag  CC ( Call on Carry ) and CNC ( Call  on No Carry ) Instructions CC Calls  the subroutine form  the specified memory  location if carry flag  is set (CY=

Power control - motor control , Power Control A chopper converts  fix...

Power Control A chopper converts  fixed  de input voltage to a controllable dc output voltage. It is  the single  stage dc to dc conversion device. It is a high  speed  on/ of

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