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

Electromagnetic torque, The torque produced by each conductor in the field ...

The torque produced by each conductor in the field will be:  where A is the area of the armature winding in the magnetic field, Ia is the current in armature winding, and B

Complete the timing diagram for counter, Q. When the J and K inputs of a JK...

Q. When the J and K inputs of a JKFF are tied to logic 1, this device is known as a divide-by-2 counter. Complete the timing diagram shown in Figure for this counter.

Dc machince, what ''s part of dcmotor or dc generator

what ''s part of dcmotor or dc generator

Ral rotate accumulator left through carry instruction , RAL Rotate Accumula...

RAL Rotate Accumulator Left Through Carry Instruction This  instruction rotates the content  of the accumulator  towards left by one bit. The D 0 bit moves to D 1   bit moves

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

Signal and system, You are required to implement below shift system in MATL...

You are required to implement below shift system in MATLAB, t0 is the amount of shift towards left or right. y(t)= x(t-t0) Implement MATLAB code, where shift should be taken as

Define gray code - bcd to decimal conversion, Define Gray Code - bcd to dec...

Define Gray Code - bcd to decimal conversion? The Gray Code is a variation on binary code in which only 1 bit is changed from the preceding number. The bit so as to changes is

Shunt motor, if the shunt motor has reduce as half load then what effect on...

if the shunt motor has reduce as half load then what effect on speed

Properties of carbon and tungsten in lamp, explain the proprty and the appl...

explain the proprty and the application of carbon and tungsten in lamp?

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