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

Define multiplexing, 1 Explain the advantages and disadvantages of optical ...

1 Explain the advantages and disadvantages of optical fiber versus copper Medium of communication 2 Define multiplexing. Explain TDM 3 Describe the protocol architecture and

#titl optimal power flow , to get PV curve i want optimal power flow progra...

to get PV curve i want optimal power flow program in matlab

Electrical and electronic principles, 12. A capacitor is to be constructed ...

12. A capacitor is to be constructed so that its capacitance is 0.2µF and to take a p.d. of 1.25kV across its terminals. The dielectric is to be mica which, after allowing a safety

Speed control of dc motor - motor control , Speed control of DC Motor ...

Speed control of DC Motor The DC  motor  are versatile motors among the  available  electrical  motors due to  their  superior  characteristics. These motors  give a smooth sp

Gis database, GIS database:  In a nutshell, we could say that the GIS ...

GIS database:  In a nutshell, we could say that the GIS technology integrates general database operations (data query and statistical analysis), along with the unique a

Compute the theoretical and practical frequency ranges, Q. For an RG-290/U ...

Q. For an RG-290/U aluminum rectangular wave - guide, a = 58.42 cm and b = 29.21 cm. Compute the theoretical and practical frequency ranges of operation for the guide.

Help needed in degree project, i have to design a project title "Edge deter...

i have to design a project title "Edge determining techniques for Low quality images in different lighting conditions and we use matlab for images simulation by changing different

Write discussion on Construction and working of analog type, Write discussi...

Write discussion on Construction and working of analog type storage oscilloscope

What is the need of modem in data communication, Q. What is the need of MOD...

Q. What is the need of MODEM in data communication? Need of Modem: Modems are used to interface computers, computer networks in addition to other terminal equipment to teleco

Shunt capacitors, Shunt Capacitors Line losses owing to poor PF can be...

Shunt Capacitors Line losses owing to poor PF can be decreased through improving the PF. Overall improvement in the operating condition can be brought about through reducing 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