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 required value of the flux density, Q. A 100-turn coil in the...

Q. A 100-turn coil in the configuration of is rotated at a constant speed of 1200 r/min in a magnetic field. The rms induced voltage across the coil is 1 kV, and each turn has a le

Calculate arithmetic mean, a) Get the best linear relationship in accordanc...

a) Get the best linear relationship in accordance with least square analysis for the following data:- X 0.9 2.3 3.3 4.5 5.7 6.7 Y 1.1 1.6 2.6 3.2 4.0 5.0 b) The table belo

Determine efficiency and ripple factor, (a) Show Diode as a half wave recti...

(a) Show Diode as a half wave rectifier. Determine efficiency and Ripple factor of the half wave rectifier. (b) Write short note on LED. Briefly explain : (i) Positive cli

Boost converter - power supplies , Boost Converter The boost  convert...

Boost Converter The boost  converter has its  output  voltage always  greater than input  voltage like  a buck  converter boost  converter has two  modes.

Second Order Precesses, A second-order process with one pole at the origin ...

A second-order process with one pole at the origin has the transfer function 3/(s(2s + 1)) Find the output as a function of time, for a unit step input change. Sketch the expected

Digital controller for a steam-turbine driven generator, Q. Digital control...

Q. Digital controller for a steam-turbine driven generator? Figure illustrates the basic elements of a minicomputer system in terms of a block diagram for speed and voltage con

Explain the sequential circuits, Explain the Sequential Circuits? The L...

Explain the Sequential Circuits? The Logic circuits whose outputs, at any instant of time, depends not merely the present input but as well the past output called sequential ci

Stc set carry instruction, STC Set Carry Instruction This instruction ...

STC Set Carry Instruction This instruction  sets   the carry  flag  to 1. The  instruction format is STC Flags except carry no other  flags are affected

Verniercallipars, what is a verniercallipar?what is its uses in labs?why it...

what is a verniercallipar?what is its uses in labs?why it is using o meassure he diameer and volume of cylendars?what is its least count?what is zero error?

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