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

High voltage distribution system or hvds, High Voltage Distribution System ...

High Voltage Distribution System or HVDS Adoption of HVDS (High Voltage Distribution System) through converting existing LVDS to HVDS reduces the technical losses appreciably.

Mention the three transistor configurations, Q. Mention The Three Transisto...

Q. Mention The Three Transistor Configurations? The three transistor configurations are 1)Common emitter configuration 2)Common base configuration 3)Common collector c

Fm broadcast system with standard emphasis, Q. A voice message with W f = ...

Q. A voice message with W f = 2π(3×10 3 ) rad/s and Wrms = 2π(1 × 10 3 ) rad/s is transmitted over an FM broadcast system with standard emphasis. and compare the improvements due

Complier -high level language , Complier-High Level language It al...

Complier-High Level language It also  translates the  whole  high  level  program  into object  program if it does not  have any  syntax error. The disadvantage of the  in

Calculate the gross torque developed for a flux, Q. A four-pole, dc seriesm...

Q. A four-pole, dc seriesmotor has a lap-connected, two-layer armature winding with a total of 400 conductors. Calculate the gross torque developed for a flux per pole of 0.02 Wb a

Simulation of a pn junction, Simulation of a pn Junction An n + p jun...

Simulation of a pn Junction An n + p junction is fabricated on a p-type silicon substrate with N A = 8×10 15 cm -3 . The n+ region has a concentration of N D = 1.5×10 18

Explain how switching systems are classified, Question 1 Explain how switc...

Question 1 Explain how switching systems are classified Question 2 Explain the function of pulse dialing in rotary dial telephone Question 3 Explain the functioning of crossba

Draw a relay construction diagram, Draw a relay construction diagram and br...

Draw a relay construction diagram and briefly explain the operation of a relay. Define the terms normally open and normally closed. Define the terms Set and Reset for relays.

Voltage divider bias, Voltage divider bias: The voltage divide...

Voltage divider bias: The voltage divider is made by using external resistors R 1  and R 2 . The voltage beyond than R 2  forward biases the emitter junction. Via prop

The input output system - stepper motor , The Input Output System The ...

The Input Output System The input output  system provides  the physical  connection between  the equipment  and the PLC there are many  different kinds  of I/O cards  which ser

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