Image gradient, Electrical Engineering

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?

Posted Date: 2/26/2013 12:22:10 AM | Location : United States







Related Discussions:- Image gradient, Assignment Help, Ask Question on Image gradient, Get Answer, Expert's Help, Image gradient Discussions

Write discussion on Image gradient
Your posts are moderated
Related Questions
sketching of wire 1 is charged and wire 2 uncharged

Q. The speed of an 8-bit A/D converter is limited by the counter, which has a maximum speed of 4 × 10 7 counts per second. Estimate the maximum number of A/D conversions per secon

Q. Show how a 16-to-1 multiplexer can be used to implement the logic function described by the following truth table.

Quality of Supply and Services  - Power Distribution For effectual management and performance improvement it is essential to measure the several defined parameters of the proc

Common-emitter configuration: The common-emitter that is abbreviated as CE transistor configuration is displayed in figure.  The transistor terminal common to both the input

A 4000-V, 5000-hp, 60-Hz, 12-pole synchronous motor, with a synchronous reactance of 4  per phase (based on cylindrical-rotor theory), is excited to produce unity power factor at

What is AGP? AGP: The latest addition for many computer systems is the inclusion of the accelerated graphics port. This AGP operates at the bus clock frequency of the microproc


research paper on gauss,s law?