Next Article in Journal
A Priori Information Based Time-Resolved 3D Analysis of the Trajectory and Spatial Orientation of Fast-Moving Objects Using High-Speed Flash X-ray Imaging
Next Article in Special Issue
Texture Management for Glossy Objects Using Tone Mapping
Previous Article in Journal
Multiple Aerial Targets Re-Identification by 2D- and 3D- Kinematics-Based Matching
Previous Article in Special Issue
Reliable Estimation of Deterioration Levels via Late Fusion Using Multi-View Distress Images for Practical Inspection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Extension of Reversible Image Enhancement Processing for Saturation and Brightness Contrast

1
Graduate School of Science and Engineering, Chiba University, 1-33 Yayoicho, Inage-ku, Chiba 263-8522, Japan
2
Graduate School of Engineering, Chiba University, 1-33 Yayoicho, Inage-ku, Chiba 263-8522, Japan
*
Author to whom correspondence should be addressed.
J. Imaging 2022, 8(2), 27; https://doi.org/10.3390/jimaging8020027
Submission received: 22 October 2021 / Revised: 14 January 2022 / Accepted: 25 January 2022 / Published: 28 January 2022
(This article belongs to the Special Issue Intelligent Media Processing)

Abstract

:
This paper proposes a reversible image processing method for color images that can independently improve saturation and enhance brightness contrast. Image processing techniques have been popularly used to obtain desired images. The existing techniques generally do not consider reversibility. Recently, many reversible image processing methods have been widely researched. Most of the previous studies have investigated reversible contrast enhancement for grayscale images based on data hiding techniques. When these techniques are simply applied to color images, hue distortion occurs. Several efficient methods have been studied for color images, but they could not guarantee complete reversibility. We previously proposed a new method that reversibly controls not only the brightness contrast, but also saturation. However, this method cannot fully control them independently. To tackle this issue, we extend our previous work without losing its advantages. The proposed method uses the HSV cone model, while our previous method uses the HSV cylinder model. The experimental results demonstrate that our method flexibly controls saturation and brightness contrast reversibly and independently.

1. Introduction

Currently, image processing applications are widely used to edit images. Most image processing methods, however, cannot consider reversibility; that is, the original images can never be retrieved from the output images. If a user desires to reconstruct an original image, the original image itself or editing information must be stored aside from the output image. This problem noticeably affects devices with limited storage capacity, such as tablets and smartphones. Therefore, it is desired to restore the original images from the output images without increasing the data amount. Reversible contrast enhancement (CE) [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15] using reversible data hiding (RDH) is a technique where the brightness contrast can be flexibly enhanced and reverted without increases in data.
Data hiding is generally researched to prevent unauthorized use of images and detect tampering in images [16,17]. This technique is classified into two types: irreversible and reversible. The former has a high hiding capacity and high resistance against attacks, but the original images can never be retrieved after data extraction. In contrast, the latter has a relatively low hiding capacity and low resistance against attacks, but it can retrieve the original images after data extraction. The above reversible CE methods use the latter and aim for perfect reversibility by embedding additional information.
Most reversible CE methods [1,2,3,4,5,6,7,8,9,10,11,12] have been studied for grayscale images. If we simply use those methods for color images, some image distortion can appear in the output images. In contrast, some CE methods [13,14] have been proposed for color images. The images restored with these methods have a high image quality, but they do not perfectly match their originals.
Wu et al. [1] proposed a reversible CE method with a histogram-shifting (HS)-based RDH for grayscale images. This method accomplishes perfect reversibility by embedding additional information into image histograms to recover the original images. On the basis of Wu et al.’s method, many extended methods have been proposed. These methods aim to improve the hiding capacity, CE effect, and/or output image quality. Gao et al. [2] proposed a high-capacity method that embeds information into not only the space domain, but also the integer wavelet transform domain. Chen et al. [3] focused on the histogram distribution characteristics for effective CE. Their method also improves the image quality by limiting the range of pixel value modification due to HS. The HS process [1] was developed by Kim et al. [4,5] to improve the CE effect. Their method flexibly defines the direction in which an image histogram is shifted depending on the positions of the peak and minimum points in the histogram. Mansouri et al. [6] further extended the previous methods [4,5]. This method conducts CE by using the two highest bins simultaneously and achieves both high capacity and brightness preservation. Wu et al. [7] adopted two-dimensional image histograms. In this method, the CE effect is incremented, and image distortion is alleviated. The preprocessing of HS [1] was modified by Wu et al. [8]; consequently, the distortion caused by the preprocessing was effectively inhibited. For medical images, multiple CE methods have been studied [9,10,11,12]. These methods first divide an original image into regions of interest (ROIs) and non-regions of interest before the HS process; the CE effect thus appears in the ROIs only. The above methods are applicable only to grayscale images. Therefore, hue distortion is caused when we simply apply these methods to color images.
Wu et al. [13] proposed a reversible CE method for color images that uses the HSV color space. This method can enhance the brightness contrast, which is simply referred to as contrast, without saturation and hue distortion. Meanwhile, rounding errors are caused by preservation processes for saturation and hue. Therefore, although the retrieved images are high in quality, this method does not reconstruct the original images. Wu et al. [14] extended the method [13] to ensure perfect reversibility. The extended method enhances the contrast without hue distortion, but fails to preserve saturation. Additionally, in the recovery process, the R, G, and B values in some pixels might be mixed up in a restored image. In such a case, those pixels are not reverted to their originals. Consequently, this method still cannot ensure perfect reversibility, in common with the previous method [13].
To tackle perfect reversibility, we previously proposed another reversible image processing method for color images [15]. Our previous method embeds additional information by using the prediction error expansion with histogram shifting (PEE-HS) method [18]. Additionally, the method not only enhances contrast, but also improves saturation. With this method, however, saturation is unintentionally shifted by the CE process. Even when the saturation improvement process is not conducted, the saturation is slightly changed in accordance with CE.
On the basis of our previous method, this paper proposes an extended reversible image processing method. The proposed method can individually improve saturation and enhance contrast by using the HSV cone model. In the HSV cone model, saturation is obtained as an integer value. Therefore, no complex procedures are required to correct saturation distortion due to the CE process. The proposed method is designed to be effectively applied to devices with a limited storage capacity. We can easily recover an original image from an output image without increasing the data amount by embedding recovery information into the body data. Evaluation results are given to show that our method controls saturation and contrast reversibly and independently.
The rest of the paper is organized as follows. Section 2 gives background information for understanding the proposed method, including an overview of related work. In Section 3, our proposed reversible image processing method for color images is described. The experimental results and analysis are provided in Section 4. Finally, we conclude the paper and describe our future work in Section 5.

2. Preparation

2.1. HSV Color Space

The HSV color space consists of hue (H), saturation (S), and brightness (V). This color space is classified into two types: the cylinder model [19] and cone model [20,21], depending on the saturation formula. The HSV components are generally given by:
H = 60 × G B M a x M i n i f M a x = R 60 × ( B R M a x M i n + 2 ) i f M a x = G 60 × ( R G M a x M i n + 4 ) i f M a x = B n o t d e f i n e d i f M a x = 0 ,
S c y l i n d e r = M a x M i n M a x i f M a x 0 0 i f M a x = 0 ,
S c o n e = M a x M i n ,
V = M a x ,
where M a x , M e d i a n , and M i n represent the largest, middle, and smallest values in the RGB components of each pixel and S c y l i n d e r and S c o n e indicate the saturation for the cylinder and cone models, respectively. Note that all variables are used as scalar values. The previous method [13] refers to the cylinder model. The cylinder model has saturation with a fractional value with Equation (2). Therefore, rounding errors are caused in saturation control with the previous method. In contrast, the proposed method uses the cone model. Since the cone model has saturation with an integer value with Equation (3), our method can reversibly improve saturation without any errors. Our proposed method executes three main processes, i.e., saturation improvement, CE, and hue preservation.

2.2. Contrast Enhancement Method for Color Images

Wu et al. proposed a CE method for color images [13]. Figure 1a shows a block diagram of this method. First, the R, G, and B values of each pixel are divided into M a x , M e d i a n , and M i n , which are determined by the magnitude relation among the R, G, and B values. Then, the HS-based RDH method [1] is performed on M a x to enhance the contrast. Finally, M e d i a n and M i n are adjusted to retain the original hue and saturation. Accordingly, a contrast-enhanced image without distortion can be obtained.
Here, if the enhancement process is conducted in the HSV color space, a number of rounding errors are caused by color space conversion between RGB and HSV. Those errors degrade the quality of restored images. Although this method cannot completely retrieve the original images, restored images must have a high image quality without artifacts. Therefore, this method deals with providing reversibility by indirectly controlling the H, S, and V values with M a x , M e d i a n , and M i n . In what follows, we describe the CE process for brightness and the preservation of saturation and hue.

2.2.1. Contrast Enhancement

The HS-based RDH method [1] is performed on M a x to enhance contrast. In this operation, each pixel value f is modified to f by:
f = f 1 i f f < f L f b i i f f = f L f i f f L < f < f R f + b i i f f = f R f + 1 i f f > f R ,
where b i is the i-th payload bit and f L , f R are the highest two bins in the histogram ( f L < f R ). Note that the preprocessing [8] is preliminarily conducted to prevent overflow (OF) and underflow (UF). The information essential to restoring the original image should be embedded with the payload.

2.2.2. Preservation of Saturation and Hue

To prevent the shifting of hue and saturation caused by the CE process, M e d i a n and M i n are adjusted to retain ratios C S and C H , respectively,
C S = M i n M a x M i n M a x ,
C H = M e d i a n M i n M a x M i n M e d i a n M i n M a x M i n ,
where M a x is the value after the processing by Equation (5) and M e d i a n , M i n are the values after the adjustment by Equations (6) and (7). If M e d i a n and M i n have fractional values, a floor function is applied to them, and those values are converted to integer values.
The previous method applies CE to color images. In the recovery process, M a x can be recovered completely. M e d i a n and M i n , however, cannot be retrieved due to errors caused by applying the floor function. Thus, this method does not guarantee full reversibility. To tackle this issue, we previously proposed a fully reversible image processing method [15]. This method not only enhances contrast, but also improves saturation.

2.3. Saturation Improvement and Contrast Enhancement Method for Color Images with Perfect Reversibility

The previous method [15] reversibly controls not only contrast, but also saturation. Figure 1b shows a block diagram of this method. This method has been studied on the basis of a previous method [13], but guarantees complete reversibility by embedding additional information for recovery using the PEE-HS method [18]. Further, the method not only enhances the contrast, but also improves the saturation. The enhancement levels for contrast and saturation can be individually controlled by introducing two parameters for them. This method performs the HS method [1] on M a x , which corresponds to the brightness, to enhance the contrast. However, as can be seen from Equation (2), the saturation should be shifted by controlling M a x . Nevertheless, this method does not consider adjusting M i n to maintain the saturation. Thus, the saturation changes appreciably in accordance with the CE process, even when saturation improvement is not intended. To solve this issue, we propose an extended method of [15] in the next section. The proposed method uses the HSV cone model to prevent unintended changes in saturation and achieve perfectly independent control of contrast and saturation.

3. Proposed Method

We propose a reversible image processing method for color images that can improve saturation and enhance contrast independently. The method guarantees reversibility, and the original images can be fully recovered in any case. Each level of saturation improvement and CE can be controlled by using two distinct parameters. We describe the improvement and enhancement process and the recovery process as follows.

3.1. Saturation Improvement and Contrast Enhancement Process

Figure 2a shows a block diagram of the proposed method. In our method, the R, G, and B values of each pixel are divided into M a x , M e d i a n , and M i n . Saturation is first improved by decreasing the values of M i n . The histograms of M a x and M i n are merged, and then, the preprocessing [8] is conducted to prevent OF and UF. The merged histogram is separated into M a x and M i n histograms again. The CE process is performed for M a x by the HS-based RDH method [1]. In synchronization with the CE process, M i n is adjusted to prevent saturation distortion caused by the CE process. M e d i a n is subsequently updated to maintain the hue of the original image. M a x ^ , M e d i a n ^ , and M i n ^ are further calibrated to maintain the magnitude relation among RGB components. They are turned back to R, G, and B values, respectively. Finally, additional information, which is required to recover the original image, is embedded into each color component by using the PEE-HS method [18]. Accordingly, the proposed method can independently improve saturation and enhance contrast with full reversibility. We separately explain each process in detail.

3.1.1. Saturation Improvement

The proposed method improves saturation by decreasing the values of M i n on the basis of Equation (3). The procedure consists of two steps.
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).
The threshold of 1% in Step 1 is a desirable parameter determined from our experiments. The above steps are repeated I S times. The improvement level can be controlled by the number of repetitions I S . Note that the essential information for recovering original images is embedded in Section 3.1.5.

3.1.2. Contrast Enhancement

The HS-based RDH method [1] is performed on M a x to enhance contrast. Figure 4 illustrates an example of the CE process.
Step 1:
Merge histograms of M a x and M i n (see Figure 4b);
Step 2:
Conduct preprocessing [8] to prevent OF and UF (see Figure 4c);
Step 3:
Separate the merged histogram into M a x and M i n histograms (see Figure 4d);
Step 4:
Perform the HS-based RDH method [1] on M a x to enhance the contrast, and obtain M a x ^ (see Figure 4e);
Step 5:
To prevent saturation distortion, extend Equation (3) to
S c o n e = M a x ^ M i n ^ ,
and obtain the M i n ^ that satisfies Equation (8) (see Figure 4e).
The above steps are repeated I V times. Our method can control the enhancement level by the number of repetitions I V . The essential information for restoring the original image is embedded in Step 4. If the information amount exceeds the hiding capacity, the surplus will be embedded in Section 3.1.5.

3.1.3. Hue Preservation

Both saturation improvement and CE practically cause hue distortion. Therefore, the proposed method needs to adjust M e d i a n to preserve the original hue. Here, we extend Equation (7) to:
C H = M e d i a n M i n M a x M i n M e d i a n ^ M i n ^ M a x ^ M i n ^ .
According to Equation (9), M e d i a n is updated to M e d i a n ^ so as not to cause hue distortion. If M e d i a n ^ has a fractional number, the proposed method applies a floor function to M e d i a n ^ . This rounding process causes errors in M e d i a n and prevents the original image from being restored. Therefore, the errors should be stored as additional information. We give details on such information in Section 3.1.5.

3.1.4. Adjustment for Magnitude Relation

After the hue preservation described in Section 3.1.3, the magnitude relation should be M a x ^ > M e d i a n ^ > M i n ^ . In some cases, however, the magnitude relation might turn out to be M a x ^ M e d i a n ^ M i n ^ . Since the R, G, and B values in each pixel are divided into M a x ^ , M e d i a n ^ , and M i n ^ again in the recovery process, the proposed method needs to adjust each component to ensure the relation of M a x ^ > M e d i a n ^ > M i n ^ , as shown in Figure 5. First, histograms of M a x ^ , M e d i a n ^ , and M i n ^ are merged (see Figure 5b). Then, both edge bins are emptied using the previous method [8] (see Figure 5c). The merged histogram is separated into three components (see Figure 5d). Finally, the histograms of M a x ^ and M i n ^ are shifted by +1 and −1, respectively (see Figure 5e). Accordingly, the proposed method ensures the magnitude relation of M a x ^ > M e d i a n ^ > M i n ^ . Note that the essential information for recovering the former relation is embedded in Section 3.1.5.

3.1.5. Guarantee of Reversibility

Additional information is embedded to recover original images in the final process of our method. We used the PEE-HS method [18] for embedding the information, but any arbitrary RDH method can be used. In the proposed method, we need to store four types of additional information to restore the original images. The first and second types are the original bin data, which are lost by the saturation improvement process in Section 3.1.1, and the recovery data, which are required in the recovery process for HS in Section 3.1.2. The third type is rounding errors between M e d i a n and M e d i a n in Section 3.1.3. Finally, the original bin data of both ends of the histogram, which is lost by adjusting the magnitude relation among M a x , M e d i a n , and M i n , is also required in the recovery process of Section 3.1.4. The first, third, and fourth types of additional information are embedded using PEE-HS. In contrast, the HS process in Section 3.1.2 is an RDH technique; some information can be embedded into an image in this process. Thus, the second type of information, that is the recovery data in Section 3.1.2, is embedded during the HS process up to its maximum capacity. In the case that the data amount is larger than the hiding capacity, the surplus would be embedded here with other additional information. In what follows, we describe the two kinds of additional information in Section 3.1.1 and Section 3.1.3 to restore saturation and hue, respectively:
(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 I S times, I S 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 M e d i a n ^ if M e d i a n ^ has a fractional number by Equation (9). This rounding process causes errors in M e d i a n 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.
Finally, all of the additional information is embedded into RGB components by using the PEE-HS method [18]. To reduce the amount of additional information, we adopted the preprocessing from another method [8] as that of the PEE-HS method.

3.2. Recovery Process

We describe the recovery process for reverting an output image to the original in accordance with Figure 2b. First, the additional information is extracted from each color component by using the PEE-HS method [18]. The R, G, and B values of each pixel are divided into M a x ^ , M e d i a n ^ , and M i n ^ . The original M a x ^ , M e d i a n ^ , and M i n ^ , which are the values before the process in Section 3.1.4, are restored. Then, the contrast of M a x ^ is turned back to the original by the HS-based RDH method [1] and M a x is fully recovered. The original saturation is subsequently restored, and M i n is perfectly reconstructed. The hue is recovered by Equation (9), and the rounding errors in M e d i a n are modified simultaneously. Accordingly, the original M e d i a n is obtained. M a x , M e d i a n , and M i n are finally turned back to R, G, and B values, respectively. In this way, the proposed method can completely recover the original image.

4. Experimental Results

We evaluated the output images derived by the proposed method and three previous methods [1,13,15] in terms of brightness, saturation, and reversibility. We used 24 color images with a size of 768 × 512 pixels downloaded from the Kodak Lossless True Color Image Suite [23] and six color images with a size of 512 × 512 pixels downloaded from the USC website [24]. If we were to use larger-sized images, we could expect that the maximum levels of saturation improvement and CE would be larger. This is because the data hiding capacity should increase. In contrast, if we were to use smaller-sized images, their maximum levels would be smaller. Note that saturation is derived by Equation (3) on the basis of the HSV cone model.

4.1. Control of Saturation Improvement and Contrast Enhancement

We first evaluated the output images in terms of saturation improvement, CE, and hue distortion. Figure 6 shows output images derived by the proposed method with I S = 0 , 10 , 20 and I V = 0 , 15 , 30 . The proposed method could independently control the levels of saturation improvement and CE by using the individual parameters I S and I V . In contrast, the previous methods [1,13] perform CE, but saturation improvement is not considered. Figure 7 and Figure 8 exhibit the original image, images output by each method, and their pixel distributions for the saturation (S) and brightness (V), where I S = 20 and I V = 30 . Figure 7b,c and Figure 8b,c reveal that the proposed method and the previous method [15] not only enhanced the contrast, but also improved the saturation. In terms of saturation enhancement, the previous method [15] outperformed the proposed method. This is because it shifts the saturation along with CE. In other words, unintended changes in saturation are caused by CE in this method. As shown in Figure 7d and Figure 8d, the previous method [13] could enhance contrast without hue distortion; this method, however, does not consider saturation improvement. Additionally, from Figure 7e and Figure 8e, it is obvious that CE leads to hue distortion in the previous method [1].
Next, we compared the effects of saturation improvement and CE for the proposed and the previous methods. Table 1 and Table 2 show the results obtained for four different indexes. These tables show the mean values of each evaluation index for all the test images. The improvement level for saturation was assessed by the saturation difference. Relative contrast error (RCE) [25] was adopted to evaluate the enhancement level for contrast:
R C E = 0.5 + s t d V s t d V 255 ,
where s t d V and s t d V represent the standard deviations of the brightness for the original and output images, respectively. RCE ranges from 0–1. When the contrast is enhanced from the original image, the RCE value exceeds 0.5. We subsequently assessed the brightness difference between original and output images using the relative mean brightness error (RMBE) [25].
R M B E = 1 m e a n V m e a n V 255 ,
where m e a n V and m e a n V represent the mean values of the brightness for the original and output images, respectively. If the brightness is perfectly preserved, the RMBE should be one. In contrast, when there are any changes in brightness in the output image, the RMBE is less than one.
Further, we confirmed the hue distortion caused by CE and saturation improvement. The absolute difference in hue was calculated for each image. From Table 1 and Table 2, it is clear that the proposed method and the previous method [15] could improve saturation, while the previous methods [1,13] do not consider saturation improvement. In regard to brightness, each method enhanced the contrast with RCE > 0.5. However, CE causes unintended saturation improvement, even when I s = 0 in the previous method [15]. Therefore, this method cannot perfectly control saturation and contrast independently.
Additionally, from the values of RMBE, we found that each method can approximately maintain the brightness. With respect to the hue, the proposed method and the previous methods [13,15] could preserve the hue. In contrast, the previous method [1] caused serious hue distortion due to the CE process.
Although the proposed method outperformed the previous method, there was still a restriction. To ensure reversibility, we embedded additional information into images after Step 4 in Figure 2a. This embedding process slightly deteriorates the effects of the CE and hue preservation. As the values of I S and I V become larger, these effects further decrease due to the increase in additional information.

4.2. Maximum Improvement/Enhancement Levels

Figure 9 shows an example of the maximum levels of saturation improvement and CE for kodim16. In this case, I S = 139 and I V = 57 are the maximum parameter values. The proposed method flexibly controls the saturation and contrast by changing the parameters within the range of zero to their maximum values.
We further analyzed the maximum levels of saturation improvement and CE. Figure 10 and Figure 11 show the maximum values of saturation difference and RCE for all the images output by each method. In regard to brightness, Figure 10a and Figure 11a prove that each method greatly enhanced the contrast. As can be seen from Figure 10b and Figure 11b, the saturation improvement effect was achieved only with the proposed method and the previous method [15].

4.3. Reversibility

In the previous sections, we claimed that the original images could be completely reconstructed by our method and the previous methods [1,15], while the previous method [13] could not restore original images. To confirm the reversibility of our method and previous methods [1,13,15], we evaluated the quality of the restored images by using the PSNR, SSIM [26], and CIEDE2000 [27]. With respect to SSIM, we used MSSIM, which is the mean value of SSIM across all windows. In regard to CIEDE2000, as the color difference between the original and output images becomes larger, CIEDE2000 shows a larger value. If there is no color difference, the value should be zero. We conducted the experiment with I V = 30 and I S = 20 . Table 3 shows the PSNR, MSSIM, and CIEDE2000 values of the restored images obtained by each method. It is shown that all the test images could be perfectly recovered with the proposed method and previous methods [1,15]. Contrarily, although the restored images had high quality with the method [13], their originals were never retrieved.

5. Conclusions

We proposed an efficient reversible image processing method for color images that not only enhances contrast, but also improves saturation. The proposed method tackles the issues of our previous work, and it attains fully independent control of both saturation and contrast by adopting the HSV cone model. Each saturation value is obtained as an integer in the HSV cone model. Therefore, we can simply correct the saturation distortion caused by the CE process. The experimental results demonstrated the full reversibility and independent control of saturation and contrast with the proposed method. Our future work involves studying reversibility for other image processing techniques such as smoothing and sharpening. In particular, we will embed information on rounding errors into output images to guarantee reversibility, and we will investigate changing the operator coefficients for flexible control under the process of reversing.

Author Contributions

Conceptualization, Y.S. and S.I.; methodology, Y.S.; validation, Y.S. and S.I.; formal analysis, Y.S.; investigation, Y.S.; writing—original draft preparation, Y.S.; writing—review and editing, S.I.; supervision, S.I.; project administration, S.I. All authors have read and agreed to the published version of the manuscript.

Funding

This research received Grant-in-Aid for Scientific Research(C), No. 21K12580, from the Japan Society for the Promotion Science.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available upon request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. 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]
  2. 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]
  3. 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]
  4. 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]
  5. 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]
  6. 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]
  7. 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]
  8. 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]
  9. 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]
  10. 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]
  11. 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]
  12. 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]
  13. 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]
  14. 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]
  15. 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]
  16. 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]
  17. 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]
  18. Thodi, D.M.; Rodriguez, J.J. Expansion Embedding Techniques for Reversible Watermarking. IEEE Trans. Image Process. 2007, 16, 721–730. [Google Scholar] [CrossRef] [PubMed]
  19. Smith, A.R. Color gamut transform pairs. Comput. Graph. 1978, 12, 12–19. [Google Scholar] [CrossRef]
  20. 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]
  21. 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]
  22. 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]
  23. True Color Kodak Images. Available online: http://www.r0k.us/graphics/kodak/ (accessed on 24 September 2021).
  24. USC-SIPI Images. Available online: https://sipi.usc.edu/database/ (accessed on 1 December 2021).
  25. 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]
  26. 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]
  27. 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]
Figure 1. Block diagrams of previous methods. (a) Previous method [13]; (b) previous method [15].
Figure 1. Block diagrams of previous methods. (a) Previous method [13]; (b) previous method [15].
Jimaging 08 00027 g001
Figure 2. Block diagrams of the proposed method. (a) Saturation improvement and contrast enhancement process; (b) recovery process.
Figure 2. Block diagrams of the proposed method. (a) Saturation improvement and contrast enhancement process; (b) recovery process.
Jimaging 08 00027 g002
Figure 3. Histogram transition in M i n for saturation improvement. (a) In case the reference bin is empty (Step 2 (Case 1)); (b) in case the reference bin is not empty (Step 2 (Case 2)).
Figure 3. Histogram transition in M i n for saturation improvement. (a) In case the reference bin is empty (Step 2 (Case 1)); (b) in case the reference bin is not empty (Step 2 (Case 2)).
Jimaging 08 00027 g003
Figure 4. Histogram transition of M i n and M a x for CE. (a) Original histograms of M i n and M a x ; (b) merged histogram; (c) merged histogram after preprocessing [8]; (d) histograms separated into M i n and M a x ; (e) M a x histogram after CE process and M i n histogram after adjustment.
Figure 4. Histogram transition of M i n and M a x for CE. (a) Original histograms of M i n and M a x ; (b) merged histogram; (c) merged histogram after preprocessing [8]; (d) histograms separated into M i n and M a x ; (e) M a x histogram after CE process and M i n histogram after adjustment.
Jimaging 08 00027 g004
Figure 5. Histogram transition of M a x ^ , M e d i a n ^ , and M i n ^ in the adjustment for magnitude relation. (a) Histograms of M a x ^ , M e d i a n ^ , and M i n ^ ; (b) merged histogram; (c) merged histogram after preprocessing [8]; (d) histograms separated into M a x ^ , M e d i a n ^ and M i n ^ ; (e) histograms of M a x ^ shifted by +1, M i n ^ shifted by −1, and M e d i a n ^ .
Figure 5. Histogram transition of M a x ^ , M e d i a n ^ , and M i n ^ in the adjustment for magnitude relation. (a) Histograms of M a x ^ , M e d i a n ^ , and M i n ^ ; (b) merged histogram; (c) merged histogram after preprocessing [8]; (d) histograms separated into M a x ^ , M e d i a n ^ and M i n ^ ; (e) histograms of M a x ^ shifted by +1, M i n ^ shifted by −1, and M e d i a n ^ .
Jimaging 08 00027 g005
Figure 6. Images output by proposed method, where I S = 0 , 10 , 20 and I V = 0 , 15 , 30 (kodim16).
Figure 6. Images output by proposed method, where I S = 0 , 10 , 20 and I V = 0 , 15 , 30 (kodim16).
Jimaging 08 00027 g006
Figure 7. Original and output images and their pixel distributions for saturation and brightness, where I S = 20 and I V = 30 (kodim16). (a) Original image; (b) proposed method; (c) previous method [15]; (d) previous method [13]; (e) previous method [1].
Figure 7. Original and output images and their pixel distributions for saturation and brightness, where I S = 20 and I V = 30 (kodim16). (a) Original image; (b) proposed method; (c) previous method [15]; (d) previous method [13]; (e) previous method [1].
Jimaging 08 00027 g007
Figure 8. Original and output images and their pixel distributions for saturation and brightness, where I S = 20 and I V = 30 (house). (a) Original image; (b) proposed method; (c) previous method [15]; (d) previous method [13]; (e) previous method [1].
Figure 8. Original and output images and their pixel distributions for saturation and brightness, where I S = 20 and I V = 30 (house). (a) Original image; (b) proposed method; (c) previous method [15]; (d) previous method [13]; (e) previous method [1].
Jimaging 08 00027 g008
Figure 9. Maximum levels of saturation improvement and CE for proposed method (kodim16).
Figure 9. Maximum levels of saturation improvement and CE for proposed method (kodim16).
Jimaging 08 00027 g009
Figure 10. Maximum values of RCE and saturation difference (Kodak). (a) RCE; (b) saturation difference.
Figure 10. Maximum values of RCE and saturation difference (Kodak). (a) RCE; (b) saturation difference.
Jimaging 08 00027 g010
Figure 11. Maximum values of RCE and saturation difference (SIPI). (a) RCE; (b) saturation difference.
Figure 11. Maximum values of RCE and saturation difference (SIPI). (a) RCE; (b) saturation difference.
Jimaging 08 00027 g011
Table 1. Effects of saturation improvement and CE (Kodak).
Table 1. Effects of saturation improvement and CE (Kodak).
SaturationBrightnessHue
DifferenceRCERMBEAbsolute Difference (Degree)
I V = 15 I V = 30 I V = 15 I V = 30 I V = 15 I V = 30 I V = 15 I V = 30
Proposed I S = 00.4029−3.01550.53230.55630.98510.97562.68763.9587
I S = 2016.759111.37740.52910.55250.98260.97481.43161.7219
Previous [15] I S = 07.280413.70350.52990.55930.94970.92511.74182.1487
I S = 2027.833035.90770.52290.54530.92970.88431.24431.2685
Previous [13]−0.4791−0.93750.53310.55910.98450.97620.87561.0093
Previous [1]1.47894.43020.53130.55440.98270.966116.795230.9996
Table 2. Effects of saturation improvement and CE (SIPI).
Table 2. Effects of saturation improvement and CE (SIPI).
SaturationBrightnessHue
DifferenceRCERMBEAbsolute Difference (Degree)
I V = 15 I V = 30 I V = 15 I V = 30 I V = 15 I V = 30 I V = 15 I V = 30
Proposed I S = 0−0.5919−8.10520.52310.54020.97620.94942.33163.8966
I S =2014.55294.91840.52070.53540.97880.95211.43522.1973
Previous [15] I S = 05.97387.54180.52520.53860.97380.96821.41481.7000
I S = 2026.026525.01300.51900.52620.94810.96541.06131.1762
Previous [13]−3.9957−8.43430.52570.54750.97100.93700.38490.5881
Previous [1]−0.01331.91170.52940.55520.98520.970312.355526.4007
Table 3. Restored image quality.
Table 3. Restored image quality.
Kodak Image DatabaseUSC Image Database
PSNR (dB)MSSIMCIEDE2000PSNR (dB)MSSIMCIEDE2000
ProposedInf.1.00000.0000Inf.1.00000.0000
Previous [15]Inf.1.00000.0000Inf.1.00000.0000
Previous [13]59.90880.99980.118158.35160.99990.1015
Previous [1]Inf.1.00000.0000Inf.1.00000.0000
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

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

AMA Style

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 Style

Sugimoto, 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

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop