AI Glossary / Computer vision and multimodal AI / Beginner
Moiré
Definition
Moiré is a larger-scale pattern that appears when fine repeating patterns interact, including when scene detail is sampled by a camera or display grid. It can look like ripples, bands, or false colors that are absent from the original subject. In digital imaging it is commonly associated with aliasing: fine detail is represented as a misleading lower-frequency pattern.
What it means
A woven shirt may have evenly spaced threads too fine for the particular camera view to record reliably. The sensor samples that structure at discrete positions. Small changes in position can cause different threads to align with those positions, producing broad waves in the recorded image.
Moiré is not necessarily sensor noise, a stain on the fabric, or an intentional design. It can also arise when photographing screens, scanning printed halftones, or resizing patterned images. Two physical grids placed over one another can create visible moiré without a digital camera. The shared idea is interaction between repetitive structures.
How it works
Sampling records values on a grid rather than preserving every continuous detail. If spatial variation is too fine for that sampling process, different underlying patterns can produce indistinguishable samples. A reconstruction may then display a lower-frequency pattern instead of the true detail.
Color-filter arrays and demosaicking can add colored artifacts because the channels are sampled at different locations. Optical low-pass filtering can suppress problematic detail before sensor sampling, while appropriate digital filtering helps before downsampling an existing image. Once aliasing has entered the samples, later software cannot always determine the original pattern uniquely. Changing camera angle, distance, or magnification alters the relationship between subject detail and the sampling grid.
Three practical examples
1. A clothing seller photographs a finely woven jacket and sees broad colored bands that are not visible on the garment. Different framing or a revised capture setup can change the artifact.
2. A presenter records a monitor and notices moving ripples across its pixel grid. The interaction between the display and camera sampling can produce patterns unrelated to the slide content.
3. A publishing team downsizes a high-resolution patterned background for a website. Without suitable resampling, the smaller version develops stripes even though the original file looked clean.
Think of it this way
Think of looking through two fine window screens that are slightly rotated relative to one another. Their overlapping openings create large dark and light regions, although neither screen contains those large shapes. This illustrates how small repeated structures can generate a larger apparent pattern. A digital camera adds discrete sampling and color reconstruction, so its artifacts need not match this physical overlay exactly.
Worked example
Consider an ideal one-dimensional cosine pattern sampled at integer pixel positions n. A pattern with frequency 0.9 cycles per pixel gives cos(2π × 0.9n). At those positions it has the same samples as cos(2π × 0.1n), because adding or subtracting a whole number of cycles at each integer sample does not change the cosine value.
The fine pattern can therefore appear as a slow variation with a period of ten pixels. The sampled values alone do not reveal which of those two original frequencies produced them. This is a simplified demonstration of aliasing that helps explain broad moiré bands.
Real photographs involve two-dimensional patterns, optical blur, pixel area integration, color sampling, and reconstruction. Their exact band shape can be more complex, but a plausible-looking low-frequency ripple need not correspond to any real ripple on the object.
Illustrative case study
Fictional case: A furniture retailer notices wavy bands on images of a mesh chair. The photographer initially tries stronger sharpening, which makes the unwanted pattern more conspicuous. The team compares the raw capture at full scale with several website export sizes and discovers that both capture and resizing can affect visibility.
It creates a repeatable test using the chair at several distances and angles, then checks the final display sizes used by the catalog. The chosen workflow balances fabric detail against false patterns. The team keeps an unedited reference photograph and avoids presenting software-suppressed texture as a precise measurement of the weave.
Common misconceptions and mistakes
More sharpening does not restore information lost through aliasing and can exaggerate it. Likewise, removing color artifacts does not necessarily remove a luminance moiré pattern. A high pixel count reduces some risks but does not guarantee that every fine pattern will be sampled adequately.
Do not assume an artifact originates in the original capture merely because it appears on screen. Resizing, display scaling, and screenshots can introduce or alter it. Inspect the source at an appropriate scale and compare the actual output pipeline. Blur can reduce visible moiré, but it also removes useful detail; that tradeoff should be deliberate.
Business use
Moiré matters in product photography, printed-material scanning, broadcast production, and machine vision for repetitive textures. It can misrepresent fabric appearance or create patterns that an automated inspection system mistakes for defects.
Include representative fine textures in camera and export testing. Assess the image at the final viewing sizes as well as at full resolution. For analytical systems, vary position and magnification to determine whether a detected pattern belongs to the object or changes with sampling. Prevention at capture or before downsampling is often more reliable than attempting to repair an already ambiguous result.
People also ask
Is moiré always colored?
No. It can appear as brightness bands, color changes, or both.
Can it appear without a camera?
Yes. Overlapping physical grids can generate moiré patterns directly.
Will an AI removal tool recover the exact original texture?
Not necessarily. It may suppress artifacts or infer plausible detail without recovering the unique original scene pattern.
Check your understanding
A broad stripe appears only after a fine fabric image is resized. Does that prove the stripe was woven into the fabric?
Answer: No. Resampling can create an alias pattern. Compare the original and resized versions and examine the filtering used during reduction.
Related terms
- Aliasing (factorial experiments)
- Spatial frequency
- Nyquist sampling rate
- Demosaicking
- Resampling
- aliasing
- optical low-pass filter
- false colour
- downsampling
Learn next
Create a fine stripe image and reduce it using several scaling factors, first with and then without appropriate prefiltering. Observe whether broad patterns change when the image shifts by a fraction of a pixel. This experiment connects visible artifacts to sampling rather than to the subject itself.
More in Computer vision and multimodal AI
- Mirrorless - Mirrorless describes a camera design that omits the reflex mirror used by an SLR to direct light from the taking lens into an optical viewfinder.
- Mitchell - Netravali - Mitchell - Netravali refers to a parameterized family of cubic reconstruction filters used to estimate image values between samples.
- Mixing gradients - Mixing gradients is a Poisson image-editing technique that combines source and destination image structure by selecting stronger local variations from...
- Monocular depth - Monocular depth is an estimate of scene distance obtained from a single camera view.
- Monotone spline - A monotone spline is a piecewise polynomial curve constructed to preserve a specified nondecreasing or nonincreasing relationship.
- Morphological gradient - A morphological gradient is an image operation that highlights local intensity transitions by subtracting an eroded image from a dilated image.
Sources
Primary manufacturer explanation: Nikon, “Moiré & False Color,” https://www.nikonusa.com/learn-and-explore/c/products-and-innovation/moire-false-color . Relevant explanation was reviewed; older product-specific recommendations are not treated as current purchasing advice. The cosine example is an original sampling calculation. Editorial note: the supplied term label contains a replacement character; the intended standard spelling used here is “moiré.”
Previous: Modus ponens Next: Moment generating function