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

Thevenins theorem, How to solve questions on thevenin theorem

How to solve questions on thevenin theorem

Why digital signal processing require specialized hardware, Why does digita...

Why does digital signal processing require specialized hardware? A) It needs to perform analog as well as digital functions. B) General-purpose microprocessors cannot perfor

Digital storage oscilloscope, #question.draw the block diagram pf digital s...

#question.draw the block diagram pf digital storage oscilloscope and briefly discuss about each block

Name the materials used in case of solder, Name the materials used in case ...

Name the materials used in case of Solder and give reasons. Solder : For soft solders tin, lead (in 50-50 ratio) alloy and for hard solders copper- zinc and silver alloy

What are the cautions to be taken, What are the cautions to be taken before...

What are the cautions to be taken before starting work on electrical installations? Ans: Before starting any electrical works on installations disconnect the power supply to

Calculate the gain and phase response of fir digital filter, Calculate the ...

Calculate the gain and phase response of an FIR digital filter Calculate the gain and phase response of an FIR digital filter as in below Figure with A 0 = 1, A 1 = 2, A 2 =

Explain interrupts of 8085, Explain Interrupts of 8085. a) Maskable  in...

Explain Interrupts of 8085. a) Maskable  interrupt b)  Vectored interrupt c)  Non maskable interrupt d) Hardware interrupt e)  Software interrupt

The a.c/d.c. generator - electromagnetic torque, Note, the armature curren...

Note, the armature current is produced in pulses as the armature rotates under the poles, so the torque also pulsates. This can give rise to extra wear on bearings and the engin

Ive some applications of hall effect, Give some applications of Hall Effect...

Give some applications of Hall Effect. Applications of Hall Effect: 1. This is used for finding whether a semi-conductor is N-type or P-type. 2. This is used in finding

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