Unveiling the Invisible: How AI and Macro-X-Ray Tech Are Rewriting Art History
Conservators are combining macro-X-ray fluorescence and artificial intelligence to peer beneath the surface of centuries-old masterpieces without touching the canvas. This non-invasive revolution is revealing hidden paintings, lost sketches, and the original intent of history's greatest artists.
By Jana Rami
- Art Conservators & Historians
- Focused on preserving the physical integrity and original intent of the artwork.
- Heritage Scientists
- Focused on advancing non-invasive chemical imaging and material analysis.
- Computational Researchers
- Focused on using machine learning to parse massive datasets and predict material behavior.
The short answer
- Conservators are using Macro X-ray Fluorescence (MA-XRF) to map the chemical elements of paintings without touching the canvas.
- The technology reveals hidden sketches, abandoned compositions, and previous restorations by detecting specific pigments beneath the surface.
- Because the scanners generate massive amounts of overlapping data, artificial intelligence is used to deconvolute the signals into clear visual maps.
- AI is also enabling predictive conservation, allowing museums to simulate how materials will age using highly detailed digital twins.
- Recent breakthroughs fuse AI with physics-based modeling to ensure 3D reconstructions remain scientifically accurate and free of AI hallucinations.
Inside the Rijksmuseum in Amsterdam, Rembrandt's monumental 1642 masterpiece, The Night Watch, sits inside a custom-built glass chamber. Visitors to the Gallery of Honour do not just see a painting; they watch a live scientific experiment. This is "Operation Night Watch," the most exhaustive research and conservation project ever conducted on a single artwork. But the conservators working behind the glass are not wielding brushes or solvents. Instead, they are armed with robotic arms, digital sensors, and artificial intelligence, mapping the nearly 400-year-old canvas millimeter by millimeter.[1]
For centuries, art restoration was a physical, often perilous endeavor. Early 20th-century methods sometimes involved harsh alkaline washes or invasive physical sampling, where microscopic flakes of paint were permanently removed from the canvas to be studied under a microscope. Today, the landscape of art conservation has been entirely rewritten by a principle of absolute non-invasion. The goal is no longer just to repair visible damage, but to understand the complete chemical and structural biography of an artwork without ever touching its fragile surface.[4]
The vanguard of this non-destructive revolution is a technology known as Macro X-ray Fluorescence, or MA-XRF. Originally adapted from particle accelerator research, MA-XRF allows scientists to map the elemental composition of an entire painting in situ. Unlike traditional medical X-rays, which shoot radiation entirely through a subject to create a single flat image of varying densities, MA-XRF is highly selective. It targets only the uppermost millimeters of the painting, analyzing the specific chemical signatures of the paint and priming layers.
The mechanism relies on the fundamental physics of atomic excitation. When the scanner directs a focused beam of primary X-rays at the canvas, the radiation interacts with the atoms in the pigments. This interaction causes the atoms to emit secondary X-rays—fluorescence—that bounce back to a detector. Crucially, every chemical element emits this secondary radiation at a unique, identifiable energy level. Lead white, copper green, and iron oxide red all sing a different spectral tune when illuminated by the scanner.
By moving the scanner across the painting on a motorized rig, researchers can build a comprehensive chemical map of the artwork. If a 17th-century artist painted over an earlier draft using a lead-based pigment, the MA-XRF scanner will detect the lead signature hiding beneath the surface layers, revealing the abandoned sketch in perfect detail. However, this meticulous process is incredibly slow; scanning a mere 50-by-50-centimeter square of canvas can take up to 24 hours of continuous measurement.
The transition from massive, building-sized synchrotron particle accelerators to mobile MA-XRF scanners was a watershed moment for heritage science. In 2008, researchers at the University of Antwerp and Delft University of Technology successfully translated the technology into a portable device. This meant that fragile, priceless masterpieces no longer needed to be transported to specialized laboratories. The laboratory could now come to the museum gallery, allowing for the widespread scanning of illuminated manuscripts, historical photographs, and massive easel paintings.
But solving the hardware problem created a massive software problem. A single MA-XRF scan generates an astronomical amount of data—a complex "datacube" containing millions of overlapping spectral signals. Because artists mixed their pigments and applied them in multiple thin glazes, the fluorescence signals from different elements frequently overlap and obscure one another. For a human researcher, manually untangling these signals to figure out which element belongs to which layer of paint is practically impossible.[3]
But solving the hardware problem created a massive software problem.
This is where artificial intelligence enters the conservation studio. To make sense of the massive MA-XRF datacubes, computational researchers have developed fast, automatic methods for "deconvolution"—the mathematical process of separating overlapping signals. By training machine learning algorithms on known chemical signatures, AI can rapidly process the datacube and isolate individual elements into distinct, highly readable visual maps.[3]
The results of this AI-assisted deconvolution are often breathtaking. Spectral imaging has rewritten art history by uncovering hidden layers beneath the surface of famous works, revealing earlier sketches, heavy overpainting, or entirely lost compositions. Conservators have discovered hidden portraits beneath Pablo Picasso's "Blue Period" canvases and alternative compositions hiding under Leonardo da Vinci's "Virgin of the Rocks." These discoveries do not just inform restoration decisions; they provide an unprecedented window into the artist's real-time creative process.[4]
Beyond uncovering hidden sketches, AI is fundamentally changing how conservators approach the physical act of restoration. Through high-resolution imaging and predictive analysis, machine learning models can detect microscopic patterns of deterioration—such as the early stages of paint flaking or canvas warping—long before they become visible to the human eye. Algorithms compare data from similar works across global collections, offering insights into how specific pigments or varnishes will react under different environmental conditions.[4]
This predictive capability allows museums to create a "digital twin" of a masterpiece. These highly detailed virtual replicas enable conservators to simulate how an artwork will age or how it might respond to a specific chemical solvent. By testing restoration techniques on the digital twin first, scientists can identify structural weaknesses and plan their interventions with zero risk to the physical object.[4]
The synergy between physics and machine learning continues to evolve. In early 2026, researchers at Brookhaven National Laboratory debuted a novel AI method designed to sharpen 3D X-ray vision even further. Historically, AI models trained to enhance images could sometimes "hallucinate" details that were not actually there—a fatal flaw when dealing with historical artifacts. To solve this, the Brookhaven team developed a convolutional neural network that works hand-in-hand with physics-based modeling.[2]
This embedded AI acts as a "smart regularizer." It leverages the known physics of X-ray interactions to ensure that the AI's reconstructions stay strictly faithful to the actual measurements. By training the model on simulated data that intentionally included noise and misalignment, the researchers created an AI that can handle the messy, imperfect realities of scanning physical objects, ensuring the resulting images are both visually clear and scientifically trustworthy.[2]
Despite the rapid influx of neural networks and robotic scanners, the core of art conservation remains profoundly human. Technology is not replacing the conservator's craft; it is expanding it. Scientists develop the imaging tools, engineers design the scanning rigs, and AI processes the data, but it is ultimately the art historian and the conservator who must interpret the results.[4]
When the time comes to actually remove a degraded varnish or stabilize a flaking pigment, the work is still done by human hands, guided by centuries of accumulated craft. What has changed is the depth of knowledge guiding those hands. Thanks to the synthesis of X-ray physics and artificial intelligence, the canvas is no longer viewed as a flat, static surface. It is now understood as a deep, three-dimensional archive of creative evolution, waiting to be read.[5]
Why it matters
By eliminating the need for invasive physical sampling, this technology ensures that priceless cultural heritage is preserved intact for future generations. It also democratizes art history, allowing the public to see the hidden creative processes of master painters for the first time.
Sources
[1]RijksmuseumArt Conservators & HistoriansOperation Night Watch: Conserving Rembrandt's masterpiece
Read on Rijksmuseum →
[2]Brookhaven National LaboratoryComputational ResearchersNovel AI Method Sharpens 3D X-ray Vision
Read on Brookhaven National Laboratory →
[3]IEEE Transactions on Computational ImagingComputational ResearchersA Fast Automatic Method for Deconvoluting Macro X-Ray Fluorescence Data Collected From Easel Paintings
Read on IEEE Transactions on Computational Imaging →
[4]MediumArt Conservators & HistoriansDIGITAL TOOLS, HUMAN HANDS: THE EVOLVING LANDSCAPE OF ART CONSERVATION
Read on Medium →
[5]Factlen Editorial TeamHeritage ScientistsSynthesis by Factlen editorial team
Read on Factlen Editorial Team →
Comments
Every angle. Every day.
Get culture stories with full source coverage and perspective breakdowns delivered to your inbox.