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

Rim read interrupt mask instruction, RIM Read Interrupt Mask Instruction ...

RIM Read Interrupt Mask Instruction This  instruction is used  to read the  status  of interrupts  and  read the serial  input  data. The status  byte is loaded  into  the accu

Transformer, how back emf is produced in transformer?

how back emf is produced in transformer?

What are advantages of segmentation, What are advantages of segmentation...

What are advantages of segmentation ? However because the segment register is 16 bit broad and the memory requires 20 bits for an address the 8086 appends 4 bits segment reg

Compare in-channel signalling with common channel signalling, Q. Compare in...

Q. Compare in-channel signalling with common channel signalling? Network wide signalling also involves end to end signalling between originating exchange and the terminating ex

Calculate the resistance of the coil of a transistor, A 6 V / 2.5 mA relay ...

A 6 V / 2.5 mA relay is connected in the output stage of a transistor.  The coil is made of aluminium having α = 0.004. The resistance of the coil is 600 ? at 32 o C. Calculate th

12345, how do you get better at school

how do you get better at school

Vlsi, what is the difference between latch and flipflop

what is the difference between latch and flipflop

Determine and sketch il for inductance, Q. For the circuit of Figure, deter...

Q. For the circuit of Figure, determine and sketch i L (t) and vC(t) for inductance values of (a)3/4 H, (b) 2/3 H, and (c) 3/17 H. Note that the inductance values are chosen her

Change of phase, Write an m-file "myfourier.m" which takes two images, comp...

Write an m-file "myfourier.m" which takes two images, computes FFT, phase and amplitude and swaps the amplitudes between two images. function myfourier im1=imread('cameraman.pn

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