MATLAB -Invertbild
% Reads image
im = imread('image.jpg');
% Inverts image
invert = 255 - im;
% Displays image
image(invert)
Noob_Code
% Reads image
im = imread('image.jpg');
% Inverts image
invert = 255 - im;
% Displays image
image(invert)