Image gradient, Electrical Engineering

Assignment Help:

Image gradient

Write an m-file "grad.m" which computes and displays gradient and orientation of an input image (use Gaussian derivatives).
To compute Gaussian derivative in one dimension you need to perform differentiation in one dimension and smoothing in the other dimension.

( you have to compute 4 convolutions ).

function grad(imn,sigma)

gx=gauss_x(sigma);
g=gauss(sigma);
imgx=conv2(imn,gx);
imgxg=conv2(imgx,g');
figure(1);
imshow(imgxg,[]);

imgy=?
imgyg=?
figure(2);
imshow(imgyg,[]);

grad=?
figure(2);
imshow(grad,[]);

ori=atan2(imgyg,imgxg);
imshow(ori,[])

What the gradient represents in an image? What other kernels can be used to compute the gradient?


Related Discussions:- Image gradient

What is balanced discriminator, Q. What is balanced discriminator? A ba...

Q. What is balanced discriminator? A balanced discriminator with the corresponding frequency characteristics is depicted in Figure. The rising half of the frequency characteris

Variation of energy bands with alloy composition, Variation of Energy Bands...

Variation of Energy Bands with Alloy Composition The  band  structures  of  III-V  ternary  and  quaternary  compounds  modifies  as  their composition is varied. There

Simulation of a standard ic linear regulator, 1.    Introduction The ob...

1.    Introduction The objective of this assignment is to design and evaluate a stabilised discrete linear power supply. The power supply requires to be designed according to t

Applications platform - gis applications, Applications Platform: GIS a...

Applications Platform: GIS applications should be capable to act as a base system over which the other business process application can be integrated which is the objective of

OC AND SC TEST OF AN ALTERNATOR, WRITE THE PROCEDURE CONDUCT OC AND SC TEST...

WRITE THE PROCEDURE CONDUCT OC AND SC TEST OF AN ALTERNATOR TO FIND SYNCHRONOUS IMPEDENCE

Find the total current and total resistance, For the circuit in figure, fin...

For the circuit in figure, find: a)  Total resistance b)  Total current c)  Current flow through resistor 6Ω and 4Ω

What do you mean by an assembler, What is an assembler? Assembler: An...

What is an assembler? Assembler: An assembler or macro-assembler usually forms a part of the operating system. This translates an assembly language program in machine languag

Which realization requires the least number of gates, Q. Consider a 1-bit v...

Q. Consider a 1-bit version of the digital comparator shown in Figure. Note that the operation of this circuit is such that whichever output is 1 gives the desired magnitude compar

Calculate the gain and phase response of fir digital filter, Calculate the ...

Calculate the gain and phase response of an FIR digital filter Calculate the gain and phase response of an FIR digital filter as in below Figure with A 0 = 1, A 1 = 2, A 2 =

Calculate the resistivity of an alloy of copper, The resistivity of pure co...

The resistivity of pure copper is 1.56 micro-ohm -cm.  An alloy of copper contains 1 atomic percent nickel has a resistivity of 2.81 micro-ohm-cm. An alloy of copper containing 3-

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