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

Factors contributing in losses in transformer, Factors Contributing in loss...

Factors Contributing in losses in Transformer Factors contributing towards losses in transformer are: - Oversized transformers operating at low loading: Improper selectio

Form factor, Significance of form factor,why we decide the power handing ca...

Significance of form factor,why we decide the power handing capacity in transmission with the help of form factor?

Explain assume assembler directive, What do you understand by ASSUME as...

What do you understand by ASSUME assembler directive? ASSUME: This directive will be utilized to map the segment register names along with memory addresses.  The Synta

Working of analog to digital converter, a) Write down a short note on compe...

a) Write down a short note on compensators. b) Classify filter with relevant sketches. c) Illustrate the principle and working of Analog to Digital converter.

1 to 8 demux, hello... i want to design a 1 to 8 demux with 4bit inputs and...

hello... i want to design a 1 to 8 demux with 4bit inputs and output. but i dont know the architecture in gate level. please help me... in fact, i need the architecture in gate lev

Define time constant, Time constant Time constant, defines as time for ...

Time constant Time constant, defines as time for current achieve maximum (IM) if this maintain the early promotion rate current.

Stax store accumulator indirect instruction , STAX Store  Accumulator  In...

STAX Store  Accumulator  Indirect Instruction This  instruction is used to  copy data from accumulator to the memory  location pointed by register pair ( only  BC or DE pair).

Overview of decimal number system, Q. Can you give some Overview of Decimal...

Q. Can you give some Overview of Decimal Number System? The Decimal Number System uses base 10 and It includes the digits from 0 through 9. The weighted values for each positio

Obtain the sop expression, Q. Given the K map of a logic function as shown ...

Q. Given the K map of a logic function as shown in Figure, in which ds denote don't-care conditions, obtain the SOP expression.

Determine the power delivered to the delta-connected load, Q. A balanced de...

Q. A balanced delta-connected load with a per-phase impedance of 30+j10  is connected in parallel with a balanced wye-connected load with a per phase impedance of 40-j10 . This l

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