An Extension of Reversible Image Enhancement Processing for Saturation and Brightness Contrast
Abstract
:1. Introduction
2. Preparation
2.1. HSV Color Space
2.2. Contrast Enhancement Method for Color Images
2.2.1. Contrast Enhancement
2.2.2. Preservation of Saturation and Hue
2.3. Saturation Improvement and Contrast Enhancement Method for Color Images with Perfect Reversibility
3. Proposed Method
3.1. Saturation Improvement and Contrast Enhancement Process
3.1.1. Saturation Improvement
- Step 1:
- Define the leftmost bin of the histogram as the reference bin. In the case that the number of pixels contained in the reference bin is more than 1% of the total number of pixels, the right adjacent bin is defined as the alternative reference bin;
- Step 2:
- [Case 1] In the case that the reference bin is empty, shift the histogram between the reference and the rightmost bins by −1 (see Figure 3a);[Case 2] Otherwise, move all the pixels in the reference bin to the right adjacent bin, and shift the histogram between the reference and the rightmost bins by −1 (see Figure 3b).
3.1.2. Contrast Enhancement
- Step 1:
- Merge histograms of and (see Figure 4b);
- Step 2:
- Step 3:
- Separate the merged histogram into and histograms (see Figure 4d);
- Step 4:
- Step 5:
3.1.3. Hue Preservation
3.1.4. Adjustment for Magnitude Relation
3.1.5. Guarantee of Reversibility
- (i)
- Additional Information in Section 3.1.1.We need to restore the original bin data, which are lost during the saturation improvement process described in Section 3.1.1. The original bin data consists of three types of main data. One of them is an 8 bit pixel value of the reference bin in Step 1. Another is 1 bit classification data of the separate cases (Case 1 or 2) in Step 2. Finally, in the case of Case 2 in Step 2, another piece of 1 bit data is required for each merged pixel to discriminate the pixels in the reference bin from the pixels in the adjacent bin; both bins are merged into a single bin in Case 2 of Step 2. The above data are required in every single process. When the saturation improvement process is repeated times, sets of data should be stored by the proposed method;
- (ii)
- Additional Information in Section 3.1.3.The proposed method applies a floor function to if has a fractional number by Equation (9). This rounding process causes errors in and prevents the original image from being restored. Therefore, the errors should be stored as additional information. A location map is first derived to record pixels with rounding errors. Then, the map and each error value are compressed by the JBIG2 standard [22] and Huffman coding, respectively.
3.2. Recovery Process
4. Experimental Results
4.1. Control of Saturation Improvement and Contrast Enhancement
4.2. Maximum Improvement/Enhancement Levels
4.3. Reversibility
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Wu, H.-T.; Dugelay, J.-L.; Shi, Y.-Q. Reversible image data hiding with contrast enhancement. IEEE Signal Process. Lett. 2015, 22, 81–85. [Google Scholar] [CrossRef]
- Gao, G.; Shi, Y.-Q. Reversible data hiding using controlled contrast enhancement and integer wavelet transform. IEEE Signal Process. Lett. 2015, 22, 2078–2082. [Google Scholar] [CrossRef]
- Chen, H.; Ni, J.; Hong, W.; Chen, T.-S. Reversible data hiding with contrast enhancement using adaptive histogram shifting and pixel value ordering. Signal Process. Image Commun. 2016, 46, 1–16. [Google Scholar] [CrossRef]
- Kim, S.; Lussi, R.; Qu, X.; Kim, H.J. Automatic contrast enhancement using reversible data hiding. In Proceedings of the IEEE International Workshop on Information Forensics and Security, Rome, Italy, 16–19 November 2015; pp. 1–5. [Google Scholar]
- Kim, S.; Lussi, R.; Qu, X.; Huang, F.; Kim, H.J. Reversible data hiding with automatic brightness preserving contrast enhancement. IEEE Trans. Circuits Syst. Video Technol. 2019, 29, 2271–2284. [Google Scholar] [CrossRef]
- Mansouri, S.; Bizaki, H.K.; Fakhredanesh, M. Reversible data hiding with automatic contrast enhancement using two-sided histogram expansion. J. Vis. Commun. Image Represent. 2021, 81, 103359. [Google Scholar] [CrossRef]
- Wu, H.-T.; Mai, W.; Meng, S.; Cheung, Y.-M.; Tang, S. Reversible data hiding with image contrast enhancement based on two-dimensional histogram modification. IEEE Access 2019, 7, 83332–83342. [Google Scholar] [CrossRef]
- Wu, H.-T.; Tang, S.; Huang, J.; Shi, Y.-Q. A novel reversible data hiding method with image contrast enhancement. Signal Process. Image Commun. 2018, 62, 64–73. [Google Scholar] [CrossRef]
- Wu, H.-T.; Huang, J.; Shi, Y.-Q. A reversible data hiding method with contrast enhancement for medical images. J. Vis. Commun. Image Represent. 2015, 31, 146–153. [Google Scholar] [CrossRef]
- Gao, G.; Wan, X.; Yao, S.; Cui, Z.; Zhou, C.; Sun, X. Reversible data hiding with contrast enhancement and tamper localization for medical images. Inf. Sci. 2017, 385–386, 250–265. [Google Scholar] [CrossRef]
- Yang, Y.; Zhang, W.; Liang, D.; Yu, N. A ROI-based high capacity reversible data hiding scheme with contrast enhancement for medical images. Multimed. Tools Appl. 2018, 77, 18043–18065. [Google Scholar] [CrossRef]
- Gao, G.; Tong, S.; Xia, Z.; Wu, B.; Xu, L.; Zhao, Z. Reversible data hiding with automatic contrast enhancement for medical images. Signal Process. 2021, 178, 107817. [Google Scholar] [CrossRef]
- Wu, H.-T.; Wu, Y.; Guan, Z.; Cheung, Y.-M. Lossless Contrast Enhancement of Color Images with Reversible Data Hiding. Entropy 2019, 21, 910. [Google Scholar] [CrossRef] [Green Version]
- Wu, H.-T.; Guan, Z. A Reversible Contrast Enhancement Scheme for Color Images. In Proceedings of the IEEE International Conference on Multimedia and Expo (ICME), London, UK, 6–10 July 2020; pp. 1–6. [Google Scholar]
- Sugimoto, Y.; Imaizumi, S. A Lossless Image Processing Method with Contrast and Saturation Enhancement. In Proceedings of the IEEE International Workshop on Multimedia Signal Processing, Tampere, Finland, 6–8 October 2021; p. 156. [Google Scholar]
- Kumar, C.; Singh, A.K.; Kumar, P. A recent survey on image watermarking techniques and its application in e-governance. Multimed. Tools Appl. 2018, 77, 3597–3622. [Google Scholar] [CrossRef]
- Shi, Y.-Q.; Li, X.; Zhang, X.; Wu, H.-T.; Ma, B. Reversible data hiding: Advances in the past two decades. IEEE Access 2016, 4, 3210–3237. [Google Scholar] [CrossRef]
- Thodi, D.M.; Rodriguez, J.J. Expansion Embedding Techniques for Reversible Watermarking. IEEE Trans. Image Process. 2007, 16, 721–730. [Google Scholar] [CrossRef] [PubMed]
- Smith, A.R. Color gamut transform pairs. Comput. Graph. 1978, 12, 12–19. [Google Scholar] [CrossRef]
- Hamachi, T.; Tanabe, H.; Yamawaki, A. Development of a Generic RGB to HSV Hardware. In Proceedings of the 1st International Conference on Industrial Applications Engineering 2013, Fukuoka, Japan, 27–28 March 2013; pp. 169–173. [Google Scholar]
- Zhou, Y.; Chen, Z.; Huang, X. A system-on-chip FPGA design for real-time traffic signal recognition system. In Proceedings of the 2016 IEEE International Symposium on Circuits and Systems (ISCAS), Montreal, QC, Canada, 22–25 May 2016; pp. 1778–1781. [Google Scholar]
- Howard, P.G.; Kossentini, F.; Martins, B.; Forchhammer, S.; Rucklidge, W.J. The emerging JBIG2 standard. IEEE Trans. Circuits Syst. Video Technol. 1998, 8, 838–848. [Google Scholar] [CrossRef]
- True Color Kodak Images. Available online: http://www.r0k.us/graphics/kodak/ (accessed on 24 September 2021).
- USC-SIPI Images. Available online: https://sipi.usc.edu/database/ (accessed on 1 December 2021).
- Gao, M.Z.; Wu, Z.G.; Wang, L. Comprehensive evaluation for HE based contrast enhancement techniques. Adv. Intell. Syst. Appl. 2013, 2, 331–338. [Google Scholar]
- Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Sharma, G.; Wu, W.; Dalal, E.N. The CIEDE2000 color-difference formula: Implementation notes, supplementary test data, and mathematical observations. Color Res. 2005, 30, 21–30. [Google Scholar] [CrossRef]
Saturation | Brightness | Hue | |||||||
---|---|---|---|---|---|---|---|---|---|
Difference | RCE | RMBE | Absolute Difference (Degree) | ||||||
= 15 | = 30 | = 15 | = 30 | = 15 | = 30 | = 15 | = 30 | ||
Proposed | = 0 | 0.4029 | −3.0155 | 0.5323 | 0.5563 | 0.9851 | 0.9756 | 2.6876 | 3.9587 |
= 20 | 16.7591 | 11.3774 | 0.5291 | 0.5525 | 0.9826 | 0.9748 | 1.4316 | 1.7219 | |
Previous [15] | = 0 | 7.2804 | 13.7035 | 0.5299 | 0.5593 | 0.9497 | 0.9251 | 1.7418 | 2.1487 |
= 20 | 27.8330 | 35.9077 | 0.5229 | 0.5453 | 0.9297 | 0.8843 | 1.2443 | 1.2685 | |
Previous [13] | −0.4791 | −0.9375 | 0.5331 | 0.5591 | 0.9845 | 0.9762 | 0.8756 | 1.0093 | |
Previous [1] | 1.4789 | 4.4302 | 0.5313 | 0.5544 | 0.9827 | 0.9661 | 16.7952 | 30.9996 |
Saturation | Brightness | Hue | |||||||
---|---|---|---|---|---|---|---|---|---|
Difference | RCE | RMBE | Absolute Difference (Degree) | ||||||
= 15 | = 30 | = 15 | = 30 | = 15 | = 30 | = 15 | = 30 | ||
Proposed | = 0 | −0.5919 | −8.1052 | 0.5231 | 0.5402 | 0.9762 | 0.9494 | 2.3316 | 3.8966 |
=20 | 14.5529 | 4.9184 | 0.5207 | 0.5354 | 0.9788 | 0.9521 | 1.4352 | 2.1973 | |
Previous [15] | = 0 | 5.9738 | 7.5418 | 0.5252 | 0.5386 | 0.9738 | 0.9682 | 1.4148 | 1.7000 |
= 20 | 26.0265 | 25.0130 | 0.5190 | 0.5262 | 0.9481 | 0.9654 | 1.0613 | 1.1762 | |
Previous [13] | −3.9957 | −8.4343 | 0.5257 | 0.5475 | 0.9710 | 0.9370 | 0.3849 | 0.5881 | |
Previous [1] | −0.0133 | 1.9117 | 0.5294 | 0.5552 | 0.9852 | 0.9703 | 12.3555 | 26.4007 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Sugimoto, Y.; Imaizumi, S. An Extension of Reversible Image Enhancement Processing for Saturation and Brightness Contrast. J. Imaging 2022, 8, 27. https://doi.org/10.3390/jimaging8020027
Sugimoto Y, Imaizumi S. An Extension of Reversible Image Enhancement Processing for Saturation and Brightness Contrast. Journal of Imaging. 2022; 8(2):27. https://doi.org/10.3390/jimaging8020027
Chicago/Turabian StyleSugimoto, Yuki, and Shoko Imaizumi. 2022. "An Extension of Reversible Image Enhancement Processing for Saturation and Brightness Contrast" Journal of Imaging 8, no. 2: 27. https://doi.org/10.3390/jimaging8020027
APA StyleSugimoto, Y., & Imaizumi, S. (2022). An Extension of Reversible Image Enhancement Processing for Saturation and Brightness Contrast. Journal of Imaging, 8(2), 27. https://doi.org/10.3390/jimaging8020027