my digital playground

Pixel editing with Processing

by Reto Vogel on Oct.31, 2009, under HSLU, Multimediatechnik, Processing, Programming

According to Wikipedia, “Image editing” encompasses the processes of altering images, whether they be digital photographs, traditional analog photographs, or illustrations. Images are stored in a computer in the form of a grid of picture elements, or pixels. These pixels contain the image’s color and brightness information.

In our case, we altered digital photos and learned mor about how to manipulate pixels and techniques to overlay several images.

Image manipulation

I created several pixel manipulations with Processing.

Image manipulation

You can see the result in this applet.

Pixel Image

The tasks was about creating a “pixeling” effect. This can be achieved by several ways. I created a grid and took the very first point of each box. Then I filled the rest of the box with the first pixel’s color.

Pixel Image

The pixel-resolution can be adjusted whithin the applet by pressing UP and DOWN.

Threshold

In order to get a pure black-and-white picture, you need to set a threshold. The threshold value determines, where the border between black and white is.

Black-and-White threshold

You can try it on your own with my applet. Press UP or DOWN to increase or decreasae the resolution and LEFT or RIGHT to change the threshold.

Overlay Images

This applet shows how to overlay two different images. The source are two pictures with the same size. You get different results by adding, subtracting or multiplying.

Overlay and Blend effects

Check out the applet here.

Bookmark, print, and share:
  • Print
  • PDF
  • Add to favorites
  • Digg
  • Facebook
  • del.icio.us
  • StumbleUpon
  • MySpace
  • Live
  • Google Bookmarks
:, , , , ,

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

Archives

All entries, chronologically...