To achieve high-quality image compression of a floral canopy, a region of interest (ROI) mask of the wavelet domain was generated through the automatic identification of the canopy ROI and lifting the bit-plane of the ROI to obtain priority of coding for the ROI-set partitioning in hierarchical trees (ROI-SPIHT) coding. The embedded zerotree wavelet (EZW) coding was conducted for the background (BG) region of the image and a relatively more low-frequency wavelet coefficient was obtained using a relatively small amount of coding. Through the weighing factor r of the ROI coding amount, the proportion of the ROI and BG coding amount was dynamically adjusted to generate embedded, truncatable bit streams. Despite the location of truncation, the image information and ROI mask information required by the decoder can be guaranteed to achieve high-quality compression and reconstruction of the image ROI. The results indicated that under the same bit rate, the larger the r value is, the larger the peak-signal-to-noise ratio (PSNR) for the ROI reconstructed image and the smaller the PSNR for the BG reconstructed image. In the range of 0.07-1.09 bpp, the PSNR of the ROI reconstructed image was 42.65% higher on average than that of the BG reconstructed image, 43.95% higher on average than that of the composite image of the ROI and BG (ALL), and 16.84% higher on average than that of the standard SPIHT reconstructed image. Additionally, the mean square error of the quality evaluation index and similarity for the ROI reconstructed image were both better than those for the BG, ALL, and standard SPIHT reconstructed images. The texture distortion of the ALL image was smaller than that of the SPIHT reconstructed image, indicating that the image compression algorithm based on the mask hybrid coding for ROI (ROI-MHC) is capable of improving the reconstruction quality of an ROI image. When the weighing factor r is a fixed value, as the proportion of ROI (a) increases, the quality of ROI image reconstruction gradually decreases. Therefore, upon the application of the ROI-MHC image compression algorithm, high-quality reconstruction of the ROI image can be achieved through dynamically configuring r according to a. Under the same bit rate, the quality of the ROI-MHC image compression is higher than that of current compression algorithms of same classes and offers promising application opportunities. Keywords: floral canopy, ROI, mask hybrid coding, image compression, algorithm, wavelet transform DOI: 10.25165/j.ijabe.20171005.2772 Citation: Sun G X, Wang X C, Ding Y Q, Li Y H, Zhang B H, Li Y B, et al. Image compression algorithm of floral canopy based on mask hybrid coding for ROI. Int J Agric & Biol Eng, 2017; 10(5): 166–176.
Read full abstract