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

Compare mosfet with jfet, Q. Compare MOSFET with  JFET? a. In enhanceme...

Q. Compare MOSFET with  JFET? a. In enhancement and depletion types of MOSFET,the transverse electric field induced across an insulating layer deposited on the semiconductor ma

Describe the term pure hardware delay, Question: (a) Describe the term...

Question: (a) Describe the term "Pure Hardware Delay" in microcontroller design. (b) Name the three types of subroutines which are placed at the interrupt location in ROM a

Determine the current in the exciting winding, Consider the magnetic circui...

Consider the magnetic circuit of Figure with an air gap, while neglecting leakage flux. Correct for fringing by adding the length of the air gap l g = 0.1 mm to each of the other

Illustrate inverting operational amplifier, (a) Give the characteristics of...

(a) Give the characteristics of ideal OP-Amp? (b) Illustrate inverting operational amplifier with feedback. get the expression for voltage gain with feedback? Write short not

For zero flag , For zero flag  CZ ( Call  on Zero )  CNZ ( Call on no...

For zero flag  CZ ( Call  on Zero )  CNZ ( Call on no zero ) Instructions CZ call the  subroutine  from the  specified  memory location if zero flag is set  (Z=1). The i

What is balanced discriminator, Q. What is balanced discriminator? A ba...

Q. What is balanced discriminator? A balanced discriminator with the corresponding frequency characteristics is depicted in Figure. The rising half of the frequency characteris

Show cmos logic families, Both DTL and TTL are based on the saturating BJT ...

Both DTL and TTL are based on the saturating BJT inverter. The transistor acts as a switch that connects or disconnects the collector and emitter. The switch is closed when suffici

Systemic requirements - gis technology, Systemic Requirements: A robu...

Systemic Requirements: A robust GIS solution for a distribution utility comprises the subsequent: GIS application and database software should be OGC (Open Geospatial

Show the overall output limitations of speed control, Q. Show the Overall o...

Q. Show the Overall output limitations of Speed Control? The overall output limitations are as shown in Figure. With base speed defined as the full-field speed of themotor at t

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