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
Turn off Time This is also known  as gate controlled  turn on  time. The time  interval between  a specified  point at the beginning  of the  gate pulse  and the  instant wh

Q. Show Common signal-processing operations? Common signal-processing operations include the following: • Amplification to compensate for attenuation • Filtering to reduc

Introduction The purpose of this experiment is to examine the operation of the floating-point unit. Procedure 1. Show how the number 355.6 is converted into a normalize

Q.   Write a short note on types of enclosure of machine. Sol.       The various types of d.c. machine :              (1) Magnetic frame or Yoke              (2)

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

DC Load line

Consider the circuit in Figure (a), which include a controlled source, and find the current in the 5-V source and the voltage across the 5- resistor by using (a) the loop-current

Q. Explain the high-frequency response of FET amplifier?  The analysis for the high frequency response of the FET amplifier is almost the same as that of the BJT amplifier. The

AC Circuit: This topic explain the basic concepts of single and three-phase ac system. Unit provides the thorough analysis and derivations as required by topics. Here we find

Illustrate the working of full wave rectifier using bridge rectifier. How is it different from centre tapped Rectifier ? Illustrate Avalanche and Zener breakdown. Draw & explain