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
TRAP has the maximum priority There are 2 types of interrupts external and internal. NMI has highest priority between all external interrupts,TRAP has highest priority between

Q. Explain the basic architecture of digital switching systems. Explain in detail companding. Ans: A simple N X N time division space switch is displayed in Figure. Switch

Normal 0 false false false EN-IN X-NONE X-NONE MOTOR CONTROL

Draw a graph illustrating how resistivity varies with temperature for an intrinsic semiconductor. b) Gallium nitride, GaN, has an energy gap of 3.36 eV at 300 K. Calculate the w

The  Octal Inverter 74LS 240 It is  similar  to above  octal  buffer  but with  inverter output. The  logic  diagram is  shown  in figure below . Normal 0

1. Find the Nyquist rate for the following signals: (a) x(t) = 5 sin 3000Πt cos 4000Πt (b) A binary channel with bit rate 36000 bps is available for PCM voice transmission.

Explain the difference between a microprocessor and an embedded microcontroller

HLT Halt Instruction The microprocessor halts  the execution  of the  program and enters into  the wait  state  the address  and data bus are placed in the  high  impedance st

What do you understand by DRAM and its refreshing? Dynamic RAM (DRAM) is fundamentally the same as SRAM, but this retains data for only 2 or 4 ms on an internal capacitor. But

left child right sibling datd