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

Give some applications of german silver, Give some applications of German s...

Give some applications of German silver. German silver is an alloy of zinc, nickel and copper. German silver is used in electrical measuring instruments.

Why positive feedback is used in oscillator, Q. Why positive feedback is us...

Q. Why positive feedback is used in oscillator? The main application of positive feedback is in oscillators. An oscillator generates AC output signal without any input AC signa

Determine the power rating of compressor motor, An ice plant produces 12ton...

An ice plant produces 12tonn of ice per day at 0 0 C using water at 300C. The plant operates on reversed Carnot cycle between -15 0 C and 28 0 C. If the actual C.O.P. is 50% of the

What is thermal runaway, Q. What is thermal runaway. The problem of sel...

Q. What is thermal runaway. The problem of self heating arises due to dissipation of power at the collector junction. The leakage current ICBO is extremely temperature dependen

Explain role/purpose of dummy coils in dc machine winding., Dummy coils : ...

Dummy coils : These coils are used with wave winding and resorted to when the requirement of the winding are not met by the standard armature punching available in armature win

Coupling, advantages and disadvantages of direct and r c coupling

advantages and disadvantages of direct and r c coupling

Design and build a circuit board, Devise a "green" design to improve the el...

Devise a "green" design to improve the electrical plan of a room in your home. How might you reduce electricity use in your home. Initiate and plan 1. Select two rooms in y

Compute the real power inductive load, Q. A 60-Hz, 440-V, three-phase syste...

Q. A 60-Hz, 440-V, three-phase system feeds two balanced wye-connected loads in parallel. One load has a per-phase impedance of 8 + j3  and the other 4 - j1 . Compute the real po

Write explanatory notes on paging, Write explanatory notes on Paging. T...

Write explanatory notes on Paging. The memory paging mechanism located inside the 80386 and above permits any physical memory location to be allocated to any linear address. Th

What insulators have in large size, Insulators have (A) A full valence...

Insulators have (A) A full valence band. (B) An empty conduction band. (C) A large energy gap. (D)All the above. Ans: Insulators have a large energy gap.

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