Course Avenue
Home
About
Assignments
Theory
Coding
Projects
C
C++
JAVA
Database
Assembly Language
Artificial Intelligence
Books
Lecture Slides
Contact
Monday, 30 January 2017
Negative of an Image - MATLAB Code
Code:
A = imread(‘cameraman.jpg’);
%needs image file “cameraman.jpg”
negative = imcomplement(A); %creating complement of image
imshow(negative);
Output:
Original Image Negative of Image
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment