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

Discuss the closed-loop behavior, Q. Discuss the closed-loop behavior? ...

Q. Discuss the closed-loop behavior? Consider an elementary feedback control system, as shown in Figure, with H = 1. The output variable c and the input e to the direct transmi

Define the time constant of the circuit, A coil of inductance 0.04 H and re...

A coil of inductance 0.04 H and resistance 10? is connected to a 120 V, d.c. supply. Verify (a)  The final value of current     (b)  The time constant of the circuit (c)

Produce electrical power using solar cell - electrical power, 1. Suppose th...

1. Suppose the California government sets aside a square patch of land that is 10 kilometers on each side and plans to use this land to generate electrical power with wind turbines

Singular value decomposition, Singular Value Decomposition (i) initial...

Singular Value Decomposition (i) initialize a 2x2 matrix m=[4 0.5;0.5 7]  Factorize the matrix with SVD [u d v]=svd(m) How the matrix u and v differ? Why is that?

Find appropriate values of sampling rate - nyquist rate , 1. Find the Nyqu...

1. Find the Nyquist rate for the following signals: (a) x(t) = 5 sin 3000Πt cos 4000Πt (b) A binary channel with bit rate 36000 bps is available for PCM voice transmission.

Find the truth table and the type of gate, Q. The DeMorgan's theorems sugge...

Q. The DeMorgan's theorems suggest that the basic logic operations can be realized by use of inverters and NAND gates only. For the circuits shown in Figure,  find the truth table,

Sketch the resulting transfer curves, Q. Consider the MOSFET circuit with v...

Q. Consider the MOSFET circuit with variable voltage, with RD = 2k and VDD = 12 V. The static characteristics of the n-channel enhancement MOSFET are given in Figure. (a) Drawt

Orthogonal frequency division multiplexing, CURRENTLY, orthogonal frequency...

CURRENTLY, orthogonal frequency division multiplexing (OFDM) is emerging as the preferred modulation technique in modern high data rate broadband wireless mobile communication syst

Sketch the labelled frequency response, Question: (a) Consider the foll...

Question: (a) Consider the following RC admittance function: (i) If the function is to be realised using the Cauer II Form, find the values of the different components

Simulate the circuit using digital simulation techniques, You are the new c...

You are the new chief PCB designer for a small company who are about to become heavily involved in the design and realisation of digital timing products. Your management wants to p

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