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
Mode 1 ( 0 By  applying a positive  output  pulse  of the pulse  width modulator to  the  transistor Q 1 it gets turned on.  An input  current  in flows  through V in   Q 1

Verify the minimum & maximum load current for which the zener diode will keep regulation. Find the minimum value of RL that can be used. The zener diode has V Z = 12V, I ZK =

Q. Let the coil of the solenoid of have a resistance R and be excited by a voltage v = Vm sin ωt. Consider a plunger displacement of g = g 0 . (a) Obtain the expression for the

Q. Draw a block diagramfor a 2-to-4 decoder. Obtain the truth table, and develop a logic diagram.

Q. What happens when a negative bias is applied to the gate of a FET? The result of applying a negative bias to the gate is to reach the saturation level at a lower level of V

Critical Rate of Rise of Voltage It  depends on  the junction temperature higher  the junction  temperature lower  the critical rate of  rise of  voltage. It is also known  as

With the help of schematic diagram illustrate Gas Power Plant. Describe the effect of reheating, regeneration and inter cooling with the help of suitable T-S diagrams. Give the

weighted resistor and r2r ladder d/a converter

Find the transmission bandwidth required of a data telemetry system that is to handle three different signals with bandwidths W 1 = 1 kHz, W 2 = 2 kHz, and W 3 = 3 kHz, by emplo

Q. What is a heat sink? List the factors, which determine its efficiency. To reduce the chance of thermal runaway, the rise of temperature at the collector junction to a danger