Files
uni/second/semester2/CT248/Assignments/Assignment-04/transform_pic.m
2023-12-07 01:19:12 +00:00

5 lines
142 B
Matlab

function [img] = transform_pic(img)
% function which converts a 255 colour code to 0, 254 to 1, etc, and 0 to
% 255.
img = 255 - img;
end