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

Hysteresis results in a dissipation of energy, Hysteresis results in a diss...

Hysteresis results in a dissipation of energy Hysteresis results in a dissipation of energy which appears as a heating of the magnetic material. The energy loss associated wit

Sid input - serial input output ports , SID  Input Serial input data  ...

SID  Input Serial input data  single  bit can be  accepted through this  pin using RIM  command  discussed in details in chapter8.

Working design with realistic models, A preliminary design with ideal resis...

A preliminary design with ideal resistors, inductors and capacitors, will get 25 marks. If the design does not meet the specifications then one mark will be deducted following the

Instruction size , Instruction size As we  have seen already  that eac...

Instruction size As we  have seen already  that each instruction has two parts Opcode ( Operation  Code) Which  tells  the types  of operation  to be  performed .

The cross-sectional area of a wire of the same length, Some wire of cross-s...

Some wire of cross-sectional area 1mm 2 has a resistance of 20Ω. Determine: a)  The resistance of a wire of the same length and material if the cross-sectional area is 4 mm 2 .

Use of speaker, Q. Use of Speaker? Speaker:Basically speaker is the rec...

Q. Use of Speaker? Speaker:Basically speaker is the receiver for telephone. Speaker converts electrical signals received from local loop to acoustical signals(sound waves) that

Customer relationship management software, Customer Relationship Management...

Customer Relationship Management Software CRM software products are most varied and variable in cost and functionality. The significant CRM software application includes: a

Illustrate output-rate control, Q. Illustrate Output-rate control? A sy...

Q. Illustrate Output-rate control? A system is said to have output-rate damping when the generation of the output quantity in some way ismade to depend upon the rate atwhich th

Compute the primary current and the braking torque, A three-phase, wye-conn...

A three-phase, wye-connected, 400-V, four-pole, 60-Hz induction motor has primary leakage mpedance of 1 + j2  and secondary leakage mpedance referred to the primary at standstill

Essay, Transmission parameters are more effective than the hybrid parameter...

Transmission parameters are more effective than the hybrid parameters for simulation of the transmission line

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