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

Explain time-invariant versus time-varying systems, Q. Explain Time-invaria...

Q. Explain Time-invariant versus time-varying systems? When the parameters of a control systemare stationary with respect to time during the operation of the system, the system

Why ce configuration is widely used in amplifier circuits, Q. Why CE config...

Q. Why CE configuration is widely used in amplifier circuits? The main ability of an transistor lies in amplifying weak signals. The transistor cannot alone perform this functi

Energy conservation building codes, Energy Conservation Building Codes ...

Energy Conservation Building Codes It encompass the norms and standards of energy consumption expressed in terms of per square meter of the area wherein energy is used. The

Capacitor.., #Explain charging and discharging of the capacitor ..

#Explain charging and discharging of the capacitor ..

Coupling, advantages and disadvantages of direct and r c coupling

advantages and disadvantages of direct and r c coupling

Biasing, Biasing: Bipolar transistor amplifiers have to be properly bi...

Biasing: Bipolar transistor amplifiers have to be properly biased to operate properly. In circuits made up with individual devices (discrete circuits), biasing networks contai

Explain about stored program control, Q. Explain about Stored Program Contr...

Q. Explain about Stored Program Control? Stored Program Control:   In centralized control, all control equipment is replaced by a single processor which should be quite powerf

Show the process for taking observations by satellite, Q. Show the Process ...

Q. Show the Process for taking observations by satellite? Sensors are devices to make observations, which have sophisticated mechanism for taking observations. The detectors ar

Block diagram of digital control system, The block diagram of Figure is a f...

The block diagram of Figure is a functional representation of a type of digital control system, in which G and H serve the same function as in any feedback system. Note that the er

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