Gaussian derivatives, Electrical Engineering

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 ?

Posted Date: 2/26/2013 12:18:07 AM | Location : United States







Related Discussions:- Gaussian derivatives, Assignment Help, Ask Question on Gaussian derivatives, Get Answer, Expert's Help, Gaussian derivatives Discussions

Write discussion on Gaussian derivatives
Your posts are moderated
Related Questions
Draw and explain the block diagram of DMA controller. The fundamental idea of DMA is to transfer blocks of data directly between peripherals and memory. The data don't suffer t

create a matrix of 5x6. with identical columns and rows ranging from 200 to 1000 in equal increments

Effective Mass The electrons' "wave-particle" motion in a lattice is not the same as that for a free electron, because of the interaction with the periodic potential of the

Q. For a parallel-plate capacitor with plates of area A m 2 and separation d m in air, the capacitance in farads may be computed from the approximate relation Compute the

The Three-phase alternator In this case, three separate sets of coils are wound on the stator and connected to produce three separate outputs. Because of the physical displace

For the circuit in figure, find the current through each resistor.


What is the use of 8251 chip? 8251 chip is mostly used as the asynchronous serial interface among the processor and the external equipment.

Q. What is the need of the resistance used in a clipper? Resistor is used in a clipper to limit the current through the diode. To avoid the damage due to excessive current thro

Q. Explain working of Inverting Amplifier? One common op-amp circuit is shown in Figure. For the case of finite voltage gain Ao of an op amp that is otherwise ideal, the output