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

Generator, On which principle the generator works?

On which principle the generator works?

Explain norton''s theorem procedure, Norton's theorem procedure: 1.  Re...

Norton's theorem procedure: 1.  Remove R L from the circuit. Search I N by shorting links output terminal. 2.  Search R N by short-circuit voltage source or open-circuit

Jump instruction - branch operations , Jump Instruction There are two ...

Jump Instruction There are two types of jump  instruction unconditional jump conditional jumps

Developed diagram of simplex progressive 2 layer lap winding, Q. Draw the d...

Q. Draw the developed diagram of a simplex progressive 2 layer lap winding for a 4 pole generator with 12 coils clearly indicating the position of brushes.   Sol.  No. o

Mov - move instruction, MOV ( Move ) Instruction It copies  the content...

MOV ( Move ) Instruction It copies  the contents of the sources register into destination register. The general format is . This  instruction  is used  to copy 8 bit  from s

Current transformers., CT 10VA, 50A/5A, 6ohz, 2.4KV required nominal primar...

CT 10VA, 50A/5A, 6ohz, 2.4KV required nominal primary voltage?

Thunderstrom detector, Ask question #how to construct thunderstrom detector...

Ask question #how to construct thunderstrom detector with circuit breaker.

Write explanatory notes on paging, Write explanatory notes on Paging. T...

Write explanatory notes on Paging. The memory paging mechanism located inside the 80386 and above permits any physical memory location to be allocated to any linear address. Th

Database resources, HELLO.can I have a short note on database resources

HELLO.can I have a short note on database resources

What do you mean by counters, Q. What do you mean by Counters? The shif...

Q. What do you mean by Counters? The shift register can be used as a counter because the data are shifted for each clock pulse. A counter is a register that goes through a pred

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