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

Find the voltage drop and current through each component, A 15 volts source...

A 15 volts source is applied to a series 150 μH inductor and 169 pF capacitor. The resistance of the inductor plus the connecting wires is 1,6 Ω. Determine the voltage drop and

Spectrum analyzer, Problem statement: A specialized piece of laboratory te...

Problem statement: A specialized piece of laboratory test equipment, called a spectrum analyzer,will be placed on a mobile push cart. The spectrum analyzer measures the amplitude

Instruction size , Instruction size As we  have seen already  that eac...

Instruction size As we  have seen already  that each instruction has two parts Opcode ( Operation  Code) Which  tells  the types  of operation  to be  performed .

Ldax load accumulator indirect instruction , LDAX  Load Accumulator Indire...

LDAX  Load Accumulator Indirect Instruction This instruction is used to copy data  from memory  location pointed by register  pair only  BC or DE  to the accumulator  HL pair

Find current-voltage-resistance or power, 1.   Work out the  voltage for ...

1.   Work out the  voltage for the following arrangement of 1.5V cells : (to achieve a pass grade, solve problems with cells in series, parallel and series-parallel) 2.

Spectral leakage, This assignment is intended to provide an easier analysis...

This assignment is intended to provide an easier analysis of how windows work. Begin by looking at individual spectrum bins as affected by off-bin-centred frequency components with

Digital electronics, In a certain chemical-processing plant, a liquid chemi...

In a certain chemical-processing plant, a liquid chemical is used in a manufacturing process. The chemical is stored in three different tanks. A level sensor in each tank produces

Explain transfer of risk, Q. Explain Transfer of Risk? In case of this ...

Q. Explain Transfer of Risk? In case of this method, risk is transferred to some other person or organization. In other words, under this method, a person who is subject to ris

Different types of errors in measurement, Q.   Enumerate different types o...

Q.   Enumerate different types of errors in  measurement. How can these errors be minimized.                Sol. Types of errors: Errors may arise from different sources and

Emirrer feedback bias, RE should be made large enough to swamp out rB/ B. h...

RE should be made large enough to swamp out rB/ B. how does making RE large saturate the transistor b

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