Answers for "invert matlab"

-1

matlab invert image

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

% Inverts image
invert = 255 - im;

% Displays image
image(invert)
Posted by: Guest on October-24-2020

Browse Popular Code Answers by Language