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

Phase shifter, Hi, I just finish writing my project literature review and ...

Hi, I just finish writing my project literature review and my supervisory asked me to add one part. This part is about Phase Shift. How phase shifters work? In Particular How the

Calculate the rms value, The sinusoidal voltage source in the circuit shown...

The sinusoidal voltage source in the circuit shown in Fig. is developing an rms voltage of 2000 V. The 4 ? load in the circuit is absorbing four times as much average power as the

Explain mesh - current method, Q. Explain Mesh - Current Method? This c...

Q. Explain Mesh - Current Method? This complements the nodal-voltage method of circuit analysis. A set of independent mesh-current variables that implicitly satisfy the KCL equ

Expain different control function categories, Q. Expain different control f...

Q. Expain different control function categories,And also discuss that how they help in signalling and control. Ans: In some switching systems, Control subsystem may be a

Demultiplexer, full sub tractor using demultiplexer

full sub tractor using demultiplexer

Illustrate common emitter configuration, Illustrate Common Emitter configur...

Illustrate Common Emitter configuration, current amplification factor and collector amplifier. Describe transistor as an amplifier.

Modern AC Generators, What are the advantages of modern ac generators and I...

What are the advantages of modern ac generators and Integrated Drive Generators? There are two questions here. I''d really like it if somebody could help me. I''m an AE student.

Requirement for an intrinsically safe circuit, Compute the ampacity of a 25...

Compute the ampacity of a 250 AWG copper conductor with type UF insulation that will be used in an area with an ambient temperature of 79°F (26°C). State the ampacity and explain h

Control, Ask The goal of this project is to model a system and to design a ...

Ask The goal of this project is to model a system and to design a controller for the system so that the closed-loop system performs satisfactorily. We want to accurately positio

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