Screen Shot 2012-04-05 at 4.34.00 PM

Understanding Moiré Patterns in Digital Photography

You're probably seen it before. Strange waves or rings of color and tone rippling over fabric, or perhaps weird, maze-like squiggles instead of parallel lines when you're zoomed in at 100% in Photoshop. This is called a moiré pattern.

Moiré patterns are artifacts that have a fixture of digital imaging, but which have been most recently thrown into contrast recently with introduction cameras like the Nikon D800E and Leica M9, which are more prone to producing moiré patterns.

Here's an in-depth look at the causes of moiré, what it looks like and what it may mean to your photography.

The Anti-Aliasing Predicament

The Nikon D800E is one of the first mainstream DSLRs with no anti-aliasing applied at the sensor level. Traditionally, anti-aliasing filters are used with almost all DSLR sensors to reduce instances of moiré and false color artifacts.

With no anti-aliasing applied, the D800E offers exceptional detail, but also a higher chance of producing these moiré artifacts. It also has many photography deciding whether the Nikon D800 or D800E is the right camera for them.

While cameras like the Leica M9 and Sigma's line of DSLRs (which use non-Bayer sensors) don't feature anti-aliasing filters in the optical chain, the D800 and D800E are unique in that they offer choice, which thrusts the issue of moiré into more stark scrutiny.

What Is Moiré?

In essence, moiré occurs when two patterns are overlaid and result in a new, third pattern. With digital photography, these artifacts result when the frequency of detail in a scene exceeds the sensor's pixel pitch and ability to resolve “real” information.

Moiré wasn't an issue with film because the photo sensitive grains in film are arranged in a much more random, organic way.

Moiré artifacts can be an issue with any digital sensor, but particularly with the Bayer-type sensor of individual red, green and blue pixels, as the spacing between like-color pixels can result in even more errors. (New cameras like the Fuji X-Pro1 claim to address moiré with a different, more random arrangement of the RGB pixels, which should reduce instances of moiré.)

When information (scene detail) can't be accurately recorded distinctly by one pixel or another, errors can result. These errors can take the form the wrong value (luminance) or color (chrominance) for pixels.

In contrast to pixels errors that result in digital noise, which are random, moiré artifacts are distinct and localized to the area of the “offending” detail.

More Pixel, Less Moiré

In general, the finer the pixel pitch and/or resolution of a sensor, the fewer instances of moiré should be rendered. This is logical, since a “coarse” capture of information is precisely what fosters the errors that produce moiré.

With higher resolution sensors, not only is more information captured, it's captured more precisely. This is one reason why high resolution medium format digital backs lack anti-aliasing filters and record exceptional detail.

Color Moiré

Color moiré is one of the most common instances of moiré and occurs when inaccurate color information is recorded. It often looks like a rainbow or a rippling of weird color over fabric. This happens most readily with very fine patterns or fabric with a high level of sheen.

Thankfully, color moire it's generally one of the easier types of moiré to reduce, as only the color channel is affected, not the luminance channel.

Here's an example of some mild color moiré produced by the tight diagonal pattern of a shirt's fabric at 200%:

You can clearly see a small but distinct rainbow pattern created in between the black bars of this pattern. Thankfully, it's easily removed if shooting RAW.

Reducing Color Moiré

In this next sample, we see the same region that's been treated with the Adjustment Brush to reduce moiré in Adobe Lightroom 4. This is a new feature to Adobe Lightroom – it's as easy as “painting on” the effect to the problem areas.

At 50% strength with the moiré reduction brush, we see pretty much a 100% elimination of the color moiré. Since this is a black and white fabric with basically no color information, it would be possible to eliminate these color artifacts by desaturating in Photoshop.

With colored areas, the adjustment brush still works quire well, but might not entirely remove all instances of color moiré.

Maze Artifacts

Maze artifacts are less common than color moiré, but they're also more difficult to remove, since the errors that occur are in the luminance channel. Unlike color moiré, where it's possible to shift the color back to normal, maze artifacts affect the value of the pixels, so it's a much more “structural” kind of error. If color moiré were like accidentally paining one wall of a house the wrong color, then a maze artifact is like having a wall in completely different place in the house than it was originally intended.

Maze artifacts often occur when there are parallel lines at the limit of the sensor's ability to resolve detail. Because the detail doesn't fall precisely over one sensor pixel or another, the sensor essentially has to “guess” at what's right, which can result in errors. These errors can take the form of connection between the parallel lines, hence the name “maze” given to these artifacts.

Here's one typical example maze artifacts, created by the repeating lines of a metal fence, visible in the center of the frame:

Since these errors occur on the pixel level, they're often very small, as in this sample. At 200%, the artifacts become more noticeable.

Again, the errors are subtle. For most types of photography, these very minor types of moiré aren't a huge issue. However, with cameras like the Nikon D800E or Leica M9, with no anti-aliasing filters, these effects would be even more pronounced.

In the below 100% crop, you can see another example of these types of maze artifacts on the left of the image at 100%:

In this 200% crop, you can more clearly see the moiré artifacts in the AC unit on the left, particularly the lower left of the grate:

Reducing Maze Artifacts

Since the RAW processing software used interets what the sensor records, using different RAW converters can have a big impact on the rendering of moiré, depending on the sophistication of the software. The above sample was rendered using Adobe Lightroom 4.

Processing the same file with another program, Raw Photo Processor, renders an image with almost no color moiré and a drastic reduction in the maze effect.

Here's a final image of the above file converted with RPP using the program's sharpening setting of 4.0 and a local contrast adjustment of 5, which makes it closer to the standard sharpening setting of Adobe Lightroom.

There's still a degree of aliasing due to the linear detail at the limit of the sensor's resolution, but the maze effect is still greatly diminished.

Short of using different RAW converters, maze artifacts are very hard to remove. The upshot is that since the errors occur at the pixel leve, they generally affect small areas of the image and may not be noticeable at most normal output and viewing distances.

Avoiding Moiré

Since the severity of moiré depends on overlapping patterns creating a new interference pattern, changing the way these patterns interact is the best way to avoid moiré. Change one or more of these variables to avoid creating moiré artifacts:

  • Subject magnification/shooting distance
  • Focal length
  • Camera angle
  • Aperture
  • Shoot in RAW, never JPG

Even slight changes to these variables may be enough to greatly limit or avoid moiré entirely, especially if you are able to review images for subjects with a high risk of creating moiré.


The Moiré Paradox

The paradox of this phenomenon is that the quality degradations of moiré most often occur with images that otherwise possess extremely high image quality. After all, any lack of optical sharpness would naturally blur detail and spread the information over multiple photosites on sensor, preventing misinterpretation by any one pixel. Moiré is a beast of precise imprecision.

For most shooting, moiré isn't a huge concern, but can crop up when shooting any kind of repeating pattern. It's worth noting that even when shooting with professional Nikon lenses, both primes and zooms, it actually took some very deliberate shooting to produce instances of moiré for use as samples.

Thanks for reading, guys. Hopefully article on moiré will help you understand some of the causes and instances of moiré in digital photography.

My Camera DSLR and Lenses for Concert Photography

Nikon D750:
I use two Nikon D750 for my live music photography. Amazing high ISO performance in a compact body with tons of pro features.
nikon-24-70mm-f28-lens-squareNikon 24-70mm f/2.8:
For most gigs, the 24-70mm is my go-to lens. Exceptional image quality at wide apertures and super-functional range.
Nikon-70-200-squareNikon 70-200mm f/2.8 VR:
A perfect pair to the Nikon 24-70mm f/2.8, I can basically shoot any job with the midrange and this lens. Superb image quality.
nikon-14-24mm-f28-lens-squareNikon 14-24mm f/2.8:
Ultra-wide perspective, ridiculously sharp even wide open at f/2.8. I love using this lens up-close and personal, where it excels.
More Gear Recommendations

Help Support

If this article or any other content on was helpful to you, please consider supporting this site and grabbing your next photo gear purchase through one of my affiliate links:

Simply clicking through any product links on this site helps me bring you free content like the photography tips and gear reviews regularly posted on, and naturally it doesn't cost you a cent more. 

There are 27 comments

Add yours
  1. Mr Eddy

    Great article on this moiré artifact. With he D800E and Fuji X-Pro 1, it’s very interesting to really understand when those may appear. Even if I still don’t consider using a D800 or D800E, mostly because of the price and 36Mpx (24Mpx would have suit me best)
    But this is the first time I read about the maze artifact.
    I hope in the future, Nikon and Canon will consider leaving this Bayer system for one more “organic” like Fuji.

    • Todd

      Thanks for the comment. Generally, I agree, something around 24mp with a faster frame rate would have been a more interesting camera to me.

      I will be interested in how the new Fuji X-Pro1 handles moiré – I have one on hand so I’ll be able to test these same scenes to see how it compares.

    • Todd

      That’s a good question. Probably an issue with the Bayer-type arrangement in which there are more green pixels and fewer red and blue photo sites.

  2. As Seen by Janine

    Great tutorial Todd, extremely helpful. I’ve struggled with these problems so much, I notice it also in things like the patterns of a brick building. It is so frustrating but I had no idea there is a way to fix it. Keep the great posts coming & I am sending you some TEA!!! Janine Fugere (As Seen by Janine)

  3. Paul E

    On the herringbone fabric, why is the moire on the downward slanting lines but not the upward slanting (in the center of the pic)?

  4. Raymond Ng

    Dear Tim,
    Great explanation and examples that allows layman to comprehend.
    Good work, keep it up and most of all thank you for your sharing.

  5. Trygve

    Hello Tod.
    Fuji has all of the RGB per pixel would the not be a help in stopping most of the problems talked about here. If so why do Nikon and Canon use it both company’s can afford the rights to do so.


    PS and no more having to interpolate the color between the mosaic RGB pattern they have now.

  6. Paul


    What are your thoughts on having the AA filter removed from a D3 and replaced with a clear piece of HR glass? I have been doing some research and it appears that it seems to work quite well with increasing sharpness and WB but introduces the chances of Moire Patterns in the photos.. I currently own the 3 holy grail lenses so sharpness has never been a issue. Just curious if its worth it to make a great camera even greater.


    • Todd

      Hey Paul,

      I think it would depend on what you shoot, but I’d say that if you’re satisfied with the resolution the D3 is delivering, I wouldn’t worry about it.

      Instead of modifying the D3, another option would be to pick up a second body like the D800 or D600 (or of course the D800E).

  7. chloe

    Hi, Great little read on the Moire patterns.

    I was wondering if one were to purposefully document these, how would i do it?

    I got some great images on my camera, but they disappeared the moment i transferred them to my mac. Any thoughts?

Join in the Discussion