User:Thegreenj/Moiré

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Moiré can occur in the resizing of an image when patterns in the original image create new patterns in the derivative image. For an example, let's take this image, a series of lines:

Moire1.png

Let's say we want to resize this image by 25 percent (in terms of area). Obviously, to do so, we must delete 3 out of every 4 pixels. To visualize this, pixels that are going to be deleted have been marked in red. Here, the top left portion of the image has been marked for resizing:

Moire2.png

And now the whole image, marked for resizing:

Moire3.png

Now let's remove those red pixels and collapse the image:

Moire4.png

The lines have changed directions! Because lines in real photographs are rarely perfectly straight and parallel, the resulting lines (as in the last image) are often curved, but the result is the same: a Moiré pattern.