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 all-day efficiency, Q. A transformer has its maximum efficien...

Q. A transformer has its maximum efficiency of 0.9800 when it delivers 15 kVA at unity power factor. During the day it is loaded as follows: 12 hours 2 kW at power factor 0.5

Technical loss in electrical systems, Technical Loss in Electrical Systems ...

Technical Loss in Electrical Systems Technical loss is inherent in electrical systems, as all electrical devices have a few resistances and the flow of currents causes a power

Analogue and digital, 1. Pattern recognition A synchronous sequential machi...

1. Pattern recognition A synchronous sequential machine is to generate 1 on output z after the next clock pulse whenever the bit sequence on input x has exactly two 0’s in the last

Emitter follwer, Ask questertion #Minimum 100 words accepted#

Ask questertion #Minimum 100 words accepted#

#emf., what is the effect of back emf ?

what is the effect of back emf ?

Rrc rotate accumulator right instruction , RRC Rotate  Accumulator  Right...

RRC Rotate  Accumulator  Right Instruction This instruction also  rotates the contents of the  accumulator  toward right  by one bit. The  D 7   bit moves  to D 5   position a

Bjt, what is compensation of bjt

what is compensation of bjt

Explain the working of elecro static precipitator, With the help of neat an...

With the help of neat and clean diagram illustrate the working of Elecro Static Precipitator (ESP). Describe the following: (a) Coal Handling Systems (b) Coal Storage

Delay line in CRO, why we use delay line in CRO what happens if we not use ...

why we use delay line in CRO what happens if we not use it?

Mini computers - introduction to microprocessors , Mini Computers Large...

Mini Computers Larger  computer  more  computing  power  having  capability to address  more  memory  and  more  speed  than  microcomputer called minicomputer. These computers

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