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

Estimate the change in hysteresis loss, (a) Estimate the hysteresis loss at...

(a) Estimate the hysteresis loss at 60 Hz for a toroidal (doughnut-shaped) core of 300-mm mean diameter and a square cross section of 50mmby 50mm. The symmetrical hysteresis loop f

Adc instruction, ADC   Instruction This instruction is used to add th...

ADC   Instruction This instruction is used to add the contents of any register of any register  memory location and carry  flag with the  contents of accumulator  and result  i

Programming, ELEC 132 COURSEWORK – ADC This work will be assessed based...

ELEC 132 COURSEWORK – ADC This work will be assessed based on program demonstration (during lab sessions) and design. You will also have to submit your c-source codes as word o

Find differential equation & state-space representation, 1. For the followi...

1. For the following network: a. Find the differential equation assuming that v ( t ) is the input and the charge on the capacitor q ( t ) is the output. Hints: i R1= ( i R2

Explain the operation of 8279, Explain the operation of 8279.  Explain the ...

Explain the operation of 8279.  Explain the following terms: (i)  N key Roll over. (ii)  Key board debounce. (iii)  FIFO RAM. Ans The 8279 microprocessor i

What do you mean by exponent, Q. What do you mean by Exponent? The expo...

Q. What do you mean by Exponent? The exponent field needs to represent both negative and positive exponents. To perform this, a bias is added to the actual exponent in order

Superhet receiver, Write a short summary of the AM superhet receiver, in ex...

Write a short summary of the AM superhet receiver, in exacting consider how the demodulation stage works, and remark on the choice of component values used.

Define voltage divider rule, Define voltage divider rule Voltage drop a...

Define voltage divider rule Voltage drop at every resistor that connected by serial can be search by using voltage divider rules (VDR).

What digits are represented by the signal, A signal stands for 0110 with po...

A signal stands for 0110 with positive logic in which low stands for 0 and high stands for 1. If negative logic (in which low stands for 1 and high stands for 0) is used, what digi

Dc machine closed-loop dynamics, i) Calculate the eigenvalues of a 100 hp,...

i) Calculate the eigenvalues of a 100 hp, 1150 rpm dc machine at rated flux with no extra load inertia. Use the "hot" value of the armature resistance. Calculate estimates of t

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