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

Calculate the theoretical mean value for signal, In most real signal proces...

In most real signal processing applications the measured signals can not be described by an analytical expression. In addition, by the Wold decomposition theorem a stationary signa

Clc filter, CLC or π Filter The above diagram displays CLC or π ty...

CLC or π Filter The above diagram displays CLC or π type filter, which mainly contains a capacitor filter, followed through LC section. This filter offers a quite smooth o

Quick ratio, Quick ratio A stringent indicator that determines whether...

Quick ratio A stringent indicator that determines whether a firm has enough short-term assets to cover its immediate liabilities without selling inventory. It is calculated as

Rahul, in 8085 name the 16 bit registers

in 8085 name the 16 bit registers

Super-heterodyne receiver, Write a short explanation of the principles of s...

Write a short explanation of the principles of super-heterodyne receiver. It may help to use sample block diagram to state the process. Why is the production of the intermediate fr

Competition, how to be prepare for gate....

how to be prepare for gate....

Speed control of dc series motor - motor control , Speed Control of DC Seri...

Speed Control of DC Series Motor A half  wave  circuit  for the  speed  control of DC  series motor is  shown in figure and corresponding wave from  is shown  in figure  consis

Magnetic flux and flux density, Magnetic flux and flux density Magnetic...

Magnetic flux and flux density Magnetic flux is the amount of the magnetic field (or the number of lines of force) formed by a magnetic source. The symbol represented magnetic

N-channel enhancement mosfet, Given an n-channel enhancement MOSFET having ...

Given an n-channel enhancement MOSFET having V T = 4V, K = 0.15 A/V 2 , I DQ = 0.5A, V DSQ = 10 V, and V DD = 20 V. Using the dc design approach outlined in this section, dete

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