Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR MATLAB

matlab invert image

% Reads image
im = imread('image.jpg');

% Inverts image
invert = 255 - im;

% Displays image
image(invert)
 
PREVIOUS NEXT
Tagged: #matlab #invert #image
ADD COMMENT
Topic
Name
1+4 =