User Tools

Site Tools


cs276:edc_lab1

Lab 1

Created by the following code:

PImage img1,img2,img3,img4; img1= loadImage(“pete_and_full.jpg”); img1.resize(500,300);

img2= loadImage(“pete_and_full.jpg”); img2.resize(500,300); img2.filter(GRAY);

img3= loadImage(“pete_and_full.jpg”); img3.resize(500,300); img3.filter(DILATE);

img4= loadImage(“pete_and_full.jpg”); img4.resize(500,300); img4.filter(BLUR,2);

size(img1.width*2,img1.height*2); image(img1,0,0); image(img2,width/2,0); image(img3,0,300); image(img4,500,300);

cs276/edc_lab1.txt · Last modified: 2014/12/08 08:49 by coreyed0