




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Histogram Processing, Histogram, Normalizing, Image, Enhancements, Statistics, Compression, Segmentation, Matlab, Equalization, Function, Digital Image Processing, Lecture Slides, Dr D J Jackson, Department of Electrical and Computer Engineering, University of Alabama, United States of America.
Typology: Slides
1 / 8
This page cannot be seen from the preview
Don't miss anything!





Electrical & Computer Engineering Dr. D. J. Jackson Lecture 6-
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 6-
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 6-
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 6-
k j k k j M N
n s Tr 0
k k k j j s Tr ML N n 0 ( ) (^1 )
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 6-
%==================================== % The LOAD IMAGE button btnNumber=1; yPos=top-(btnNumber-1)*(btnHt+spacing); labelStr='Load Image'; callbackStr='winhist(''load'')'; % Generic button information btnPos=[left yPos-btnHt btnWid btnHt]; uicontrol( ... 'Style','pushbutton', ... 'Units','normalized', ... 'Position',btnPos, ... 'String',labelStr, ... 'Callback',callbackStr);
%==================================== % The Histogram button btnNumber=2; yPos=top-(btnNumber-1)*(btnHt+spacing); labelStr='Histogram'; callbackStr='winhist(''histogram'')'; % Generic button information btnPos=[left yPos-btnHt btnWid btnHt]; uicontrol( ... 'Style','pushbutton', ... 'Units','normalized', ... 'Position',btnPos, ... 'String',labelStr, ... 'Callback',callbackStr); % Now uncover the figure set(figNumber,'Visible','on');
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 6-
elseif strcmp(action,'histogram'), axes(p2); h=histogram(FIG); bar(h,'w'), axis([1 256 0 max(h)1.10]); elseif strcmp(action,'load'), axes(p1); cd('L:\ece582\matlab'); [file,path]=uigetfile('.bmp','Open'); [f,fmap]=bmpread(fullfile(path,file)); FIG=f; image(f);colormap(gray(256)); end;