Homework 3
1. use the sorting or image averaging code to make a tribute to jason salavon’s work. Be creative and expressive and find good cultural sources.
Beyonce - Single Ladies (Put A Ring On It)



Jamiroquai - Canned Heat



vector < ofImage > myPictures;
numImages = 2318;
// load the image from the data folder
for (int i = 0; i < numImages; i++){
ofImage myPicture;
myPicture.loadImage("beyonce/beyonce" + ofToString(i) + ".jpg");
myPicture.setImageType(OF_IMAGE_GRAYSCALE);
myPictures.push_back(myPicture);
}
int numPictures = myPictures.size();
for (int i = 0; i < numPictures; i++) {
unsigned char * pixels = myPictures[i].getPixels();
for (int j = 0; j < width * height; j++) {
pixelsSum[j] += pixels[j];
}
}
Beyonce's 'Single Ladies' music video and Jamiroquai's 'Canned Heat' as a tribute to Jason Salavon. The video was exported as an image sequence at 15fps through Photoshop. It took some time to render the result in oF. After the render I ran the images through the min max and histogram equilization from last week.