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

555 timer ic, i wanted the exact names of the components of the internal ci...

i wanted the exact names of the components of the internal circuit of a 555 timer ic

Name the elements related to capacitance, Elements related to capacitance ...

Elements related to capacitance a.  Electric field: Area that surrounds the electric charge or charges system where the enhancing and reducing of electric force exists.

Differential amplifier to eliminate the common-mode voltage, Q. Differentia...

Q. Differential amplifier to eliminate the common-mode voltage? The transducer in some cases may have a local ground that cannot be disconnected. In such a case, a separate gro

The basic operation of battery, The basic operation of battery  A simpl...

The basic operation of battery  A simple cell comprises two dissimilar conductors (electrodes) in an electrolyte. Such a cell comprises copper and zinc electrodes. An electric

Aci add immediate with carry instruction, ACI  Add Immediate with Carry  ...

ACI  Add Immediate with Carry  Instruction Similar  to ADC instruction 8 bit  data specified  in the  instruction and Carry  are added to the contents  of the  accumulator and

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

Explain about dial pulses, Q. Explain about Dial Pulses? Dial pulsing (...

Q. Explain about Dial Pulses? Dial pulsing (sometimes known as rotary dial pulsing) is the method basically used to transfer digits from a telephone set to the local switch. Pu

Optoelectronic, Need a project in Optoelectronic with simulation in Optispi...

Need a project in Optoelectronic with simulation in Optispice or Matlab.with complete report and presentation. ANy ideat about project and how much does it cost.

Calculate the maximum radiation intensity, Q. The power gain of an antenna ...

Q. The power gain of an antenna is 10,000. If its input power is 1 kW, calculate the maximum radiation intensity that it can generate.

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