homehome Home chatchat Notifications


How math can tell you if a picture is doctored

This is a picture of a cat, obviously, but do you notice something strange about it? Sure looks like a cat, but let's have a closer look - zoom in!

Tibi Puiu
February 16, 2015 @ 5:26 pm

share Share

cat1

This is a picture of a cat, obviously, but do you notice something strange about it? Sure looks like a cat, but let’s have a closer look – zoom in!

cat eye

I mean, really zooooom in.

doctored image

Once you zoom enough any picture, you’ll end up with a regular rectangular mesh of cells called pixels, each pixel containing a colour value. The image below shows how each pixel looks like when encoded by colour.

code bitmap

Now we’re talking business! Ann Dooms’ business that is. Dooms is a mathematician, but also a forensic specialist. She uses her mathematical skills to spot doctored photographs and videos by analyzing the mathematical patterns each of these digital mediums share or, on the contrary, lack. Algorithms can be used to find “patterns, irregularities, additions, and changes,” she says. Let’s take these two side-by-side photos below, can you spot the difference? (hint: don’t try too hard).

trees

 

Again, in colour code.

matrices

As you can see, some numbers are off which means the two photos are distinct.

matrix images

Using this sort of simple method, one can easily determine whether a photo or video was doctored, greatly aiding in criminal investigations such as cases of fraud. Fake paintings are also spotted this way. And that’s not all – feel welcome to Dooms’ TED Talk below to find out much more about her inspiring work.

share Share

How Hot is the Moon? A New NASA Mission is About to Find Out

Understanding how heat moves through the lunar regolith can help scientists understand how the Moon's interior formed.

America’s Favorite Christmas Cookies in 2024: A State-by-State Map

Christmas cookie preferences are anything but predictable.

The 2,500-Year-Old Gut Remedy That Science Just Rediscovered

A forgotten ancient clay called Lemnian Earth, combined with a fungus, shows powerful antibacterial effects and promotes gut health in mice.

Should we treat Mars as a space archaeology museum? This researcher believes so

Mars isn’t just a cold, barren rock. Anthropologists argue that the tracks of rovers and broken probes are archaeological treasures.

Hidden for Centuries, the World’s Largest Coral Colony Was Mistaken for a Shipwreck

This massive coral oasis offers a rare glimmer of hope.

This Supermassive Black Hole Shot Out a Jet of Energy Unlike Anything We've Seen Before

A gamma-ray flare from a black hole 6.5 billion times the Sun’s mass leaves scientists stunned.

Scientists Say Antimatter Rockets Could Get Us to the Stars Within a Lifetime — Here’s the Catch

The most explosive fuel in the universe could power humanity’s first starship.

Superflares on Sun-Like Stars Are Much More Common Than We Thought

Sun-like stars release massive quantities of radiation into space more often than previously believed.

This Wild Quasiparticle Switches Between Having Mass and Being Massless. It All Depends on the Direction It Travels

Scientists have stumbled upon the semi-Dirac fermion, first predicted 16 years ago.

New Study Suggests GPT Can Outsmart Most Exams, But It Has a Weakness

Professors should probably start changing how they evaluate students.