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

Coupling, advantages and disadvantages of direct and r c coupling

advantages and disadvantages of direct and r c coupling

What is 16-bit isa, What is 16-bit ISA? Compare it with 8-bit ISA bus. ...

What is 16-bit ISA? Compare it with 8-bit ISA bus. The only difference among the 8 and 16-bit ISA bus is that other connector is attached behind the 8-bit connector. This 16-bi

Gto - gate turn off, GTO ( Gate Turn Off) GTO stands for gate  turn o...

GTO ( Gate Turn Off) GTO stands for gate  turn off  thyristor . it is four layer  PNPN  device. It can be  triggered into conduction like a conventional thyristor  by a pulse

What is signal multiplexing, Q. What is Signal Multiplexing? Frequency-...

Q. What is Signal Multiplexing? Frequency-division multiplexing (FDM) and time-division multiplexing (TDM) systems. When data from many sources in time are interlaced, the inte

What do you mean by digital systems, Q. What do you mean by digital systems...

Q. What do you mean by digital systems? Electronics information is generally placed into two categories as digital and analog. The Digital information is represented in discret

ELECTRIC DRIVES, BLOCK DIAGRAM OF DIGITAL CONTROL OF ELECTRIC DRIVES

BLOCK DIAGRAM OF DIGITAL CONTROL OF ELECTRIC DRIVES

Give a short description of soft ferrites, Give a short description of soft...

Give a short description of soft ferrites . Soft ferrites and their applications: all non- metallic compounds are consisting of ferric oxide and one or two bivalent metal oxid

Line diagrams of a network-large company, i need a line diagram sample of a...

i need a line diagram sample of a large network, i need to practice how to draw and design such network

Bivector meter, Bivector Meter As it is clear from the name provided '...

Bivector Meter As it is clear from the name provided 'Bivector', it records kWh and kVAh consumption along with maximum demand on both or on any one as needed. The working pri

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