Image enhancement, Electrical Engineering

Assignment Help:

Explain briefly the operation, draw the functions, formulas and observations.

(i) Write an m-file "imnorm.m" which takes an image finds min and max values and uses them to normalize the image.

What kind of image enhancement operation is performed within that function? Draw an illustration.

Write an m-file for each of the following operations:
(ii) compute negative image (neg.m)

(iii) apply power law transform with a superscript 0.2 (powlaw.m)

(iv) perform histogram equalization of an image (hist_eq.m)
           it should display 5 figures:
                        the input image and its histogram
                        the integral histogram
                        the output image and its histogram
            the following function will give you a histogram of pixel values between 0 and 255
            h=sum(hist(im,[0:255])'); %help hist; help sum;
      stem(h,'.k');

function imh=hist_eq(im);
figure(1);
imshow(?);

h=?
figure(2)
stem(?);

% compute integral image
hint=h;
for i=2:256           
hint(i)=hint(i-1)+h(i);
end

hint=255*hint/hint(end); %normalize the integral histogram to have values between 0 and 255
figure(3)
stem(?);

imh=hint(im);%modify pixel intensities
imh=uint8(imh);%normalize to byte values
figure(4)
imshow(?)

h=?
figure(5)
stem(?);

What histogram equalization does? What should be the shape of the output histogram? Why it isn't?


Related Discussions:- Image enhancement

What are the modes used in display modes, What are the modes used in displa...

What are the modes used in display modes? 1. Left Entry mode In the left entry mode, the data is going into from the left side of the display unit. 2. Right Entry Mode

Magnetism, with the aid of the diagram explain the following rules that can...

with the aid of the diagram explain the following rules that can be used to determine the direction of magnetic fields around a current carrying conductor (1)cork screw rule (2)rig

How monitoring and control has be done, How control and monitoring has be d...

How control and monitoring has be done - Sensors gather information from application being monitored or controlled. - The data being gathered is frequently analogue in natur

Briefly explain about wheatstone bridge, Q. Briefly explain about Wheatston...

Q. Briefly explain about Wheatstone Bridge? Null measurements are made with bridge circuits and related configurations. They differ from direct measurements in that the quantit

Asic based new product development project, Assume you are working for an S...

Assume you are working for an SME operating in the microelectronics sector. You are required to plan a new product development project. This is an internal project, so it does not

Design a mealy system, Design a Mealy system whose output is 1 iff there ha...

Design a Mealy system whose output is 1 iff there have been exactly two 1's followed by a 0 and then a 1. (a) Assume overlapping is allowed (b) Assume overlapping is not

Write explanatory notes on hard disk drive controller, Write explanatory no...

Write explanatory notes on Hard disk drive controller. Hard disk drive controller: It converts instructions from software running upon the computer to the electrical signals

Ac supply, its defination and mathematical expression if any

its defination and mathematical expression if any

Illustrate the principle of alignment, Q. Illustrate the principle of align...

Q. Illustrate the principle of alignment? Pieces of highly permeablematerial, such as iron, situated in ambientmediumof lowpermeability, such as air, in which a magnetic field

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