dolphin = imread('dolphin.png'); bicycle = imread('bicycle.png'); imshow(dolphin); disp("Dolphin image size:"); disp(size(dolphin)); imshow(bicycle); disp("Bicycle image size:"); disp(size(bicycle)); summed = dolphin + bicycle; imshow(summed); average = dolphin / 2 + bicycle / 2; imshow(average);
183/2 + 152/2 = 168
(183+152)/2 = 128