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

Determine the electromagnetic force on the plunger, Q. Consider the electro...

Q. Consider the electromagnetic plunger shown in Figure. The λ-i relationship for the normal working range is experimentally found to be λ = Ki 2/3 /(x+t), where K is a constant. D

Scatter Diagrams - Quality Tools for Improvement, Scatter Diagrams - Qualit...

Scatter Diagrams - Quality Tools for Improvement Scatter diagrams are graphical tools which attempt to depict the influence in which one variable has on another. A general dia

Name the 6 modes of operations of an 8253, Name the 6 modes of operations o...

Name the 6 modes of operations of an 8253 programmable interval timer. Mode 0: interrupt on terminal count Mode 1: hardware re -triggerable one-shot Mode 2: rate generato

Conductivity, what is the conductive material property''s?

what is the conductive material property''s?

Signal processing 1 ., region of convergence of (Z+2)*(12z-1)/((3z-1)*(4z+1...

region of convergence of (Z+2)*(12z-1)/((3z-1)*(4z+1 ))

Explain periodic signals and fourier series, Q. Explain Periodic Signals an...

Q. Explain Periodic Signals and Fourier Series? In the study of analog systems, predicting the response of circuits to a general time-varying voltage or currentwaveformx(t) is

Nor gate - introduction to microprocessors , NOR Gate NOR means NOT OR ...

NOR Gate NOR means NOT OR . it complements the  output  of an OR  gate.  The symbol  of Nor  gate in fig. (a) shows that a Nor  gate  comprises  of an OR  gate followed  by a N

Voltage tripler and quadrupler, Voltage Tripler and Quadrupler: Voltag...

Voltage Tripler and Quadrupler: Voltage Tripler an extension of the half wave voltage across each diode is 2Vm as it is for the filter capacitor circuit. It should be obvious

Push psw instruction , PUSH PSW Instruction It is similar to above  pu...

PUSH PSW Instruction It is similar to above  push  instruction but instead of normal  register Paris it use PSW as its  operand. Program status  word comprises of  the content

Find the new synchronous speed, Q. A wye-connected, three-phase, 50-Hz, six...

Q. A wye-connected, three-phase, 50-Hz, six-pole synchronous alternator develops a voltage of 1000 V rms between the lines when the rotor dc field current is 3A. If this alternator

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