Next Article in Journal
Distributed Acoustic Sensing of Strain at Earth Tide Frequencies
Next Article in Special Issue
Design and Implementation of Cloud Analytics-Assisted Smart Power Meters Considering Advanced Artificial Intelligence as Edge Analytics in Demand-Side Management for Smart Homes
Previous Article in Journal
Optimal Path Planning for Selective Waste Collection in Smart Cities
Previous Article in Special Issue
Meaningful Integration of Data from Heterogeneous Health Services and Home Environment Based on Ontology
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Visual IoT Security: Data Hiding in AMBTC Images Using Block-Wise Embedding Strategy †

1
Dept. Electrical Engineering, Allied AI Biomedical Research Center, Southern Taiwan University of Science and Technology, Tainan 710, Taiwan
2
Dept. Computer Science and Information Engineering, National Ilan University, Ilan 260, Taiwan
3
Graduate Inst. Automation Technology, National Taipei University of Technology, Taipei 106, Taiwan
*
Author to whom correspondence should be addressed.
This paper is an extended version of “AMBTC-Based Data Hiding Using Intra- and Inter-Block Embedding Strategy,” published in the Proceedings of the Seventh International Conference on Communications, Computation, Networks and Technologies (INNOV 2018), Nice, France, 14–18 October 2018.
Sensors 2019, 19(9), 1974; https://doi.org/10.3390/s19091974
Submission received: 14 March 2019 / Revised: 10 April 2019 / Accepted: 24 April 2019 / Published: 27 April 2019
(This article belongs to the Special Issue Selected Papers from INNOV 2018)

Abstract

:
This study investigates combining the property of human vision system and a 2-phase data hiding strategy to improve the visual quality of data-embedded compressed images. The visual Internet of Things (IoT) is indispensable in smart cities, where different sources of visual data are collected for more efficient management. With the transmission through the public network, security issue becomes critical. Moreover, for the sake of increasing transmission efficiency, image compression is widely used. In order to respond to both needs, we present a novel data hiding scheme for image compression with Absolute Moment Block Truncation Coding (AMBTC). Embedding secure data in digital images has broad security uses, e.g., image authentication, prevention of forgery attacks, and intellectual property protection. The proposed method embeds data into an AMBTC block by two phases. In the intra-block embedding phase, a hidden function is proposed, where the five AMBTC parameters are extracted and manipulated to embed the secret data. In the inter-block embedding phase, the relevance of high mean and low mean values between adjacent blocks are exploited to embed additional secret data in a reversible way. Between these two embedding phases, a halftoning scheme called direct binary search is integrated to efficiently improve the image quality without changing the fixed parameters. The modulo operator is used for data extraction. The advantages of this study contain two aspects. First, data hiding is an essential area of research for increasing the IoT security. Second, hiding in compressed images instead of original images can improve the network transmission efficiency. The experimental results demonstrate the effectiveness and superiority of the proposed method.

1. Introduction

Rapid technological advances in network technology have made it possible to access large amounts of information on the Internet. However, the Internet environment is not secure enough for personal information to be stored safely. To ensure that personal information is not easily stolen or distributed maliciously, data hiding schemes are useful techniques for the Internet of Things (IoT) and visual IoT [1]. Due to the security problems of many image encryption schemes summarized in [2], data hiding is a critical area of research for increasing the security of the network information.
Nowadays, the data hiding technique has been investigated and published by many researchers. Data hiding is of two main kinds: reversible and irreversible. Reversible data hiding methods [3,4,5,6] emphasize that the original image can be recovered after data hiding. Thus, the images that require high detail information use reversible data hiding, such as mechanical drawing and medical imaging. However, to maintain the reversibility of the stego (i.e., the data-embedded) image, the amount of data that can be embedded will decrease or additional information would be required to recover from the stego image.
For irreversible data hiding [7,8], the least significant bit (LSB), exploiting modification directions (EMDs) and pixel value differencing (PVD) might be three of the most common techniques. The LSB method embeds binary secret data in the host image by replacing the LSB of the pixels to generate the stego image [9]. LSB is used because it can keep the minimal modification of the pixels while embedding data in the image. The EMD method embeds the ( 2 n + 1 ) ary digit data in n stego pixels, which at the most adjusts one of the stego pixels by increasing or decreasing its value by 1 (i.e., ±1) and leaving the rest unchanged [10]. The key advantage of EMD is that it decreases the number of pixels that need to be adjusted for data embedding; thus, it improves the quality of the stego image. The PVD method embeds the fixed size of data in the host image by adjusting the difference between the two pixels in pairs [11]. To reduce the modification between the two pixels in a pair that substantially decreases the quality of the stego image, the PVD method usually divides the pixel values into several sections of the same size. Although the irreversible data hiding technique cannot recover the stego image back to what it was, it usually does not need additional data for recovery and data extraction. In addition, the irreversible data hiding technique can achieve a higher hiding capacity. Therefore, in this paper, we propose the irreversible scheme. Figure 1 illustrates the application scenario (and the overall framework) of the proposed method.
Using the image data hiding techniques, we can embed secret data into an image to protect the owner’s intellectual property and prevent abuse or tampering. Image data hiding is typically based on some specific image compression format [12,13,14,15,16]. When the image is compressed, it requires less memory for storage and is more efficient for transmission via the Internet. Image compression formats can be divided into lossy image compression and lossless image compression. Although lossy compression cannot recover the original image, it significantly reduces the image size, i.e., the compression rate performance of lossy compression is better than that of lossless compression. In this study, we use a lossy image compression method called absolute moment block truncation coding (AMBTC), to effectively compress the image.
The advantage of the AMBTC compression technique is that it requires quite low computation power and can still achieve an acceptable image quality. Therefore, it is suitable for low-energy devices. Recently, several researchers have investigated the AMBTC-based data hiding methods. Ou and Sun [17] proposed a steganography method that classifies the AMBTC blocks into smooth or complex blocks. In [17], two embedding schemes are designed according to the block type, which helps the authors to exploit the different block properties more efficiently. Tang et al. [18] proposed an adaptive image steganography method that uses the interpolation technique to improve the hiding performance. Lin et al. [19] proposed an image authentication method that also divides the AMBTC blocks into smooth or complex blocks. In smooth blocks, the authentication code is embedded into the bitmap, whereas in complex blocks, the authentication code is embedded to adjust the quantization levels using a reference table. Huang et al. [20] proposed a hybrid secret hiding scheme for data hiding in AMBTC images, in which, similar to [17] and [19], two types of blocks are classified. Then, data embedding in the complex blocks exploits the difference between high and low mean values of a block; therefore, it achieves a higher embedding capacity than the previous methods. Al-Salhi and Lu [21] presented an image concealment scheme that uses PVD techniques. Furthermore, the human visual system and adaptive neural networks are integrated to improve the image quality. Hong et al. [22] proposed an AMBTC-based data hiding method that uses a suppress threshold mechanism and a perturbation technique to minimize the block distortion in the stego image.
However, image quality image is inevitably degraded or a few image details are lost after compression by AMBTC and the data hiding procedure. Thus, this study adopts a halftone image optimization technology called Direct Binary Search (DBS). DBS is widely used instead of the heuristic approach to optimize halftone images by using a human visual system to minimize the total squared perceived error between a continuous tone image and a halftone image [23,24]. In this study, we adopt the Swap operator from the DBS framework and use this operator to optimize the stego image that is compressed and contains the hidden data. Using the Swap operator not only makes the stego image visually closer to the original image without affecting the hiding data, but also upgrades the image quality.

2. Related Work (AMBTC Compression)

As mentioned, AMBTC is a lossy image compression method which requires quite low computation power [25]. Therefore, AMBTC is suitable for real-time embedded system applications and can obtain a satisfactory compressed image quality. In AMBTC, the input image is first divided into non-overlapped square blocks with the side length of n (i.e., the block size BS equals to n). To compress the image, the average value of all the pixel values in each block is calculated by:
x ¯ = 1 n 2 i = 1 n × n x i ,
where x i indicates the i-th pixel value of the block.
The average pixel value is then used as a threshold to generate a n × n bit map by comparing x i with the pixel values in a block. For the case that x i is larger than the pixel value, the bit map value is set as 0 (later, it is replaced by the low mean value in the AMBTC compressed block) at the position; otherwise, it is set as 1 (replaced by the high mean value in the AMBTC compressed block). After comparison, the number of pixels whose pixel value is less than x i is referred as the number of low-mean bits (NL), and the number of pixels whose pixel value is larger than or equal to x i is referred as the number of high-mean bits (NH). For AMBTC compression, low mean and high mean are the two quantization levels calculated using the following:
L M = 1 N L x i < x ¯ x i ,
and
H M = 1 N H x i x ¯ x i .
Figure 2 shows an example of the AMBTC compression. Different from the original grayscale image block, in an AMBTC block, the pixel values are only two quantization levels (low mean and high mean), and thus it can save the memory for storage. In addition, the first absolute moment of each original image block is maintained.

3. Proposed 2-Phase Intra- and Inter-Block Embedding Method

3.1. Intra-Block Embedding Phase

This study presents a 2-phase (intra-block and inter-block) data hiding strategy by manipulating AMBTC parameters. In the intra-block embedding phase, the hidden data are embedded into an AMBTC block by proper modification of the set containing five AMBTC parameters:
θ = { H M ,   L M ,   N H ,   N L ,   B S } ,
where HM, LM, NH, NL, and BS indicate, respectively, high mean, low mean, number of high-mean bits, number of low-mean bits, and AMBTC block size. The hidden function is defined as:
H ( θ ) = ( H M × 1 ) + ( L M × 2 ) + ( N H × 3 ) + ( N L × 4 ) + ( B S × 5 ) .
The secret bits to be embedded are converted to their decimal representation S . For example, S = ( 11010 ) 2 = 26 in the case of 5-bit secret data. The goal of intra-block embedding is to adjust the parameters in θ so that S is equal to the result obtained from the modulo operation:
S = mod ( H , 2 n )
where n is the size of the secret bits embedded in a hidden function. Because the n-bit secret data are embedded by utilizing the modulo operation of H with the divisor 2 n , the simplest case occurs when mod ( H , 2 n ) is equal to S (no adjustment is required). Otherwise, the difference between mod ( H , 2 n ) and S must be eliminated by determining the embedding difference d such that S mod ( H + d , 2 n ) = 0 . Two directions can be used to adjust the embedding difference:
d 1 = S mod ( H , 2 n ) ,
d 2 = { d 1 2 n ,   if   sgn ( d 1 ) = 1   2 n | d 1 | ,   if   sgn ( d 1 ) = 1 ,
where sgn is the signum function. However, too many combinations of the parameters can lead to the result of (6) for the given secret data. It is difficult to find the optimal parameters efficiently.
To address this problem, the concept of nominal parameters is proposed. As shown in Table 1, three parameters (NH, NL, and BS) in θ are referred to as the “nominal parameters”, which means that adjusting these three parameters in (6) does not change the actual information of an AMBTC block. Specifically, their actual value is maintained; however, when the hidden function value is calculated, the values of the three parameters are nominally changed, as the form of the trio code is changed. For example, when HM = 120, LM = 80, NH = 9, NL = 7, and BS = 4, the hidden function value is:
H ( θ ) = ( 120 × 1 ) + ( 80 × 2 ) + ( 9 × 3 ) + ( 7 × 4 ) + ( 4 × 5 ) = 355
However, if the form of the trio code is changed to ( L i , H i , B ¯ i ) , the hidden function value becomes:
H ( θ ) = ( 120 × 1 ) + ( 80 × 2 ) + ( 10 × 3 ) + ( 9 × 4 ) + ( 5 × 5 ) = 371
Note that for embedding 5-bit secret data, which has 32 combinations, according to Table 1, if the bottom trio code is transmitted, the change in the resulting hidden function value designed to be 16 (i.e., 1 × 3 + 2 × 4 + 1 × 5 ), which is coincidentally half of 32. It will significantly reduce the search range and alleviate the effect of modifying θ to maintain image quality. Moreover, according to the rule listed in Table 1, two more directions can be used to adjust the embedding difference:
d 3 = S mod ( H + 16 , 2 n )
and
d 4 = { d 3 2 n ,   if   sgn ( d 3 ) = 1   2 n | d 3 | ,   if   sgn ( d 3 ) = 1 .
This work utilizes a two-step search approach to adjust the parameters HM and LM. In step 1, the final embedding difference d is selected from d 1 ~ d 4 if it has the minimum absolute value, such that:
d = d i ,   if   | d i | = arg min i | d i | .
In step 2, the parameters ( H M , L M ) are adjusted according to d , but the search constraints for the optimal HM (and LM) are set such that the variation of both must be less than a predefined threshold of six (an empirical value). Although using a larger threshold can expand the candidate pool of the eligible combinations, the quality of the stego image will degrade. By contrast, using a smaller threshold will limit the number of eligible combinations. For the combinations that pass the two-step search, the concept of mean square error (MSE) is used to determine the final parameters. The MSE value of a block can be expressed as follows:
MSE = 1 B S 2 n = 1 B S 2 ( I n P n ) 2 ,
where I n is the pixel value of the original image block, and P n is the pixel value of the stego block.
The following example describes the data hiding (and the data extraction) of intra-block embedding procedure. Assume that the original AMBTC parameters are θ = { H M = 120 ,   L M = 80 ,   N H = 7 ,   N L = 9 ,   B S = 4 } , with H ( θ ) = 357 , and the 5-bit secret data is S = ( 11010 ) 2 = 26 . When (7) and (10) are applied, the four directions that can eliminate the difference between mod ( H , 2 n ) and S are d 1 = 21 ,   d 2 = 11 ,   d 3 = 5 , and d 4 = 27 . In addition, according to (11), the final embedding difference is d = 5 , in which the form of the trio code is ( L i , H i , B ¯ i ) . Six candidate pairs exist that increase the hidden function value by 5 and satisfy the search constraints:
  • (Candidate 1) ( H M = H M 5 ,   L M = L M + 5 ) ;
  • (Candidate 2) ( H M = H M 3 ,   L M = L M + 4 ) ;
  • (Candidate 3) ( H M = H M 1 ,   L M = L M + 3 ) ;
  • (Candidate 4) ( H M = H M + 1 ,   L M = L M + 2 ) ;
  • (Candidate 5) ( H M = H M + 3 ,   L M = L M + 1 ) ; and
  • (Candidate 6) ( H M = H M + 5 ,   L M = L M + 0 ) ,
where the symbol “prime” indicates that the modification of parameters comes from the embedding of intra-block secret data. Finally, after the resulting MSE values of the six candidate pairs are compared, the candidate whose value corresponding with the minimum mean square error is selected.
Assume that the above fourth candidate pair is selected after comparing among the MSE values, and the stego AMBTC parameters become θ = { H M = 121 ,   L M = 82 ,   N H = 7 ,   N L = 9 ,   B S = 4 } . In addition, the trio code is ( L i , H i , B ¯ i ) . At the receiving end, according to Table 1, the hidden function value is recalculated as 378. Then, the 5-bit secret code ( 11010 ) 2 can be extracted by using (6) and applying the decimal-to-binary conversion.

3.2. Quality Improvement Phase

In this subsection, we want to improve the quality of the stego image which comes from the intra-block embedding phase. Because the hidden data are embedded by adjusting the AMBTC parameters to certain fixed values that satisfies (6), the challenging part is: How to improve the image quality of current stego image without changing the AMBTC parameters used in (6)? To address this problem, this work applies a modified DBS optimization framework which only uses the swap operator. Using the DBS method enables us to take the human vision system (HVS) into account in the quality Improvement phase. Figure 3 shows the concept of DBS swap operator, and Figure 4 shows the concept of DBS method.
In this study, the perceived grayscale image ( g ˜ ), the perceived stego AMBTC image ( h ˜ ) and the perceived error image ( e ˜ ) are defined, respectively, as
g ˜ ( x , y ) = m , n g [ m , n ] P H V S ( x m X , y n Y ) ,
h ˜ ( x , y ) = m , n h [ m , n ] P H V S ( x m X , y n Y ) ,
e ˜ ( x , y ) = m , n ( h [ m , n ] g [ m , n ] ) P H V S ( x m X , y n Y ) ,
where P H V S indicates the HVS filter which simulates the property of human eye, and ( X , Y ) indicates the lattice basis of addressable dot. The error image indicates the error image between the original grayscale image and the stego image. The perceived error function is defined as
ϕ = x y | e ˜ ( x , y ) | 2 d x d y ,
DBS [23] is a pixel-based processing method which changes the regional 3 × 3 pattern centered at the current processing position iteratively. For the DBS swap operator, it swaps the current mean value with the mean value of its eight nearest neighbors and calculate the effects of all the trial changes. If an effect of trial change leads to the smallest error function, the corresponding trial swap is accepted. Furthermore, the DBS method introduces an autocorrelation function and a cross-correlation function to accelerate the computational efficiency. Because swapping the mean values between two adjacent pixel positions does not change the number of high-mean (low-mean) bits, the hidden function value is maintained, and the embedded data are preserved.

3.3. Reversible Inter-Block Embedding Phase

Inter-block embedding is performed on a pair of two adjacent blocks. First, all the AMBTC blocks B are ordered and divided into two sets: even-order blocks B e and odd-order blocks B o :
{ B e ( n ) = B ( 2 n ) B o ( n ) = B ( 2 n + 1 ) .
For a pair of ( B e , B o ) , the intra-block embedding of block B o is undertaken first. Subsequently, block B e is subject to the same intra-block embedding procedure; however, we add one more search constraint in the final step of determining ( H M , L M ) , namely that both mean value differences between the two H M (and L M ) values must be even numbers:
{ D H = H M e H M o   is   an   even   number D L = L M e L M o   is   an   even   number ,
where H M e ( L M e ) and H M o ( L M o ) represent the high (low) mean values from the even-order block and the odd-order block, respectively. Sometimes, no candidate parameter pairs of block B e are found because of the constraints used. In this case, we compulsorily change the values of using the method shown in Figure 5. Note that, for the example shown in Figure 5, the value of H M is increased by 1; however, the hidden function value is unchanged (i.e., the secret data of the intra-block embedding are not damaged) because the values of ( N H , N L ) are modified accordingly.
By setting the constraint of even parity in (18) in advance, two extra secret bits can be embedded between blocks ( B e , B o ) according to the rules in Table 2, where the symbol “double prime” indicates that the modification of parameters comes from the embedding of inter-block secret data.
In this work, we propose a reversible inter-block embedding scheme, meaning that, in the secret extraction phase, the change resulting from the interblock embedding procedure is reversible. Therefore, the quality of the stego image can be preserved to a certain extent. The following example describes the inter-block embedding and extraction procedures. Assume that the high (low) mean values of the block pair ( B e , B o ) are ( H M e , L M e ) = ( 137 , 104 ) and ( H M o , L M o ) = ( 119 , 80 ) , and that the 2-bit secret code is ( 10 ) 2 . As per Table 2, the modified parameters of B e become ( H M e , L M e ) = ( 138 , 104 ) , whereas in block B o , ( H M o , L M o ) = ( H M o , L M o ) is maintained. At the receiving end, the differences between the mean values are first calculated as D H = H M e H M o and D L = L M e L M o . The 2-bit secret code can be extracted by utilizing the modulo operation
Code   1 = mod ( D H , 2 ) ,   Code   2 = mod ( D L , 2 ) .
Furthermore, the original mean values can be retrieved using
{ H M e = H M e mod ( D H , 2 ) L M e = L M e mod ( D L , 2 )   .

4. Experimental Results and Discussions

For evaluation, the performance of the proposed method is compared with the recently published methods in [17] (2015), [20] (2017), and [22] (2017). Because medical images are essential sources of visual data in smart cities (for example, a smart home-based health care system which needs to transmit mass medical images for telemedicine), eight 400 × 400 test images are collected from the public database [25] (Figure 6).
Moreover, for the methods in [17,20,22], blocks are classified as smooth and complex blocks. Similarly, in our comparison, the concept in [17] is adopted to embed data into smooth blocks, and the proposed method is used to embed data into complex blocks. In addition to comparing the payload (i.e., data capacity in units of bits), this work adopts two image quality measures to fairly evaluate the performance of each method. The first quality measure is called HVS–based Peak Signal-to-Noise Ratio (HPSNR), which integrates the characteristics of HVS low-pass filter with the traditional Peak Signal-to-Noise Ratio (HPSNR). The HPSNR value can be expressed as follows;
HPSNR = 10 × log ( P × Q × 255 2 P , Q [ m , n q m , n ( g i + m , j + n h i + m , j + n ) ] 2 )   ( dB ) ,
where ( P , Q ) indicates the image size, q indicates the HVS low-pass filter; g i , j and h i , j indicate the pixels values of the input grayscale image and the resulting stego AMBTC image, respectively.
The second quality measure is called Mean Structural Similarly Index Measure (MSSIM), which is an averaging result of multiple number of the traditional Structural Similarly Index Measure (SSIM). The MSSIM value can be expressed as:
MSSIM = j = 1 M SSIM ( g j , h j ) .
where M is the number of SSIM local windows (set as 3 in this paper); g j and h j represent the image block within the j-th window, from the input grayscale image and the resulting stego AMBTC image, respectively. Table 3 shows the overall comparison of the four methods as the threshold value (for distinguishing smooth and complex blocks) is equal to 2. As shown in Table 3, because most AMBTC blocks are classified as complex blocks due to the small threshold, the quality of stego AMBTC image using the proposed method achieves very satisfactory results. As shown in Table 3, because most AMBTC blocks are classified as complex blocks due to the small threshold, the quality of stego AMBTC image using the proposed method achieves very satisfactory results. It demonstrates that the proposed quality improvement phase is effective.
When a larger threshold value is applied, more blocks are classified smooth blocks. For the test image Matrix, embedding capacity for different methods is similar because the number of smooth blocks is considerably larger than that of complex blocks. However, the payload rows of Table 3 and Table 4 show that the proposed method completely outperforms the other three methods in terms of embedding capacity. The results validate that the proposed intra- and interblock embedding schemes could utilize the property of the complex blocks to embed data. The comparison of the image quality reveals that the proposed method has higher HPSNR/MSSIM values than the methods in [17,20,22], which are also higher than those for some original AMBTC images. Furthermore, for the comparison of computational performance, the average processing times required to produce a stego image are 5.47 ms (in [17]), 6.11 ms (in [20]), 5.85 ms (in [22]), and 6.93 ms (in the proposed method). All the data hiding methods are implemented in the Windows 7 operating system, with 2.7 GHz CPU and 4 GB RAM. Although adding the modified DBS into the proposed data hiding method increases the processing time, the improvement of the image quality is remarkable.
Figure 7 presents a comparison of the variation of the usage of the thresholds of 2, 4, 8, 16, and 32 (using the test image Knee as an example). Because the pixel values in a smooth block are close to each other, the data capacity of a smooth block normally higher than that of a complex block. Thus, for all the methods, when the threshold is larger, more blocks are classified as smooth blocks, and larger average embedding capacity is yielded (Figure 6a). However, the quality of the stego image deteriorates accordingly (Figure 6b). The capacity of a pair of blocks in the proposed scheme is 12 bits, which is larger than the other three methods. Therefore, as the threshold increased from 32 to 2, capacity in the proposed scheme does not considerably decrease. The method in [20] exhibits maximum capacity when thresholds are 16 and 32 because in [20], the capacity of a complex block is given by 1 + log 2 T h r , where T h r indicates the threshold value. However, the image quality (HPSNR) of [20] abruptly decreases from T h r = 8 to T h r = 32 . In contrast, in the proposed method, the image quality is maintained to a certain extent.
Figure 8 shows the visual comparison of different methods. In Figure 8, the threshold is set as 8 for all methods. Compared with the other methods, the proposed method exhibits clearer results in the central parts, and the color is closer to the original grayscale image. The rib area (the right red box) in Figure 8f shows that the proposed method preserves the required details of the original image. For the methods in [17,20,22], the presence of block effects is observed, particularly in Figure 8c,d because the data embedding is based on each AMBTC block. By contrast, in the proposed method, quality improvement phase successfully alleviates these unnatural effects.
Figure 9 and Figure 10 show the self-evaluation results. Similar to Figure 7, the plot of embedding capacity versus image quality is analyzed. When the threshold is higher than 32, the overall capacity abruptly increases, and a considerable amount of secret data are embedded, which deteriorates image quality. Therefore, in both figures, the image quality curves obviously drop in the right side. However, for these eight test images, with the increasing capacity (under a larger threshold), the reduction in image quality is observed from T h r = 2 to T h r = 16 . We find that the declination in the curve is not evident within this range. This phenomenon occurs particularly in the images with more flat regions, such as Matrix, Panoramix, and Phenix. Figure 11 shows the results of the proposed method using the test image Phenix (with different threshold values).
Finally, we compare the difference of whether using the inter-block embedding scheme. Figure 12 shows that both stego images have the same capacity with an average capacity of 6 bits per block. Figure 12a presents the application of both intra- and inter-block embedding schemes simultaneously, whereas Figure 12b shows the application of only the intra-block embedding scheme. In Figure 12a, 5-bit secret data are embedded by forcing the hidden function value to be one of 32 possibilities, and the other secret bit is embedded through reversible inter-block embedding. Figure 12b shows the embedding of 6-bit secret data embedded into one block. Thus, the hidden function value in Figure 12b becomes one of 64 possibilities (according to the uncontrolled and random secret data), which severely changes AMBTC parameters and causes image degradation. Although the image quality improvement phase is applied in both figures, the result shown in Figure 12a apparently demonstrates a more pleasing visual quality.

5. Conclusions

In the era of network and IoT, data hiding becomes a critical research topic for increasing the security of image data transmitted among IoTs. In the past, “seeing is believing” may have been a disputable claim. Today, however, tampering or counterfeiting digital images using current technologies presents no difficulty. It raises a challenge of IoT security and, might, even obstruct the progress of the popularization of IoT. To address this problem, this study presents a data hiding method using the intra- and inter-block embedding strategy. By embedding additional verification code or security-related data in image signal transmission, data hiding technique is an effective solution to the security problem. Embedding data while maintaining good image quality is difficult because the hidden data are random and uncontrollable. Therefore, this work integrates the modified DBS optimization framework into data hiding. As it can be seen in Table 3 and Table 4, the proposed method can embed averagely 121,792 (and 128,712) bits with the average HPSNR values 54.594 dB (and 53.989 dB), which validates the superiority of the proposed method. Compared with the state-of-the-art methods, the proposed method achieves better performance in terms of payload, HPSNR and MSSIM. In our next step, an extended framework about color image steganography is considered.

Author Contributions

Y.H.L. and Y.Y.C. carried out the studies and drafted the manuscript. C.-H.H. participated in its design and helped to draft the manuscript. B.Y.C. conducted the experiments and performed the statistical analysis. All authors read and approved the final manuscript.

Funding

This work was partially supported by the Ministry of Science and Technology, TAIWAN, under Grant No. MOST 107-2221-E-027 -123 - and Ministry of Education, TAIWAN, under the Higher Education Sprout Project (Grant No. 1300-107P735).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Liao, X.; Yu, Y.; Li, Z.; Qin, Z. A new payload partition strategy in color image steganography. IEEE Trans. Circuits Syst. Video Technol. 2019. early access. [Google Scholar] [CrossRef]
  2. Li, C.; Lin, D.; Lu, J.; Hao, F. Cryptanalyzing an image encryption algorithm based on autoblocking and electrocardiography. IEEE Multimed. 2018, 25, 46–56. [Google Scholar] [CrossRef]
  3. Qin, C.; Zhang, X. Effective reversible data hiding in encrypted image with privacy protection for image content. J. Vis. Commun. Image Represent. 2015, 31, 154–164. [Google Scholar] [CrossRef]
  4. Xiong, L.; Xu, Z.; Shi, Y. An integer wavelet transform based scheme for reversible data hiding in encrypted images. Multidimens. Syst. Signal Process. 2018, 29, 1191–1202. [Google Scholar] [CrossRef]
  5. Huang, F.; Qu, X.; Kim, H.; Huang, J. Reversible data hiding in JPEG images. IEEE Trans. Circuits Syst. Video Technol. 2016, 26, 1610–1621. [Google Scholar] [CrossRef]
  6. Qian, Z.; Zhang, X. Reversible data hiding in encrypted images with distributed source encoding. IEEE Trans. Circuits Syst. Video Technol. 2016, 26, 636–646. [Google Scholar] [CrossRef]
  7. Li, W.; Lin, C.; Pan, J. Novel image authentication scheme with fine image quality for BTC-based compressed images. Multimed. Tools Appl. 2016, 75, 4771–4793. [Google Scholar] [CrossRef]
  8. Saha, S.; Ghosal, S.; Chakraborty, A.; Dhargupta, S.; Sarkar, R.; Mandal, J. Improved exploiting modification direction-based steganography using dynamic weightage array. Electron. Lett. 2018, 54, 498–500. [Google Scholar] [CrossRef]
  9. Sharma, D.; Saxena, R.; Singh, N. Dual domain robust watermarking scheme using random DFRFT and least significant bit technique. Multimed. Tools Appl. 2017, 76, 3921–3942. [Google Scholar] [CrossRef]
  10. Liu, Y.; Yang, C.; Sun, Q. Enhance embedding capacity of generalized exploiting modification directions in data hiding. IEEE Access 2017, 6, 5374–5378. [Google Scholar] [CrossRef]
  11. Shukla, A.; Singh, A.; Singh, B.; Kumar, A. A secure and high-capacity data-hiding method using compression, encryption and optimized pixel value differencing. IEEE Access 2018, 6, 51130–51139. [Google Scholar] [CrossRef]
  12. Qian, Z.; Zhou, H.; Zhang, X.; Zhang, W. Separable reversible data hiding in encrypted JPEG bitstreams. IEEE Trans. Dependable Secur. Comput. 2018, 15, 1055–1067. [Google Scholar] [CrossRef]
  13. Qin, C.; Ji, P.; Chang, C.; Dong, J.; Sun, X. Non-uniform watermark sharing based on optimal iterative BTC for image tampering recovery. IEEE Multimed. 2018, 25, 36–48. [Google Scholar] [CrossRef]
  14. Rahmani, P.; Dastghaibyfard, G. Two reversible data hiding schemes for VQ-compressed images based on index coding. IET Image Process. 2018, 12, 1195–1203. [Google Scholar] [CrossRef]
  15. He, J.; Huang, S.; Tang, S.; Huang, J. JPEG image encryption with improved format compatibility and file size preservation. IEEE Trans. Multimed. 2018, 20, 2645–2658. [Google Scholar] [CrossRef]
  16. Li, X.; Meng, X.; Yang, X.; Yin, Y.; Wang, Y.; Peng, X.; He, W.; Dong, G.; Chen, H. Multiple-image encryption based on compressive ghost imaging and coordinate sampling. IEEE Photonics J. 2016, 8, 3900511. [Google Scholar] [CrossRef]
  17. 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]
  18. Tang, M.; Zeng, S.; Chen, X.; Du, Y. An adaptive image steganography using AMBTC compression and interpolation technique. Optik 2016, 127, 471–477. [Google Scholar] [CrossRef]
  19. Lin, C.; Huang, Y.; Tai, W. A novel hybrid image authentication scheme based on absolute moment block truncation coding. Multimed. Tools Appl. 2017, 76, 463–488. [Google Scholar] [CrossRef]
  20. Huang, Y.; Chang, C.; Chen, Y. Hybrid secret hiding schemes based on absolute moment block truncation coding. Multimed. Tools Appl. 2017, 76, 6159–6174. [Google Scholar] [CrossRef]
  21. Al-Salhi, Y.; Lu, S. New steganography scheme to conceal a large amount of secret messages using an improved-AMBTC algorithm based on hybrid adaptive neural networks. In Proceedings of the IEEE 3rd Conference on Big Data Security on Cloud, Beijing, China, 26–28 May 2017; pp. 112–121. [Google Scholar]
  22. Hong, W.; Chen, T.; Yin, Z.; Luo, B.; Ma, Y. Data hiding in AMBTC images using quantization level modification and perturbation technique. Multimed. Tools Appl. 2017, 76, 3761–3782. [Google Scholar] [CrossRef]
  23. Liao, J. Theoretical bounds of direct binary search halftoning. IEEE Trans. Image Process. 2015, 24, 3478–3487. [Google Scholar] [CrossRef] [PubMed]
  24. Thomas, S.; Gharge, S. Halftone visual cryptography for grayscale images using error diffusion and direct binary search. In Proceedings of the 2nd International Conference on Trends in Electronics and Informatics (ICOEI 2018), Beijing, China, 11–12 May 2018; pp. 1091–1096. [Google Scholar]
  25. Osirix Database. Knowledge Base. Available online: https://www.osirix-viewer.com/support/knowledge-base/ (accessed on 10 March 2019).
Figure 1. Conceptual framework and the application scenario which illustrate the usage of the proposed method. In a smart city, the proposed method can perform data-hiding and compression jointly to increase the security level of visual sensing data.
Figure 1. Conceptual framework and the application scenario which illustrate the usage of the proposed method. In a smart city, the proposed method can perform data-hiding and compression jointly to increase the security level of visual sensing data.
Sensors 19 01974 g001
Figure 2. Illustration of the Absolute Moment Block Truncation Coding (AMBTC) compression. (a) Original image block, where the average pixel value x ¯ = 86 using (1). (b) The bit map used in AMBTC, where NH = 8 and NL = 8. (c) The AMBTC compressed block, where BS = 4, HM = 90, and LM = 82.
Figure 2. Illustration of the Absolute Moment Block Truncation Coding (AMBTC) compression. (a) Original image block, where the average pixel value x ¯ = 86 using (1). (b) The bit map used in AMBTC, where NH = 8 and NL = 8. (c) The AMBTC compressed block, where BS = 4, HM = 90, and LM = 82.
Sensors 19 01974 g002
Figure 3. Illustration of the Direct Binary Search (DBS) swap operator, which is used in the quality improvement phase.
Figure 3. Illustration of the Direct Binary Search (DBS) swap operator, which is used in the quality improvement phase.
Sensors 19 01974 g003
Figure 4. Concept of the DBS optimization framework used in this study.
Figure 4. Concept of the DBS optimization framework used in this study.
Sensors 19 01974 g004
Figure 5. Illustration of compulsorily modifying parameters to satisfy search constraints and maintain hidden function values simultaneously.
Figure 5. Illustration of compulsorily modifying parameters to satisfy search constraints and maintain hidden function values simultaneously.
Sensors 19 01974 g005
Figure 6. The eight test images. (a) Artifix. (b) Knee. (c) Macosessix. (d) Matrix. (e) Mecanix. (f) Obelix. (g) Panoramix. (h) Phenix.
Figure 6. The eight test images. (a) Artifix. (b) Knee. (c) Macosessix. (d) Matrix. (e) Mecanix. (f) Obelix. (g) Panoramix. (h) Phenix.
Sensors 19 01974 g006
Figure 7. Comparison of the variation of the usage of different thresholds. (a) Results of data capacity. (b) Results of Human Vision System-based Peak Signal-to-Noise Ratio (HPSNR) value.
Figure 7. Comparison of the variation of the usage of different thresholds. (a) Results of data capacity. (b) Results of Human Vision System-based Peak Signal-to-Noise Ratio (HPSNR) value.
Sensors 19 01974 g007
Figure 8. Results of visual comparison using the test image Artifix. (a) Original grayscale. (b) Pure AMBTC without data embedding. (c) Result of [17]. (d) Result of [20]. (e) Result of [22]. (f) Result of the proposed method. From (c) to (f), the threshold value is set as 8.
Figure 8. Results of visual comparison using the test image Artifix. (a) Original grayscale. (b) Pure AMBTC without data embedding. (c) Result of [17]. (d) Result of [20]. (e) Result of [22]. (f) Result of the proposed method. From (c) to (f), the threshold value is set as 8.
Sensors 19 01974 g008
Figure 9. Results of self-evaluation using different threshold values in terms of embedding capacity versus HPSNR.
Figure 9. Results of self-evaluation using different threshold values in terms of embedding capacity versus HPSNR.
Sensors 19 01974 g009
Figure 10. Results of self-evaluation using different threshold values in terms of embedding capacity versus Mean Structural Similarly Index Measure (MSSIM).
Figure 10. Results of self-evaluation using different threshold values in terms of embedding capacity versus Mean Structural Similarly Index Measure (MSSIM).
Sensors 19 01974 g010
Figure 11. Results of the proposed method using the test image Phenix (with different threshold values). (a) Threshold = 2. (b) Threshold = 4. (c) Threshold = 8. (d) Threshold = 16. (e) Threshold = 24. (f) Threshold = 32. It can be seen in (e) and (f) that some artifacts occur in the hindbrain region.
Figure 11. Results of the proposed method using the test image Phenix (with different threshold values). (a) Threshold = 2. (b) Threshold = 4. (c) Threshold = 8. (d) Threshold = 16. (e) Threshold = 24. (f) Threshold = 32. It can be seen in (e) and (f) that some artifacts occur in the hindbrain region.
Sensors 19 01974 g011
Figure 12. The difference of whether using the inter-block embedding scheme. (a) Result of using both intra- and inter-block embedding schemes. (b) Result of using only the intra-block embedding scheme.
Figure 12. The difference of whether using the inter-block embedding scheme. (a) Result of using both intra- and inter-block embedding schemes. (b) Result of using only the intra-block embedding scheme.
Sensors 19 01974 g012
Table 1. Rule of adjusting hidden function value by nominal parameters.
Table 1. Rule of adjusting hidden function value by nominal parameters.
Form of the Trio CodeChange of the Nominal ParametersChange of the Hidden Function Value
( H i , L i , B i ) N H ,   N L ,   B S H ( θ )
( L i , H i , B ¯ i ) N H = N H + 1 ,   N L = N L + 2 ,   B S = B S + 1 H ( θ ) = H ( θ ) + 16
Table 2. Rule of inter-block embedding.
Table 2. Rule of inter-block embedding.
2-Bit Secret CodeChange of the Mean Value Difference (DH, DL)
code 00 ( D H ,   D L ) is maintained
code 01 ( D H ,   D L + 1 ) as L M e = L M e + 1
code 10 ( D H + 1 ,   D L ) as H M e = H M e + 1
code 11 ( D H + 1 ,   D L + 1 ) as H M e = H M e + 1 and L M e = L M e + 1
Table 3. Overall comparison of the four methods (when the threshold value is 2).
Table 3. Overall comparison of the four methods (when the threshold value is 2).
MethodsMetricsTest Images
Figure 6aFigure 6bFigure 6cFigure 6dFigure 6eFigure 6fFigure 6gFigure 6h
AMBTCHPSNR52.38653.71452.32756.88051.94755.78251.99753.398
MSSIM0.9999890.9999930.9999910.9999980.9999880.9999960.9999890.999992
[17]Payload471405404053500113620909401348008623086755
HPSNR45.62747.15046.04650.83645.05048.91945.29046.766
MSSIM0.9853990.9890240.9918630.9961370.9914720.9971720.9926450.992822
[20]Payload5628564040629151198251006251445609570595885
HPSNR45.30546.67645.62149.42944.61747.68944.82846.192
MSSIM0.9837380.9868890.9900080.9902570.9864420.989050.9882440.988436
[22]Payload471405040453500113560909401348008623086695
HPSNR45.61947.08546.04050.65545.04448.92045.28746.753
MSSIM0.9853520.9886260.991830.9952390.9913590.9971610.9926280.992788
OursPayload10113689360105416133600123408147720122944121792
HPSNR52.84853.87152.55157.26253.13656.70553.17554.594
MSSIM0.9999890.9999930.9999910.9999980.9999880.9999960.9999890.999992
Table 4. Overall comparison of the four methods (when the threshold value is 8).
Table 4. Overall comparison of the four methods (when the threshold value is 8).
MethodsMetricsTest Images
Figure 6aFigure 6bFigure 6cFigure 6dFigure 6eFigure 6fFigure 6gFigure 6h
AMBTCHPSNR52.38653.71452.32756.88051.94755.78251.99753.398
MSSIM0.9999890.9999930.9999910.9999980.9999880.9999960.9999890.999992
[17]Payload557057073565290139045942851385509338599745
HPSNR45.61147.07446.00050.54745.04348.91845.27846.718
MSSIM0.9851540.9873580.991230.9912950.9913930.9971050.9925320.991948
[20]Payload8522510037594090168190124075168355104503111643
HPSNR43.59344.05243.41743.27441.75141.75745.09546.517
MSSIM0.9449490.930870.9441720.8319760.8402130.7481250.9922710.991502
[22]Payload6179978833726621562511055231556909035593070
HPSNR45.45146.86145.75849.68844.98048.72245.22346.670
MSSIM0.9848760.9866780.9908190.9884960.9911520.9968530.9924620.992346
OursPayload104152100490108296148264125192148664124464128712
HPSNR52.40253.65352.48956.00852.77756.15252.64453.989
MSSIM0.9999900.9999940.9999920.9999980.9999890.9999960.9999900.999993

Share and Cite

MDPI and ACS Style

Lin, Y.-H.; Hsia, C.-H.; Chen, B.-Y.; Chen, Y.-Y. Visual IoT Security: Data Hiding in AMBTC Images Using Block-Wise Embedding Strategy. Sensors 2019, 19, 1974. https://doi.org/10.3390/s19091974

AMA Style

Lin Y-H, Hsia C-H, Chen B-Y, Chen Y-Y. Visual IoT Security: Data Hiding in AMBTC Images Using Block-Wise Embedding Strategy. Sensors. 2019; 19(9):1974. https://doi.org/10.3390/s19091974

Chicago/Turabian Style

Lin, Yu-Hsiu, Chih-Hsien Hsia, Bo-Yan Chen, and Yung-Yao Chen. 2019. "Visual IoT Security: Data Hiding in AMBTC Images Using Block-Wise Embedding Strategy" Sensors 19, no. 9: 1974. https://doi.org/10.3390/s19091974

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