In this Letter, we propose an efficient compression algorithm for multi-spectral images having a few bands. First, we propose a low-complexity removing spectral redundancy approach to improve compression performance. Then, a bit plane encoding approach is applied to each band to complete the compression. Finally, the experiments are performed on multi-spectral images. The experiment results show that the proposed compression algorithm has good compressive property. Compared with traditional approaches, the proposed method can decrease the average peak signal noise ratio by 0.36 dB at 0.5 bpp. The processing speed reaches 23.81 MPixels/s at the working frequency of 88 MHz, which is higher than the traditional methods. The proposed method satisfies the project application.
A class of multi-spectral CCD cameras is now heading for a high spatial resolution and multi-spectral bands. These cameras have a few bands, as many as ten bands. These cameras have larger amounts of data than panchromatic cameras. Therefore, it is necessary to compress multi-spectral images of these CCD cameras by using a higher performance compressor. However, these cameras use a so-called “mono-spectral” compressor. The compressor independently compresses each band, which is considered as a panchromatic image to complete. Since the redundancy between bands is not considered, the compression performance is lower. It is not suitable for multi-spectral cameras having a few bands. In this Letter, we provide an efficient compression algorithm for these cameras.
Considering the application for a satellite[1,2], the complexity of multi-spectral compression approaches is not too high. For multi-spectral images, the compression approaches usually use prediction, transform, and vector quantization. The prediction-based methods use the previous encoded band to predict the current band. The prediction error is encoded by an entropy coding algorithm, such as an adaptive binary arithmetic encoding. The prediction-based approaches are widely used by 3D image (such as multi-spectral, hyper-spectral image) compression. For now, to cover 1D, 2D, and 3D coefficients, prediction algorithms include hundreds of predictors. For the on-board application, the main prediction methods were differential pulse-code modulation (DPCM), adaptive DPCM, Consultative Committee for Space Data Systems-Lossless Data Compression (CCSDS-LDC), CCSDSMultispectral and Hyperspectral Data Compression (CCSDS-MHDC), Joint Photographic Experts Group-Lossless Standard (JPEG-LS), and lookup table (LUT). They obtain the better compression performance for lossless compression. The prediction-based approaches are very simple and realized easily in hardware. However, the prediction-based methods have a much poorer performance on error resilience and a much lower lossy compression performance.
The transform-based multi-spectral compression methods mainly use the 3D transform. The 3D transform mainly includes two types: (1) an ordinary 3D transform, such as a 3D discrete wavelet transform (3D-DWT) or a 3D discrete cosine transform (3D-DCT); (2) a 2D transform in combination with other transform. For the first type of method, the ordinary 3D transform is applied to obtain transform coefficients. Then, the transformed coefficients are encoded by a 2D embedded zerotree wavelet (2D-EZW)[3], 3D embedded block coding with optimized truncation (3D-EBCOT)[4], 3D set partitioning in hierarchical trees (3D-SPIHT), a 3D set partitioning embedded block (3D-SPECK)[5], and so on. The 3D transform-based methods can remove the spatial, spectral, and sign redundancy of multi-spectral images. Therefore, these methods have much better compression performance. However, they not only have the problem of complex storage managements but also have the high hardware complexity of compressors. In addition, these methods are only suitable for cameras having many bands. For the second type of method, the 2D transform is completed by a 2D-DWT, a 2D-DCT, a fast Fourier transform (FFT), a Walsh–Hadamard transform[6], and so on. The other transform is completed by the Karhunen–Loeve Transform (KLT) or the principal component analysis (PCA)[7,8]. The KLT can remove the spectral redundancy, and the 2D transform removes the spatial redundancy. These approaches also have much better compression performance and are also suitable for the multi-spectral images that have a few bands.
Considering the spectral redundancy for few bands multi-spectral images, we proposed a low-complexity compression algorithm based on removing spectral redundancy in combination with bit-plane encoding (RSRA-BPE). The proposed method has potential applications in an on-orbit remote sensing off-axis three-mirror camera[9,10].
A multi-spectral CCD is composed of several CCD arrays in parallel and produces several bands simultaneously. Figure 1 shows the process of multi-spectral CCD imaging. The optics reflected and radiated by the ground target converges on the optical thin film of the CCD surface through the optical system. Each band CCD array captures optical energy to obtain the corresponding spectral band image. Each band image contains 1D spatial information of ground objects. At this point, the 1D spectral and 1D spatial image is obtained by this multi-spectral CCD camera. When the camera moves along the push-broom direction, other 1D spatial information of ground objects is obtained. Therefore, the multi-spectral CCD camera produces 3D images. Because several bands, including the same ground objects, are obtained simultaneously by the same multi-spectral CCD, the 3D images produced have spatial and spectral redundancy. For the same two spatial locations, image blocks A and B located separately in the two adjacent bands, the spectral correlation is defined as where is denoted as the pixels of A, is denoted as the pixels of B, is denoted as the mean value of A, is denoted as the mean value of B, and is denoted as the total number of pixels of one image block. According to Eq. (1), we test the spectral correlation of multi-spectral images having a few bands. We use the multi-spectral images that have four bands, which were taken by the SPOT satellite, and the ground standard resolution figure that was obtained by testing the multi-spectral time delay and integration CCD (TDICCD) camera in the calibration laboratory. The spectral correlation coefficients tested are shown in Fig. 2. The correlation coefficient is greater than 0.7 between the adjacent bands. Therefore, comparing the difference between many and few bands multi-spectral images, the multi-spectral images have a stronger spectral correlation, which is considered in the process of compression.
To weigh the computational complexity and compression performance, we proposed an efficient low-complexity removing spectral redundancy (LRSR) algorithm for multi-band CCD images.
We consider every two bands as one group. We define the total number of bands of the multi-spectral CCD camera as . So, all bands are divided into groups. We use the Pearson-based approach to regroup the spectral bands. The correlation coefficients of two bands (denoted as and ) can be expressed as[11] if , so and are relevant. If , then and are irrelevant. If , then and are inversely relevant. The two bands having the maximum value for are considered as one group.
Each group performs removing spectral redundancy (RSR) to produce one main band and one sparse band. The energy of one band of the group is focused into the main band. The correlation of the group is removed. After all groups are processed, the next level RSR is performed. In the next level, the main bands are regrouped to be the first level. That is, every two main bands are placed in one group. In the level, each new group performs the RSR process. After all groups in the level are processed by RSR, the next level RSR is performed the same way as it was previously. Each level uses the same way to process. The number of the level denoted as is equal to . When processing , all bands are processed by RSR. The number of groups processed by RSR is denoted as . The can be expressed as
Figure 3 shows the process of RSR when the band’s number is 4. The process level number is 2. In the first level, there are two groups. Group 1 is processed by RSR to produce the main band and the sparse band . Group 2 is processed by RSR to produce the main band and the sparse band . In the second level, and are considered to be Group 3. Group 3 is processed by RSR to be the main band and the sparse band . Finally, all bands are processed to be one main band and three sparse bands , , and .
Figure 3.Process of RSR. The spectral bands number is 4.
The RSR is used to remove the correlation of two spectral bands in each group. Consider each band of multi-spectral images in a group as a matrix, the th band in a group is defined as where is line number of the band, and is the column number of the band. is composed of line vectors. Each line vector has elements. Each matrix is regrouped into a new matrix having only one line vector. The new line vector is organized in a line vector stack. Then, and are merged into a new matrix , which can be expressed as where and are the row matrixes stacked by each row of and , respectively. The mean value of each band is denoted as , which can be expressed as where and are the mean of and , respectively. By subtracting from the value of each band, the can be expressed as The covariance matrix of is denoted as , which can be expressed as The eigenvectors of are defined as The eigenvector can be computed using the covariance matrix The diagonal matrix of is defined as The diagonal matrix can be computed by Eqs. (7) and (12) as mfracsince In addition, Combined with Eqs. (9), (10), Eq. (15) can be expressed as So, Eq. (15) can be expressed as where is a diagonal matrix. In addition, there is Consider that , so According to Eqs. (14) and (16), there is . Because is a diagonal matrix, the value of the off-diagonal elements is zero. Therefore, the elements of are irrelevant. So, the removing correlation computation equation for multi-spectral images can be expressed as can be obtained by multi-spectral images. According to Eq. (20), the spectral redundancy can be removed. In reality, our idea of RSR is the same with the KLT. However, our algorithm uses only two bands to perform the computation. Therefore, our algorithm has low complexity.
In general, the pixel number of the multi-spectral CCD is relatively large, such as 4096 pixels for each CCD. They can cause the high-complexity for Eq. (20). We divided each group into several sub-blocks (See Fig. 4), and each sub-block is processed by RSR. In a group, each band is divided into several sub-blocks. The sub-blocks that have the same spatial location of two bands are regrouped into new 3D images, which can be processed by RSR.
Note that the smaller can impact the compression performance. We test four multi-spectral images, and each group is and has four bands.
From Fig. 5, when , the compression performance begins to decrease. We use the other multi-spectral images that have a few bands to analyze the relationship between the peak signal-to-noise ratio (PSNR) and the size of the sub-block. The same result is obtained. We weigh the computation complexity against the compression performance, and consider the CCD output line by line. Therefore, we set , and , where is the pixel number of each band.
Figure 5.Relation between compression performance and the size of the block, where (a) is the testing of the multi-spectral image, and (b) is the tested results.
Based on the LRSR algorithm, Fig. 6 shows the whole construction of our algorithm of multi-spectral images. The compression algorithm contains two parts: (1) the LRSR unit and (2) the removing spatial correlation (RSC) unit. The LRSR unit is used to remove spectral redundancy. The RSC unit is used to remove spatial redundancy. The LRSR unit has five stages: (1) grouping, (2) blocking, (3) 1-level RSR, (4) grouping, and (5) 2-level RSR. In each level of RSR, Eqs. (4)–(21) are calculated to remove spectral redundancy. The RSC unit has two stages: (1) spatial sparse and (2) bit-plane coding. In the spatial sparse stage, a 2D-DWT is applied to each band. The BPE of the CCSDS-Image Data Compression (IDC) is used to encode wavelet coefficients[12].
Figure 6.Whole construct of the compression algorithm for multi-spectral images.
In order to evaluate the compression performance of the proposed RSRA-BPE algorithm, we use the self-development testing device. Figure 7 shows the testing experiment scheme. The testing platform includes an image simulation source, a multi-spectral compression system, ground camera test device, a compression server, and a display system. The compression server can produce the simulated multi-spectral images, which are transmitted to the image simulation source unit. The image simulation source unit adjusts the output line frequency, image size, and output time to simulate the multi-spectral CCD output. The multi-spectral compression system compresses the received simulated multi-spectral images. The compression system uses Virtex-PRO Xilinx FPGA with a 32 bit MicroBlaze processor. The compressed streams are received and decoded by the ground camera test device unit. The reconstructed image is transmitted to the compression server and display system.
The compression server injects the SPOT multi-spectral images into the image simulation sources to test the compression performance of the proposed approach. Each group of multi-spectral images is . The depth of the pixels is 8 bits/pixel (bpp). We compare our algorithm with the CCSDS-IDC mono-spectral compressor. Figure 8 shows the tested PSNR of the two methods at 0.5–3 bpp. From Fig. 8, the PSNR of our algorithm improves to 0.36 dB more than the CCSDS-IDC mono-spectral compressor at 0.5 bpp. Because we use the multi-level RSR technology to remove the spectral redundancy, our method outperforms the CCSDS-IDC mono-spectral compression method.
Figure 8.Compression performance comparison with CCSDS-IDC.
We use multiple QuickBird satellite images to further compare the performance of our method with those of the CCSDS-IDC method and the Hadamard post-transform (H-PT) method. The compression server injects the QuickBird satellite testing multi-spectral images with four bands. The reconstructed images perform the PSNR analysis. We used different images from the testing image database to measure the corresponding PSNRs. The average PSNR is considered as the PSNR of the method. The calculated PSNRs of the different methods are shown in Table 1. We perform other image quality assessments by using the mean measure of structural similarity (MSSIM). The MSSIMs are based on the hypothesis that the human visual system (HVS) is highly adapted for extracting the structure information. The MSSIM values at different compressed ratios are shown in Fig. 9. Because we use several key technologies, such as the multi-level RSR to remove the spectral redundancy and the BPE method, our method outperforms the traditional on-orbit compression methods.
Figure 9.MSSIM values at different compression ratios.
In order to analyze the process speed of our algorithm, our algorithm is implemented by an FPGA processor. We use a self-developed CCD camera to test the compression time of our method. The line frequency of the CCD is 1.8094 kHz. The following compression speed of our algorithm is only used to perform the evaluations of compression speed. The compression algorithm is not optimized for the FPGA implementation. These evaluations are based on the lossy compression of remote sensing multi-spectral images with four bands. The size of each band is . Table 2 shows the comparison results of the processing speed of our algorithm with traditional approaches. From Table 1, the data throughput of our algorithm reaches 23.81 MPixels/s at an 88 MHz working frequency, which indicates that less time is spent than the JPEG2000, KLT, and 3D-SPIHT approaches. The compression time of needs only 16.51 ms. According to the different principles of CCD imaging, our compression algorithm can be optimized on an FPGA. An optimized implementation on an FPGA can spend minimal time. Overall, our algorithm has low complexity and high performance and is very suitable for space application.
Methods
Data Throughput (MSPS)a
KLT[13]
9.77
3D-SPIHT[14]
16.04
JPEG2000[15]
5.52
Our approach
23.81
Table 2. Data Throughput Comparison with Traditional Methods
In conclusion, we propose an efficient compression algorithm for multi-spectral images that have a few bands. First, we propose a low-complexity RSR approach to improve compression performance. Then, a BPE approach is applied to each band to complete compression. Finally, the experiments are performed on multi-spectral images. The experiment results show that the proposed compression algorithm has good compressive properties. Compared with traditional approaches, the proposed method can decrease the average PSNR by 0.36 dB at 0.5 bpp. However, the processing speed reaches 23.81 MPixels/s at the working frequency of 88 MHz, which is higher than traditional methods. The proposed the method satisfies the project application. Our method adopts the BPE method for encoding the transformed coefficients. However, BPE cannot remove the residual spectral redundancy. In the future, the distributed source coding method can replace BPE for integrating the proposed method for removing the residual spectral redundancy. The proposed method can also be integrated into a compressed sensing approach[16] to reduce the computational complexity of the camera compressor.