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

A Soviet shuttle from the Space Race is about to fall uncontrollably from the sky

A ghost from time past is about to return to Earth. But it won't be smooth.

The world’s largest wildlife crossing is under construction in LA, and it’s no less than a miracle

But we need more of these massive wildlife crossings.

The Fat Around Your Thighs Might Be Affecting Your Mental Health

New research finds that where fat is stored—not just how much you have—might shape your mood.

New Quantum Navigation System Promises a Backup to GPS — and It’s 50 Times More Accurate

An Australian startup’s device uses Earth's magnetic field to navigate with quantum precision.

Japan Plans to Beam Solar Power from Space to Earth

The Sun never sets in space — and Japan has found a way to harness this unlimited energy.

Could This Saliva Test Catch Deadly Prostate Cancer Early?

Researchers say new genetic test detects aggressive cancers that PSA and MRIs often miss

This Tree Survives Lightning Strikes—and Uses Them to Kill Its Rivals

This rainforest giant thrives when its rivals burn

Engineers Made a Hologram You Can Actually Touch and It Feels Unreal

Users can grasp and manipulate 3D graphics in mid-air.

Musk's DOGE Fires Federal Office That Regulates Tesla's Self-Driving Cars

Mass firings hit regulators overseeing self-driving cars. How convenient.

A Rare 'Micromoon' Is Rising This Weekend and Most People Won’t Notice

Watch out for this weekend's full moon that's a little dimmer, a little smaller — and steeped in seasonal lore.