Abstract

The bit error rate (BER) formula of the M-QAM system is derived under nonequally likely condition of the constellation points, from which improving the BER performance of the M-QAM system by optimizing the probability distribution of constellation points is identified. Based on the analysis, the bit-level XOR method is employed to encrypt the image data and modify the probability distribution of the constellation points. The simulation results show that bit-level XOR is helpful to obtain a better probability distribution of the 16-QAM system compared to that without bit XOR and hence can improve the BER performance of the proposed OFDM transmission system. Simulation results based on test images over the AWGN channel further confirm that the reliability of the OFDM transmission system and the reconstructed quality of the compressed image are both significantly enhanced using bit-level XOR operation.

1. Introduction

With the development of Internet of Things, increasing multimedia sources, such as video, image, and audio, need to be transmitted over wireless networks. Image data is one of the main multimedia sources. However, the unprocessed image data is usually very large. Hence, efficient compression of image data is necessary to reduce the storage space for transmission. Compressive sensing (CS) theory states that if a signal with a size of N is K-sparse (K << N) or compressible, it can be sampled below the Nyquist rate at the transmission side, while it can be exactly reconstructed with these samples of the signal at the receiver side [1]. CS technology has been widely applied in image compression, image encryption, and image wireless transmission [2, 3]. However, compared with the conventional compression method, such as JPEG and JPEG2000, image-based CS still has a significant gap in reconstruction quality [4]. How to improve the reconstruction quality of image is still an important issue in the field of image CS. Although some schemes have been proposed to improve the reconstruction quality for image CS framework [57], improving the CS performance by optimizing the property of modulated signal, which is transformed from the compressed image data, has been rarely studied, as far as we know. In this work, our goal is to improve the performance, in terms of reconstruction quality and bit error rate (BER) metrics, of the compressed image transmission system by optimizing the property of modulated signal using bit-level XOR operation, which can encrypt the image data and ensure the security of the system at the same time.

1.1. Related Works

In image wireless communication systems, the resulting data generated from image CS needs to be quantized and transformed into a bit stream and then mapped into digital modulation symbols in order to be transmitted over wireless channels. Orthogonal-frequency-division multiplexing (OFDM) is a physical layer transmission technique that is able to provide high data rates over multipath fading channels. There are many image transmission schemes for OFDM communication systems [812]. In [10], the authors studied the compressed image OFDM transmission based on the well-known EZW or SPIHT algorithms. Then to reduce the computational complexity of CS, the block compressed sensing (BCS) method was proposed [1317]. In [15], the transmission performance of the block compressed-sensed image data over a wireless channel was researched, and the simulation results show that BCS with a proper block size can greatly reduce the computational complexity with a slight peak signal-to-noise ratio (PSNR) performance loss.

On the other hand, to protect sensitive personal information, images usually need to be encrypted before transmission. Many joint image compression-encryption algorithms have been proposed and investigated to ensure image security during transmission [1820]. Generally, digital image encryption mainly consists of two phases: diffusion and permutation. Recently, the authors in [21] proposed double-image encryption based on convolutional neural network (CNN) and dynamic adaptive diffusion. The experiment results show the feasibility of the proposed scheme. In [22], for a range-gated laser imaging system, a joint compression and encryption scheme is proposed, in which the measurement matrix is constructed by the quantum cellular neural network (QCNN) hyperchaotic system. The simulation results show that the proposed scheme can achieve secure transmission of image data. In [22] and most other image encryption schemes, the key used is usually generated from chaotic systems. However, chaotic systems, especially high-dimensional chaotic systems, have the disadvantage of slow calculation speed. To solve this issue, the authors in [23] combined Least Squares Generative Adversarial Networks (LSGAN) with the chaotic system to produce a high-quality random number.

In addition, bit-level XOR operation is another commonly used image encrypted method [2427], which has been extensively employed to further enhance the security of image encryption. Meanwhile, in recent years, the physical layer security approach has attracted widespread attention. Bit-level XOR operation is also used to enhance the security of the physical layer in wireless communication systems [28, 29]. However, in the above-mentioned image encryption schemes, the reliability performance of encrypted image over wireless communication system has seldom been considered. The effect of bit-level XOR operation on the reliability performance in a compressed image transmission system also has not been researched.

Recently, probabilistic shaping (PS), especially probabilistic amplitude shaping (PAS), has been used to improve the transmission reliability of optical communications [30, 31]. In the PS scheme, the constellation points with equidistant space are assigned different probabilities. In [32], the authors researched the reliability of the transmission of PS-based wireless communication systems over Rayleigh fading channels. In [33], PS enabled by precoding technique is used in a low-cost IM-DD system for optical access networks. These studied results all show that the transmission performance of the communication system can be optimized by PS. Inspired by the PS idea, we utilize bit-level XOR operation to encrypt the transmission data as well as optimize the probability distribution of the constellation points in order to improve both the security and reliability of the compressed image OFDM system.

1.2. Motivation and Contribution

In digital communication systems, the compressed image data is transformed into bit stream and then mapped into digital modulation signals, such as BPSK, QPSK, and M-QAM. In this work, bit-level XOR operation is employed on the bit stream, which is then mapped into square 16-QAM symbols. Generally, researchers mainly focus on the security of using bit-level XOR operation but rarely consider the impact of bit-level XOR operation on the transmission performance of the compressed image.

In fact, because of the bit-level XOR operation, the probability distribution of the constellation points is different from that without bit-level XOR. Moreover, through the simulation, we find that the probability distribution with bit-level XOR is better compared with that without bit-level XOR, which is beneficial to improving the performance of the OFDM communication system. We will study the effect of bit-level XOR on the BER and PSNR performances of a compressed image OFDM transmission system and aim to propose a method to improve the security and reliability of the compressed image OFDM system at the same time. The main contributions of this work are as follows:(1)The mathematical model of an M-QAM system under nonequal probability distributions of constellation points was developed, based on which the BER formula of an M-QAM system was derived. The theoretical analysis shows that optimizing the distribution of the constellation points can improve the BER performance of the compressed image transmission system.(2)Bit-level XOR operation was used to encrypt the bit stream generated from the BCS; meanwhile, this operation changes the probability distribution of constellation points of an M-QAM system. Through the simulation, we find that when bit XOR is employed, the probabilities of constellation points close to the origin are increased while the probabilities of the ones far away from the origin are decreased; this will lead to a reduction of the average transmit power. For the given transmit power, the reduction of average transmit power will increase the scaling factor and reduce the influence of noise on the whole constellation points. Hence, the transmission performance of the communication system will thus be improved.(3)Simulations are carried out for the proposed compressed image OFDM system, and the results show that the BER performance and the image reconstructed quality of the OFDM system are significantly improved by using bit-level XOR operation when compared with that without bit-level XOR operation.

2. The Proposed System Principles

In this section, the BCS scheme [17] based on sparse discrete cosine transform (DCT) matrix with a partial DCT measurement matrix is introduced, and then an end-to-end compressed image transmission scheme is presented.

2.1. BCS Preliminaries

In BCS, the image with a size of is divided into a number of nonoverlapping blocks with a size of , and the number of subblocks is .

Let with a size of denote the i-th column of the j-th block image. An image signal is usually sparse in some sparse bases, such as discrete wavelet transform (DWT) and DCT; the original signal can be transformed into a sparse signal by using a sparse matrix with a size of . The transformation can be expressed as

Then the measurement process of BCS can be expressed as [34]where , is the measurement matrix with a size of , and the matrix with a size of is called the sensing matrix. After all block images are measured, the obtained compressed data vectors form a matrix with a size of , which can be expressed as

In the receiver side, the sparse signal can be recovered by solving the following optimization problem:where

With the recovered sparse signal, the i-th column of the j-th block image can be reconstructed via . Thus, the entire j-th block image data can be formed as . After all block images are reconstructed, the whole original image can in turn be recovered. There are many reconstructed algorithms that can be used to solve (4); in this work, the orthogonal matching pursuit (OMP) [35] is employed. Additionally, in this work, the conventional DCT matrix with a size of is used as the sparse basis matrix , and the partial DCT matrix with a size of is used as the measurement matrix , which will be introduced in the following.

2.2. Partial DCT Measurement Matrix

Similar to [17], a partial chaotic DCT matrix is utilized to serve as the measurement matrix in the BCS scheme. A conventional DCT matrix can be expressed aswhere denotes the i-row vector of the matrix; denotes the i-row and j-column element of the matrix and is defined aswhere is defined as

The partial DCT measurement matrix is obtained by randomly selecting M rows from the conventional DCT matrix , and the detailed process is as follows.

First, a Logistic map is employed to generate the key sequence and scramble the conventional DCT matrix. The Logistic map is defined as follows [36]:where is the control parameter and . Based on (8), an integer vector can be obtained according to the following formula:where returns the values of to the nearest integers less than or equal to and returns the remainder of divided by .

Then a row scrambling operation is done to the matrix using the chaotic vector , and the obtained scrambled DCT matrix can be expressed as

Finally, the former M (M < N) rows of the matrix are reserved to form a new matrix, which is used to serve as the partial DCT measurement matrix. It can be expressed as

Based on the above method, we can obtain a measurement matrix with a size of for the BCS framework.

2.3. Compressed Image OFDM Transmission System

Figure 1 shows the compressed image OFDM transmission system. The main steps of signal processing in the transmitter are summarized as follows:

Step 1. Block image compressed sampling: an image is divided into many nonoverlapping blocks with a size of . Each block is processed according to (2) using the same sparse DCT matrix and partial DCT measurement matrix .

Step 2. The compressed image data is quantized and transformed into a bit stream. The quantifying operation is according to the following formula:where max and min denote the maximum value and minimum value of the measurement data matrix and represents the i-row and j-column element of the matrix.

Step 3. Bit-level XOR encryption: let , , and be the information bit steam, the key bit stream, and the encrypted bit stream, respectively, and then the bit-level XOR encryption can be expressed aswhere denotes the XOR operation. In this work, we employ the Chebyshev map [37] to generate the key bit stream .

Step 4. Precoding operation: the encrypted bit stream is mapped into a square 16-QAM symbol stream and forms a symbol vector . Then, the 16-QAM symbol vector is precoded by a Discrete Hartley transform (DHT) precoding matrix according to reference [38], and the resulting precoded signal vector can be expressed as .

Step 5. IFFT operation: the precoded signal is processed by an IFFT unit to produce a time domain OFDM signal.
In the receiver side, the corresponding inverse operations, such as FFT, inverse DHT precoding, and inverse quantization, are employed. Finally, the original image is recovered by OMP (orthogonal matching pursuit) reconstructed algorithm.

3. Error Probability Analysis

3.1. Error Probability Analysis under Equally Likely Condition

In general, the theoretical error probability formula of an M-QAM communication system is obtained by assuming that the transmitted M-QAM symbols are equally likely and the additive noise follows the Gaussian probability distribution function; that is, with and . In this case, the symbol error rate (SER) Pe for the M-QAM system can be written as follows [39]:

When the 16-QAM modulation format is used, M is equal to 16.

Figure 2 shows the square 16-QAM signal constellation under Gray’s rule. Let the points along the I axis be and the points along the Q axis be the same, and then each constellation point can be expressed as , where . In this case, the 16-QAM alphabet can be expressed as , where . When the constellation points have equal probability, the average energy/symbol of the 16-QAM constellation is given by

Inserting (15) into (14), the SER of 16-QAM under equally likely condition can further be expressed as

3.2. Error Probability Analysis under Nonequally Likely Condition

Recently, the researched results for PS [32, 33] show that the reliable performance of M-QAM systems can be improved by assigning different probabilities to the M-QAM constellation points. In this case, the probability distribution of M-QAM constellation points becomes nonequally likely. The SER of the 16-QAM system under a nonequally likely condition can be derived by using a similar method to that of an equally likely condition.

From Figure 2, it can be seen that the probability of error of 16-QAM constellation points can be divided into three cases [40]: first, four points that are inside (), with each point having four nearest neighbors; second, four points that are in the corner (), with each point having two nearest neighbors; third, four points that are not inside or in the corner (), with each point having three nearest neighbors.

For the first case (, , , and ), the probability of error of each point can be expressed as

For the second case (, , , and ), the probability of error of each point can be expressed as

For the third case (, , , , , , , and ), the probability of error of each point can be expressed as

Therefore, the theoretical SER of the nonequally likely 16-QAM system can be expressed aswhere denotes the occurrence probability of the transmitted symbol . Based on (20), it can be seen that SER is related to the probability distribution of constellation points . When is given, the SER of a 16-QAM system can be calculated according to (20).

On the other hand, the average energy/symbol of the 16-QAM constellation under nonequally likely condition can be obtained by

From (21), we can see that the average energy/symbol of the 16-QAM constellation is also related to the probability distribution of constellation points .

3.3. Effect of Bit-Level XOR on SER of the Proposed System

Bit-level XOR has been employed to achieve secure CS and enhance the security of the physical layer signals. However, the effect of bit-level XOR on the SER of the compressed image transmission has seldom been studied. In this work, the key generated from the Chebyshev map is used for the bit-level XOR operation. The Chebyshev map is defined as follows [37]:where is the control parameter and . Based on (22), a key bit stream can be generated according to the following formula:

The resulting key stream is used to encrypt the information bit stream generated from the image CS by using a bit-level XOR operation.

In our simulation experiment, a test image with a size of is firstly compressively sampled with a compressive ratio of 0.75, and the generated data is transformed into information bit stream. Then per K-bit information bits are grouped to form a bit vector . The length of the key stream and the length of information bit vector are both fixed at 2048. Next, each information bit vector is encrypted to form an encrypted bit vector according to the bit-level XOR operation of (13). Finally, the encrypted bit stream is transformed into a 16-QAM symbol stream according to the 16-QAM constellations with Gray’s rule.

In the following, we will investigate the effect of bit-level XOR on the SER of 16-QAM communication systems for different compressed image data. Four test images with a size of , as shown in Figure 3, are used to generate the compressed image data.

First, the probability distributions of the 16-QAM constellation points for different compressed image data with and without bit-level XOR are obtained, as shown in Table 1, where “w/” denotes “with bit-level XOR operation” and “w/o” denotes “without bit-level XOR operation.” It can be seen that the probability distribution of the 16-QAM symbols directly generated from the compressed image is nonequally likely. When bit-level XOR is employed to the image data, the probability of each 16-QAM symbol further changes, leading to a new probability distribution.

To intuitively show the change of the probability distribution when bit-level XOR operation is applied, Figures 4 and 5 give the probability distributions of the 16-QAM constellation points for “Lena” image and “Cameraman” image, respectively. The probability distribution figures for the two images are similar. From Figures 4 and 5, we can see that, compared with the case without bit XOR operation, the probability of low energy symbols with bit-level XOR operation is significantly increased; this will lead to a reduction of the average signal power according to (21). This means that, under the same transmit power, the Euclidean distance between constellation points will increase, and the effect of noise on the whole constellation points will thus be reduced. As a result, the BER performance of the compressed image OFDM system with bit XOR can be improved compared with that of the system without bit XOR.

Based on the probability distributions of 16-QAM constellation points, the BER performance curves of the 16-QAM transmission system for compressed “Lean” and “Cameraman” with and without bit XOR are obtained according to (16) and (20), as shown in Figure 6. The theoretical BER curve and the BER curve for random bits are also given in Figure 6 for comparison.

From Figure 6, we can see that the compressed image transmission with bit XOR provides a 2.3 dB SNR gain to that without bit XOR at BER of 10−3 level. In addition, the BER of the 16-QAM system for random bits is the same as the theoretical BER, as the probability distribution for random bits is nearly equally likely. Most important, the BER performance of the 16-QAM for compressed images with bit-level XOR is better than the theoretical BER of the 16-QAM system.

Therefore, besides the improvement in security, the bit-level XOR operation is also helpful to optimize the probability distribution of the 16-QAM system. This will in turn improve the BER performance and the reconstructed quality of the proposed compressed image OFDM transmission system, which will be confirmed by the following simulation experiments.

4. Simulations and Results Analysis

In this section, BER and PSNR performances are studied for the proposed OFDM system. For concise display of the simulated curves, only “Lean” image and “Cameraman” image with a size of are used in the simulation; nevertheless, similar results are obtained for other images, such as “Couple” and “Mandrill.” The main system parameters used in the simulation are given in Table 2. “Lean” images and “Cameraman” image are first compressively sampled and then transmitted over the Addition Gaussian White Noise (AWGN) channel. The size of each block image is .

4.1. Comparison of BER and PSNR Performances

The PSNR is usually employed to evaluate the quality of the reconstructed image in the CS framework and is defined aswhere the mean square error (MSE) is defined aswhere and are the numbers of pixels of horizontal and vertical coordinates of the image, respectively; P(i, j) and Q(i, j) represent the gray matrices of the original image and the reconstructed image, respectively.

In the simulation experiments, the original image is processed by BCS based on DCT sparse matrix and chaotic partial DHT measurement matrix. After BCS, the resulting data is quantized and transformed into a bit stream. In the signal transmission phase, the DHT precoding method is used to reduce the PAPR of the OFDM signal. In the simulation, a slight level of clipping is used, and the clipping ratio , which is defined as (26), is set to be 12.where represents the predefined peak power threshold and represents the average power of the signal before clipping.

Figure 7 shows the BER performance of the compressed images over AWGN channels, where a 16-QAM modulation format is used. The compressive ratio is fixed at 0.75. It can be seen that bit-level XOR can improve the BER performance of the proposed DHT precoded OFDM system in AWGN channels. At BER = 10−3 case, the bit-level XOR in the proposed system can obtain approximately 3.5 dB gain when compared to that without bit-level XOR. In addition, the performance enhancement of the compressed “Lena” image is more significant compared with that of the compressed “Cameraman” image.

Figure 8 shows the PSNR performance of the compressed images in the proposed system over the AWGN channel. It can be seen that bit-level XOR can improve the reconstructed quality of the image transmitted in the proposed compressed image transmission system. When SNR is smaller than 18 dB, using bit XOR in the proposed system can obtain a 10 dB gain when compared to that of the case without bit XOR for “Cameraman” image. When SNR is higher than 18 dB, the gain obtained by using the bit XOR becomes small. For “Lena” image, when SNR is higher than 12 dB, the PSNR performance with bit-level XOR is better than that without bit XOR, and at SNR = 18 dB, the bit XOR method can obtain a 5 dB PSNR gain. Similar to the “Cameraman” test image, when SNR is higher than 18 dB, the gains obtained by using bit-level XOR become small.

Figure 9 depicts the relationship between the PSNR and the compression ratio in the proposed OFDM system with an SNR of 18 dB. For “Lena” image, using bit XOR can obtain about 3 dB gain at a compressive ratio of 0.5. For “Cameraman” image, using bit XOR can obtain about 4 dB gain at a compressive ratio of 0.7. Therefore, the bit XOR used in the proposed precoded OFDM transmission system can improve both the BER and PSNR performances over the AWGN channel.

Figure 10 shows the reconstructed images of our proposed system under SNR of 17 dB and a compressive ratio of 0.75. The reconstructed quality of both images when bit XOR is used in the transmitter is much better than that without bit XOR, which further confirms the performance enhancement of using bit-level XOR operation in the compressed image OFDM transmission system.

4.2. Influence of Block Size on System Performance

In this section, we evaluate the effect of different block sizes on the proposed system performance in terms of BER and PSNR metrics. For image-based CS, to reduce the computational complexity, the BCS scheme is usually used. The idea of BCS is that a whole image is divided into many small nonoverlapping image blocks, and each image block is sampled column by column using a small measurement matrix. The results in the previous work [17] show that choosing a proper block size is helpful to improve the reconstruction performance of the image-based CS. In the following experiments, image “Lean” with a size of 256 × 256 is used to serve as the test image, and the compressive ratio is fixed at 0.75. The BER and PSNR performance of BCS is evaluated over the AWGN channel under four different block sizes, 128 × 128, 64 × 64, 32 × 32, and 16 × 16. All block images are sampled using the same measurement matrix and recovered using the same OMP algorithm.

Figure 11 shows the effect of block size on the BER performance of the proposed compressed image transmission system using bit-level XOR. It can be seen that the BER performance of BCS with a block size of 64 × 64 is the worst, while the difference in BER performance for the other three block sizes is very small, especially when SNR is less than 16 dB.

In addition, the effect of block size on PSNR performance is also evaluated under four different block sizes, as shown in Figure 12. We can see that the PSNR performance of the image BCS scheme with a block size of 64 × 64 is also the worst among the four block sizes when the SNR value is less than 20 dB, while the PSNR performance with a block size of 16 × 16 is the best.

4.3. Computational Complexity Analysis of BCS Scheme

To evaluate the computational complexity of image-based CS, both CS encoder and CS decoder need to be considered.

For the whole image CS, the original image is compressively sampled according to . The size of the sparse basis matrix is , and the size of the measurement matrix is . To obtain the sampled signal , the required number of additions and multiplications is given by

On the other hand, for the BCS scheme, the original image is divided into a number of nonoverlapping block images with a size of , and the number of block images is . The size of the measurement matrix in BCS is . To finish one block image CS, the required number of additions and multiplications is given by

Therefore, for the whole image, the required total number of additions and multiplications using BCS is given by

Based on the above analysis, the computational complexity for the whole image CS and block image CS can be evaluated, respectively. Take a test image with a size of 256 × 256 as an example; if we assume N = 256, M = 192, NB = 16, and MB = 12, the computational complexity of the whole image CS needs 16760640 additions and 16826368 multiplications according to (27) and (28). Similarly, the BCS scheme with a block size of 16 × 16 requires 1029120 additions and 1097728 multiplications according to (30) and (31). Moreover, the BCS requires less storage space than that of the whole image CS due to the small size of the sparse basis matrix and measurement matrix in the BCS scheme.

On the other hand, the BCS scheme can also significantly reduce the computational complexity of the CS decoder. In this work, we use the same OMP reconstruction algorithms for different block sizes of image for a fair comparison. The computational complexity of the CS decoder mainly depends on the complexity of OMP strategies. The standard OMP always runs through iterations to finish the recovery. For the whole image CS scheme, the complexity of OMP is roughly [41,42]. Thus, for the BCS scheme, the complexity of OMP is roughly , where KB << NB. Hence, the complexity of the decoder in the BCS scheme can be reduced compared with the whole image CS.

Therefore, to achieve high performance of BCS with low computational complexity, the block size needs to be properly selected. In our simulation case, we find that the BCS with a block size of 16 × 16 can obtain both good BER and good PSNR performance with low computational complexity. These experiment results are consistent with the previous work in [17].

5. Conclusions

In our work, the BER formula of a 16-QAM system under a nonequally likely condition is derived and analyzed, from which we can see that the BER performance of the 16-QAM system can be improved by optimizing the probability distribution of the constellation points. Based on the theoretical results, bit-level XOR operation is employed to encrypt the image data and optimize the probability distribution of the 16-QAM constellation points. The simulation shows that the bit-level XOR is helpful to obtain better probability distribution of the 16-QAM system compared with that without bit XOR and hence can improve the BER performance of the proposed OFDM transmission system. Simulations of BER and PSNR performance for test images over the AWGN channel further confirms the former theoretical analysis. In this paper, we mainly focus on the effect of bit-level XOR on the BER performance and the reconstructed quality of the compressed image in the OFDM transmission system. In the near future, we would consider how to combine bit-level XOR with other types of physical layer security to further enhance the security and reliability of compressed image transmission systems.

Data Availability

The data are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the Key Laboratory of Universal Wireless Communications (BUPT), Ministry of Education China under KFKT-2020103, by the Zhejiang Provincial Key Natural Science Foundation of China under LZ21F010001, and by National Natural Science Foundation of China under 61405178.