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

Determine the overall power factor, A three-phase, wye-connected, cylindric...

A three-phase, wye-connected, cylindrical-rotor, synchronous motor, with negligible armature resistance and a synchronous reactance of 1.27 per phase, is connected in parallel wit

Comparison with vacuum tubes, Comparison with vacuum tubes: Prior to t...

Comparison with vacuum tubes: Prior to the growth of transistors, vacuum (electron) tubes (or in the UK (United Kingdom) "thermionic valves" or just "valves") were the major a

Salient features of nep, Salient Features of NEP: Access to electrici...

Salient Features of NEP: Access to electricity: The policy not only envisages access to electricity for all but it also emphasizes in which all consumers, particularly t

Explain the working of an npn transistor, Explain the working of an npn tra...

Explain the working of an npn transistor. Working of npn transistor: In an npn transistor is demonstrated in the figure. The emitter base junction is forward biased whereas

Principles behind ecg monitoring, a) Provide pertinent summary of the basic...

a) Provide pertinent summary of the basic principles behind ECG monitoring b) Using MATLAB, provide plots of the "clean" and "noisy" ECG signals. Investigate the spectral es

Floor number display, It is required that the current floor position be dis...

It is required that the current floor position be displayed as a number 1, 2, or 3 on a seven segment LED display on floor 1, which is quite close to the LCU. Data Storage It

Define the perspective transformation, Define the application of CAM/CAD to...

Define the application of CAM/CAD to engineering design along with its benefits. a) A triangle is prepared by three position vectors A[2 4 1], B[4 6 1], C[2 6 1], get the reflec

Sub instruction - op code format , SUB Instruction Op code  format is...

SUB Instruction Op code  format is of SUB  instruction is Replace  the three bit code  of the register R from   to obtain the op code of the  required SUB  instruction . o

Digital Signal Processing, Can you do a survey paper on Wavelet and Subband...

Can you do a survey paper on Wavelet and Subband Coding? I need 10 pages and I will provide the references.

Pneumatics, 3. Design and draw a circuit using the cascade system to operat...

3. Design and draw a circuit using the cascade system to operate two cylinders (A and B) which, on the operation of a start valve, produces the sequence A – B + B – A+. The cylinde

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