<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xml:lang="en" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">JQC</journal-id>
<journal-id journal-id-type="nlm-ta">JQC</journal-id>
<journal-id journal-id-type="publisher-id">JQC</journal-id>
<journal-title-group>
<journal-title>Journal of Quantum Computing</journal-title>
</journal-title-group>
<issn pub-type="epub">2579-0145</issn>
<issn pub-type="ppub">2579-0137</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">39913</article-id>
<article-id pub-id-type="doi">10.32604/jqc.2022.039913</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Reversible Data Hiding with Contrast Enhancement Using Bi-histogram Shifting and Image Adjustment for Color Images</article-title>
<alt-title alt-title-type="left-running-head">Reversible Data Hiding with Contrast Enhancement Using Bi-histogram Shifting and Image Adjustment for Color Images</alt-title>
<alt-title alt-title-type="right-running-head">Reversible Data Hiding with Contrast Enhancement Using Bi-histogram Shifting and Image Adjustment for Color Images</alt-title>
</title-group>
<contrib-group>
<contrib id="author-1" contrib-type="author">
<name name-style="western"><surname>Jorvialom</surname><given-names>Goma Tshivetta Christian Fersein</given-names></name><xref ref-type="aff" rid="aff-1">1</xref><xref ref-type="aff" rid="aff-2">2</xref></contrib>
<contrib id="author-2" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Amoah</surname><given-names>Lord</given-names></name><xref ref-type="aff" rid="aff-1">1</xref><xref ref-type="aff" rid="aff-2">2</xref><email>lrdamoah@gmail.com</email></contrib>
<aff id="aff-1"><label>1</label><institution>Engineering Research Center of Digital Forensics, Ministry of Education, Nanjing University of Information Science &#x0026; Technology</institution>, <addr-line>Nanjing, 210044</addr-line>, <country>China</country></aff>
<aff id="aff-2"><label>2</label><institution>School of Computer and Software, Nanjing University of Information Science &#x0026; Technology</institution>, <addr-line>Nanjing, 210044</addr-line>, <country>China</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Author: Lord Amoah. Email: <email>lrdamoah@gmail.com</email></corresp>
</author-notes>
<pub-date date-type="collection" publication-format="electronic"><year>2023</year></pub-date>
<pub-date date-type="pub" publication-format="electronic"><day>03</day><month>7</month><year>2023</year></pub-date>
<volume>4</volume>
<issue>3</issue>
<fpage>183</fpage>
<lpage>197</lpage>
<history>
<date date-type="received"><day>24</day><month>2</month><year>2023</year>
</date>
<date date-type="accepted"><day>07</day><month>4</month><year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2022 Jorvialom and Amoah</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Jorvialom and Amoah</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_JQC_39913.pdf"></self-uri>
<abstract>
<p>Prior versions of reversible data hiding with contrast enhancement (RDHCE) algorithms strongly focused on enhancing the contrast of grayscale images. However, RDHCE has recently witnessed a rise in contrast enhancement algorithms concentrating on color images. This paper implies a method for color images that uses the RGB (red, green, and blue) color model and is based on bi-histogram shifting and image adjustment. Bi-histogram shifting is used to embed data and image adjustment to achieve contrast enhancement by adjusting the images resulting from each channel of the color images before combining them to generate the final enhanced image. Images are first divided into three channels&#x2014;R, G, and B&#x2014;and the Max, Med, and Min channels are then determined from these. Before histogram shifting, some calculations are done to determine how many iterations there will be for each channel. The images are adjusted to improve visual quality in the enhanced images after data has been embedded in each channel. The experimental results show that the enhanced images produced by the proposed method are qualitatively and aesthetically superior to those produced by some earlier methods, and their quality was assessed using PSNR, SSIM, RCE, RMBE, and CIEDE2000. The embedding rate obtained by the suggested method is acceptable.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Contrast enhancement</kwd>
<kwd>bi-histogram shifting</kwd>
<kwd>image adjustment</kwd>
</kwd-group>
<funding-group>
<award-group id="awg1">
<funding-source>National Natural Science Foundation of China</funding-source>
<award-id>61662039</award-id>
</award-group>
<award-group id="awg2">
<funding-source>Jiangxi Key Natural Science Foundation</funding-source>
<award-id>Jiangxi Key Natural Science Foundation</award-id>
</award-group>
<award-group id="awg3">
<funding-source>Startup Foundation for Introducing Talent of Nanjing University of Information Science and Technology (NUIST)</funding-source>
<award-id>2019r070</award-id>
</award-group>
<award-group id="awg4">
<funding-source>Priority Academic Program Development of Jiangsu Higher Education Institutions (PAPD) Fund</funding-source>
</award-group>
</funding-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>With the current advancement in multimedia, conventional artwork and printed works are converted into digital images. Images are frequently distorted as a result of the acquisition, processing, transmission, and storage processes, which lowers the overall clarity and quality of the images. In recent years, several contrast enhancement (CE) methods have been proposed in [<xref ref-type="bibr" rid="ref-1">1</xref>&#x2013;<xref ref-type="bibr" rid="ref-4">4</xref>] to improve the visual quality of images. Data hiding methods have also been introduced to perform CE while embedding data into images. Reference [<xref ref-type="bibr" rid="ref-5">5</xref>&#x2013;<xref ref-type="bibr" rid="ref-13">13</xref>] propose data-hiding methods that aim to improve image quality while ensuring data exclusivity and integrity. However, data embedding methods embed data permanently without allowing recovery of the original images. Reversible data hiding (RDH) methods with CE were proposed to enhance image contrast simultaneously and perform data embedding while recovering original images losslessly. Lossless compression [<xref ref-type="bibr" rid="ref-14">14</xref>,<xref ref-type="bibr" rid="ref-15">15</xref>], difference expansion (DE) [<xref ref-type="bibr" rid="ref-12">12</xref>,<xref ref-type="bibr" rid="ref-13">13</xref>], histogram shifting (HS) [<xref ref-type="bibr" rid="ref-16">16</xref>,<xref ref-type="bibr" rid="ref-17">17</xref>], and prediction error expansion (PEE) [<xref ref-type="bibr" rid="ref-18">18</xref>,<xref ref-type="bibr" rid="ref-19">19</xref>] are the four main types of frequently used methods for which RDH is best known. RDH with image contrast enhancement, in contrast to traditional image processing techniques, achieves histogram equalization (HE) during the data embedding process while still allowing for the recovery of hidden data after embedding. Enhancing an image&#x2019;s contrast has been made easier with the help of histogram equalization (HE) [<xref ref-type="bibr" rid="ref-20">20</xref>]. It allows an adjustment of the image intensity to enhance contrast by allocating the intensity values of pixels in the input image so that the output image contains a uniform distribution of intensities while improving contrast. Global histogram equalization, local histogram equalization, or fast quadratic dynamic histogram equalization are used to equalize histograms based on the execution time [<xref ref-type="bibr" rid="ref-21">21</xref>]. Traditional CE with RDH methods primarily focus on grayscale images. For color images, RDH with CE algorithms is comparatively uncommon. Taking a standard RGB image as an example, it has three color dimensions R, G and B. It contains more information than grayscale images, making modifying it more troublesome. The traditional RDH algorithm can be applied in each dimension of the RGB image. Due to the large correlation between the three-dimensional matrices of the color image, making completely irrelevant modifications to the three dimensions will distort the color of the image, resulting in a decrease in image quality. In this study, we propose a new RDH with contrast enhancement for color images ensuring the image&#x2019;s visual quality with high embedding capacity.</p>
<p>Every reversible data-hiding algorithm aims to satisfy two key requirements: an increase in embedding capacity and preserving all image details. Many RDH with contrast enhancement techniques have been adopted to meet the requirements, including improving the enhancement effect, observing it, and finding the enhancement and its use as a development of medical imaging. Wu et al. [<xref ref-type="bibr" rid="ref-22">22</xref>] were the first to propose an RDH with contrast enhancement. Histogram equalization is accomplished by repeatedly shifting the histogram. However, as the number of repeats rises, more bins are combined, increasing repetitions, resulting in an artefact known as an intensity mismatch. This artefact is typically only noticeable with a significant amount of histogram shifting, but it can be seen with just a few repetitions for some particular images. In conclusion, the approach necessitates a pre-processing step that yields intensity mismatched artefacts, and the ideal number of histogram shifting repeats cannot be established. In 2017, A high-capacity RDH algorithm for contrast enhancement of medical images based on regions of interest (ROI) was proposed by Yang et al. [<xref ref-type="bibr" rid="ref-23">23</xref>]. This algorithm first used an &#x201C;adaptive threshold detector&#x201D; (ATD) segmentation algorithm to automatically separate the ROI from the &#x201C;region of non-interest&#x201D; (NROI), then enhanced the contrast of the ROI by stretching the grayscale, and finally embedded the data into the bins of the stretched histogram. Finally, the remaining substantial amount of data will be incorporated into the NROI, quality or not. The first reversible data hiding with automatic contrast enhancement was proposed by Kim et al. [<xref ref-type="bibr" rid="ref-24">24</xref>] for Automatic Image Enhancement (AIE). The method shows that a contrast enhancement based on reversible data hiding offers file-saving functionality for automatic image enhancement because the original image can be restored right away from the enhanced image. While simultaneously creating a location map, it employs unidirectional histogram shifting repeatedly. In contrast to Wu et al. [<xref ref-type="bibr" rid="ref-25">25</xref>], Kim et al. [<xref ref-type="bibr" rid="ref-24">24</xref>] stretched the distortion across the entire pixel range, which localized the distortion by combining the bins near the boundary bins. To maximize the effect of histogram equalization per the image&#x2019;s content, the number of repetitions is not manually specified; instead, it is adaptively chosen. This yield results comparable to global histogram equalization techniques, which are useful for enhancing low-contrast images but are not always appropriate for everyday usage since they may overly increase contrast. Gao et al. [<xref ref-type="bibr" rid="ref-26">26</xref>] proposed a controlled contrast enhancement approach for enhanced visual quality.</p>
<p>Data hiding in the spatial domain and the integer wavelet transform (IWT) domain are two separate stages that make up the data hiding technique. To prevent excessive contrast enhancement, the Relative Contrast Error (RCE) is used to restrict the number of embedding rounds. An appropriate RCE threshold is given to obtain a satisfactory contrast stretch upper boundary. The original contrast is slightly increased throughout the data-concealing process. Chen et al. [<xref ref-type="bibr" rid="ref-27">27</xref>] proposed an RDH using a contrast enhancement approach called PAB. There are two steps to the data embedding process: the histogram shifting stage and the pixel value ordering (PVO) stage. The histogram is automatically shifted as a result of the histogram distribution, which is adaptive so that the designated gravity center is close to the middle of the intensities after embedding. Then, by limiting the range of pixel change, bidirectional histogram pre-shifting is used to reduce visual distortion. Utilizing the Pixel Value Ordering (PVO) approach at the initial step of contrast enhancement increases the embedding capability even further. Gao et al. [<xref ref-type="bibr" rid="ref-28">28</xref>] proposed an automatic contrast enhancement method utilizing bi-histogram shifting. Exploiting the brightness preservation (BP) method, the proposed scheme adaptively selects two peak bins and two lower bins based on four conditions based on the image brightness. The lower bins are combined, while the two peak bins are used for splitting and embedding. The proposed method&#x2019;s results reveal high embedding capacity and sufficient contrast enhancement.</p>
<p>Although several lossless CE methods have been proposed for grayscale images, only a few apply to color images. Nowadays, color images are popularly used and transmitted because a color image is a powerful visual descriptor and contains more information than a grayscale image [<xref ref-type="bibr" rid="ref-22">22</xref>]. Kim et al. [<xref ref-type="bibr" rid="ref-29">29</xref>] proposed Uniform contrast enhancement (UCE) of RGB channels. The proposed method consistently applies CE methods to each RGB channel. Then it combines them to generate the marked color image instead of directly applying CE methods to the color images. The proposed method selects the smallest maximum number of iterations among the three channels to be the number of repetitions applied to all the channels. The RGB channels are subject to an equal number of iterations. When additional histogram bins are modified, this approach produces visual distortions in images while preventing over-enhancement in one or two channels. A new RDH-based contrast enhancement employing the HSV (hue, saturation, and value) color model was proposed by Wu et al. [<xref ref-type="bibr" rid="ref-22">22</xref>]. The proposed method converts the RGB channels to Max, Median, and Min channels based on numerical values of red, green, and blue colors. Using a lossless contrast enhancement technique described in [<xref ref-type="bibr" rid="ref-30">30</xref>], the Max channel is improved while the Median and Min channels are changed to maintain their ratios.</p>
<p>The proposed strategy preserves the hue and saturation (hue and saturation preserving, HSP) components while retrieving the original image, preventing color distortions. Although the image quality is enhanced, this method limits embedding capacity. Amoah et al. [<xref ref-type="bibr" rid="ref-31">31</xref>] proposed a new UCE for color images. The proposed method consistently uses bi-histogram shifting, explained in [<xref ref-type="bibr" rid="ref-28">28</xref>], to improve the contrast in each channel of the RGB image before combining them to build the marked color image. The bi-histogram shifting procedure is repeated using the smallest possible repeats among the three channels. Although compared with the first UCE, the resulting image appears better enhanced, the visual quality of the resulting image remains poor. A new RDH with contrast enhancement for color images is proposed in this study to increase the size of embedding capacity while achieving the best contrast enhancement.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Related Work</title>
<sec id="s2_1">
<label>2.1</label>
<title>Uniform Contrast Enhancement (UCE)</title>
<p>Uniform contrast enhancement (UCE) is a method proposed by Kim et al. [<xref ref-type="bibr" rid="ref-29">29</xref>]. First, the proposed method separates a color image into three channels, red, green, and blue (RGB), and assigns an equivalent number of histogram shifting iterations on each channel. The potential maximum number of repetitions of all the channels is first calculated, and the minimum between the number of repetitions of all channels is used for histogram shifting, data embedding, and contrast enhancement.</p>
<p><disp-formula id="eqn-1"><label>(1)</label><mml:math id="mml-eqn-1" display="block"><mml:msup><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2033;</mml:mo></mml:msup></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:msup><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mspace width="thinmathspace" /><mml:mspace width="thinmathspace" /></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>&#x003C;</mml:mo><mml:msup><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msup><mml:mo>&#x003C;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mi>o</mml:mi><mml:mi>t</mml:mi><mml:mi>h</mml:mi><mml:mi>e</mml:mi><mml:mi>r</mml:mi><mml:mi>w</mml:mi><mml:mi>i</mml:mi><mml:mi>s</mml:mi><mml:mi>e</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup></mml:math></inline-formula> is the <inline-formula id="ieqn-2"><mml:math id="mml-ieqn-2"><mml:msup><mml:mi>i</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> pixel value in the image, <inline-formula id="ieqn-3"><mml:math id="mml-ieqn-3"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mo>&quot;</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula> is the pixel value after histogram shifting of <inline-formula id="ieqn-4"><mml:math id="mml-ieqn-4"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup></mml:math></inline-formula>. <inline-formula id="ieqn-5"><mml:math id="mml-ieqn-5"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the bin that needs to be embedded, <inline-formula id="ieqn-6"><mml:math id="mml-ieqn-6"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the bin that needs to be combined, and <inline-formula id="ieqn-7"><mml:math id="mml-ieqn-7"><mml:msub><mml:mi>b</mml:mi><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the secret information that needs to be embedded in the <inline-formula id="ieqn-8"><mml:math id="mml-ieqn-8"><mml:msup><mml:mi>k</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> bit, and its value is 0 or 1. RHS is applied if <inline-formula id="ieqn-9"><mml:math id="mml-ieqn-9"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>&#x227A;</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, LHS otherwise.</p>
<p>Before each histogram shifting, a vector <inline-formula id="ieqn-10"><mml:math id="mml-ieqn-10"><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> to record <italic>P<sub>c</sub></italic> and the information of the adjacent bins are required. <inline-formula id="ieqn-11"><mml:math id="mml-ieqn-11"><mml:mi>d</mml:mi></mml:math></inline-formula> is used to direct the histogram shifting either RHS if <inline-formula id="ieqn-12"><mml:math id="mml-ieqn-12"><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, or LHS if <inline-formula id="ieqn-13"><mml:math id="mml-ieqn-13"><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>. When <inline-formula id="ieqn-14"><mml:math id="mml-ieqn-14"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula id="ieqn-15"><mml:math id="mml-ieqn-15"><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>; when <inline-formula id="ieqn-16"><mml:math id="mml-ieqn-16"><mml:msubsup><mml:mi>p</mml:mi><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mi>d</mml:mi></mml:math></inline-formula>, <inline-formula id="ieqn-17"><mml:math id="mml-ieqn-17"><mml:msub><mml:mi>L</mml:mi><mml:mrow><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>.</p>
<p>Different from other RDH algorithms, this algorithm requires that the difference between the brightness of the enhanced image and the brightness of the original image is not greater than 1, and the brightness of the defined image is the mean value of all pixels in the image. When the brightness of the original image is greater than the brightness of the enhanced image, RHS is applied, In addition to apply LHS. <inline-formula id="ieqn-18"><mml:math id="mml-ieqn-18"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is selected as the pixel value with the largest number of pixel value ranges in <inline-formula id="ieqn-19"><mml:math id="mml-ieqn-19"><mml:msub><mml:mi>J</mml:mi><mml:mrow><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula id="ieqn-20"><mml:math id="mml-ieqn-20"><mml:msub><mml:mi>J</mml:mi><mml:mrow><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mrow></mml:msub></mml:math></inline-formula> is dynamically selected according to the brightness difference between the original image and the enhanced image. <inline-formula id="ieqn-21"><mml:math id="mml-ieqn-21"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>C</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is defined as the number of pixels contained in a pixel value within a certain range and its adjacent pixel values the number sums the minimum pixel value.</p>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Hue Saturation Preservation (HSP)</title>
<p>Wu et al. [<xref ref-type="bibr" rid="ref-22">22</xref>] proposed an HSP technique based on finding the maximum, median, and minimum values among the RGB image&#x2019;s three channels. Then, the histograms of the three are combined. The original image is next converted to HSV. How the conversion is done is demonstrated in the following equations.</p>
<p><disp-formula id="eqn-2"><label>(2)</label><mml:math id="mml-eqn-2" display="block"><mml:mi>H</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mn>60</mml:mn><mml:mi>x</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>G</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>X</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>Z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>X</mml:mi><mml:mo>=</mml:mo><mml:mi>R</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>60</mml:mn><mml:mi>x</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>B</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>X</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>Z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>X</mml:mi><mml:mo>=</mml:mo><mml:mi>G</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>60</mml:mn><mml:mi>x</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>R</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>X</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>Z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mn>4</mml:mn><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo><mml:mi>X</mml:mi><mml:mo>=</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="italic">u</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">d</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">f</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">n</mml:mi><mml:mi mathvariant="italic">e</mml:mi><mml:mi mathvariant="italic">d</mml:mi></mml:mrow><mml:mo>,</mml:mo><mml:mi>X</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula></p>
<p><disp-formula id="eqn-3"><label>(3)</label><mml:math id="mml-eqn-3" display="block"><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo><mml:mtable columnalign="left" rowspacing="4pt" columnspacing="1em"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" scriptlevel="0"><mml:mfrac><mml:mrow><mml:mi>X</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>Z</mml:mi></mml:mrow><mml:mi>X</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>X</mml:mi><mml:mo>&#x2260;</mml:mo><mml:mn>0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>0</mml:mn><mml:mo>,</mml:mo><mml:mi>X</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mtd></mml:mtr></mml:mtable><mml:mo fence="true" stretchy="true" symmetric="true"></mml:mo></mml:mrow></mml:math></disp-formula></p>
<p><disp-formula id="eqn-4"><label>(4)</label><mml:math id="mml-eqn-4" display="block"><mml:mi>V</mml:mi><mml:mo>=</mml:mo><mml:mi>X</mml:mi></mml:math></disp-formula>where <inline-formula id="ieqn-22"><mml:math id="mml-ieqn-22"><mml:mi>X</mml:mi></mml:math></inline-formula> and <inline-formula id="ieqn-23"><mml:math id="mml-ieqn-23"><mml:mi>Z</mml:mi></mml:math></inline-formula> represent the maximum and minimum of each pixel in the RGB model and <inline-formula id="ieqn-24"><mml:math id="mml-ieqn-24"><mml:mi>Y</mml:mi></mml:math></inline-formula> the median.</p>
<p>HSP applies pre-processing to avoid histogram overflow during data embedding. First, move all empty histogram bins of the <inline-formula id="ieqn-25"><mml:math id="mml-ieqn-25"><mml:mi>X</mml:mi></mml:math></inline-formula> channel mentioned in <xref ref-type="disp-formula" rid="eqn-2">Eq. (2)</xref> to the far left of the histogram, and the modified <inline-formula id="ieqn-26"><mml:math id="mml-ieqn-26"><mml:mi>X</mml:mi></mml:math></inline-formula> channel, <inline-formula id="ieqn-27"><mml:math id="mml-ieqn-27"><mml:mi>Y</mml:mi></mml:math></inline-formula> channel and the <inline-formula id="ieqn-28"><mml:math id="mml-ieqn-28"><mml:mi>Z</mml:mi></mml:math></inline-formula> channel are combined to obtain a total histogram, and the merging operation is to merge the bin with the lowest height in the histogram to the adjacent bin. After the merging is completed, the total histogram can be disassembled to obtain the histogram of the three channels after pre-processing. The bookkeeping information records the extra information generated by all previous operations.</p>
<p>During embedding, two bins <inline-formula id="ieqn-29"><mml:math id="mml-ieqn-29"><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-30"><mml:math id="mml-ieqn-30"><mml:msub><mml:mi>f</mml:mi><mml:mrow><mml:mi>R</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are first found, secret information is embedded into <inline-formula id="ieqn-31"><mml:math id="mml-ieqn-31"><mml:mi>X</mml:mi></mml:math></inline-formula> channel by splitting the 2 highest bins and achieving histogram equalization. To ensure the image quality, <inline-formula id="ieqn-32"><mml:math id="mml-ieqn-32"><mml:mi>Y</mml:mi></mml:math></inline-formula> channel and <inline-formula id="ieqn-33"><mml:math id="mml-ieqn-33"><mml:mi>Z</mml:mi></mml:math></inline-formula> channel are modified based on exploiting <xref ref-type="disp-formula" rid="eqn-5">Eqs. (5)</xref>&#x2013;<xref ref-type="disp-formula" rid="eqn-6">(6)</xref>.</p>
<p><disp-formula id="eqn-5"><label>(5)</label><mml:math id="mml-eqn-5" display="block"><mml:mrow><mml:msup><mml:mi>Y</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mi>X</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>X</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>Y</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:math></disp-formula></p>
<p><disp-formula id="eqn-6"><label>(6)</label><mml:math id="mml-eqn-6" display="block"><mml:mrow><mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mi>X</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msup><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>X</mml:mi><mml:mo>&#x2212;</mml:mo><mml:mi>Z</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-34"><mml:math id="mml-ieqn-34"><mml:msup><mml:mi>X</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msup></mml:math></inline-formula> represents the modified <inline-formula id="ieqn-35"><mml:math id="mml-ieqn-35"><mml:mi>X</mml:mi></mml:math></inline-formula> channel, <inline-formula id="ieqn-36"><mml:math id="mml-ieqn-36"><mml:msup><mml:mi>Y</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msup></mml:math></inline-formula> and <inline-formula id="ieqn-37"><mml:math id="mml-ieqn-37"><mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msup></mml:math></inline-formula> represent respectively the modified <inline-formula id="ieqn-38"><mml:math id="mml-ieqn-38"><mml:mi>Y</mml:mi></mml:math></inline-formula> channel and <inline-formula id="ieqn-39"><mml:math id="mml-ieqn-39"><mml:mi>Z</mml:mi></mml:math></inline-formula> channel. <inline-formula id="ieqn-40"><mml:math id="mml-ieqn-40"><mml:msup><mml:mi>Y</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msup></mml:math></inline-formula> and <inline-formula id="ieqn-41"><mml:math id="mml-ieqn-41"><mml:msup><mml:mi>Z</mml:mi><mml:mo>&#x0027;</mml:mo></mml:msup></mml:math></inline-formula> are stored using information bookkeeping for recovery purposes.</p>
</sec>
</sec>
<sec id="s3">
<label>3</label>
<title>Proposed Method</title>
<p>An automatic contrast enhancement (ACE) approach for color images using the RGB (red, green, and blue) color model is proposed in this study. In contrast to methods employed in [<xref ref-type="bibr" rid="ref-31">31</xref>] which applied an equalized number of repetitions on all channels of the RGB image to enhance the image and embed data, a non-equalized number of repetitions is applied, and each channel is adjusted after embedding secret bits to provide good image quality. Maximum (Max), Median (Med), and Minimum (Min) channels are the categories used to categorize the channels of the image to achieve different numbers of repetitions. Every dimension of a color image, a three-dimensional matrix, is a channel, either R, G, or B, which might be Max, Med or Min based on image structure. Hence, we focus on determining which channel is Max, Med or Min by summing each channel&#x2019;s pixel values and comparing each summation result. Afterwards, we find the potential number of iterations for each channel.</p>
<sec id="s3_1">
<label>3.1</label>
<title>Number of Repetitions</title>
<p>Three cases are defined with sub-cases by exploiting the Max Channel to determine the number of repetitions applied for each channel while embedding secret bits.</p>
<p><bold>Case 1:</bold> If R is max, we maintain all possible repetition numbers for R and Min channels to embed data. Then a comparison is made between the other two channels to find the Med and Min. The ratio between the Max and Med Channels is first calculated, then the number of iterations for the Med channel. <xref ref-type="disp-formula" rid="eqn-7">Eqs. (7)</xref> and <xref ref-type="disp-formula" rid="eqn-8">(8)</xref> demonstrate how to calculate the ratio, and the number of repetitions in case G is the Med channel, and B is the Min channel:</p>
<p><disp-formula id="eqn-7"><label>(7)</label><mml:math id="mml-eqn-7" display="block"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mfrac></mml:math></disp-formula></p>
<p><disp-formula id="eqn-8"><label>(8)</label><mml:math id="mml-eqn-8" display="block"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-42"><mml:math id="mml-ieqn-42"><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mo>.</mml:mo><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></inline-formula> denotes the round operation, <inline-formula id="ieqn-43"><mml:math id="mml-ieqn-43"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-44"><mml:math id="mml-ieqn-44"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are the summation of pixels values respectively of the G channel and R channel, and <inline-formula id="ieqn-45"><mml:math id="mml-ieqn-45"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> the maximum obtained a number of iterations for the G channel. Suppose B channel appears to be the Med. In that case, we maintain the potential number of iterations found for the G channel while calculating the number of iterations applied for the B channel by using its ratio between B and R, i.e., Med and Max channels as shown in <xref ref-type="disp-formula" rid="eqn-9">Eqs. (9)</xref> and <xref ref-type="disp-formula" rid="eqn-10">(10)</xref></p>
<p><disp-formula id="eqn-9"><label>(9)</label><mml:math id="mml-eqn-9" display="block"><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mfrac></mml:math></disp-formula></p>
<p><disp-formula id="eqn-10"><label>(10)</label><mml:math id="mml-eqn-10" display="block"><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-46"><mml:math id="mml-ieqn-46"><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mo>.</mml:mo><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></inline-formula> denotes the round operation, <inline-formula id="ieqn-47"><mml:math id="mml-ieqn-47"><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-48"><mml:math id="mml-ieqn-48"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are the summation of pixels values respectively of B channel and R channel, and <inline-formula id="ieqn-49"><mml:math id="mml-ieqn-49"><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> the maximum obtained number of iterations for the B channel.</p>
<p><bold>Case 2:</bold> The same steps are exploited as in Case 1 if G is Max. As a result, the G channel and B channel will maintain the potential number of iterations if the B channel is Min, and only the one of R will change by using the <xref ref-type="disp-formula" rid="eqn-11">Eqs. (11)</xref> and <xref ref-type="disp-formula" rid="eqn-12">(12)</xref></p>
<p><disp-formula id="eqn-11"><label>(11)</label><mml:math id="mml-eqn-11" display="block"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mfrac></mml:math></disp-formula></p>
<p><disp-formula id="eqn-12"><label>(12)</label><mml:math id="mml-eqn-12" display="block"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-50"><mml:math id="mml-ieqn-50"><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mo>.</mml:mo><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></inline-formula> denotes the round operation, <inline-formula id="ieqn-51"><mml:math id="mml-ieqn-51"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-52"><mml:math id="mml-ieqn-52"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are the summation of pixels values respectively, of the R channel and G channel, and <inline-formula id="ieqn-53"><mml:math id="mml-ieqn-53"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> the maximum obtained number of iterations for the R channel. If B is Med Channel and R is Min Channel, G and R will keep the potential number of iterations, and only one of B will change by applying <xref ref-type="disp-formula" rid="eqn-13">Eqs. (13)</xref> and <xref ref-type="disp-formula" rid="eqn-14">(14)</xref></p>
<p><disp-formula id="eqn-13"><label>(13)</label><mml:math id="mml-eqn-13" display="block"><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mfrac></mml:math></disp-formula></p>
<p><disp-formula id="eqn-14"><label>(14)</label><mml:math id="mml-eqn-14" display="block"><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></disp-formula></p>
<p><bold>Case 3:</bold> If B is Max, the same process is applied as in case 1. Hence, if R is the Med channel and G is the Min channel, the B channel and G channel will keep the previously obtained number of repetitions, and only one of R will change by applying the <xref ref-type="disp-formula" rid="eqn-15">Eqs. (15)</xref> and <xref ref-type="disp-formula" rid="eqn-16">(16)</xref></p>
<p><disp-formula id="eqn-15"><label>(15)</label><mml:math id="mml-eqn-15" display="block"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mfrac></mml:math></disp-formula></p>
<p><disp-formula id="eqn-16"><label>(16)</label><mml:math id="mml-eqn-16" display="block"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-54"><mml:math id="mml-ieqn-54"><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mo>.</mml:mo><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></inline-formula> denotes the round operation, <inline-formula id="ieqn-55"><mml:math id="mml-ieqn-55"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula id="ieqn-56"><mml:math id="mml-ieqn-56"><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> are the summation of pixels values respectively of R channel and B channel, and <inline-formula id="ieqn-57"><mml:math id="mml-ieqn-57"><mml:msub><mml:mi>R</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> the maximum obtained number of iterations for the R channel. If the G channel is Med and R channel, the Min, B channel, and R channel will keep their potential max number of iterations, and only the one of B will change by applying the <xref ref-type="disp-formula" rid="eqn-17">Eqs. (17)</xref> and <xref ref-type="disp-formula" rid="eqn-18">(18)</xref></p>
<p><disp-formula id="eqn-17"><label>(17)</label><mml:math id="mml-eqn-17" display="block"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>u</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mfrac></mml:math></disp-formula></p>
<p><disp-formula id="eqn-18"><label>(18)</label><mml:math id="mml-eqn-18" display="block"><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mrow><mml:mi mathvariant="italic">r</mml:mi><mml:mi mathvariant="italic">a</mml:mi><mml:mi mathvariant="italic">t</mml:mi><mml:mi mathvariant="italic">i</mml:mi><mml:mi mathvariant="italic">o</mml:mi></mml:mrow></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x00D7;</mml:mo><mml:msub><mml:mi>G</mml:mi><mml:mrow><mml:mo movablelimits="true" form="prefix">max</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></disp-formula></p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Data Hiding and Embedding</title>
<p>With the exception of utilizing a different number of repetitions for the Median Channel, we apply the strategy in [<xref ref-type="bibr" rid="ref-31">31</xref>] employed to embed secret bits. The following algorithm reveals the description of the embedding process.</p>
<fig id="fig-3">
<graphic mimetype="image" mime-subtype="tif" xlink:href="JQC_39913-fig-3.tif"/>
</fig>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Image Adjustment</title>
<p>When hidden data is processed, bits are embedded in all channels, and most pixel values appear to be either extremely low or extremely high, which causes distortions in the image. The proposed method gives out a solution by adjusting the image with no loss of data embedded. The first step to adjusting an image consists of extracting channels of the original image. Secondly, each pixel of the original channel is added to the corresponding pixel of the enhanced channel, then we round the result divided by 2 to have a coefficient used to obtain the adjusted pixel. Let&#x2019;s consider <inline-formula id="ieqn-68"><mml:math id="mml-ieqn-68"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> a pixel from the original channel before enhancement, <inline-formula id="ieqn-69"><mml:math id="mml-ieqn-69"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup></mml:math></inline-formula> a pixel from the enhanced channel, and <inline-formula id="ieqn-70"><mml:math id="mml-ieqn-70"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2033;</mml:mo></mml:msup></mml:mrow></mml:msubsup></mml:math></inline-formula> a pixel of the adjusted channel. <inline-formula id="ieqn-71"><mml:math id="mml-ieqn-71"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2033;</mml:mo></mml:msup></mml:mrow></mml:msubsup></mml:math></inline-formula> is obtained by applying <xref ref-type="disp-formula" rid="eqn-19">Eq. (19)</xref>:</p>
<p><disp-formula id="eqn-19"><label>(19)</label><mml:math id="mml-eqn-19" display="block"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2033;</mml:mo></mml:msup></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></disp-formula>where <inline-formula id="ieqn-72"><mml:math id="mml-ieqn-72"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> denotes the coefficient of adjustment of the pixel <inline-formula id="ieqn-73"><mml:math id="mml-ieqn-73"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup></mml:math></inline-formula>. <inline-formula id="ieqn-74"><mml:math id="mml-ieqn-74"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is obtained using the following equation:</p>
<p><disp-formula id="eqn-20"><label>(20)</label><mml:math id="mml-eqn-20" display="block"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup><mml:mo>&#x2212;</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>/</mml:mo></mml:mrow><mml:mn>2</mml:mn><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></disp-formula>where <inline-formula id="ieqn-75"><mml:math id="mml-ieqn-75"><mml:mrow><mml:mo>&#x2308;</mml:mo><mml:mo>.</mml:mo><mml:mo>&#x2309;</mml:mo></mml:mrow></mml:math></inline-formula> denotes the round operation.</p>
</sec>
<sec id="s3_4">
<label>3.4</label>
<title>Data Extraction and Image Recovery</title>
<p>The proposed method, as aforementioned, carries out data embedding, contrast enhancement, and the opposite process, which entails data extraction and image recovery. The original image is an additional tool in the proposed method&#x2019;s data extraction and image recovery processes. The adjusted enhanced image is first divided into three channels. To acquire the coefficient taken from the LSB of the adjusted pixels, each channel&#x2019;s composing pixel is compared to the original channel pixel. The improved pixel with embedded data is then obtained. The original image is restored following data extraction using the methods described in [<xref ref-type="bibr" rid="ref-31">31</xref>]. To illustrate the data extraction and image recovery workflow, an illustration is proposed. Let&#x2019;s consider <inline-formula id="ieqn-76"><mml:math id="mml-ieqn-76"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>99</mml:mn></mml:math></inline-formula>, <inline-formula id="ieqn-77"><mml:math id="mml-ieqn-77"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>90</mml:mn></mml:math></inline-formula>, using <xref ref-type="disp-formula" rid="eqn-20">Eq. (20)</xref>, <inline-formula id="ieqn-78"><mml:math id="mml-ieqn-78"><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mo>&#x2212;</mml:mo><mml:mn>5</mml:mn></mml:math></inline-formula>. Hence, by exploiting <xref ref-type="disp-formula" rid="eqn-19">Eq. (19)</xref>, we obtain <inline-formula id="ieqn-79"><mml:math id="mml-ieqn-79"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mo>&quot;</mml:mo></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>95</mml:mn></mml:math></inline-formula>. When <inline-formula id="ieqn-80"><mml:math id="mml-ieqn-80"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mo>&quot;</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula> is compared to <inline-formula id="ieqn-81"><mml:math id="mml-ieqn-81"><mml:msub><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, we get 9 to be close to the double 5. Hence, we extract five from <inline-formula id="ieqn-82"><mml:math id="mml-ieqn-82"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mo>&quot;</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula> to obtain <inline-formula id="ieqn-83"><mml:math id="mml-ieqn-83"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup></mml:math></inline-formula>. Then from <inline-formula id="ieqn-84"><mml:math id="mml-ieqn-84"><mml:msubsup><mml:mi>P</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi></mml:mi><mml:mo>&#x2032;</mml:mo></mml:msup></mml:mrow></mml:msubsup></mml:math></inline-formula> we perform data extraction and image recovery following the steps in [<xref ref-type="bibr" rid="ref-31">31</xref>].</p>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Experimental Results and Analysis</title>
<p>Random images of sizes 512 &#x00D7; 512 and 768 &#x00D7; 512 issued from the USC image set, Kodak Lossless True Color Image Suite image set, and other image sets, respectively, are used to assess the efficiency of the proposed method. In this experiment, a fair comparison with the method proposed in [<xref ref-type="bibr" rid="ref-29">29</xref>,<xref ref-type="bibr" rid="ref-31">31</xref>] and [<xref ref-type="bibr" rid="ref-32">32</xref>] is established by utilizing the same amount of data to be embedded.</p>
<p>The effectiveness of the proposed method will be assessed and compared using metrics classified in subsections as follow:
<list list-type="order">
<list-item>
<p>The first subsection establishes a comparative analysis of the contrast enhancement between the proposed method and prior methods using the relative contrast error (RCE) as a comparison metric.</p></list-item>
<list-item>
<p>The second subsection reveals the image quality of the proposed method and methods in [<xref ref-type="bibr" rid="ref-29">29</xref>,<xref ref-type="bibr" rid="ref-31">31</xref>], and [<xref ref-type="bibr" rid="ref-32">32</xref>] by using metrics such as peak signal-to-noise ratio (PSNR), Structural similarity index (SSIM), relative mean brightness error (RMBE) of the different methods.</p></list-item>
<list-item>
<p>The third subsection analyses the color difference.</p></list-item>
</list></p>
<p>In the last subsection, the embedding capacity of the various methods are compared.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Contrast Enhancement</title>
<p>The relative contrast error (RCE) computed between the original and enhanced image is used to assess the CE effect. RCE &#x003D; 0.5 means the image contrast is unchanged, whereas RCE &#x003E; 0.5000 denotes improved image contrast. In <xref ref-type="table" rid="table-1">Table 1</xref>, the RCE resulting from all the methods applied in the Kodak Lossless True Color Image Suite Image set is greater than 0.5000. This means that the proposed method can perform contrast enhancement. In <xref ref-type="table" rid="table-2">Table 2</xref>, the RCE of the images from USC image set are less than 0.5000 when applying methods using HSP based algorithm. However, the proposed method in all images of the USC image set outperformed in contrast enhancement. As a result, <xref ref-type="table" rid="table-4">Table 4</xref> displaying the average result of RCE and other metrics of performance reveals that the proposed method keeps the RCE greater than 0.5000 showing how it performs better contrast enhancement than some existing methods.</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Comprehensive evaluation using Kodak Lossless True Color Image Suite image set</title>
</caption>
<table frame="hsides" >
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Methods</th>
<th>Image</th>
<th>PSNR</th>
<th>SSIM</th>
<th>RCE</th>
<th>RMBE</th>
<th>Embedding rate</th>
<th>CIEDE2000</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="4">[<xref ref-type="bibr" rid="ref-29">29</xref>]</td>
<td>Kodim01</td>
<td>41.25</td>
<td>0.97</td>
<td>0.5036</td>
<td>0.99</td>
<td>0.27</td>
<td>6.00</td>
</tr>
<tr>
<td>Kodim02</td>
<td>39.53</td>
<td>0.98</td>
<td>0.5006</td>
<td>0.99</td>
<td>0.87</td>
<td>6.39</td>
</tr>
<tr>
<td>Kodim04</td>
<td>40.89</td>
<td>0.96</td>
<td>0.5113</td>
<td>0.99</td>
<td>0.25</td>
<td>6.22</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>40.55</bold></td>
<td><bold>0.97</bold></td>
<td><bold>0.5051</bold></td>
<td><bold>0.99</bold></td>
<td><bold>0.46</bold></td>
<td><bold>6.20</bold></td>
</tr>
<tr>
<td rowspan="4">[<xref ref-type="bibr" rid="ref-31">31</xref>]</td>
<td>Kodim01</td>
<td>41.30</td>
<td>0.96</td>
<td>0.5047</td>
<td>0.97</td>
<td>1.29</td>
<td>6.05</td>
</tr>
<tr>
<td>Kodim02</td>
<td>39.56</td>
<td>0.97</td>
<td>0.5036</td>
<td>0.96</td>
<td>1.35</td>
<td>6.66</td>
</tr>
<tr>
<td>Kodim04</td>
<td>42.29</td>
<td>0.92</td>
<td>0.5263</td>
<td>0.92</td>
<td>4.73</td>
<td>7.12</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>41.05</bold></td>
<td><bold>0.95</bold></td>
<td><bold>0.5115</bold></td>
<td><bold>0.95</bold></td>
<td><bold>2.45</bold></td>
<td><bold>6.61</bold></td>
</tr>
<tr>
<td rowspan="4">[<xref ref-type="bibr" rid="ref-32">32</xref>]</td>
<td>Kodim01</td>
<td>36.10</td>
<td>0.99</td>
<td>0.5086</td>
<td>0.99</td>
<td>0.10</td>
<td>1.27ss</td>
</tr>
<tr>
<td>Kodim02</td>
<td>35.87</td>
<td>0.98</td>
<td>0.5024</td>
<td>0.99</td>
<td>0.28</td>
<td>1.03</td>
</tr>
<tr>
<td>Kodim04</td>
<td>35.55</td>
<td>0.99</td>
<td>0.5076</td>
<td>0.99</td>
<td>0.08</td>
<td>1.26</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>35.84</bold></td>
<td><bold>0.98</bold></td>
<td><bold>0.5062</bold></td>
<td></td>
<td><bold>0.15</bold></td>
<td><bold>1.18</bold></td>
</tr>
<tr>
<td rowspan="4">Proposed method</td>
<td>Kodim01</td>
<td>41.45</td>
<td>0.94</td>
<td>0.5298</td>
<td>0.99</td>
<td>0.90</td>
<td>7.15</td>
</tr>
<tr>
<td>Kodim02</td>
<td>39.54</td>
<td>0.99</td>
<td>0.5125</td>
<td>0.98</td>
<td>3.86</td>
<td>6.37</td>
</tr>
<tr>
<td>Kodim04</td>
<td>42.85</td>
<td>0.98</td>
<td>0.5287</td>
<td>0.97</td>
<td>1.12</td>
<td>6.20</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>41.28</bold></td>
<td><bold>0.97</bold></td>
<td><bold>0.5236</bold></td>
<td><bold>0.98</bold></td>
<td><bold>2.02</bold></td>
<td><bold>6.57</bold></td>
</tr>
</tbody>
</table>
</table-wrap><table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>Comprehensive evaluation on USC image set</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Methods</th>
<th>Image</th>
<th>PSNR</th>
<th>SSIM</th>
<th>RCE</th>
<th>RMBE</th>
<th>Embedding rate</th>
<th>CIEDE2000</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="6">[<xref ref-type="bibr" rid="ref-29">29</xref>]</td>
<td>USC03</td>
<td>43.20</td>
<td>0.75</td>
<td>0.5002</td>
<td>0.99</td>
<td>1.14</td>
<td>6.12</td>
</tr>
<tr>
<td>USC05</td>
<td>43.59</td>
<td>0.97</td>
<td>0.5001</td>
<td>0.99</td>
<td>0.68</td>
<td>6.57</td>
</tr>
<tr>
<td>USC06</td>
<td>43.56</td>
<td>0.92</td>
<td>0.5061</td>
<td>0.99</td>
<td>0.35</td>
<td>5.59</td>
</tr>
<tr>
<td>USC08</td>
<td>44.41</td>
<td>0.97</td>
<td>0.4992</td>
<td>0.99</td>
<td>0.7</td>
<td>6.68</td>
</tr>
<tr>
<td>USC10</td>
<td>42.95</td>
<td>0.97</td>
<td>0.5000</td>
<td>0.99</td>
<td>0.14</td>
<td>6.45</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>43.54</bold></td>
<td><bold>0.91</bold></td>
<td><bold>0.5011</bold></td>
<td><bold>0.99</bold></td>
<td><bold>0.60</bold></td>
<td><bold>6.28</bold></td>
</tr>
<tr>
<td rowspan="6">[<xref ref-type="bibr" rid="ref-31">31</xref>]</td>
<td>USC03</td>
<td>43.03</td>
<td>0.66</td>
<td>0.5190</td>
<td>0.98</td>
<td>5.47</td>
<td>6.33</td>
</tr>
<tr>
<td>USC05</td>
<td>43.42</td>
<td>0.94</td>
<td>0.5019</td>
<td>0.97</td>
<td>2.46</td>
<td>6.28</td>
</tr>
<tr>
<td>USC06</td>
<td>43.84</td>
<td>0.88</td>
<td>0.5046</td>
<td>0.96</td>
<td>1.18</td>
<td>6.23</td>
</tr>
<tr>
<td>USC08</td>
<td>44.05</td>
<td>0.95</td>
<td>0.5038</td>
<td>0.98</td>
<td>2.6</td>
<td>6.61</td>
</tr>
<tr>
<td>USC10</td>
<td>42.84</td>
<td>0.99</td>
<td>0.5000</td>
<td>1.00</td>
<td>0.04</td>
<td>6.32</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>43.43</bold></td>
<td><bold>0.88</bold></td>
<td><bold>0.5058</bold></td>
<td><bold>0.97</bold></td>
<td><bold>2.35</bold></td>
<td><bold>6.35</bold></td>
</tr>
<tr>
<td rowspan="6">[<xref ref-type="bibr" rid="ref-32">32</xref>]</td>
<td>USC03</td>
<td>32.09</td>
<td>0.97</td>
<td>0.4880</td>
<td>0.99</td>
<td>0.51</td>
<td>1.43</td>
</tr>
<tr>
<td>USC05</td>
<td>19.85</td>
<td>0.93</td>
<td>0.5505</td>
<td>0.93</td>
<td>1.27</td>
<td>7.66</td>
</tr>
<tr>
<td>USC06</td>
<td>21.54</td>
<td>0.93</td>
<td>0.4369</td>
<td>0.99</td>
<td>0.20</td>
<td>5.2</td>
</tr>
<tr>
<td>USC08</td>
<td>16.71</td>
<td>0.81</td>
<td>0.5782</td>
<td>0.92</td>
<td>1.58</td>
<td>10.06</td>
</tr>
<tr>
<td>USC10</td>
<td>25.03</td>
<td>0.96</td>
<td>0.4874</td>
<td>0.96</td>
<td>0.06</td>
<td>3.10</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>23.04</bold></td>
<td><bold>0.92</bold></td>
<td><bold>0.5082</bold></td>
<td><bold>0.95</bold></td>
<td><bold>0.72</bold></td>
<td><bold>5.49</bold></td>
</tr>
<tr>
<td rowspan="6">Proposed method</td>
<td>USC03</td>
<td>43.09</td>
<td>0.74</td>
<td>0.5194</td>
<td>0.99</td>
<td>2.32</td>
<td>6.60</td>
</tr>
<tr>
<td>USC05</td>
<td>43.47</td>
<td>0.98</td>
<td>0.5058</td>
<td>0.99</td>
<td>1.65</td>
<td>6.51</td>
</tr>
<tr>
<td>USC06</td>
<td>43.56</td>
<td>0.93</td>
<td>0.5100</td>
<td>0.99</td>
<td>0.93</td>
<td>5.77</td>
</tr>
<tr>
<td>USC08</td>
<td>44.28</td>
<td>0.98</td>
<td>0.5077</td>
<td>0.99</td>
<td>1.73</td>
<td>6.75</td>
</tr>
<tr>
<td>USC10</td>
<td>42.93</td>
<td>0.98</td>
<td>0.5139</td>
<td>0.99</td>
<td>0.07</td>
<td>6.39</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>43.46</bold></td>
<td><bold>0.92</bold></td>
<td><bold>0.5113</bold></td>
<td><bold>0.99</bold></td>
<td><bold>1.34</bold></td>
<td><bold>6.40</bold></td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Image Quality</title>
<p>The effectiveness of the image quality is assessed by employing metrics such as Peaked Signal-to-Noise Ratio (PSNR), Structural Similarity index (SSIM) and Relative Mean Brightness Error (RMBE). The PSNR ratio measures the strength of a signal in relation to its noise power. In addition, a higher PSNR indicates less noise added to the original image. SSIM calculates the similarities between the original and enhanced images and gives values from 0 to 1, with 1 indicating that the images are identical. RMBE calculates the difference in average brightness between the original and improved images. <xref ref-type="table" rid="table-1">Tables 1</xref>, <xref ref-type="table" rid="table-2">2</xref> and <xref ref-type="table" rid="table-3">3</xref> show the numerical results of PSNR, SSIM and RMBE. The proposed method achieves a higher average PSNR and SSIM values in all the images than other methods. <xref ref-type="fig" rid="fig-1">Figs. 1</xref> and <xref ref-type="fig" rid="fig-2">2</xref> display the enhanced images using different methods.</p>
<table-wrap id="table-3">
<label>Table 3</label>
<caption>
<title>Comprehensive evaluation on other image set</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Methods</th>
<th>Image</th>
<th>PSNR</th>
<th>SSIM</th>
<th>RCE</th>
<th>RMBE</th>
<th>Embedding rate</th>
<th>CIEDE2000</th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="3">[<xref ref-type="bibr" rid="ref-29">29</xref>]</td>
<td>4.2.05</td>
<td>45.46</td>
<td>0.91</td>
<td>0.4992</td>
<td>0.97</td>
<td>0.54</td>
<td>5.56</td>
</tr>
<tr>
<td>House</td>
<td>44.39</td>
<td>0.96</td>
<td>0.5001</td>
<td>0.99</td>
<td>0.3</td>
<td>6.55</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>44.92</bold></td>
<td><bold>0.93</bold></td>
<td><bold>0.4996</bold></td>
<td><bold>0.98</bold></td>
<td><bold>0.42</bold></td>
<td><bold>6.05</bold></td>
</tr>
<tr>
<td rowspan="3">[<xref ref-type="bibr" rid="ref-31">31</xref>]</td>
<td>4.2.05</td>
<td>45.31</td>
<td>0.87</td>
<td>0.5005</td>
<td>0.96</td>
<td>1.51</td>
<td>5.13</td>
</tr>
<tr>
<td>House</td>
<td>43.98</td>
<td>0.91</td>
<td>0.4989</td>
<td>0.94</td>
<td>0.8</td>
<td>6.07</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>44.64</bold></td>
<td><bold>0.89</bold></td>
<td><bold>0.4997</bold></td>
<td><bold>0.95</bold></td>
<td><bold>1.155</bold></td>
<td><bold>5.6</bold></td>
</tr>
<tr>
<td rowspan="3">[<xref ref-type="bibr" rid="ref-32">32</xref>]</td>
<td>4.2.05</td>
<td>15.80</td>
<td>0.83</td>
<td>0.5924</td>
<td>0.90</td>
<td>0.48</td>
<td>10.86</td>
</tr>
<tr>
<td>House</td>
<td>28.89</td>
<td>0.98</td>
<td>0.4944</td>
<td>0.97</td>
<td>0.18</td>
<td>1.91</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>22.34</bold></td>
<td><bold>0.90</bold></td>
<td><bold>0.5434</bold></td>
<td><bold>0.93</bold></td>
<td><bold>0.33</bold></td>
<td><bold>6.38</bold></td>
</tr>
<tr>
<td rowspan="3">Proposed method</td>
<td>4.2.05</td>
<td>45.38</td>
<td>0.83</td>
<td>0.5190</td>
<td>0.99</td>
<td>1.13</td>
<td>6.57</td>
</tr>
<tr>
<td>House</td>
<td>44.22</td>
<td>0.98</td>
<td>0.5285</td>
<td>0.99</td>
<td>0.60</td>
<td>6.44</td>
</tr>
<tr>
<td><bold>Average</bold></td>
<td><bold>44.8</bold></td>
<td><bold>0.90</bold></td>
<td><bold>0.5237</bold></td>
<td><bold>0.99</bold></td>
<td><bold>0.86</bold></td>
<td><bold>6.50</bold></td>
</tr>
</tbody>
</table>
</table-wrap><fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>Images 4.2.05 and house enhanced by the proposed method and different prior methods</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="JQC_39913-fig-1.tif"/>
</fig><fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>kodim04, USC03 and USC06 from Kodak Suit and USC image sets enhanced by the proposed method and different prior methods</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="JQC_39913-fig-2.tif"/>
</fig>
<p>The selected area in blue on <xref ref-type="fig" rid="fig-1">Figs. 1</xref>, and <xref ref-type="fig" rid="fig-2">2</xref> are displayed separately from the enhanced images. This shows the physical difference between the proposed and earlier methods acquired visual quality. In comparison to the clouds from the image enhanced by previous methods, the clouds in the selected area obtained by the enhancement of 4.2.05 by the proposed method are whiter and brighter. Meanwhile, some methods change the color of clouds to a deep gray. The wall on the image of the house, which was enhanced by UCE and bi-histogram shifting, has a somewhat incorrect yellow tint, while the propose method enhances the white on the wall. The black circle around the eyes is darker and looks greener on Kodim04, enhanced in <xref ref-type="fig" rid="fig-1">Figs. 1b</xref>&#x2013;<xref ref-type="fig" rid="fig-1">1d</xref>. While using [<xref ref-type="bibr" rid="ref-32">32</xref>] and the proposed method, there is no visible greener appearance, however, kodim04 is greatly enhanced. When enhancing USC03, more extra distortions are added to the image, giving it a 3D appearance.</p>

<p>The enhanced USC03 in <xref ref-type="fig" rid="fig-2">Fig. 2i</xref> resembles the original image, demonstrating that no contrast enhancement was performed. The color of the background in the last displayed image was altered during data embedding, but the proposed method makes the tree appear much more realistic. The proposed method successfully produces contrast enhancement for color images of all the image sets. <xref ref-type="table" rid="table-4">Table 4</xref> summarizes the average result of metrics of performance used to assess the proposed method image quality.</p>
<table-wrap id="table-4">
<label>Table 4</label>
<caption>
<title>Average result of metrics of performance</title>
</caption>
<table frame="hsides">
<colgroup>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
<col align="left"/>
</colgroup>
<thead>
<tr>
<th>Metrics</th>
<th>[<xref ref-type="bibr" rid="ref-29">29</xref>]</th>
<th>[<xref ref-type="bibr" rid="ref-31">31</xref>]</th>
<th>[<xref ref-type="bibr" rid="ref-32">32</xref>]</th>
<th>Proposed method</th>
</tr>
</thead>
<tbody>
<tr>
<td>PSNR</td>
<td>43.00</td>
<td>43.04</td>
<td>27.07</td>
<td>43.73</td>
</tr>
<tr>
<td>SSIM</td>
<td>0.93</td>
<td>0.90</td>
<td>0.93</td>
<td>0.93</td>
</tr>
<tr>
<td>RCE</td>
<td>0.5019</td>
<td>0.5056</td>
<td>0.5192</td>
<td>0.5154</td>
</tr>
<tr>
<td>RMBE</td>
<td>0.98</td>
<td>0.95</td>
<td>0.62</td>
<td>0.98</td>
</tr>
<tr>
<td>Embedding rate</td>
<td>0.49</td>
<td>1.98</td>
<td>0.40</td>
<td>1.38</td>
</tr>
<tr>
<td>CIEDE2000</td>
<td>6.17</td>
<td>6.18</td>
<td>4.35</td>
<td>6.45</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>Color Preservation</title>
<p>The CIEDE2000 is frequently used to access color preservation and color distortion. The value is anticipated to be as low as possible to prevent color distortion. However, if the CIEDE2000 value is 0, the original image and the enhanced are the same. <xref ref-type="table" rid="table-4">Table 4</xref> shows the overall CIEDE2000 outcome. The proposed approach fails in maintaining color. But compared to other methods, <xref ref-type="table" rid="table-1">Tables 1</xref>, <xref ref-type="table" rid="table-2">2</xref> and <xref ref-type="table" rid="table-3">3</xref> reveal that colors of some images have been successfully maintained by the proposed method after enhancement.</p>

</sec>
<sec id="s4_4">
<label>4.4</label>
<title>Embedding Rate</title>
<p>UCE as well as the method in [<xref ref-type="bibr" rid="ref-31">31</xref>] used to make a comparative analysis with the proposed method embeds data by repeating the histogram shifting. All the methods are given the same number of repetitions of 40, and then the proposed method applies changes based on its algorithm. To make fair the comparison with the method in [<xref ref-type="bibr" rid="ref-32">32</xref>], the same amount of data is given to all the images to embed and complete the analysis of the embedding rate. The column title embedding rate in different tables reveals the proposed method&#x2019;s embedding performance and prior ones. The overall results reveal that the method in [<xref ref-type="bibr" rid="ref-31">31</xref>] embeds more data than the other methods. However, the proposed method does not rank last in the embedding rate. Hence the embedding rate of the proposed method can be considered reasonable.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Conclusion</title>
<p>In this study, a novel reversible data hiding strategy for color images was presented. This scheme applies the bi-histogram shifting to embed data and adjusts the image to improve contrast. The original image is initially split into three channels using the RGB color model to identify the Max, Med, and Min channels. Before applying bi-histogram shifting, the Max channel conditions the number of iterations. After data are embedded in channels, the resulting images are adjusted to produce the marked image with better visual quality and high embedding capacity. When evaluated using PSNR, SSIM, RCE, RMBE, and CIEDE2000, the experimental results demonstrate that the enhanced images produced by the proposed method are qualitatively and aesthetically superior to those produced by several prior methods. The embedding rate attained using the advised method is suitable.</p>
</sec>
</body>
<back>
<ack>
<p>The editors and anonymous reviewers are both acknowledged by the writers for their valuable comments.</p>
</ack>
<sec><title>Funding Statement</title>
<p>This work was supported in part by the National Natural Science Foundation of China under Grant No. 61662039, in part by the Jiangxi Key Natural Science Foundation under No. 20192ACBL20031, in part by the Startup Foundation for Introducing Talent of Nanjing University of Information Science and Technology (NUIST) under Grant No. 2019r070, and in part by the Priority Academic Program Development of Jiangsu Higher Education Institutions (PAPD) Fund.</p>
</sec>
<sec sec-type="COI-statement"><title>Conflicts of Interest</title>
<p>The authors declare that they have no conflicts of interest to report regarding the present study.</p>
</sec>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J. A.</given-names> <surname>Stark</surname></string-name></person-group>, &#x201C;<article-title>Adaptive image contrast enhancement using generalizations of histogram equalization</article-title>,&#x201D; <source>IEEE Transactions on Image Processing</source>, vol. <volume>9</volume>, no. <issue>5</issue>, pp. <fpage>889</fpage>&#x2013;<lpage>896</lpage>, <year>2000</year>.; <pub-id pub-id-type="pmid">18255459</pub-id></mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>Z.</given-names> <surname>Ying</surname></string-name>, <string-name><given-names>G.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Ren</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Wang</surname></string-name> and <string-name><given-names>W.</given-names> <surname>Wang</surname></string-name></person-group>, &#x201C;<article-title>A new image contrast enhancement algorithm using exposure fusion framework</article-title>,&#x201D; in <conf-name>Int. Conf. on Computer Analysis of Images and Patterns</conf-name>, <conf-loc>Ystad, Sweden</conf-loc>, pp. <fpage>36</fpage>&#x2013;<lpage>46</lpage>, <year>2017</year>. </mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M.</given-names> <surname>Kanmani</surname></string-name> and <string-name><given-names>V.</given-names> <surname>Narsimhan</surname></string-name></person-group>, &#x201C;<article-title>An image contrast enhancement algorithm for grayscale images using particle swarm optimization</article-title>,&#x201D; <source>Multimedia Tools and Applications</source>, vol. <volume>77</volume>, no. <issue>18</issue>, pp. <fpage>23371</fpage>&#x2013;<lpage>23387</lpage>, <year>2018</year>. </mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S. -C.</given-names> <surname>Huang</surname></string-name>, <string-name><given-names>F. -C.</given-names> <surname>Cheng</surname></string-name> and <string-name><given-names>Y. -S.</given-names> <surname>Chiu</surname></string-name></person-group>, &#x201C;<article-title>Efficient contrast enhancement using adaptive gamma correction with weighting distribution</article-title>,&#x201D; <source>IEEE Transactions on Image Processing</source>, vol. <volume>22</volume>, no. <issue>3</issue>, pp. <fpage>1032</fpage>&#x2013;<lpage>1041</lpage>, <year>2012</year>.; <pub-id pub-id-type="pmid">23144035</pub-id></mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L.</given-names> <surname>Luo</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Chen</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Chen</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Zeng</surname></string-name> and <string-name><given-names>Z.</given-names> <surname>Xiong</surname></string-name></person-group>, &#x201C;<article-title>Reversible image watermarking using interpolation technique</article-title>,&#x201D; <source>IEEE Transactions on Information Forensics and Security</source>, vol. <volume>5</volume>, no. <issue>1</issue>, pp. <fpage>187</fpage>&#x2013;<lpage>193</lpage>, <year>2009</year>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>C.</given-names> <surname>Qin</surname></string-name> and <string-name><given-names>Y. -C.</given-names> <surname>Hu</surname></string-name></person-group>, &#x201C;<article-title>Reversible data hiding in VQ index table with lossless coding and adaptive switching mechanism</article-title>,&#x201D; <source>Signal Processing</source>, vol. <volume>129</volume>, no. <issue>2</issue>, pp. <fpage>48</fpage>&#x2013;<lpage>55</lpage>, <year>2016</year>. </mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>W.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Hu</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Li</surname></string-name> and <string-name><given-names>N.</given-names> <surname>Yu</surname></string-name></person-group>, &#x201C;<article-title>Recursive histogram modification: Establishing equivalency between reversible data hiding and lossless data compression</article-title>,&#x201D; <source>IEEE Transactions on Image Processing</source>, vol. <volume>22</volume>, no. <issue>7</issue>, pp. <fpage>2775</fpage>&#x2013;<lpage>2785</lpage>, <year>2013</year>.; <pub-id pub-id-type="pmid">23591495</pub-id></mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>C.</given-names> <surname>Qin</surname></string-name>, <string-name><given-names>C. -C.</given-names> <surname>Chang</surname></string-name> and <string-name><given-names>T. -J.</given-names> <surname>Hsu</surname></string-name></person-group>, &#x201C;<article-title>Reversible data hiding scheme based on exploiting modification direction with two steganographic images</article-title>,&#x201D; <source>Multimedia Tools and Applications</source>, vol. <volume>74</volume>, no. <issue>15</issue>, pp. <fpage>5861</fpage>&#x2013;<lpage>5872</lpage>, <year>2015</year>. </mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Y.</given-names> <surname>Hu</surname></string-name>, <string-name><given-names>H. -K.</given-names> <surname>Lee</surname></string-name> and <string-name><given-names>J.</given-names> <surname>Li</surname></string-name></person-group>, &#x201C;<article-title>DE-based reversible data hiding with improved overflow location map</article-title>,&#x201D; <source>IEEE Transactions on Circuits and Systems for Video Technology</source>, vol. <volume>19</volume>, no. <issue>2</issue>, pp. <fpage>250</fpage>&#x2013;<lpage>260</lpage>, <year>2008</year>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>X.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Yang</surname></string-name> and <string-name><given-names>T.</given-names> <surname>Zeng</surname></string-name></person-group>, &#x201C;<article-title>Efficient reversible watermarking based on adaptive prediction-error expansion and pixel selection</article-title>,&#x201D; <source>IEEE Transactions on Image Processing</source>, vol. <volume>20</volume>, no. <issue>12</issue>, pp. <fpage>3524</fpage>&#x2013;<lpage>3533</lpage>, <year>2011</year>.; <pub-id pub-id-type="pmid">21550888</pub-id></mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D. M.</given-names> <surname>Thodi</surname></string-name> and <string-name><given-names>J. J.</given-names> <surname>Rodriguez</surname></string-name></person-group>, &#x201C;<article-title>Prediction-error based reversible watermarking</article-title>,&#x201D; <source>2004 International Conference on Image Processing, 2004. ICIP&#x2019;04</source>, vol. <volume>3</volume>, pp. <fpage>1549</fpage>&#x2013;<lpage>1552</lpage>, <year>2004</year>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>D. M.</given-names> <surname>Thodi</surname></string-name> and <string-name><given-names>J. J.</given-names> <surname>Rodr&#x00ED;guez</surname></string-name></person-group>, &#x201C;<article-title>Expansion embedding techniques for reversible watermarking</article-title>,&#x201D; <source>IEEE Transactions on Image Processing</source>, vol. <volume>16</volume>, no. <issue>3</issue>, pp. <fpage>721</fpage>&#x2013;<lpage>730</lpage>, <year>2007</year>.; <pub-id pub-id-type="pmid">17357732</pub-id></mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>C. -C.</given-names> <surname>Chang</surname></string-name> and <string-name><given-names>T. -C.</given-names> <surname>Lu</surname></string-name></person-group>, &#x201C;<article-title>A difference expansion oriented data hiding scheme for restoring the original host images</article-title>,&#x201D; <source>Journal of Systems and Software</source>, vol. <volume>79</volume>, no. <issue>12</issue>, pp. <fpage>1754</fpage>&#x2013;<lpage>1766</lpage>, <year>2006</year>. </mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Fridrich</surname></string-name>, <string-name><given-names>M.</given-names> <surname>Goljan</surname></string-name> and <string-name><given-names>R.</given-names> <surname>Du</surname></string-name></person-group>, &#x201C;<article-title>Lossless data embedding&#x2014;new paradigm in digital watermarking</article-title>,&#x201D; <source>EURASIP J. Adv. Signal Process</source>, vol. <volume>2022</volume>, no. <issue>2</issue>, pp. <fpage>1</fpage>&#x2013;<lpage>12</lpage>, <year>2002</year>. </mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>M. U.</given-names> <surname>Celik</surname></string-name>, <string-name><given-names>G.</given-names> <surname>Sharma</surname></string-name>, <string-name><given-names>A. M.</given-names> <surname>Tekalp</surname></string-name> and <string-name><given-names>E.</given-names> <surname>Saber</surname></string-name></person-group>, &#x201C;<article-title>Lossless generalized-LSB data embedding</article-title>,&#x201D; <source>IEEE Transactions on Image Processing</source>, vol. <volume>14</volume>, no. <issue>2</issue>, pp. <fpage>253</fpage>&#x2013;<lpage>266</lpage>, <year>2005</year>.; <pub-id pub-id-type="pmid">15700530</pub-id></mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L. -C.</given-names> <surname>Huang</surname></string-name>, <string-name><given-names>L. -Y.</given-names> <surname>Tseng</surname></string-name> and <string-name><given-names>M. -S.</given-names> <surname>Hwang</surname></string-name></person-group>, &#x201C;<article-title>A reversible data hiding method by histogram shifting in high quality medical images</article-title>,&#x201D; <source>Journal of Systems and Software</source>, vol. <volume>86</volume>, no. <issue>3</issue>, pp. <fpage>716</fpage>&#x2013;<lpage>727</lpage>, <year>2013</year>. </mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>X.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Yang</surname></string-name> and <string-name><given-names>T.</given-names> <surname>Zeng</surname></string-name></person-group>, &#x201C;<article-title>General framework to histogram-shifting-based reversible data hiding</article-title>,&#x201D; <source>IEEE Transactions on Image Processing</source>, vol. <volume>22</volume>, no. <issue>6</issue>, pp. <fpage>2181</fpage>&#x2013;<lpage>2191</lpage>, <year>2013</year>.; <pub-id pub-id-type="pmid">23399962</pub-id></mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>J.</given-names> <surname>Li</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Li</surname></string-name> and <string-name><given-names>B.</given-names> <surname>Yang</surname></string-name></person-group>, &#x201C;<article-title>Reversible data hiding scheme for color image based on prediction-error expansion and cross-channel correlation</article-title>,&#x201D; <source>Signal Processing</source>, vol. <volume>93</volume>, no. <issue>9</issue>, pp. <fpage>2748</fpage>&#x2013;<lpage>2758</lpage>, <year>2013</year>. </mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>W.</given-names> <surname>He</surname></string-name>, <string-name><given-names>K.</given-names> <surname>Zhou</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Cai</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Wang</surname></string-name> and <string-name><given-names>G.</given-names> <surname>Xiong</surname></string-name></person-group>, &#x201C;<article-title>Reversible data hiding using multi-pass pixel value ordering and prediction-error expansion</article-title>,&#x201D; <source>J. Vis. Commun Image Represent</source>, vol. <volume>49</volume>, no. <issue>6</issue>, pp. <fpage>351</fpage>&#x2013;<lpage>360</lpage>, <year>2017</year>. </mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S. -D.</given-names> <surname>Chen</surname></string-name> and <string-name><given-names>A. R.</given-names> <surname>Ramli</surname></string-name></person-group>, &#x201C;<article-title>Preserving brightness in histogram equalization based contrast enhancement techniques</article-title>,&#x201D; <source>Digital Signal Processing</source>, vol. <volume>14</volume>, no. <issue>5</issue>, pp. <fpage>413</fpage>&#x2013;<lpage>428</lpage>, <year>2004</year>. </mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Patel</surname></string-name> and <string-name><given-names>M.</given-names> <surname>Goswami</surname></string-name></person-group>, &#x201C;<article-title>Comparative analysis of histogram equalization techniques</article-title>,&#x201D; in <conf-name>2014 Int. Conf. on Contemporary Computing and Informatics (IC3I)</conf-name>, <conf-loc>Mysore, India</conf-loc>, pp. <fpage>167</fpage>&#x2013;<lpage>168</lpage>, <year>2014</year>. </mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H. -T.</given-names> <surname>Wu</surname></string-name>, <string-name><given-names>Y.</given-names> <surname>Wu</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Guan</surname></string-name> and <string-name><given-names>Y.</given-names> <surname>Cheung</surname></string-name></person-group>, &#x201C;<article-title>Lossless contrast enhancement of color images with reversible data hiding</article-title>,&#x201D; <source>Entropy</source>, vol. <volume>21</volume>, no. <issue>9</issue>, pp. <fpage>910</fpage>, <year>2019</year>.</mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>Y.</given-names> <surname>Yang</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Zhang</surname></string-name>, <string-name><given-names>D.</given-names> <surname>Liang</surname></string-name> and <string-name><given-names>N.</given-names> <surname>Yu</surname></string-name></person-group>, &#x201C;<article-title>A ROI-based high capacity reversible data hiding scheme with contrast enhancement for medical images</article-title>,&#x201D; <source>Multimedia Tools and Applications</source>, vol. <volume>77</volume>, no. <issue>14</issue>, pp. <fpage>18043</fpage>&#x2013;<lpage>18065</lpage>, <year>2018</year>. </mixed-citation></ref>
<ref id="ref-24"><label>[24]</label><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Kim</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Lussi</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Qu</surname></string-name> and <string-name><given-names>H. J.</given-names> <surname>Kim</surname></string-name></person-group>, &#x201C;<chapter-title>Automatic contrast enhancement using reversible data hiding</chapter-title>,&#x201D; in <source>2015 IEEE Int. Workshop on Information Forensics and Security (WIFS)</source>, <conf-loc>Rome, Italy</conf-loc>, 
 pp. <fpage>1</fpage>&#x2013;<lpage>5</lpage>, <year>2015</year>.</mixed-citation></ref>
<ref id="ref-25"><label>[25]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H. -T.</given-names> <surname>Wu</surname></string-name>, <string-name><given-names>J. -L.</given-names> <surname>Dugelay</surname></string-name> and <string-name><given-names>Y. -Q.</given-names> <surname>Shi</surname></string-name></person-group>, &#x201C;<article-title>Reversible image data hiding with contrast enhancement</article-title>,&#x201D; <source>IEEE Signal Process Lett.</source>, vol. <volume>22</volume>, no. <issue>1</issue>, pp. <fpage>81</fpage>&#x2013;<lpage>85</lpage>, <year>2014</year>. </mixed-citation></ref>
<ref id="ref-26"><label>[26]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>G.</given-names> <surname>Gao</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Tong</surname></string-name>, <string-name><given-names>Z.</given-names> <surname>Xia</surname></string-name>, <string-name><given-names>B.</given-names> <surname>Wu</surname></string-name>, <string-name><given-names>L.</given-names> <surname>Xu</surname></string-name> <etal>et al.</etal></person-group><italic>,</italic> &#x201C;<article-title>Reversible data hiding with automatic contrast enhancement for medical images</article-title>,&#x201D; <source>Signal Processing</source>, vol. <volume>178</volume>, pp. <fpage>107817</fpage>, <year>2021</year>.</mixed-citation></ref>
<ref id="ref-27"><label>[27]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H.</given-names> <surname>Chen</surname></string-name>, <string-name><given-names>J.</given-names> <surname>Ni</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Hong</surname></string-name> and <string-name><given-names>T. -S.</given-names> <surname>Chen</surname></string-name></person-group>, &#x201C;<article-title>Reversible data hiding with contrast enhancement using adaptive histogram shifting and pixel value ordering</article-title>,&#x201D; <source>Signal Process Image Commun.</source>, vol. <volume>46</volume>, no. <issue>1</issue>, pp. <fpage>1</fpage>&#x2013;<lpage>16</lpage>, <year>2016</year>. </mixed-citation></ref>
<ref id="ref-28"><label>[28]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>G.</given-names> <surname>Gao</surname></string-name> and <string-name><given-names>L.</given-names> <surname>Amoah</surname></string-name></person-group>, &#x201C;<article-title>Automatic contrast enhancement with reversible data hiding using bi-histogram shifting</article-title>,&#x201D; <source>Journal of Information Security and Applications</source>, vol. <volume>68</volume>, pp. <fpage>103223</fpage>, <year>2022</year>.</mixed-citation></ref>
<ref id="ref-29"><label>[29]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>S.</given-names> <surname>Kim</surname></string-name>, <string-name><given-names>R.</given-names> <surname>Lussi</surname></string-name>, <string-name><given-names>X.</given-names> <surname>Qu</surname></string-name>, <string-name><given-names>F.</given-names> <surname>Huang</surname></string-name> and <string-name><given-names>H. J.</given-names> <surname>Kim</surname></string-name></person-group>, &#x201C;<article-title>Reversible data hiding with automatic brightness preserving contrast enhancement</article-title>,&#x201D; <source>IEEE Transactions on Circuits and Systems for Video Technology</source>, vol. <volume>29</volume>, no. <issue>8</issue>, pp. <fpage>2271</fpage>&#x2013;<lpage>2284</lpage>, <year>2018</year>. </mixed-citation></ref>
<ref id="ref-30"><label>[30]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>H. -T.</given-names> <surname>Wu</surname></string-name>, <string-name><given-names>W.</given-names> <surname>Mai</surname></string-name>, <string-name><given-names>S.</given-names> <surname>Meng</surname></string-name>, <string-name><given-names>Y. -M.</given-names> <surname>Cheung</surname></string-name> and <string-name><given-names>S.</given-names> <surname>Tang</surname></string-name></person-group>, &#x201C;<article-title>Reversible data hiding with image contrast enhancement based on two-dimensional histogram modification</article-title>,&#x201D; <source>IEEE Access</source>, vol. <volume>7</volume>, pp. <fpage>83332</fpage>&#x2013;<lpage>83342</lpage>, <year>2019</year>. </mixed-citation></ref>
<ref id="ref-31"><label>[31]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>L.</given-names> <surname>Amoah</surname></string-name> and <string-name><given-names>T. K.</given-names> <surname>Ampofo</surname></string-name></person-group>, &#x201C;<article-title>A bi-histogram shifting contrast enhancement for color images</article-title>,&#x201D; <source>Journal of Quantum Computing</source>, vol. <volume>3</volume>, no. <issue>2</issue>, pp. <fpage>65</fpage>, <year>2021</year>.</mixed-citation></ref>
<ref id="ref-32"><label>[32]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><given-names>G.</given-names> <surname>Guangyong</surname></string-name> and <string-name><given-names>Z.</given-names> <surname>Zhengyuan</surname></string-name></person-group>, &#x201C;<article-title>High performance color image contrast enhancement algorithm using reversible data hiding</article-title>,&#x201D; <source>Journal of Computer-Aided Design &#x0026; Computer Graphics</source>, <year>2023</year>. <pub-id pub-id-type="doi">10.3724/SP.J.1089.2023.19546</pub-id></mixed-citation></ref>
</ref-list>
</back></article>