Created
December 18, 2014 16:08
-
-
Save krishnan793/08c6fc41c182bd4036ab to your computer and use it in GitHub Desktop.
Mat lab code to display shareholding effect.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%Dialog Box to browse and select image | |
[name path]=uigetfile({'*.jpg','IMAGE Files (*.jpg)'},'Choose Image for Thresholding'); | |
A=imread(strcat(path,name)); | |
%converting rgb to gray | |
A=rgb2gray(A); | |
for i=1:255 | |
figure(1),imshow(A,[i 255-i]); | |
pause(0.01); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment