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

Direct and indirect semiconductors, Direct and Indirect Semiconductors ...

Direct and Indirect Semiconductors 1) In a common quantitative calculation of band structures, the wave function of a single electron traveling by a perfectly periodic lattice

What are the drawbacks of microprocessor, There is a limitation on the size...

There is a limitation on the size of data. Most Microprocessor does not maintain floating-point operations.

Hilda output - externally initiated signals , HILDA ( Output) It is ...

HILDA ( Output) It is  called hold acknowledge signals it is active  high  i e it  goes high when  microprocessor receives HOLD signal.

What is the use of terminal count register, What is the use of terminal cou...

What is the use of terminal count register? Each of the four DMA channels of 8257 has single terminal count register. This 16-bit register is used for ascertaining that the dat

Define explicit - implicit and parametric representations, Give an industri...

Give an industrial look at modern CAM/CAD. Define explicit, implicit and parametric representations. What are the basic advantages of parametric representations over the impli

Analogue and digital, 1. Pattern recognition A synchronous sequential machi...

1. Pattern recognition A synchronous sequential machine is to generate 1 on output z after the next clock pulse whenever the bit sequence on input x has exactly two 0’s in the last

Finite state machine, the tutorial assignment is part of my thesis work and...

the tutorial assignment is part of my thesis work and i need help in it please

What is use of co-processor in a typical microprocessor, What is use of co-...

What is use of co-processor in a typical microprocessor based system. This is a processor that works in parallel with the major processor. This has its own set of specialized i

Determine the cpi load latency, Question: (a) Describe the following te...

Question: (a) Describe the following terminologies: i. Branch ii. Branch Prediction iii. Branch Predictor iv. Branch Misprediction (b) Consider that 15% of instructi

Armature winding, what is use of dummy coil in DC m/c????

what is use of dummy coil in DC m/c????

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