Forensic Analysis of Digital Photographs

0
1989
ImageJ=1.49g

Today we live in a society marked by the use of digital images as a means to document our daily life or professional environments; however, there are many situations where the handling or understanding of digital images or photography seems to overwhelm us.

One of these points is the implications of digital images as evidence in litigation, aspects related to security, or the simple possibility of proving that the content of a photograph corresponds to reality, or that it is simply a manipulation of reality to serve certain interests, as may be the case with photographs intended for photojournalism, or mere participation in increasingly questioned photography contests due to the number of heavily manipulated images presented.

At this point, one aspect of digital photography that begins to raise some concern is the forensic analysis of digital images, or the technical study of an image aimed at giving it validity within a legal process. That is, from image enhancement to facilitate information extraction, to the detection of manipulations within the scene.

In this article, we will examine some strategies available today to extract evidence of image manipulation.

Metadata analysis

One of the first aspects usually resorted to due to the simplicity of the method is the study of an image’s metadata, which informs us about technical and administrative aspects of a digital photograph, that is: camera type, manufacturer, shooting conditions, editing software, dates, geolocation data (GPS), etc.

However, one problem with metadata is that it is often lost either accidentally or intentionally, so it is not always available.

On the other hand, metadata can be easily manipulated, as there are numerous tools on the market to change the metadata values of an image.

Despite the fragility of this information, metadata is often studied based on its internal consistency, since images frequently contain a multitude of metadata, and coherent manipulation of all of it is not always possible, as not all market tools access 100% of the metadata contained in an image.

Detection of manipulations: photomontages, “cloned” areas, and other adjustments.

One of the aspects most often of interest when performing forensic analysis of an image is detecting manipulations within the scene, that is, whether elements have been added or removed that do not correspond to the moment of capture.

For this, today we can perform different analyses that can provide evidence, often not very conclusive, about the origin of certain elements in the scene.

Error Level Analysis:

error level analysis imagen digital forenseELA is applied exclusively to JPEG images as it is based on the nature of their compression process. The JPEG compression algorithm organizes the image into 8×8 pixel blocks which, after various compression cycles, generate what is known as the “error level.” That is, initially a JPG image has the same error level for all its blocks; however, if the image undergoes local edits, certain blocks are rewritten while others are “recompressed.” The same applies if elements from another image with a different compression level are introduced.

An unedited image will show a uniform ELA with a very low intensity level (black), but as adjustments or photomontages are introduced, inconsistencies appear among the image elements, so the ELA takes on greater intensity (white).

That is, through ELA we can denote elements introduced from other scenes, as they present an error level different from the image average. We can also detect contrast adjustments, color changes, sharpening masks, etc., since these processes generate new information on the image that ends up differing from the original in its error level.

However, depending on the type of scene, numerous “false positives” may appear—elements with a higher error level than the scene average, but this does not necessarily imply manipulation.

Detection of “cloned,” copied, or moved parts

A very common technique in digital photo manipulation is removing elements that must be replaced by a background. For this technique, it is usually necessary to copy elements from one part of the scene to another, commonly known as “cloning” motifs.

A phenomenon of “cloning” or copying elements within the scene causes certain patterns to repeat within the scene.

analisis imagenes digitales manipuladas“Copy-move” algorithms are based on the low probability that a pattern formed by an n x n pixel matrix repeats elsewhere in the scene. That is, in a natural scene, except in highly monotonous situations (sky, snow, etc.), the probability of pattern repetition is minimal. Therefore, what is done is to check if certain pixel matrices repeat in other parts of the scene.

This is a powerful tool to discern if parts were cloned within a scene, but it usually finds limitations due to false positives in monotonous areas of the scene.

In low-contrast or highly monotonous image areas, other techniques based on intelligent contrast control and statistical operations in the image, such as principal components, can be employed.

analisis forense de fotografia digitalCloning zones within an image is very common to remove dust particles deposited on lenses or sensors. These dust particles are not only an aesthetic problem but often indicate the use of a particular device to capture certain images. Dirt deposited on capture sensors is often good evidence to link photographs with equipment; even when the image is corrected, evidence of this type of manipulation usually remains on gradient or compression patterns of an image.

Image enhancement

mejora imagen forense matriculas rostrosAnother aspect of digital image forensic analysis is operations dedicated to image enhancement to extract useful information. A shaky image (colloquially understood as a “blurred” image) or out of focus (unfocused image) may contain information that cannot be processed by our perception, requiring analysis to recover illegible information.

This may be the case for identifying license plates, faces, or other relevant elements in a scene that are initially unreadable. Today, significant advances have been made in “deconvolution” algorithms aimed at improving detail in images, as seen in an example with license plates in the left image. Another case is the application of “super-resolution” algorithms capable of recovering lost information in a scene from several sequential images of that scene, or even the “stabilization” of images taken from video to reconstruct a single high-resolution image, etc.

The tasks and processes applicable to image enhancement are unlimited, and their limits lie in the skill of an observer to extract more or less information from a degraded image.

Conclusions

As we have seen, forensic image analysis does not rely on a single concept or tool but uses a multitude of image analysis strategies to extract indications of possible manipulations. Unfortunately, these techniques are not free from producing false positives, depending on the type of scene being analyzed or its quality.

If you want to learn more about different forensic inspection techniques or documentoscopy in currency, you can visit the following article “Reflectance, Absorbance, and Transmittance in Banknote Security“