Created
February 15, 2016 14:49
-
-
Save JFriel/3e82b2ab5aa36992ccf7 to your computer and use it in GitHub Desktop.
This file contains 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
im=imread (image); | |
Im1=im (:,:,1)*100+im (:,:,2)*10+im (:,:,3); | |
MostFrequent=mode (im1 (:)); | |
MfR=MostFrequent/100; | |
MfG=(MostFrequent-MfR*100)/10; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment