Key Takeaways & Executive Findings
- •• Proposes a novel fragment connection weighting algorithm based on DCT semantic features for JPEG image carving. • Introduces a weight adjustment factor leveraging JPEG compression characteristics to reduce false matches. • Achieves 94.4% average carving precision on disk experiments, outperforming existing methods. • Demonstrates feasibility on memory media and identifies failure scenarios caused by software interference.
Abstract
The recovery of evidence from fragmented image files is a prominent research focus in the field of file carving. To address image fragment reassembly, this paper analyzes the Joint Photographic Experts Group (JPEG) image structure and proposes a fragment connection weighting algorithm based on discrete cosine transform (DCT) semantic features, along with a weight adjustment factor that leverages image compression characteristics. By integrating these components, the algorithm effectively determines the fragment sequence in JPEG files, and a practical carving algorithm is designed. Experiments conducted on disk and memory demonstrate that the adjustment factor-based algorithm outperforms the DCT-only method in identifying true best matches (reducing false positives). Disk experiments achieve an average carving precision of 94.4%, surpassing existing methods, while memory experiments validate the feasibility of the approach, along with a theoretical analysis of failure scenarios caused by interference from software such as Windows Photo Viewer.
1. Introduction
File carving is an important technique for evidence extraction in digital crime forensic investigations (Ramli et al., 2021b; Guzhov and Wirth, 2025; Lu et al., 2025). However, due to the inherent block-based storage characteristics of hard disk media, file operations such as addition, deletion, and modification can easily lead to file fragmentation, posing significant challenges for evidence recovery. With the development of anti-forensic techniques, digital criminals often conceal evidence by deleting files or even storing them in fragmented forms before law enforcement personnel can obtain image file evidence, thereby exacerbating the degree of file fragmentation on hard disk storage media. Additionally, memory forensics technology is receiving increasing attention because physical memory contains a large amount of digital crime evidence, and research indicates that data fragmentation in memory is even more severe than on disk (van Baar et al., 2008). In digital forensic investigations, it is necessary to find different types of crime-related evidence, such as emails, documents, system logs, and multimedia image files, from both disk media and memory media. Among these, the extraction of evidence from fragmented image files is currently a hot research topic in the field of fragmented file carving (Ali et al., 2018; Mullan et al., 2019; Ferreira et al., 2020; Shi et al., 2023).
Currently, several fragment carving methods have been proposed to extract fragmented image files from disk storage media (Ramli et al., 2021a). The key to image fragment carving methods is the fragment connection weighting algorithm, and most of the current fragment connection weighting algorithms, such as sum of differences (SoD) and Euclidean distance (ED), focus on using the color difference between boundary pixels to determine the best candidate fragment (Tang et al., 2016; Wu et al., 2019). These methods have limitations: the minimum color difference between fragments only indicates the weakest semantic relationship between two rows of pixel data at the fragment edges, but it cannot necessarily determine that these two fragments have a genuine connection (Tang et al., 2016). Furthermore, existing image fragment carving methods rarely target physical memory media. Extracting and carving image data from physical memory are extremely important for reconstructing digital crime scenes. Research shows that the file fragments within memory images are highly fragmented, making it impossible to reconstruct fragmented files using image file carving methods designed for disk media (van Baar et al., 2008). Wu et al. (2019) proposed an image fragment carving algorithm using memory structure chains; this method primarily uses file metadata left by the operating system on memory media for file reconstruction and does not study the connection between image fragments in memory.
Currently, many researchers use discrete cosine transform (DCT) to address challenges in the image domain, such as image fusion, texture recognition, and object recognition (Bharati et al., 2004). However, its application remains limited in the specific area of image fragment carving, particularly within the context of fragment connection weighting algorithms. The Joint Photographic Experts Group (JPEG) image encoding process uses DCT to convert image data—for instance, the intensity values of 64 pixels within an 8×8 block—into corresponding DCT coefficients, which are subsequently stored on the storage medium. While the DCT value...
Loading authentic research manuscript (Pages 1–5)...
Binglong LI, Shilong YU, Yong ZHAO, Yifeng SUN, Chaowen CHANG, Qingxian WANG (2025). Image fragment carving based on DCT semantics and an adjustment factor. Frontiers of Information Technology & Electronic Engineering. https://doi.org/10.1631/ENG_ITEE_2025_0140
Research & Educational Purpose Only:The translations, structured abstracts, analytical annotations, and data reports provided by SinoTechIntel are intended exclusively for academic research, internal corporate R&D, and educational benchmarking. They do not constitute formal engineering, chemical safety, legal, or professional advice.
Copyright & Intellectual Property Notice: Original copyright of the underlying source articles and experimental data remains with the respective authors, institutions, and original publishing journals. SinoTechIntel claims intellectual property only over its proprietary translations, analytical syntheses, and AEO structured enhancements in accordance with international fair use and academic citation principles.
Frequently Asked Questions
What is file carving?
File carving is a technique used to recover evidence from fragmented image files without relying on file system metadata.
How does the proposed algorithm work?
It uses DCT semantic features to weight fragment connections and an adjustment factor based on JPEG compression characteristics to improve accuracy.
What are the experimental results?
The algorithm achieved an average carving precision of 94.4% on disk experiments, outperforming existing methods.
What is the significance of the memory experiments?
They validate feasibility on memory media, which is more fragmented than disk, and analyze failure scenarios caused by software interference.
What is the main contribution of this paper?
It introduces a novel DCT-based fragment connection weighting algorithm with an adjustment factor for reliable JPEG fragment reassembly.
Related Technical Papers & Translations
Design and optimization of a high-efficiency distillation process for cellulosic fuel ethanol integrated with thermal coupling and molecular sieve adsorption
To address the challenges of high energy consumption and prominent costs in the traditional three-columns distillation process for cellulosic fuel ethanol, a distillation—molecular sieve coupling separation process is proposed. This process integrates a three-column (crude distillation column, first distillation column, second distillation column) system with a 3A molecular sieve adsorption deep dehydration unit. A thermal coupling network is constructed via differential pressure design (steam from medium/high-pressure columns as mutual heat sources, reboiler liquid waste heat for feed preheating), and molecular sieve adsorption conditions are optimized. The study first performs a thermodynamic consistency test on the ethanol—water system, determines optimal non-random two-liquid (NRTL) model binary interaction parameters via experimental data regression for Aspen Plus simulation. Aiming at minimum total annual cost (TAC), Aspen Plus is used to optimize process parameters (theoretical tray number, feed location, reflux ratio, side-draw position, etc.). Economic analysis shows this process reduces CO2 emission costs by 27.56%, TAC by 15.58% (to 5.123 × 106 USD·a-1), and increases ethanol purity to >99.6%, providing an effective solution for green, efficient separation.
A cohesion loss model for determining residual strength of deep bedded sandstone
Rock residual strength, as an important input parameter, plays an indispensable role in proposing the reasonable and scientific scheme about stope design, underground tunnel excavation and stability evaluation of deep chambers. Therefore, previous residual strength models of rocks established were reviewed. And corresponding related problems were stated. Subsequently, starting from the effects of bedding and whole life-cycle evolution process, series of triaxial mechanical tests of deep bedded s
Federated model with contrastive learning and adaptive control variates for human activity recognition
Recent attention to privacy issues demands a communication-safe method for training human activity recognition (HAR) models on client activity data. Federated learning (FL) has become a compelling technique to facilitate model training between the server and clients while preserving data privacy. However, classical FL methods often assume independent and identically distributed (IID) data among clients. This assumption does not hold true in practical scenarios. Human activity in real-world scena