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 advantages of segmentation, What are advantages of segmentation...

What are advantages of segmentation ? However because the segment register is 16 bit broad and the memory requires 20 bits for an address the 8086 appends 4 bits segment reg

Automatic irrigation system on running solar power b, how to upload the pro...

how to upload the program on proteus soft ware by using personal computer?

Explain classification of amplifiers on biasing conditions, Q. Explain the ...

Q. Explain the classification of amplifiers on the biasing conditions? Based on the amount of transistor bias and amplitude of the input signal, amplifiers can be classified as

What is interfacing, What is interfacing? An interface is a shared boun...

What is interfacing? An interface is a shared boundary among the devices which includes sharing information. Interfacing is the process of making two dissimilar systems communi

Define some applications of digital counters, Define some Applications of D...

Define some Applications of Digital Counters? Digital counters are extremely useful in many applications. They can be effortlessly found in digital clocks and parallel-to-seri

Discuss endp assembler directive, Discuss the ENDP assembler directive ...

Discuss the ENDP assembler directive with example ENDP: It is stands for End Procedure, which informs assembler the end of a procedure. Within assembly language programm

Find the overall current drawn from the supply, Q. A single-phase industria...

Q. A single-phase industrial plant consists of two loads in parallel: P1 = 48kW PF1 = 0.60 lagging P2 = 24kW PF2 = 0.96 leading It is operated from a 500-V, 60-Hz source.

Compute the average number of open links, A zipper has N links every link h...

A zipper has N links every link has a state in which it is closed with energy 0 and a state in which it is open with energy 0 We require that the zipper only unzip from one side (s

Pnp bipolar junction transistor, PNP The other kind of BJT is the PNP ...

PNP The other kind of BJT is the PNP with the letters "P" and "N" standing for the majority charge carriers inside the dissimilar regions of the transistor. Figure:

Determine the mechanism of generation of the voltage, (a) Identify the semi...

(a) Identify the semiconductor type in the above diagram. (b) Explain the mechanism of generation of the voltage V AB in the above diagram. (c) An experimental setup like th

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