Better Compression with Deep Pre-Editing

Could we compress images via standard codecs while avoiding artifacts? The answer is obvious -- this is doable as long as the bit budget is generous enough. What if the allocated bit-rate for compression is insufficient? Then unfortunately, artifacts are a fact of life. Many attempts were made over the years to fight this phenomenon, with various degrees of success. In this work we aim to break the unholy connection between bit-rate and image quality, and propose a way to circumvent compression artifacts by pre-editing the incoming image and modifying its content to fit the given bits. We design this editing operation as a learned convolutional neural network, and formulate an optimization problem for its training. Our loss takes into account a proximity between the original image and the edited one, a bit-budget penalty over the proposed image, and a no-reference image quality measure for forcing the outcome to be visually pleasing. The proposed approach is demonstrated on the popular JPEG compression, showing savings in bits and/or improvements in visual quality, obtained with intricate editing effects.

[1]  M. Wilkinson,et al.  Image Preprocessing for Compression : Attribute Filtering , 2007 .

[2]  Zoran A. Ivanovski,et al.  An adaptive POCS algorithm for compression artifacts removal , 2007, 2007 9th International Symposium on Signal Processing and Its Applications.

[3]  Sergey Ioffe,et al.  Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift , 2015, ICML.

[4]  Yoshua Bengio,et al.  Deep Sparse Rectifier Neural Networks , 2011, AISTATS.

[5]  Michael Elad,et al.  Down-Scaling for Better Transform Compression , 2001, Scale-Space.

[6]  Jin Hyung Kim,et al.  Efficient Learning of Image Super-Resolution and Compression Artifact Removal with Semi-Local Gaussian Processes , 2015, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[7]  Jianming Lu,et al.  Post-Processing for Restoring Edges and Removing Artifacts of Low Bit Rates Wavelet-Based Image , 2006, 2006 International Symposium on Intelligent Signal Processing and Communications.

[8]  Xiangjun Zhang,et al.  Low Bit-Rate Image Compression via Adaptive Down-Sampling and Constrained Least Squares Upconversion , 2009, IEEE Transactions on Image Processing.

[9]  Alan C. Bovik,et al.  No-Reference Image Quality Assessment in the Spatial Domain , 2012, IEEE Transactions on Image Processing.

[10]  Peyman Milanfar,et al.  Learned perceptual image enhancement , 2017, 2018 IEEE International Conference on Computational Photography (ICCP).

[11]  Leon A. Gatys,et al.  Image Style Transfer Using Convolutional Neural Networks , 2016, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[12]  Jianfei Cai,et al.  Efficient quadtree based block-shift filtering for deblocking and deringing , 2009, J. Vis. Commun. Image Represent..

[13]  Touradj Ebrahimi,et al.  The JPEG2000 still image coding system: an overview , 2000, IEEE Trans. Consumer Electron..

[14]  Xiaoou Tang,et al.  Compression Artifacts Reduction by a Deep Convolutional Network , 2015, 2015 IEEE International Conference on Computer Vision (ICCV).

[15]  Tomer Michaeli,et al.  Deformation Aware Image Compression , 2018, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[16]  Qing Ling,et al.  D3: Deep Dual-Domain Based Fast Restoration of JPEG-Compressed Images , 2016, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[17]  Li Fei-Fei,et al.  Perceptual Losses for Real-Time Style Transfer and Super-Resolution , 2016, ECCV.

[18]  Michael Elad,et al.  Variable projection for near-optimal filtering in low bit-rate block coders , 2005, IEEE Transactions on Circuits and Systems for Video Technology.

[19]  Daniele D. Giusto,et al.  Objective assessment of the WebP image coding algorithm , 2012, Signal Process. Image Commun..

[20]  Yochai Blau,et al.  Rethinking Lossy Compression: The Rate-Distortion-Perception Tradeoff , 2019, ICML.

[21]  Tao Chen,et al.  Adaptive postfiltering of transform coefficients for the reduction of blocking artifacts , 2001, IEEE Trans. Circuits Syst. Video Technol..

[22]  Avideh Zakhor Iterative procedures for reduction of blocking effects in transform image coding , 1992, IEEE Trans. Circuits Syst. Video Technol..

[23]  Sebastian Bosse,et al.  A deep neural network for image quality assessment , 2016, 2016 IEEE International Conference on Image Processing (ICIP).

[24]  Qing Ling,et al.  $\mathbf{D^3}$: Deep Dual-Domain Based Fast Restoration of JPEG-Compressed Images , 2016, ArXiv.

[25]  Jacques Froment,et al.  Adapted Total Variation for Artifact Free Decompression of JPEG Images , 2005, Journal of Mathematical Imaging and Vision.

[26]  Luca Benini,et al.  CAS-CNN: A deep convolutional neural network for image compression artifact suppression , 2016, 2017 International Joint Conference on Neural Networks (IJCNN).

[27]  Marc Antonini,et al.  Compression artifacts reduction using variational methods : Algorithms and experimental study , 2008, 2008 IEEE International Conference on Acoustics, Speech and Signal Processing.

[28]  Dimitrios Tzovaras,et al.  Blockiness reduction in JPEG coded images , 2002, 2002 14th International Conference on Digital Signal Processing Proceedings. DSP 2002 (Cat. No.02TH8628).

[29]  Majid Rabbani,et al.  Comparison of multiple compression cycle performance for JPEG and JPEG 2000 , 2000, SPIE Optics + Photonics.

[30]  Michael Elad,et al.  Optimized Pre-Compensating Compression , 2017, IEEE Transactions on Image Processing.

[31]  Gregory K. Wallace,et al.  The JPEG still picture compression standard , 1991, CACM.

[32]  Amir Averbuch,et al.  Deblocking of block-transform compressed images using weighted sums of symmetrically aligned pixels , 2005, IEEE Transactions on Image Processing.

[33]  Jonathan T. Barron,et al.  Burst photography for high dynamic range and low-light imaging on mobile cameras , 2016, ACM Trans. Graph..

[34]  Lei Zhang,et al.  Learning without Human Scores for Blind Image Quality Assessment , 2013, 2013 IEEE Conference on Computer Vision and Pattern Recognition.

[35]  Alberto Del Bimbo,et al.  Deep Generative Adversarial Compression Artifact Removal , 2017, 2017 IEEE International Conference on Computer Vision (ICCV).

[36]  Sabine Süsstrunk,et al.  Image aesthetic predictors based on weighted CNNs , 2016, 2016 IEEE International Conference on Image Processing (ICIP).

[37]  Munenori Oizumi,et al.  Preprocessing method for DCT-based image-compression , 2006, IEEE Transactions on Consumer Electronics.

[38]  Hailin Jin,et al.  Composition-Preserving Deep Photo Aesthetics Assessment , 2016, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[39]  Valero Laparra,et al.  End-to-end Optimized Image Compression , 2016, ICLR.

[40]  Urbashi Mitra,et al.  An efficient algorithm for compression-based compressed sensing , 2017, Information and Inference: A Journal of the IMA.

[41]  Andrea Vedaldi,et al.  Instance Normalization: The Missing Ingredient for Fast Stylization , 2016, ArXiv.

[42]  Andrew Zisserman,et al.  Spatial Transformer Networks , 2015, NIPS.

[43]  Jimmy Ba,et al.  Adam: A Method for Stochastic Optimization , 2014, ICLR.

[44]  C.-C. Jay Kuo,et al.  Review of Postprocessing Techniques for Compression Artifact Removal , 1998, J. Vis. Commun. Image Represent..

[45]  Luc Van Gool,et al.  Generative Adversarial Networks for Extreme Learned Image Compression , 2018, 2019 IEEE/CVF International Conference on Computer Vision (ICCV).

[46]  Tamás Szirányi,et al.  Artifact reduction with diffusion preprocessing for image compression , 2005 .

[47]  Andrew Zisserman,et al.  Very Deep Convolutional Networks for Large-Scale Image Recognition , 2014, ICLR.

[48]  Li Dong,et al.  Adaptive downsampling to improve image compression at low bit rates , 2006, IEEE Transactions on Image Processing.

[49]  Michael Elad,et al.  System-Aware Compression , 2018, 2018 IEEE International Symposium on Information Theory (ISIT).

[50]  Jean-Luc Starck,et al.  ASTRONOMICAL IMAGE COMPRESSION BASED ON NOISE SUPPRESSION , 1996 .

[51]  Radomír Mech,et al.  Deep Multi-patch Aggregation Network for Image Style, Aesthetics, and Quality Estimation , 2015, 2015 IEEE International Conference on Computer Vision (ICCV).

[52]  Peyman Milanfar,et al.  NIMA: Neural Image Assessment , 2017, IEEE Transactions on Image Processing.

[53]  Gang Wang,et al.  A new algorithm for removing compression artifacts of wavelet-based image , 2011, 2011 IEEE International Conference on Computer Science and Automation Engineering.

[54]  Wen Gao,et al.  Compression Artifact Reduction by Overlapped-Block Transform Coefficient Estimation With Block Similarity , 2013, IEEE Transactions on Image Processing.

[55]  Michael Elad,et al.  Postprocessing of Compressed Images via Sequential Denoising , 2015, IEEE Transactions on Image Processing.

[56]  Richard Shin JPEG-resistant Adversarial Images , 2017 .

[57]  Licheng Jiao,et al.  Image deblocking via sparse representation , 2012, Signal Process. Image Commun..