Images in Processing Worksheet

Basic Exercise

Write a Processing sketch that loads an image and applies a blur to it using a built in filter.

Alter your sketch so that you implement the blur function yourself using the methods discussed in the lecture.

Extensions

  • Experiment with other other kernels for your filter
  • Change your code so that the filter is applied to live video rather than a static image
  • A blend is a method of combining two images, that is similar to a filter. A blend steps through all the pixels of both images, using a mathematical function to combine the equivalent pixels in the two images. Try implementing a blend that averages two images. Experiment with other types of blend.
Create PDF    Send article as PDF to