<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> Exported from Notepad++

clc; close all; clear all; I=imread('cameraman.tif'); [m n]=size(I); for i=1:m for j=1:n y(i,j)=90+I(i,j); end end subplot(1,2,1),imshow(I); subplot(1,2,2),imshow(y);