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

Evolution just keeps creating the same deep-ocean mutation

Creatures at the bottom of the ocean evolve the same mutation — and carry the scars of human pollution

Scientists Found a 380-Million-Year-Old Trick in Velvet Worm Slime That Could Lead To Recyclable Bioplastic

Velvet worm slime could offer a solution to our plastic waste problem.

Beetles Conquered Earth by Evolving a Tiny Chemical Factory

There are around 66,000 species of rove beetles and one researcher proposes it's because of one special gland.

These researchers counted the trees in China using lasers

The answer is 142 billion. Plus or minus a few, of course.

New Diagnostic Breakthrough Identifies Bacteria With Almost 100% Precision in Hours, Not Days

A new method identifies deadly pathogens with nearly perfect accuracy in just three hours.

This Tamagotchi Vape Dies If You Don’t Keep Puffing

Yes. You read that correctly. The Stupid Hackathon is an event like no other.

Wild Chimps Build Flexible Tools with Impressive Engineering Skills

Chimpanzees select and engineer tools with surprising mechanical precision to extract termites.

Archaeologists in Egypt discovered a 3,600-Year-Old pharaoh. But we have no idea who he is

An ancient royal tomb deep beneath the Egyptian desert reveals more questions than answers.

Researchers create a new type of "time crystal" inside a diamond

“It’s an entirely new phase of matter.”

Strong Arguments Matter More Than Grammar in English Essays as a Second Language

Grammar takes a backseat to argumentation, a new study from Japan suggests.