Created
August 26, 2016 20:22
-
-
Save juniorhero/175ea303a523020489af044d048a957c to your computer and use it in GitHub Desktop.
matlab negative of image
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
a=imread('Koala.jpg'); | |
b=255-a | |
subplot(1,2,1) | |
imshow(a) | |
title 'Original Image' | |
subplot(1,2,2) | |
imshow(b) | |
title 'Negative Image' |
Author
juniorhero
commented
Aug 26, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment