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

Survey for designing of a cross-over circuit for loudspeaker, Crossovers ar...

Crossovers are generally used with loudspeakers having multiple drivers. Loudspeakers with single drivers are unable to cover the entire frequency range i.e from low to high freque

Points of verification, Points of Verification of Connection i) Phase...

Points of Verification of Connection i) Phase association ii) CT polarity iii) VT polarity iv) Phase angles v)  Phase sequence vi) System conditions - unbalanc

Electrical drives and actuators, 'Electric drives' is a term used to descri...

'Electric drives' is a term used to describe DC and AC electric motors that provide continuous rotarmotion. They are often controlled by 'electronic drivesystems' designed to contr

Higher order address bus - pins and signals , Higher order  Address Bus ...

Higher order  Address Bus The 8085 microprocessor  has 8 pins  dedicated to higher order address A15 - A8. These pins  are used to connect  higher  order address bus. These  p

Metering techniques, Metering Techniques The techniques of metering co...

Metering Techniques The techniques of metering could be categorized depending upon the voltage at which consumers are fed as: 1. LT (Low Tension) Metering, and 2. HT (Hi

Explain basic working of integrators, Q. Explain basic working of Integrato...

Q. Explain basic working of Integrators? Figure shows a noninverting integrator, which can be seen to be a negative impedance converter added with a resistor and a capacitor. N

Determine frequencies that is in the spectrum analyze, Two sine waves along...

Two sine waves along with periods of 10 ms and 30 ms are added to generate a single waveform. A spectrum analyzer is utilized to examine the frequency contents of the waveform. Wha

logical and with accumulator instruction , ANA  Logical AND with Accumula...

ANA  Logical AND with Accumulator Instruction This  instruction is used to logically AND the accumulator  of any register or memory location  with the  accumulator and the r

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