Moiré

Also known as: moire

On this page 7

Moiré (also written moire) is a false interference pattern of waves, bands or colored fringes that appears when a fine repeating structure in the scene interacts with the regular pixel grid of a camera sensor or a display. In photography it is an image quality defect caused by aliasing: the sensor samples detail that is finer than it can resolve, and the excess detail reappears as a coarser pattern that does not exist in the subject.

Moiré typically shows up on fabrics, screens, brick walls, window blinds, feathers and architectural grids. It is closely linked to sharpness and resolution, because the conditions that produce the most detailed images, such as sharp lenses and sensors without optical low-pass filters, also make moiré more likely.

How moiré forms on a camera sensor

Moiré forms when two regular patterns overlap at slightly different spacing or angle. In a camera, one pattern is the subject, for example the weave of a shirt, and the other is the pixel grid with its fixed pitch. When the subject detail approaches or exceeds the Nyquist limit, which is half the sampling frequency of the sensor, it cannot be recorded correctly.

Instead, the high-frequency detail is folded back as a low-frequency pattern, an effect known as aliasing. The resulting bands can be much larger than the original structure, and they change shape with small shifts in distance, focus or angle, which is why moiré can appear in one frame and vanish in the next.

Most sensors add a further complication: a Bayer color filter array samples red and blue at lower density than green. Fine detail therefore aliases differently in each color channel, and demosaicing turns the mismatch into color moiré, the rainbow-like fringes typical of photographed textiles.

Types of moiré in photography

Photographers usually distinguish moiré by its appearance and by where in the imaging chain it arises. The distinction matters because each type needs a different remedy.

TypeAppearanceMain causeTypical subjects
Luminance moiréGray waves or bandsAliasing of fine detail in brightnessArchitecture grids, blinds, fences
Color moiréRainbow fringes and blotchesDifferent sampling of color channelsFabrics, suits, feathers, hair
Screen moiréStrong waves over displayed imagesDisplay pixel grid against sensor gridPhotographing monitors and phones
Scan and print moiréRegular rosettes or bandingHalftone dots against scanner or printer gridScanned magazines and reproductions
Display moiréPattern visible only at some zoom levelsResampling for screen previewImage viewed at reduced size
Main forms of moiré

Display moiré is a frequent false alarm. A pattern that appears at 33 or 50 percent view but disappears at 100 percent magnification comes from the preview scaling, not from the file itself.

Factors that increase or reduce moiré

The risk of moiré depends on the relationship between subject detail, lens resolution and pixel pitch. Any factor that delivers very fine, high-contrast detail exactly at the sensor’s sampling limit raises the risk.

FactorHigher moiré riskLower moiré risk
Optical low-pass filterAbsent or weakPresent and matched to pixel pitch
Pixel pitchDetail near the sampling limitMuch higher pixel density than subject detail
Lens sharpnessVery sharp lens at optimal apertureSofter lens or small aperture with diffraction
FocusPattern in the exact focal planePattern slightly out of focus
Subject distancePattern period matches pixel spacingCloser or farther so period changes
Color filter designStandard Bayer arrayArrays with different layouts or monochrome sensors
Conditions that influence the risk of moiré

An optical low-pass filter (OLPF), also called an anti-aliasing filter, slightly blurs the image before sampling so that detail beyond the Nyquist limit does not reach the sensor. Many high-resolution cameras omit it to gain acutance and fine detail, accepting a higher risk of moiré.

Moiré is often confused with other defects that also produce patterns or colors. Telling them apart prevents photographers from applying the wrong correction.

ArtifactOriginDistinguishing feature
MoiréAliasing of repeating detailLarge waves that change with small shifts
Purple fringingChromatic aberration or sensor bloomingColored edges along high-contrast borders
Chromatic noiseRandom sensor noise in color channelsIrregular color speckles, worse at high ISO
Demosaicing artifactsInterpolation errors at fine edgesZipper or maze patterns on single edges
BandingRead noise or quantizationStraight horizontal or vertical stripes
Moiré and similar artifacts

Preventing and removing moiré

The most reliable strategy is to change the capture geometry, because moiré in a recorded file can be reduced but never perfectly reconstructed. Small changes are often enough to move the pattern away from the sensor’s sampling frequency.

  • Change distance or focal length slightly so the period of the pattern no longer coincides with the pixel spacing.
  • Rotate the camera a few degrees, since the interference depends on the angle between the two grids.
  • Shift focus slightly off the patterned area or use a smaller aperture, accepting a small loss of sharpness.
  • Check at 100 percent on the camera or a tethered screen during critical work such as fashion and product shoots.
  • Use a moiré removal brush in raw processing to suppress color moiré locally; luminance moiré is much harder to remove convincingly.
  • When photographing screens, match the shutter speed to the refresh rate and move until the waves disappear, or defocus very slightly.

Some cameras offer pixel shift multi-shot modes that capture full color at every pixel position, which largely removes color moiré on static subjects. They do not work with moving subjects or handheld shooting in most implementations.

A plain-language summary

If you have ever photographed a striped shirt or a computer screen and seen strange waves or rainbow ripples that were not really there, you have seen moiré.

It happens because the camera sensor is a grid of tiny squares. When the subject also has a very fine grid or pattern, the two patterns clash, much like two window screens laid on top of each other. A small move closer, farther or at a slight angle usually makes the effect disappear.

An example from practice

A product photographer shoots a catalog of men’s suits with a 45 megapixel camera that has no optical low-pass filter. On a fine herringbone jacket, the tethered screen at 100 percent shows colored ripples across the shoulders, although the fabric itself is plain gray.

She moves the camera back about 20 centimeters, refocuses and recrops slightly, and stops down from f/8 to f/11. The pattern weakens but some color remains in one fold, so she applies a local moiré reduction brush during raw processing. The final catalog image shows clean fabric texture without false color, and she adds the distance change to her standard setup for that garment type.