Next Article in Journal
Scan Path Optimization and YOLO-Based Detection for Defect Inspection of Curved and Glossy Surfaces
Previous Article in Journal
Smartphone-Assisted Paper-Based Analytical Device for Rapid Colorimetric Detection of Total Reducing Sugars in Honey
Previous Article in Special Issue
DeepSense: An Adaptive Scalable Ensemble Framework for Industrial IoT Anomaly Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

High-Payload and Secure Data Hiding for Medical Images in IoMT-Based eHealth Systems

1
School of Management Science and Engineering, Shandong Technology and Business University, Yantai 264005, China
2
Department of Information Engineering and Computer Science, Feng Chia University, Taichung 40724, Taiwan
3
National Institute of Informatics, Tokyo 101-8430, Japan
4
Department of Computer Science and Information Engineering, College of Science and Engineering, National Dong Hwa University, Hualien 97401, Taiwan
5
Institute of Network Learning Technology, National Central University, Taoyuan 32001, Taiwan
*
Authors to whom correspondence should be addressed.
Sensors 2026, 26(10), 3032; https://doi.org/10.3390/s26103032
Submission received: 26 March 2026 / Revised: 5 May 2026 / Accepted: 7 May 2026 / Published: 11 May 2026

Abstract

With the rapid advancement of the Internet of Medical Things (IoMT), the efficient transmission and management of large-scale medical images in bandwidth- and resource-constrained networks remain critical challenges. This paper proposes a high-payload data hiding method in Absolute Moment Block Truncation Coding (AMBTC)-compressed medical images based on block classification. Image blocks are categorized into flat, smooth, and complex types according to the difference between high and low values, and adaptive embedding and extraction strategies are applied to each type. The proposed method integrates secret data into the compression framework, thereby enhancing efficiency while maintaining visual quality. Experimental results demonstrate an average efficiency of 59% and an average PSNR of approximately 30 dB. Furthermore, visual and structural evaluations indicate that the proposed method effectively preserves textures and boundaries. These results confirm the feasibility of integrating high-payload data hiding into AMBTC compression for efficient medical image storage and transmission in IoMT environments.

1. Introduction

With the rapid development of the Internet of Things (IoT) and 5G communication technologies, smart healthcare systems such as telemedicine and eHealth have been widely adopted, fundamentally transforming traditional medical practices [1,2]. In modern remote healthcare scenarios, medical IoT devices, collectively referred to as the Internet of Medical Things (IoMT) [3,4], generate and transmit large volumes of medical images daily, including X-rays, ultrasound scans, magnetic resonance imaging (MRI), and computed tomography (CT) images. These devices often operate under constrained computational and memory resources while processing multimodal image data. Efficient compression of medical images prior to transmission is therefore essential to reduce network latency, alleviate bandwidth constraints, and minimize cloud storage requirements [5]. Among existing compression techniques, Absolute Moment Block Truncation Coding (AMBTC) [6] is particularly suitable for resource-constrained IoMT devices due to its low computational complexity, minimal memory requirements, and satisfactory image reconstruction quality.
The remote transmission of medical images raises significant security and privacy concerns, as these images are associated with highly sensitive electronic patient records or personal health information. As shown in Figure 1, in an IoT-based eHealth system, IoMT devices first collect medical images or physiological data from patients and transmit them to a cloud server for storage and processing. Authorized medical professionals and patients can subsequently retrieve these records, with professionals using them for remote diagnosis and patients accessing their own health data. To facilitate secure transmission, various methodologies, such as data encryption and private channels, have been employed to ensure confidentiality. Among these, data hiding techniques [7,8,9,10,11,12] have been widely investigated as an approach for preserving the intrinsic association between images and patient information. By embedding patient data into medical images in an imperceptible manner, data hiding enables covert transmission and mitigates the risks of data loss, separation, and tampering.
Data hiding has been widely explored in the compression domain [13,14], including AMBTC [15,16], vector quantization (VQ) [17], and JPEG [18,19,20]. AMBTC-based data hiding is particularly suitable for IoMT scenarios because it enables devices to embed information during image compression. Researchers have focused on maximizing the payload while minimizing perceptual distortion by modifying the AMBTC-compressed code, including the quantized high and low values and the bitmap. Early work by Ou and Sun [21] in 2015 proposed a minimal-distortion, high-payload AMBTC-based image data hiding method. In 2019, Kumar et al. [22] enhanced AMBTC-based hiding by integrating Hamming distance and pixel value differencing mechanisms to achieve a better trade-off between payload and image quality. In the same year, Chang et al. [23] employed a block classification strategy with replacement, matrix coding, and block-specific symmetric quantization. In 2023, Chen et al. [24] adopted the block classification approach and introduced a gradient-based compression method compatible with AMBTC. In 2024, Lin et al. [25] introduced reference matrices to improve efficiency and proposed a variant that does not increase file size. Between 2024 and 2025, Lin et al. [26,27,28] extended the block classification method to four types, further balancing visual quality and payload.
Inspired by previous studies, this paper proposes a high-payload data hiding method for medical images compressed using AMBTC. Image blocks are first classified into three types called flat blocks, smooth blocks, and complex blocks based on the difference between high and low pixel values and predefined thresholds. Customized embedding strategies are applied to each block type. Flat blocks use only the block mean for reconstruction, freeing space for secret data. Smooth blocks retain essential pixel information while compressing the bitmap, allowing additional data to be embedded. Complex blocks preserve all intrinsic information and embed data using a puzzle matrix [29] and the storage order of pixel values, ensuring minimal visual distortion. The main contributions of this paper are summarized as follows:
  • A novel data hiding method for AMBTC-compressed images in IoMT is proposed, where block classification ranges are adjusted according to thresholds.
  • Residual analysis and edge intersection maps demonstrate that the structural integrity of the medical images are well preserved.
  • Different embedding strategies are designed for different block types, enabling higher payload with an average efficiency of 59%.
  • The proposed block classification strategy effectively balances payload and visual quality, achieving an average PSNR of approximately 30 dB.
The remainder of the paper is organized as follows. Section 2 reviews preliminaries. Section 3 presents the proposed method. Section 4 details the experimental results and performance evaluation. Section 5 concludes the paper.

2. Preliminaries

This section primarily introduces the two fundamental prerequisite technologies upon which the proposed algorithm relies: the AMBTC compression algorithm as the carrier and the puzzle matrix as the reference matrix.

2.1. Absolute Moment Block Truncation Coding (AMBTC)

AMBTC is a classical lossy image compression technique proposed by Lema and Mitchell [6]. The core compression procedure of AMBTC begins by dividing the original image into non-overlapping blocks of size k × k . For each block, the mean pixel value μ is calculated as shown in Equation (1), where p i denotes the grayscale value of the i -th pixel in the current block. After obtaining the mean, each pixel value p i in the block is compared with μ to construct a bitmap B M . If p i μ , the corresponding B M element is assigned 1; otherwise, it is assigned 0. The B M construction rule is defined in Equation (2). Based on the B M , the pixels are classified into a high-value group (marked as 1) and a low-value group (marked as 0). The average grayscale values of these two groups are then computed and denoted as the high quantization value H and the low quantization value L , respectively, as defined in Equations (3) and (4), where q represents the number of pixels with B M value 1 in the block. After these steps, the original k × k pixel block is compressed into a triplet ( L , H , B M ) , which forms the compression representation. During decompression, pixel values are restored according to the B M . Positions marked as 1 are assigned the H , while positions marked as 0 are assigned the L . The reconstructed pixel value p i is defined in Equation (5).
μ = i = 1 k × k p i k × k .
B M i = 1 ,   p i μ 0 ,   p i < μ .
H = p i μ p i q .
L = p i < μ p i k × k q .
p i = H ,   B M i = 1 L ,   B M i = 0 .
As illustrated in Figure 2, the process of AMBTC is demonstrated using an 4 × 4 image block. The left side shows the original block with a mean μ = 68 . The center illustrates the B M obtained by comparing each pixel with the mean. Based on the partition, the high and low quantization values are computed as H = 108 and L = 28 , respectively. The compressed representation consists of H , L , and the corresponding B M . The right side shows the reconstruction stage, where pixel values are replaced with H or L according to the B M , producing an approximated image block.

2.2. Puzzle Matrix

In 2025, Lin et al. [29] proposed a dual-image reversible data hiding method using a reference matrix called the puzzle matrix. The matrix is 256 × 256 , corresponding to the pixel value range 0 to 255 of an 8-bit grayscale image. The row index x and column index y represent the grayscale values of two pixels ( x , y ) .
A 4 × 4 puzzle block is illustrated in Figure 3. This block is partitioned into four puzzle pieces (red, yellow, blue, and green), which are assigned the values 0, 1, 2, and 3 in a counterclockwise order. As shown in Figure 4, the designed 4 × 4 puzzle block is then replicated and tiled horizontally and vertically until a complete 256 × 256 matrix is formed.
In this paper, the puzzle matrix is used solely as a reference matrix, and the embedding strategy is independently designed. To preserve visual quality, the method employs a closest-distance principle, limiting pixel modifications to the minimum Euclidean distance.
During embedding, H and L are used as the vertical and horizontal coordinates in the matrix. The 4-bit secret data is divided into two 2-bit groups. The first group determines the puzzle piece, and the second specifies the value within it. The target element is then located, and the original coordinate pair is updated to ( H , L ) . As illustrated in Figure 5, assume the AMBTC-quantized levels of an input block are H = 178 and L = 49 , and the secret data is S = 0110 . The 4-bit secret data S is divided into two 2-bit groups, which yield decimal values 1 and 2. The algorithm identifies the puzzle piece labeled 1 (yellow) and locates the element with value 2 within it. The resulting coordinates ( 177,49 ) are assigned to ( H , L ) , successfully embedding the 4-bit secret data.

3. Proposed Method

In this section, we propose an adaptive high-payload data hiding method in AMBTC-compressed medical images. The overall process is illustrated in Figure 6, detailing the embedding and extraction of secret data. Based on the difference D between H and L within a block, image blocks are classified into three categories: flat, smooth, and complex. Customized embedding strategies are applied to each category to maximize space and maintain image quality. Flat and smooth blocks use the mean replacement and dimensionality reduction with a voting principle, respectively, to eliminate B M redundancy, while complex blocks employ a weighted puzzle matrix mechanism to minimize visual distortion. During extraction, identifying each block’s type and applying the corresponding reverse operations enables recovery of both the secret data and the compressed image. Section 3.1, Section 3.2 and Section 3.3 provide detailed descriptions of block classification, data embedding, and data extraction.

3.1. Block Classification

This paper uses the AMBTC algorithm for image block classification. Based on the difference D between H and L , image blocks are divided into three categories: flat, smooth, and complex blocks. To properly classify image blocks, we define thresholds t 1 = 16 and t 2 = 32 . The classification can be formally expressed as Equation (6).
B l o c k   t y p e = flat ,   D [ 0 , t 1 ) smooth ,   D [ t 1 , t 2 ) complex ,   D [ t 2 , 255 ] .

3.2. Data Embedding

In the data embedding stage, flat blocks store only the block mean, smooth blocks compress the B M using a voting principle, and complex blocks preserve the full B M while applying a puzzle matrix for coordinate mapping and sequence adjustments. Each strategy is designed to balance data payload with visual quality.
The storage structure for each block type is shown in Figure 7. Each type is guided by an indicator, which is used to correctly parse the subsequent data segments. The flat block corresponds to the first row, with an indicator 0. This is followed by an 8-bit block mean μ , and the remaining 24 bits carry secret data. The smooth block corresponds to the second row, with an indicator 10. Its data segments include 8-bit H , log 2 ( t 2 t 1 ) bits D , which under the threshold settings in this example, is equal to log 2 ( 32 16 ) = 4 bits and a 4-bit B M , reserving 16 bits for secret data. The complex block corresponds to the third row, with an indicator 11. Its main body contains 8-bit H , 8-bit L , and the full 16-bit B M . Notably, the dashed double-headed arrow between H and L indicates that their storage order is variable. By swapping H and L , an additional bit of secret data can be embedded. The remaining 4-bit secret data are embedded using the puzzle matrix. Because block types are often spatially continuous, run-length encoding is an effective approach for compressing the indicators, and extended run-length encoding (ERLE) [30] is applied in this paper.

3.2.1. Flat Block Embedding

Blocks classified as flat blocks are assigned an indicator 0. Rather than being embedded within the image, these indicators are additionally stored in the compressed code. Because D is very small, a flat block is represented solely by its block mean, which occupies 8 bits. Therefore, the payload for embedding secret data in a flat block is 32 8 = 24 bits.
Figure 8 illustrates an example of flat block embedding. First, statistical calculations are performed on a 4 × 4 image block, yielding μ = 101 , H = 102 , and L = 100 . The difference D = H L = 2 is then computed. Since D [ 0 , t 1 ) , the block is classified as flat. In the compression representation, the indicator bit is set to 0, followed by the 8-bit block mean μ . The remaining 24 bits are used to store the secret data.

3.2.2. Smooth Block Embedding

Blocks classified as smooth blocks are assigned an indicator 10. Compared to flat blocks, smooth blocks exhibit more variation and therefore require storing more intrinsic image information. The first component to be preserved is the value of H , which occupies 8 bits. Next, D is stored, requiring log 2 ( t 2 t 1 ) bits. Under the parameter settings of this paper, this equals log 2 ( 32 16 ) = 4 bits. Given the relationship D = H L , the value of L can be derived from H and D , so explicitly storing L is unnecessary, saving embedding space. The 4 × 4   B M is divided into four 2 × 2 sub-blocks, and a voting principle is applied to retain a single bit per sub-block. If a tie occurs (two 0s and two 1s), it is resolved based on the total number of 0s and 1s in the 4 × 4 block. If a tie persists, the bit defaults to 1. If the resulting 4 bits are all 1s or all 0s, the block is reclassified as a flat block to further increase payload. Therefore, the payload for embedding secret data in a smooth block is 32 8 4 4 = 16 bits.
Figure 9 shows a 4 × 4 smooth block with H = 121 , L = 102 , and D = 19 . Since D [ t 1 , t 2 ) , it is classified as smooth. The difference is offset, resulting in D = D t 1 = 3 , which is represented as 0011 in 4 bits. The 4 × 4   B M is divided into four 2 × 2 blocks, and the voting principle produces a final 2 × 2   B M of 0100. In the structure, the block type indicator is 10, followed by 8-bit H , 4-bit D , and the 4-bit B M from voting. The remaining space is used to embed the secret data.

3.2.3. Complex Block Embedding

Blocks classified as complex blocks are assigned an indicator 11. The intrinsic image information that must be preserved includes the values of H , L , and the B M , which occupy 8 bits, 8 bits, and 16 bits, respectively. H and L are treated as the horizontal and vertical coordinates, respectively, and are mapped onto the puzzle matrix to embed 4-bit secret data. When multiple candidate mappings result in equal modification distances, priority is given to modifying the coordinate with the smaller weight. Specifically, a weighted calculation is performed during mapping to select the position that incurs the minimum overall modification. In the B M , a larger number of 1s indicates a higher weight for H , whereas a larger number of 0s indicates a higher weight for L . In addition, the proposed method embeds one extra bit by swapping the storage positions of H and L . In the compressed code, the sequence ( H ,   L ,   B M ) represents 0, whereas ( L ,   H ,   B M ) represents 1. The feasibility of this swapping mechanism is justified as follows. Since the puzzle matrix is composed of periodically tiling 4 × 4 puzzle blocks containing all 16 possible combinations, a target value matching the secret data can always be found within any 4 × 4 puzzle block. This means that the maximum adjustment distance of a single-axis coordinate will never exceed | 3 0 | = 3 . However, for a block classified as complex, given the parameter setting t 2 = 32 , the difference D 32 . Therefore, even after the maximum adjustment, the condition H > L always holds. Consequently, the additional bit can be reliably extracted by determining whether the larger value appears first or second in the compressed code.
As shown in Figure 10, a 4 × 4 input block yields H = 178 and L = 49 using the AMBTC method. Since D = 129 and D [ t 2 , 255 ] , the block is classified as complex. During embedding, ( H , L ) is mapped onto the puzzle matrix. The secret data 11 (in red) is converted to 3, locating the corresponding sub-block labeled 3. The secret data 01 (in yellow) is converted to 1, selecting position 1 within that sub-block. Four candidate positions exist; based on the distance calculation to ensure minimal modification, the coordinate ( 179,48 ) is selected and denoted as ( H , L ) . The final secret bit 1 (in blue) is embedded by swapping the positions of H and L in the compressed code. Thus, a total of 5-bit secret data is embedded. The final compressed code consists of the indicator 11, followed by the modified 8-bit L , 8-bit H , and the 16-bit B M .

3.3. Data Extraction

This subsection details the process of secret extraction, which essentially reverses the data embedding procedure. The extraction first decompresses the indicators using the ERLE [30] algorithm to identify each block type. Based on the determined type, the corresponding reverse operations are applied to recover the secret data and reconstruct the image blocks.

3.3.1. Flat Block Extraction

During the extraction stage, the indicator of the current image block is first retrieved from the additionally stored information. If the retrieved indicator is 0, the block is identified as a flat block. Since the indicator in the proposed method is not embedded within the image data stream, the receiver directly reads a 32-bit data block sequentially from the compressed stream. According to the AMBTC configuration for flat blocks, the first 8 bits represent the block mean of the intrinsic image information. Consequently, after isolating these initial 8 bits, the remaining 32 8 = 24 bits constitute the extracted secret data. During image restoration, the receiver directly utilizes the extracted 8-bit block mean to overwrite all pixels within the 4 × 4 block, thereby completing the reconstruction of this flat block.
As shown in Figure 11, the indicator 0 is first read, confirming that the block is flat. This is followed by 8 bits of block mean, 01100101, which are converted to the decimal value μ = 101 . Based on the flat block structure, the subsequent 24 bits are directly extracted as embedded secret data. After secret extraction, the recovered mean μ = 101 is assigned to all pixels within the 4 × 4 block, completing reconstruction.

3.3.2. Smooth Block Extraction

If the retrieved indicator is 10, the block is identified as a smooth block. The AMBTC framework is then applied for the extraction process. The first component retrieved is H , occupying 8 bits. Subsequently, D is read. The number of bits required for D is log 2 ( t 2 t 1 ) . Under the parameter settings adopted in this paper, D occupies 4 bits. Given the relationship D = H L , and the embedding rule D = D + t 1 , the difference D can be recovered. The value of L is then derived using L = H D . Next, the 4-bit compressed B M is retrieved. During embedding, the 4 × 4   B M was partitioned into four independent 2 × 2 sub-blocks and compressed using a voting principle. During extraction, each retrieved bit is replicated four times to reconstruct its corresponding 2 × 2 sub-block, thereby restoring the complete 4 × 4   B M . After deducting the intrinsic image information bits, the extracted secret for a smooth block is 32 8 4 4 = 16 bits. Using the recovered H and L together with the reconstructed 4 × 4   B M , the image block is restored.
As illustrated in Figure 12, the indicator 10 is identified, and the block is classified as smooth. It then reads 8 bits to obtain H = 121 . Next, 4-bit D are read, yielding D = 3 . Since t 1 = 16 under the adopted parameters, the difference is recovered as D = D + 16 = 19 . Thus, L = 121 19 = 102 . The 4-bit compressed B M is subsequently extracted. The remaining 16 bits in the compressed code are identified as embedded secret data. During reconstruction, the 4-bit B M is expanded into a 4 × 4 structure. Pixels corresponding to 0 in the B M are assigned L = 102 , while pixels corresponding to 1 are assigned H = 121 , completing reconstruction of the 4 × 4 block.

3.3.3. Complex Block Extraction

If the retrieved indicator is 11, the block is identified as a complex block. During the extraction stage, the first 8 bits, the subsequent 8 bits, and the final 16 bits representing the B M are sequentially read from the compressed stream. The extraction procedure for the information implicitly embedded within H and L is described as follows. Because the block was classified as complex during the embedding stage, the parameter setting t 2 = 32 guarantees that the difference satisfies D 32 . Moreover, since the maximum deviation introduced by the puzzle matrix mapping is at most 3, the inequality H > L always holds after modification. Therefore, the relative order of the two retrieved 8-bit values can be reliably used to extract one bit of secret data. Specifically, if the first 8-bit value is greater than the second 8-bit value, the sequence is interpreted as H , L , followed by the B M , and the extracted secret bit is 0. Conversely, if the first 8-bit value is smaller than the second, the sequence is interpreted as L , H , followed by the B M , and the extracted secret bit is 1. After restoring the correct coordinate order, H is treated as the horizontal coordinate and L as the vertical coordinate. By mapping the coordinate pair ( H , L ) onto the same puzzle matrix used during embedding, the corresponding matrix value is obtained, thereby extracting the remaining 4-bit secret data. Using the restored H and L together with the retrieved 16-bit B M , the AMBTC reconstruction procedure is applied to recover the image block. Accordingly, the total amount of secret data extracted from a complex block is 1 + 4 = 5 bits.
As illustrated in Figure 13, the indicator 11 is identified, and the block is classified as complex. It then reads the subsequent two 8-bit values. By determining their order in the compressed code, whether the positions of H and L were swapped is established, allowing one secret bit to be extracted and simultaneously restoring the coordinate pair ( H , L ) = ( 179,48 ) . Next, mapping this coordinate onto the puzzle matrix locates the corresponding sub-block labeled 3. The decimal value 3 corresponds to 11, yielding 2-bit secret data. Within this sub-block, the cell value at the specified coordinate is 1, which corresponds to 01, yielding an additional 2-bit secret data. At this stage, all 5 bits of secret data have been successfully extracted. The 16-bit B M is subsequently extracted. During reconstruction, pixels corresponding to 0 in the BM are assigned L = 48 , while pixels corresponding to 1 are assigned H = 179 , completing reconstruction of the 4 × 4 block.

4. Experimental Results

4.1. Experimental Setup

This subsection presents an experimental evaluation of the proposed method. All experiments were conducted on a Windows 11 laptop (MECHREVO Aurora X (Zhitong Intelligent Technology (Suzhou) Co., Ltd., Suzhou, China)) equipped with an Intel(R) Core(TM) i7-14650HX 2.20 GHz processor and 16 GB of RAM, and the algorithms were implemented in MATLAB R2024b. Six standard grayscale images and six medical grayscale images [31], each of size 512 × 512, were used for testing. The standard images are shown in Figure 14, and the medical images are shown in Figure 15.
The performance of the proposed method is evaluated using peak signal-to-noise ratio (PSNR), structural similarity index (SSIM), payload, and efficiency.
PSNR is commonly used to measure the distortion of the compressed image relative to the original image. A higher PSNR value indicates that the compressed image is closer to the original, indicating better visual quality. The PSNR is defined as shown in Equation (7). The calculation of PSNR depends on the Mean Squared Error (MSE) between two images. The MSE is defined in Equation (8). X ( i , j ) and Y i , j represent the pixel values at the i row and j column of the two compared images, respectively. The variables m and n denote the height and width of the image. In addition to PSNR, SSIM is adopted to evaluate the structural similarity between two images. SSIM measures the similarity of luminance, contrast, and structural information between images. The SSIM is defined in Equation (9). x and y denote the two image blocks being compared. The variables μ x and μ y represent the mean intensities of x and y . The terms σ x 2 and σ y 2 denote the variances of x and y , while σ x y represents the covariance between them. The parameters C 1 and C 2 are stabilization constants used to avoid division by zero. The SSIM value ranges from 0 to 1, where a value closer to 1 indicates higher similarity between the two images.
Payload represents the total bits of secret data that can be embedded in the image. Efficiency is defined in Equation (10) as the ratio between the payload and the resulting file size.
P S N R = 10 × log 10 255 2 M S E .
M S E = 1 m × n i = 1 m j = 1 n X i , j Y ( i , j ) 2 .
S S I M x , y = 2 μ x μ y + C 1 2 σ x y + C 2 μ x 2 + μ y 2 + C 1 2 σ x 2 + σ y 2 + C 2 2 .
E f f i c i e n c y = P a y l o a d F i l e   S i z e .

4.2. Block Classification Analysis

In the proposed method, block classification constitutes the core step that governs the overall payload and visual quality. To intuitively demonstrate the effectiveness of the proposed classification strategy, this subsection conducts an exhaustive statistical and visualization analysis of the block types for the test images.
We tabulated the quantities and corresponding percentages of each block type across the 12 test images under four distinct threshold combinations for comparative testing: ( 4 ,   8 ) , ( 8 ,   16 ) , ( 16 ,   32 ) , and ( 32 ,   64 ) . Table 1 illustrates the performance of this classification mechanism under different thresholds for standard images. As ( t 1 , t 2 ) increases, the proportion of flat blocks grows substantially. When the thresholds are relaxed to ( 32 ,   64 ) , the proportion of flat blocks in all test images exceeds 85%, with the Woodland and Zelda images reaching 96.50% and 96.77%, respectively. Meanwhile, the proportion of complex blocks remains very low, dropping below 6% for most images. Table 2 further confirms the superior adaptability of this method to medical images. Even at ( 4 ,   8 ) , the proportion of flat blocks in half of the medical images exceeds 50%, which is higher than that of standard images. At ( 32 ,   64 ) , block classification of medical images reaches an excellent state.
Figure 16 and Figure 17 present the visualization results. Dark blue regions represent blocks classified as flat, blue regions indicate smooth blocks, and light blue regions correspond to complex blocks. Figure 16 illustrates the spatial distribution of block classification for the standard images at a threshold of ( 16 ,   32 ) . In Figure 16a Airplane and Figure 16f Zelda, large smooth regions are classified as flat blocks, allowing higher payload. Figure 17 shows the results for a medical image dataset, where images such as Figure 17a Brainix and Figure 17e Phenix contain a high proportion of flat blocks. These visualization results align with Table 2, confirming that the proposed method is well suited for medical images and supports higher payload.
To intuitively analyze the joint impact of the customizable thresholds t 1 and t 2 , we exhaustively evaluated the PSNR and embedding efficiency across the parameter space. As illustrated in Figure 18, this visualization explicitly demonstrates the inherent trade-off between visual quality and efficiency. Specifically, Figure 18a and Figure 18b present the 2D heatmaps of PSNR and efficiency, respectively, while Figure 18c introduces a 3D surface plot mapping PSNR to height and efficiency to surface color. Regarding the two extreme cases, when the thresholds are set to t 1 ,   t 2 = 0 ,   4 , the system achieves the highest PSNR of 31.01 dB, with a corresponding efficiency of 48.84%. Conversely, setting t 1 ,   t 2 = 180 ,   180 yields the highest efficiency of 74.99%, but the PSNR significantly degrades to 24.67 dB. Since these two extreme values represent the absolute boundaries of the performance spectrum, relying solely on them is insufficient for evaluating practical application scenarios. Therefore, to provide a smooth observation of the performance transition and facilitate a balanced trade-off, we selected ( 4 ,   8 ) , ( 8 ,   16 ) , ( 16 ,   32 ) , and ( 32 ,   64 ) as the representative threshold pairs for the comparative testing.

4.3. Visual and Structural Evaluation

We performed comprehensive visual and structural evaluations to ensure the preservation of critical image features. Figure 19 shows a visual comparison of the original image, the compressed image obtained using the proposed method, and their corresponding residual maps. No significant quality degradation is observed in the compressed image. The residual maps illustrate absolute pixel-level differences and appear almost entirely black across all test images, indicating that the embedding distortion is minimal, uniformly distributed, and imperceptible to the human eye. In medical image analysis, identifying subtle texture variations within the region of interest (ROI) is often essential. Figure 20 shows a magnified view of the ROI marked with a red box. The comparison between the original and reconstructed regions demonstrates that texture, boundaries, and other structural details are well preserved. The corresponding residual maps further confirm that the compression process introduces negligible impact. In addition to pixel-level consistency, maintaining structural and geometric integrity is essential for reliable image quality assessment. Figure 21 evaluates structural preservation using the Canny edge detection method. Edge maps extracted from the original and reconstructed images are compared using intersection maps. The high similarity among these maps indicates strong overlap and continuity of edge structures, suggesting that key boundaries are preserved and the overall morphology remains unchanged.

4.4. Security Evaluation

This subsection presents an anti-attack security evaluation. Since the proposed method operates in the compressed domain, the transmitted data consist of compressed codes. We evaluate the robustness of the proposed method against bit-flipping attacks. Specifically, three attack levels are considered, where 100, 1000, and 10,000 bits in the transmitted data are randomly flipped. Figure 22 presents the results for the image Brainix. It can be observed that, because the operations are confined to independent 4 × 4 blocks, corruption of specific compressed codes produces visually localized block-level distortions rather than pixel-level artifacts. Table 3 compares the visual quality and bit error rate (BER) of secret data extraction under different attack conditions. The BER is defined as the ratio of incorrectly extracted secret bits to the total number of embedded secret bits. The results show that when 100 bits are flipped, the average PSNR and SSIM remain high at 39.43 dB and 0.994, respectively. Even when 1000 bits are flipped, the average SSIM remains stable at 0.944. Significant image quality degradation occurs only when 10,000 bits are flipped. From the perspective of secret data extraction, the BER is only 0.03% when 100 bits are flipped, and even when 10,000 bits are flipped, the average BER remains as low as 3.13%. These results demonstrate that the secret data still retain a considerable degree of integrity even under attack.

4.5. Performance Evaluation

This subsection further evaluates the performance of the proposed algorithm under different threshold settings. Table 4 and Table 5 present PSNR, SSIM, payload, and efficiency for the standard images and the medical images, respectively. Table 4 shows the results for the standard image set. Efficiency increases as the thresholds ( t 1 ,   t 2 ) are relaxed. At the highest thresholds of ( 32,64 ) , efficiency exceeds 67% for all images, with Zelda reaching 73.37%. These results indicate that the algorithm effectively utilizes the compressed code to carry secret data. Although higher embedding rates reduce visual quality, the proposed method maintains a PSNR of approximately 30 dB at ( 32,64 ) . Table 5 presents the performance evaluation results of the algorithm on a medical image dataset. Even at the threshold of ( 32,64 ) , the SSIM values of medical images are generally higher than those of standard images. For example, the SSIM values of Brainix and Phenix remain 0.909 and 0.892, respectively. Furthermore, Brainix achieves a payload of 222,639 bits with an efficiency of 68.19%.
The relationships between PSNR, SSIM, and payload under different threshold settings are shown in Figure 23 and Figure 24. Both PSNR and SSIM decrease as payload increases, while most SSIM values remain above 0.9. This behavior reflects the trade-off between visual quality and payload.
To evaluate the performance of the proposed method, comparisons were conducted with several state-of-the-art AMBTC-based data hiding methods [21,22,23,24,25,26,27,28]. All methods were evaluated on the same test images using PSNR, payload, and efficiency. Table 6 presents the comparison results, with the proposed method set at a threshold of ( 16,32 ) . Methods [21,22,23,24] achieved PSNR values between approximately 26 and 32 dB, with efficiencies not exceeding 43%. Lin et al. [25] focused on high payload and achieved efficiencies above 55%. However, the proposed method outperformed it in PSNR, payload, and efficiency, achieving the highest payload and efficiency across all test images, with an average efficiency of 59%, reaching 63.61% on Brainix. Methods [26,27,28] prioritized visual quality, achieving PSNR around 30 dB and efficiencies above 37%, but with lower payload than the proposed method. Overall, while all methods involve a trade-off between visual quality and payload, the proposed method demonstrates a clear advantage in payload and efficiency while maintaining competitive visual quality.
Table 7 presents a comprehensive comparison with state-of-the-art methods. The components of each method are mainly based on different combinations of block types and embedding strategies. Methods [21,24] use two block types, which provide a simple and clear structure, but their embedding flexibility and payload are limited, representing the main disadvantages of these methods. In contrast, other methods employ three or four block types and can achieve higher payloads by incorporating techniques such as matrix encoding and matrix mapping, which constitute their main advantages in terms of payload. Nevertheless, high-payload methods often require extra file size, which is used to store extra indicators. Method [25] provides two variants: one maintains the original file size without introducing extra overhead, while the other slightly increases the file size to improve payload. Methods [26,27,28] and the proposed method all adopt extra file size to achieve higher payloads. Since AMBTC is a lightweight compression scheme, the computational complexity of all methods is O ( n ) , demonstrating the practicality of AMBTC-based methods in real-world applications. Overall, these methods are designed with different trade-offs among visual quality, payload, and extra file size, and each method exhibits its own advantages depending on specific application scenarios.

5. Conclusions

This paper proposes a data hiding method for AMBTC-compressed images in IoMT environments. Image blocks are classified into flat, smooth, and complex categories based on predefined thresholds, and distinct data embedding strategies are applied to each block type. Experimental results demonstrate that the proposed method achieves competitive payload and embedding efficiency compared with state-of-the-art methods, with an average embedding efficiency of 59%, while maintaining PSNR values of approximately 30 dB. Crucially, visual and structural evaluations demonstrate that the proposed method effectively preserves textures and boundaries in medical images. These results confirm the effectiveness and practical applicability of the method for high-payload data hiding in resource-constrained IoMT environments. Future work will investigate adaptive threshold optimization to further enhance data hiding performance in dynamic IoMT scenarios.

Author Contributions

Conceptualization, Y.W. and Y.L.; Methodology, Y.W. and Y.L.; Software, Y.W.; Validation, Y.W. and Y.L.; Writing—original draft preparation, Y.W. and Y.L.; Writing—review and editing, Y.W., Y.L., C.-C.C. (Ching-Chun Chang), C.-C.C. (Chin-Chen Chang), and W.-Y.H.; Resources, C.-C.C. (Chin-Chen Chang). All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding authors.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Allam, A.H.; Gomaa, I.; Zayed, H.H.; Taha, M. IoT-based eHealth using blockchain technology: A survey. Clust. Comput. 2024, 27, 7083–7110. [Google Scholar] [CrossRef]
  2. Ahmed, S.T.; Kumar, V.V.; Kim, J. AITel: eHealth augmented-intelligence-based telemedicine resource recommendation framework for IoT devices in smart cities. IEEE Internet Things J. 2023, 10, 18461–18468. [Google Scholar] [CrossRef]
  3. Joyia, G.J.; Liaqat, R.M.; Farooq, A.; Rehman, S. Internet of medical things (IoMT): Applications, benefits and future challenges in healthcare domain. J. Commun. 2017, 12, 240–247. [Google Scholar] [CrossRef]
  4. El-Saleh, A.A.; Sheikh, A.M.; Albreem, M.A.; Honnurvali, M.S. The internet of medical things (IoMT): Opportunities and challenges. Wirel. Netw. 2025, 31, 327–344. [Google Scholar] [CrossRef]
  5. Cao, K.; Liu, Y.; Meng, G.; Sun, Q. An overview on edge computing research. IEEE Access 2020, 8, 85714–85728. [Google Scholar] [CrossRef]
  6. Lema, M.; Mitchell, O. Absolute moment block truncation coding and its application to color images. IEEE Trans. Commun. 1984, 32, 1148–1157. [Google Scholar] [CrossRef]
  7. Koptyra, K.; Ogiela, M.R. Steganography in IoT: Information hiding with APDS-9960 proximity and gestures sensor. Sensors 2022, 22, 2612. [Google Scholar] [CrossRef]
  8. Huang, H.C.; Chang, F.C.; Li, H.Y. Content-adaptive reversible data hiding with multi-stage prediction schemes. Sensors 2025, 25, 6228. [Google Scholar] [CrossRef] [PubMed]
  9. An, D.; Pu, X.; Hao, D.; Zhao, R.; Zhang, Y. Reversible data hiding with flexible extraction for thumbnail-preserving encryption. IEEE Trans. Consum. Electron. 2025, 71, 2824–2836. [Google Scholar] [CrossRef]
  10. Zhang, K.; Yao, H.; Yang, X.; Qin, C. Histogram matching-based reversible data hiding for intelligent transportation applications. IEEE Internet Things J. 2025, 12, 24599–24614. [Google Scholar] [CrossRef]
  11. He, M.; Xie, X.; Wang, X.; Zhang, L. Progressive Secret Sharing Through the Integration of Deep Learning and Reversible Data Hiding in Encrypted Images. IEEE Internet Things J. 2025, 13, 4564–4577. [Google Scholar] [CrossRef]
  12. Ren, H.; Yue, Z.; Li, M. Reversible data hiding in encrypted images using adaptive block-level pixel difference encoding. J. Inf. Secur. Appl. 2026, 96, 104316. [Google Scholar] [CrossRef]
  13. Datta, K.; Jana, B.; Singh, P.K.; Chakraborty, M.D. Robust data hiding scheme for highly compressed image exploiting btc with hamming code. Multimed. Tools Appl. 2024, 83, 8591–8628. [Google Scholar] [CrossRef]
  14. Li, F.; Wang, Q.; Cheng, H.; Zhang, X.; Qin, C. JPEG reversible data hiding via block sorting optimization and dynamic iterative histogram modification. IEEE Trans. Multimed. 2025, 27, 3729–3743. [Google Scholar] [CrossRef]
  15. Nguyen, T.D.; Dao, T.T. A novel RDH scheme utilizes multi-pair value shifting for AMBTC-compressed images. Multimed. Tools Appl. 2026, 85, 8. [Google Scholar] [CrossRef]
  16. Kim, C.; Yang, C.N.; Leng, L. High-Capacity Dual-Image Reversible Data Hiding in AMBTC Using Difference Expansion with Block-Wise HMAC Authentication. Appl. Sci. 2026, 16, 2815. [Google Scholar] [CrossRef]
  17. Yeh, C.H.; Kuo, C.W.; Lin, X.Z.; Shen, W.C.; Liao, C.W. Simultaneous Reversible Data Hiding and Quality Enhancement for VQ-Compressed Images via Quality Improvement Codes. Electronics 2025, 14, 4463. [Google Scholar] [CrossRef]
  18. Li, F.; Qi, Z.; Zhang, X.; Qin, C. Progressive histogram modification for JPEG reversible data hiding. IEEE Trans. Circuits Syst. Video Technol. 2023, 34, 1241–1254. [Google Scholar] [CrossRef]
  19. Xiao, M.; Li, X.; Li, J.; Jiang, Q.; Zhao, Y. High-Capacity Reversible Data Hiding for JPEG Images Using Ternary Matrix Embedding. IEEE Trans. Multimed. 2026, 28, 2433–2444. [Google Scholar] [CrossRef]
  20. Yan, R.; Zhao, Y.; Weng, S.; Yu, L. A Dual-Reward Guided 2D Mapping Generation Network for JPEG Reversible Data Hiding. IEEE Signal Process. Lett. 2026, 33, 526–530. [Google Scholar] [CrossRef]
  21. Ou, D.; Sun, W. High payload image steganography with minimum distortion based on absolute moment block truncation coding. Multimed. Tools Appl. 2015, 74, 9117–9139. [Google Scholar] [CrossRef]
  22. Kumar, R.; Kim, D.S.; Jung, K.H. Enhanced AMBTC based data hiding method using hamming distance and pixel value differencing. J. Inf. Secur. Appl. 2019, 47, 94–103. [Google Scholar] [CrossRef]
  23. Chang, C.C.; Wang, X.; Horng, J.H. A hybrid data hiding method for strict AMBTC format images with high-fidelity. Symmetry 2019, 11, 1314. [Google Scholar] [CrossRef]
  24. Chen, Y.Y.; Hu, Y.C.; Kao, H.Y.; Lin, Y.H. Security for eHealth system: Data hiding in AMBTC compressed images via gradient-based coding. Complex Intell. Syst. 2023, 9, 2699–2711. [Google Scholar] [CrossRef]
  25. Lin, Y.; Lin, C.C.; Chang, C.C.; Chang, C.C. An iot-based electronic health protection mechanism with ambtc compressed images. IEEE Internet Things J. 2024, 12, 2430–2444. [Google Scholar] [CrossRef]
  26. Lin, C.C.; Mirzaei, M.; Chu, E.T.; Cheng, C.C. HPDH-MI: A High Payload Data Hiding Technique for Medical Images Based on AMBTC. Symmetry 2024, 16, 1634. [Google Scholar] [CrossRef]
  27. Lin, C.C.; Chu, E.T.; Lin, Y.H. Adaptive and Effective Data Hiding Scheme for AMBTC Compression Codes. In Proceeding of the 2024 5th Asia Service Sciences and Software Engineering Conference, Tokyo, Japan, 11–13 September 2024; ACM: New York, NY, USA; pp. 66–72.
  28. Lin, C.C.; Chu, E.T.; Lin, I.C.; Kumar, R. HEP-DHMI: The High Efficiency and Payload Data Hiding Scheme for AMBTC Compressed Medical Images. IEEE Access 2025. [Google Scholar] [CrossRef]
  29. Lin, Y.; Liu, J.C.; Chang, C.C.; Chang, C.C. A puzzle matrix oriented secret sharing scheme for dual images with reversibility. Signal Process. 2025, 236, 110056. [Google Scholar] [CrossRef]
  30. Chen, K.; Chang, C.C. High-capacity reversible data hiding in encrypted images based on extended run-length coding and block-based MSB plane rearrangement. J. Vis. Commun. Image Represent. 2019, 58, 334–344. [Google Scholar] [CrossRef]
  31. Osirix Database. Available online: https://www.osirix-viewer.com/support/knowledge-base/ (accessed on 14 March 2023).
Figure 1. Application scenario of an IoMT-based eHealth system.
Figure 1. Application scenario of an IoMT-based eHealth system.
Sensors 26 03032 g001
Figure 2. Example of the AMBTC process.
Figure 2. Example of the AMBTC process.
Sensors 26 03032 g002
Figure 3. Diagram of the puzzle block.
Figure 3. Diagram of the puzzle block.
Sensors 26 03032 g003
Figure 4. Diagram of the puzzle matrix.
Figure 4. Diagram of the puzzle matrix.
Sensors 26 03032 g004
Figure 5. An example of data embedding using the puzzle matrix.
Figure 5. An example of data embedding using the puzzle matrix.
Sensors 26 03032 g005
Figure 6. Flowchart of the proposed method.
Figure 6. Flowchart of the proposed method.
Sensors 26 03032 g006
Figure 7. Storage structure for each block type.
Figure 7. Storage structure for each block type.
Sensors 26 03032 g007
Figure 8. Example of flat block embedding.
Figure 8. Example of flat block embedding.
Sensors 26 03032 g008
Figure 9. Example of smooth block embedding.
Figure 9. Example of smooth block embedding.
Sensors 26 03032 g009
Figure 10. Example of complex block embedding.
Figure 10. Example of complex block embedding.
Sensors 26 03032 g010
Figure 11. Example of flat block extraction.
Figure 11. Example of flat block extraction.
Sensors 26 03032 g011
Figure 12. Example of smooth block extraction.
Figure 12. Example of smooth block extraction.
Sensors 26 03032 g012
Figure 13. Example of complex block extraction.
Figure 13. Example of complex block extraction.
Sensors 26 03032 g013
Figure 14. Standard images: (a) Airplane, (b) Egretta, (c) Elaine, (d) Office, (e) Woodland, (f) Zelda.
Figure 14. Standard images: (a) Airplane, (b) Egretta, (c) Elaine, (d) Office, (e) Woodland, (f) Zelda.
Sensors 26 03032 g014
Figure 15. Medical images: (a) Brainix, (b) Cerebrix, (c) Goudurix, (d) Manix, (e) Phenix, (f) Vix.
Figure 15. Medical images: (a) Brainix, (b) Cerebrix, (c) Goudurix, (d) Manix, (e) Phenix, (f) Vix.
Sensors 26 03032 g015
Figure 16. Visualization of block classification for standard images: (a) Airplane, (b) Egretta, (c) Elaine, (d) Office, (e) Woodland, (f) Zelda.
Figure 16. Visualization of block classification for standard images: (a) Airplane, (b) Egretta, (c) Elaine, (d) Office, (e) Woodland, (f) Zelda.
Sensors 26 03032 g016
Figure 17. Visualization of block classification for medical images: (a) Brainix, (b) Cerebrix, (c) Goudurix, (d) Manix, (e) Phenix, (f) Vix.
Figure 17. Visualization of block classification for medical images: (a) Brainix, (b) Cerebrix, (c) Goudurix, (d) Manix, (e) Phenix, (f) Vix.
Sensors 26 03032 g017
Figure 18. Visualization of the trade-off between image quality and embedding efficiency under different thresholds. (a) 2D heatmap of PSNR. (b) 2D heatmap of embedding efficiency. (c) 3D joint surface plot mapping PSNR to height and efficiency to surface color.
Figure 18. Visualization of the trade-off between image quality and embedding efficiency under different thresholds. (a) 2D heatmap of PSNR. (b) 2D heatmap of embedding efficiency. (c) 3D joint surface plot mapping PSNR to height and efficiency to surface color.
Sensors 26 03032 g018
Figure 19. Comparison of the original images, the compressed images, and the residuals.
Figure 19. Comparison of the original images, the compressed images, and the residuals.
Sensors 26 03032 g019
Figure 20. Comparison of ROI in the original images, the compressed images, and the residual regions.
Figure 20. Comparison of ROI in the original images, the compressed images, and the residual regions.
Sensors 26 03032 g020
Figure 21. Edge comparison of the original images, the compressed images, and their intersections.
Figure 21. Edge comparison of the original images, the compressed images, and their intersections.
Sensors 26 03032 g021
Figure 22. Visual quality comparison of the image Brainix under varying bit-flipping attack intensities. (ac) The unattacked images. (df) The attacked images with 100-bit, 1000-bit, and 10,000-bit flips, respectively. (gi) The corresponding difference maps between the unattacked and attacked images.
Figure 22. Visual quality comparison of the image Brainix under varying bit-flipping attack intensities. (ac) The unattacked images. (df) The attacked images with 100-bit, 1000-bit, and 10,000-bit flips, respectively. (gi) The corresponding difference maps between the unattacked and attacked images.
Sensors 26 03032 g022
Figure 23. PSNR versus payload under different threshold settings.
Figure 23. PSNR versus payload under different threshold settings.
Sensors 26 03032 g023
Figure 24. SSIM versus payload under different threshold settings.
Figure 24. SSIM versus payload under different threshold settings.
Sensors 26 03032 g024
Table 1. Block classification analysis of standard images.
Table 1. Block classification analysis of standard images.
ThresholdsBlock TypesAirplaneEgrettaElaineOfficeWoodlandZelda
( 4,8 ) flat595320461210856020292428
(36.33%)(12.49%)(7.39%)(52.25%)(12.38%)(14.82%)
smooth382726812259195956327165
(23.36%)(16.36%)(13.79%)(11.96%)(34.38%)(43.73%)
complex660411,65712,915586587236791
(40.31%)(71.15%)(78.83%)(35.80%)(53.24%)(41.45%)
( 8,16 ) flat10,0196451553810,90781589855
(61.15%)(39.37%)(33.80%)(66.57%)(49.79%)(60.15%)
smooth204061017404130248884093
(12.45%)(37.24%)(45.19%)(7.95%)(29.83%)(24.98%)
complex432538323442417533382436
(26.40%)(23.39%)(21.01%)(25.48%)(20.37%)(14.87%)
( 16,32 ) flat12,28012,94113,17712,62313,27214,108
(74.95%)(78.99%)(80.43%)(77.04%)(81.01%)(86.11%)
smooth156024702419122025011688
(9.52%)(15.08%)(14.76%)(7.45%)(15.26%)(10.30%)
complex25449737882541611588
(15.53%)(5.94%)(4.81%)(15.51%)(3.73%)(3.59%)
( 32,64 ) flat14,05715,49615,61514,30315,81115,854
(85.80%)(94.58%)(95.31%)(87.30%)(96.50%)(96.77%)
smooth13287395691199569498
(8.11%)(4.51%)(3.47%)(7.32%)(3.47%)(3.04%)
complex999149200882432
(6.10%)(0.91%)(1.22%)(5.38%)(0.02%)(0.20%)
Table 2. Block classification analysis of medical images.
Table 2. Block classification analysis of medical images.
ThresholdsBlock TypesBrainixCerebrixGoudurixManixPhenixVix
( 4,8 ) flat588932793969348553973985
(58.89%)(32.79%)(39.69%)(34.85%)(53.97%)(39.85%)
smooth859528151763415890
(8.59%)(5.28%)(1.51%)(7.63%)(4.15%)(8.90%)
complex325261935880575241885125
(32.52%)(61.93%)(58.80%)(57.52%)(41.88%)(51.25%)
( 8,16 ) flat685640144314447459174994
(68.56%)(40.14%)(43.14%)(44.74%)(59.17%)(49.94%)
smooth9691925145217758671219
(9.69%)(19.25%)(14.52%)(17.75%)(8.67%)(12.19%)
complex217540614234375132163787
(21.75%)(40.61%)(42.34%)(37.51%)(32.16%)(37.87%)
( 16,32 ) flat792761285931643768856373
(79.27%)(61.28%)(59.31%)(64.37%)(68.85%)(63.73%)
smooth7072203234419867951778
(7.07%)(22.03%)(23.44%)(19.86%)(7.95%)(17.78%)
complex136616691725157723201849
(13.66%)(16.69%)(17.25%)(15.77%)(23.20%)(18.49%)
( 32,64 ) flat872184038358853578338225
(87.21%)(84.03%)(83.58%)(85.35%)(78.33%)(82.25%)
smooth69412191081110010471489
(6.94%)(12.19%)(10.81%)(11.00%)(10.47%)(14.89%)
complex5853785613651120286
(5.85%)(3.78%)(5.61%)(3.65%)(11.20%)(2.86%)
Table 3. Comparison of visual quality and secret data bit error rate under different flip attack intensities.
Table 3. Comparison of visual quality and secret data bit error rate under different flip attack intensities.
Images100 bits1000 bits10,000 bits
PSNRSSIMBERPSNRSSIMBERPSNRSSIMBER
Brainix38.230.9930.03%29.520.9410.29%19.960.5543.14%
Cerebrix40.510.9930.03%29.480.9470.30%19.500.5763.13%
Goudurix42.700.9970.03%30.080.9470.33%19.660.5763.09%
Manix37.590.9920.03%29.070.9380.32%19.640.5683.12%
Phenix37.980.9920.03%28.610.9410.31%19.440.5683.17%
Vix39.550.9940.03%29.780.9500.32%19.660.5703.15%
Table 4. Comparison of six standard images at different thresholds.
Table 4. Comparison of six standard images at different thresholds.
ImagesAirplaneEgrettaElaineOfficeWoodlandZelda
Thresholds ( 4,8 )
PSNR (dB)31.7434.2233.4832.2035.4935.73
SSIM0.9320.9180.8960.9490.9140.914
File Size (bits)545,553547,800541,673542,082552,965554,747
Payload (bits)244,778155,647134,277270,027193,687221,197
Efficiency (%)44.8728.4124.7949.8135.0339.87
Thresholds ( 8,16 )
PSNR (dB)31.5033.0231.5431.9934.3634.86
SSIM0.9170.8660.7860.9400.8760.887
File Size (bits)540,741553,666555,817540,554550,345546,503
Payload (bits)296,761277,701275,990304,777295,578318,281
Efficiency (%)54.8850.1649.6556.3853.7158.24
Thresholds ( 16,32 )
PSNR (dB)30.8231.4430.7031.1632.6033.36
SSIM0.8940.8030.7360.9170.8220.853
File Size (bits)538,371540,575540,415539,076539,439535,303
Payload (bits)332,400354,969358,892335,177361,599368,540
Efficiency (%)61.7465.6766.4162.1867.0368.85
Thresholds ( 32,64 )
PSNR (dB)29.0529.9529.8628.9031.0731.86
SSIM0.8610.7560.7080.8750.7750.825
File Size (bits)535,146530,859531,324535,483529,208529,028
Payload (bits)362,283383,734384,295365,667388,019388,126
Efficiency (%)67.7072.2972.3368.2973.3273.37
Table 5. Comparison of six medical images at different thresholds.
Table 5. Comparison of six medical images at different thresholds.
ImagesBrainixCerebrixGoudurixManixPhenixVix
Thresholds ( 4,8 )
PSNR (dB)30.9830.8429.7230.9928.0131.17
SSIM0.9570.9320.9330.9330.9490.946
File Size (bits)328,149326,904323,973327,489325,706328,574
Payload (bits)173,058119,165127,374126,134157,938137,285
Efficiency (%)52.7436.4539.3238.5248.4941.78
Thresholds ( 8,16 )
PSNR (dB)30.8530.5229.4830.6827.9430.96
SSIM0.9480.9140.9160.9160.9400.935
File Size (bits)328,482332,749330,824332,157327,357331,224
Payload (bits)191,892149,366149,390156,306172,827159,514
Efficiency (%)58.4244.8945.1647.0652.7948.16
Thresholds ( 16,32 )
PSNR (dB)30.3829.4528.5829.5827.6330.04
SSIM0.9320.8680.8680.8720.9240.909
File Size (bits)327,615332,668332,120331,942327,870331,838
Payload (bits)208,390190,665188,473194,149189,560190,645
Efficiency (%)63.6157.3156.7558.4957.8257.45
Thresholds ( 32,64 )
PSNR (dB)29.0927.5426.9927.7426.2628.09
SSIM0.9090.8010.7920.8080.8920.864
File Size (bits)326,520327,827327,559327,909327,707328,614
Payload (bits)222,639221,847219,612223,165209,297221,165
Efficiency (%)68.1967.6767.0568.0663.8767.30
Table 6. Performance comparison with state-of-the-art methods.
Table 6. Performance comparison with state-of-the-art methods.
MethodsImagesAirplaneBrainixCerebrixGoudurixManixPhenixVix
[21]PSNR (dB)31.7130.9530.8329.7530.9728.0131.17
Payload (bits)174,754117,58074,95075,40082,000101,63588,390
Efficiency (%)33.3336.7423.4223.5625.6331.7627.62
[22]PSNR (dB)31.3330.6829.9829.0230.1927.8230.48
Payload (bits)200,912130,250101,608100,808106,328117,118109,234
Efficiency (%)38.3240.731.7531.533.2336.634.14
[23]PSNR (dB)29.9429.5928.7327.8429.0226.9229.4
Payload (bits)210,142134,698110,668110,122114,513123,444116,316
Efficiency (%)40.0842.0934.5834.4135.7938.5836.35
[24]PSNR (dB)31.8531.0530.9629.7331.0628.0431.42
Payload (bits)209,086136,810107,32399,463109,795118,348115,369
Efficiency (%)38.6741.4632.5230.1433.2735.8634.96
[25]PSNR (dB)29.1330.0528.6327.728.7527.4529.35
Payload (bits)330,200205,399185,092183,640189,136185,581185,806
Efficiency (%)61.4262.6755.5955.2656.9556.5855.96
[26]PSNR (dB)32.7832.0631.5230.6631.6829.2732.14
Payload (bits)251,041266,441210,627204,022218,061235,234221,083
Efficiency (%)46.4349.2838.9637.7340.3343.5140.89
[27]PSNR (dB)32.2033.6934.9537.2937.97N/AN/A
Payload (bits)242,725267,687282,648291,183296,591N/AN/A
Efficiency (%)44.5649.2352.0353.7154.7N/AN/A
[28]PSNR (dB)32.2032.5031.9131.1732.1630.0132.44
Payload (bits)242,725264,921222,450222,655227,308240,457229,475
Efficiency (%)44.5648.7240.7640.7741.6644.0942.03
ProposedPSNR (dB)30.8230.3829.4528.5829.5827.6330.04
Payload (bits)332,400208,390190,665188,473194,149189,560190,645
Efficiency (%)61.7463.6157.3156.7558.4957.8257.45
Table 7. Comprehensive comparison with state-of-the-art methods.
Table 7. Comprehensive comparison with state-of-the-art methods.
MethodsBlock TypesKey ComponentsExtra File SizeComputational Complexity
[21]2bitmap replacement
quantization level exchange
No O ( n )
[22]3bitmap replacement
Hamming distance calculation
pixel value differencing
No O ( n )
[23]3bitmap replacement
matrix encoding
symmetric quantization value embedding
No O ( n )
[24]2gradient-based compression
bitmap replacement
quantization level exchange
No O ( n )
[25]3bitmap replacement
side match prediction
turtle shell matrix mapping
quantization level exchange
Optional O ( n )
[26]4bitmap replacement
matrix encoding
turtle shell matrix mapping
least significant bit substitution
quantization level exchange
Yes O ( n )
[27]4bitmap replacement
matrix encoding
turtle shell matrix mapping
least significant bit substitution
Yes O ( n )
[28]4bitmap replacement
matrix encoding
turtle shell matrix mapping
least significant bit substitution
Yes O ( n )
Proposed3bitmap replacement
voting principle
puzzle matrix mapping
quantization level exchange
Yes O ( n )
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, Y.; Lin, Y.; Chang, C.-C.; Chang, C.-C.; Hwang, W.-Y. High-Payload and Secure Data Hiding for Medical Images in IoMT-Based eHealth Systems. Sensors 2026, 26, 3032. https://doi.org/10.3390/s26103032

AMA Style

Wang Y, Lin Y, Chang C-C, Chang C-C, Hwang W-Y. High-Payload and Secure Data Hiding for Medical Images in IoMT-Based eHealth Systems. Sensors. 2026; 26(10):3032. https://doi.org/10.3390/s26103032

Chicago/Turabian Style

Wang, Yichen, Yijie Lin, Ching-Chun Chang, Chin-Chen Chang, and Wu-Yuin Hwang. 2026. "High-Payload and Secure Data Hiding for Medical Images in IoMT-Based eHealth Systems" Sensors 26, no. 10: 3032. https://doi.org/10.3390/s26103032

APA Style

Wang, Y., Lin, Y., Chang, C.-C., Chang, C.-C., & Hwang, W.-Y. (2026). High-Payload and Secure Data Hiding for Medical Images in IoMT-Based eHealth Systems. Sensors, 26(10), 3032. https://doi.org/10.3390/s26103032

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop