Chinese Remainder Theorem-Based Secret Image Sharing with Small-Sized Shadow Images

Secret image sharing (SIS) with small-sized shadow images has many benefits, such as saving storage space, improving transmission time, and achieving information hiding. When adjacent pixel values in an image are similar to each other, the secret image will be leaked when all random factors of an SIS scheme are utilized for achieving small sizes of shadow images. Most of the studies in this area suffer from an inevitable problem: auxiliary encryption is crucial in ensuring the security of those schemes. In this paper, an SIS scheme with small-sized shadow images based on the Chinese remainder theorem (CRT) is proposed. The size of shadow images can be reduced to nearly 1/k of the original secret image. By adding random bits to binary representations of the random factors in the CRT, auxiliary encryption is not necessary for this scheme. Additionally, reasonable modifications of the random factors make it possible to incorporate all advantages of the CRT as well, including a (k, n) threshold, lossless recovery, and low computation complexity. Analyses and experiments are provided to demonstrate the effectiveness of the proposed scheme.


Introduction
The security of important information transmitted over insecure communication channels is attracting increasing attention.In particular, the transmission of images has become commonplace, so image security is becoming a higher concern.Previous literature has mainly focused on three aspects, including image encryption, image steganography, and secret image sharing (SIS).Image encryption was subject to the earliest research, and more advanced cryptographic methods are developing.Image steganography is the art of hiding secret information into an innocent-looking cover image.However both of these techniques create only one file to hold all secrets, which may lead to the failure of communication if this one item is lost or damaged.On the other hand, if duplicates are used to overcome this weakness, the danger of exposing the secret image increases.SIS [1,2] is a solution to the above risks.
In fact, SIS is the expansion of secret sharing (SS) of an image.At the very beginning, SS was a key safeguarding scheme put forward by Blakley [3] and Shamir [4] independently.It divided a block of data into n pieces, and any k or more pieces could reconstruct the original data, while any k − 1 or fewer pieces left it undetermined.This kind of scheme is called the (k, n) threshold.It is successful in guaranteeing the security of keys.However, with secret images, the number of bytes becomes much larger, and the pixel value is bounded in a specific range (for example, 0-255 for gray-scale images).In this case, using the SS scheme directly may waste a lot of storage space and computation time.So Thien and Lin [5] extended Shamir's SS scheme to deal with digital images in 2002, which was the first (k, n) threshold secret image sharing (abbreviated as (k, n)-PSIS) scheme.It is particularly noteworthy that smaller shadow images were generated in their scheme by utilizing all k coefficients of Shamir's polynomial to share the secret image, so that the size of each shadow image was reduced to 1/k of the original size.Inspired by their research, the advantages of smaller shadows have begun to attract interest in this area.These are pointed out as below: 1.
Saving storage space and transmission time.If each shadow image is the same size as the original secret image, the cost of the storage space and transmission time will be n times or at least k times in a (k, n) threshold scheme.If the shadow image size is reduced to 1/k, the same amount of data is needed in the recovery process.For example, to share 1 GB images using an SIS scheme for a (4, 5) threshold, 5 GB data are generated, and 4 GB is required in the recovery process for the scheme with the same size of shadow images.Meanwhile, only 1 GB shadow images are sufficient for reconstruction in Thien and Lin's (4, 5)-PSIS scheme, which has smaller shadow images.

2.
Easier process for image hiding.The shadow images produced by SIS are usually noise-like, which tend to attract more attention from an adversary or warden.So, image hiding after sharing is desired in storage and transmission for better security.Many image hiding methods [6,7] require that the embedded image should be at least 1/2 (or even 1/4) smaller than the size of the cover image.In such cases, it is more valuable to have smaller shadow images in a secret image sharing scheme.
Consequently, many studies have been devoted to researching the properties of small shadow images.As we all know, a lossy experiment was implemented in Thien and Lin's (k, n)-PSIS scheme, in which all pixel values more than 250 of the secret image were truncated to less than 251.Therefore, if the pixel value is 251-255, at least 1 bit or at most 3 bits will be changed.In order to minimize the number of modified bits, a cyclical shift was done in Kanso and Ghebleh's study [8].For each pixel value more than 250 in the secret image, they cyclically shifted the 8-bit binary representation of it one position to the right, so that only the most significant bit needed to be set to 0 for truncation.It reduced the difference between the secret image and the recovered image.The other properties of Thien and Lin's scheme remained unchanged.A serious flaw, referring to the computational security, in Thien and Lin's (k, n)-PSIS scheme was also inherited: fewer than k shadow images might reveal the secret image.More details of the problem were analyzed in Yan et al.'s research [9].This drawback has been pointed out by many researchers.Most of them intended to solve it by advanced encryption.For example, Guo et al. [10] applied Advanced Encryption Standard (AES) encryption before the sharing process instead of a simple permutation.Then, they shared the encrypted secret image using Thien and Lin's (k, n)-PSIS scheme.Finally, the shadows were composed of shadow images and additional keys.The study patched up the computational security defect by using AES encryption before the sharing process.As a result, the security of their scheme depended upon the security of AES.The additional encryption cost more storage space and more computational time.Furthermore, because the size of the shadows in Guo et al.'s scheme was 1/k of the secret image plus a short key length, Zhou et al. [11] made a minor improvement.They also used a stronger encryption algorithm, rather than a simple permutation, to generate the encrypted secret image.Then, they subdivided the original image and encrypted image into super blocks, and used XOR operations to embed the key into the encrypted image.At last, they obtained the same-sized shadow images with Thien and Lin's (k, n)-PSIS scheme.It seemed to eliminate the obvious additional key.In fact, the key of auxiliary encryption must be recovered before reconstruction of the secret image.Some other studies also tried to solve the computation security problem by adopting more advanced encryption algorithms.Ahmadian et al.'s study [12] was a variation of Thien and Lin's scheme, too.It used a slightly modified version of All-or-Nothing Transform (SI-AONT) to replace permutation of the secret image for the first step.Then, an information dispersal algorithm based on systematic Reed-Solomon coding was used to generate n shadow images, instead of Shamir's polynomial.The security of this scheme was also guaranteed by SI-AONT transformation and not the sharing algorithm itself.For sharing a color image with small shadow images, Liu et al. [13] made an attempt.They applied compressed sensing (CS) to the (k, n)-PSIS scheme before the sharing phase to complete compression and encryption of the secret color image.Next, the compressed and encrypted secret color image was shared using traditional Thien and Lin's (k, n)-PSIS scheme.Thus, the reduction of shadow size resulted from compressed sensing(CS).Though their scheme had error-resilient capability, the recovery image was lossy, and computation time was longer.All these properties were due to the additional compression method of CS.
In summary, former SIS schemes with small shadow images were mainly based on (k, n)-PSIS.They experienced an inevitable weakness, which is that fewer than k shadow images might reveal the secret image if all coefficients are used to share the secret.So, permutation, encryption, or compression has become an integral step before sharing for these schemes.Additionally, the security of SIS with a small shadow size seems to necessarily rely on the strength and safeguarding of the auxiliary key.Also, the recovery image is lossy when p is 251 in these schemes.Finally, computation is more time-consuming due to more complex encryption and decryption algorithms and Lagrange interpolation in the recovery phase.
Compared to Shamir's original polynomial-based SS, which needs Lagrange interpolation as a fundamental step in the recovery phase, the Chinese remainder theory (CRT)-based SS has attracted some researchers' attention for its low computation complexity.The first SS scheme based on the CRT for a (k, n) threshold was put forward by Mignotte [14] in 1982.However, SIS literature based on the CRT has had little concern for the reduction of shadow image size so far.In Hua et al.'s research [15], they applied Mignotte's method to implement a (k, n) threshold scheme with small shadow size.Because there is a lack of random factors in Mignotte's expression, very complex arithmetic compression coding was used in the scheme before the sharing process to disrupt the similarity of adjacent pixel values in an image.Similar to the above (k, n)-PSIS schemes, the reduction of shadow size in this scheme was caused by pre-compression too.The security and reduction of shadow images of Hua et al.'s scheme also relied on auxiliary encryption.As a matter of fact, the lack of random factors in Mignotte's method was solved by Asmuth and Bloom [16] early in 1983.They introduced a big random integer as the random factor to share the secret image directly.The effectiveness was verified in Ulutas et al.'s research [17].However, the size of the shadow images generated in the study was the same as the original secret image.Investigation has shown that studies focusing on the reduction of shadow image size based on Asmuth Bloom's method are scarce to this day.
In short, former SIS schemes with small shadow sizes were mainly built on additional permutation, encryption, or compression of the secret image before the sharing process.As a result, security and reduction were guaranteed by additional operations and not the sharing procedure itself.
In this paper, a scheme with a small shadow size based on the CRT is proposed.It utilizes a scheme named (k, n)-CRTSIS [18], which was developed from Asmuth Bloom's method.The advantages of the (k, n)-CRTSIS scheme are the (k, n) threshold, lossless recovery, and low recovery computation complexity, while the size of the shadow images are the same as the original secret image.To further reduce the size of the shadow images under the proposed scheme, several approaches are carried out.Similar to the (k, n)-PSIS scheme, all random elements in (k, n)-CRTSIS are utilized to share the secret image.First, the secret image is translated to binary data.Second, the bits of binary data are taken out in sequence as random element values.In order to get a lossless recovery image, is performed to ensure the value of the coefficient is in the right range, so that 1 bit is dropped per operation of rounding down.Additionally, optional random binary bits are added in each binary sequence to enhance the security of the proposed scheme.These operations subsequently cause randomness.At last, the secret image is divided into small shadow images, which are close to 1/k of original size in some cases.Thus the proposed scheme not only reduces the size of shadow images but also eliminates auxiliary encryption.Proper modifications also preserve the positive features of the CRT, including (k, n) threshold, lossless recovery, and low recovery computation complexity.
The rest of this paper is organized as follows.Section 2 introduces some basic requirements for the proposed scheme.In Section 3, the proposed scheme is presented in detail.Analyses and improvements are given in Section 4. Section 5 displays several examples of experiments to verify our method.Finally, Section 6 concludes this paper.

Preliminaries
In this section, some useful background is presented before introducing the proposed scheme, and the main parameters and constraints of (k, n)-CRTSIS [18] are elaborated briefly.
Asmuth Bloom's SS scheme, which is the basic theory of (k, n)-CRTSIS, is presented first.The sharing process is carried out as follows: Step 1. Choose a set of integers {p, The recovery process aims to solve the following linear congruence equations, which has the only solution for any k shadows: Consequently, the secret data can be recovered as x ≡ y (mod p).
Afterward, SIS based on Asmuth Bloom's SS scheme was implemented in Ulutas et al.'s research [17].It mapped the pixel values x (corresponding to the secret data), which is larger than p, in the right range and divided the span of A into two intervals corresponding to different pixel values x.Since the pixel values of a gray image are in the range [0, 255], it leads to the changes in the first two steps in Asmuth Blooms's scheme: Step 1.The boundary value p is further clarified as p < m 1 to satisfy the constraints.
Step 2. According to different pixel values of x, the big integer y is computed differently.
Here, t is a new boundary of two intervals.
Because of the two situations of x in the sharing phase, a comparison is also made in the recovery phase.Let T * = y p , if T * ≥ T, x ≡ y (mod p), else x = y (mod p) + p.Then, x is the recovered pixel value of the secret image.
Subsequently, (k, n)-CRTSIS [18] enhanced the performance of the above scheme.It ensures the (k, n) threshold, together with lossless reconstruction, by computing the boundary values more specifically.
1.In Step 1, the chosen integers are limited to , which is also subject to the original constraints.

In
Step 2, the boundary values are narrowed and specified.First, the range of Second, the segmentation value t is computed as the median . Thus, the sharing phase can be carried out clearly, in line with the strict The reconstructed phase of (k, n)-CRTSIS is the same as Ulutas et al.'s scheme [17], with two accessorial public parameters p and T.
Lossless recovery.It is well known that in Thien and Lin's scheme [5], only a lossy experiment was realized.In their experiment, the prime number p was set as 251, so that all the coefficients of Shamir's polynomial needed to be truncated to less than 251 for reconstructing the secret image successfully.Apparently, the recovery image of Thien and Lin's (k, n)-PSIS scheme would be lossy.Although they also provided a lossless method, lack of realization for the solution is not optimal.The previous studies focusing on reducing the size of shadow images were mainly devoted to enhancing the security of the (k, n)-PSIS scheme, but they did not pay much attention to obtaining a lossless result.In the (k, n)-CRTSIS scheme, a lossless recovery image can be gained directly without any more complex operations or auxiliary encryptions.Thus, the proposed scheme based on (k, n)-CRTSIS can obtain a lossless recovered image.

2.
Low computation complexity.As stated above, Lagrange interpolation is a fundamental step in the recovery phase of Shamir's polynomial-based schemes.It requires O(k log 2 k) operations to decrypt each pixel of the secret image.For the CRT, only O(k) modular operations are needed in reconstruction [16].This will show a clear priority for dealing with many secret images and large images.
A shortcoming of the (k, n)-CRTSIS scheme which can be improved is that the size of shadow images is the same as the original secret image.The following Sections of this paper are devoted to solving this problem.

The Proposed (k, n)-CRTSIS with Small Shadow Size
In this section, the proposed SIS scheme with small-sized shadow images based on (k, n)-CRTSIS is demonstrated in detail.The model of this scheme is shown in Section 3.1.The sharing and recovery algorithms are described in Section 3.2.

The Proposed Model
The model of the proposed scheme is shown in Figure 1.It is composed of two parts, including the sharing and recovery process.More details of the two processes are described as follows.
Sharing process.The secret image is first transformed into a string of binary data D.Then, 8 bits of the string are selected as the value x.Next, x is compared with the unique integer p to generate y.The number of bits used to express coefficient A is 8(k − 1) − 1, composed of r random bits and 8(k − 1) − 1 − r bits picked from the binary string D strictly after the former 8 bits, which is proved in Section 4. For n privacy modular integers of m i , the remainders a i ≡ y (mod m i ) are the pixel values of the shadow images corresponding to m i , respectively.
Recovery process.When k or more shadow images are collected, the unique solution y can be derived from Equation (1).The critical value T * is then computed by to compare with the public boundary T. Two results of the comparison correspond to the terms of x and y in the sharing process.A couple of x and A would be binarized in sequence for one loop until all pixels of shadow images have been computed.Finally, the recovered binary data D is converted to the reconstructed secret image S .
The model of (k, n)-CRTSIS (Chinese remainder theorem secret image sharing) with small shadow size.

Algorithms
The sharing and recovery algorithms are described in Algorithms 1 and 2, respectively, in this subsection.The inputs, outputs, and each step are elaborated in detail.

Algorithm 1
The sharing process of (k, n)-CRTSIS with small shadow size Input: Image S with the size of W × H which will be shared.Output: n shadow images SC 1 , SC 2 , • • • SC n and corresponding privacy modular integers m 1 , m 2 , • • • m n .
Step 1: Set the initial parameters (k, n) threshold, and a set of integers Then, compute M, N, T according to the following formulas. 1.
p, N, and T are all public among all the participants.
Step 2: Binarize the secret image S to a string of binary data D.
Step 3: Compute the size of one segment.It needs 8 bits for x, then 8(k − 1) − 1 − r bits for the random integer A. Thus, each segment should be 8k − 1 − r.
Step 4: For each segment of binary string D, repeat Steps 5-6.
Step 5: Transform the first 8 bits of the segment to a decimal number x, and the next 8(k − 1) − 1 − r bits of D plus r random bits, which is 8(k − 1) − 1, to express decimal integer A * .For the coefficient Step 6: Compute a i ≡ y (mod m i ) and let SC i (h, w) = a i for i = 1, 2, • • • , n.
In Step 1 of Algorithm 1 , p, which should be as small as possible [18], is fixed at 128 or 131 in our scheme.It is verified that 131, (which is a prime to guarantee the recoverability), is a better value.

2.
Compared to the original (k, n)-CRTSIS, N is another public parameter in our scheme for the demand of recovering A in Step 3 of Algorithm 2.

3.
In Step 3 of Algorithm 1, the number of bits needed to represent the integer A is 8(k − 1) − 1.This number is equal in the two situations, which are 0 ≤ x < p or p ≤ x < 256.This is proved in Section 4.1.4.
In Step 5 of Algorithm 1 and Step 3 of Algorithm 2, there is a translation of A to generate y or recover the secret binary data.Because in the original (k, n)-CRTSIS scheme, A ∈ T + 1, M p − 1 when 0 ≤ x < p, and A ∈ N p , T when p ≤ x < 256.Yet, for a binary string of 8(k − 1) − 1 bits, the decimal value is in 0, 2 8(k−1)−1 .So, it needs an add operation to move the value of the binary string to the right interval of A in the sharing process, and a minus operation to move back in the recovery process.5.
In our scheme, the random coefficient A consists of r random bits and 8(k − 1) − 1 − r bits picked up from the binary data of the secret image.Accounting for the fact that adjacent pixels in an image are often continuous, the r random bits are utilized to enhance the randomness of integer A. The range of r is [1, 7].The bigger r is, the more secure our scheme is.For natural images, r = 2 performs well, and for images with lots of consecutive pixels, r = 7 is adequate.With the increase of r, the size of the shadow images is enlarged, which is even the same as the original secret image when k = 2 and r = 7.This is exhibited in Section 5.3.
Step 2: Let a i j = SC i j (w, h) for j = 1, 2, • • • , k. Get y corresponding to the same position in the original secret image S by solving the following linear equations.
y ≡ a i k mod m i k .
Step 3: Compute T * = y p .If T * ≥ T, let x ≡ y (mod p), A * = y−x p − (T + 1).Else, let x = y (mod p) + p, A * = y−x p − N p .Binarize x and A, then, 8 bits of x and 8(k − 1) − 1 − r (r ∈ [1, 7]) bits of A are added in sequence to a binary string D , which is empty initially.
Step 4: Convert the binary data D per 8 bits to a string of decimal numbers.Shape and output the recovered secret image S .

Performance Analysis
A secret image sharing scheme based on (k, n)-CRTSIS with small shadow size is proposed in this paper.There are two aspects to be analyzed in this section.One is a reduction of the shadow image size, the other is the security of this scheme.

Reduction of Shadow Image Size
Reduction of shadow image size in our scheme is 1 k−(1+r)/8 .It is proved through the following three theorems step by step.
Theorem 1.The bits to represent A are equal for two intervals, which are T + 1, M p − 1 and N p , T .

It is known that
T, which is the boundary of two intervals, is computed as the median.
Thus, two intervals are T + 1, M p − 1 and N p , T corresponding to 0 ≤ x < p and p ≤ x < 256, respectively.For A which is used to share the secret image pixels in our scheme, and pixel values that start from 0, the two intervals are transferred to 0, M p − 1 − (T + 1) and 0, T − 1 − N p .Thus, the length l 1 , l 2 of these two intervals are: It proves l 1 = l 2 .Thus, Theorem 1 is proved.

It was computed in Theorem 1 that the length of
Here, we prove the maximum number of bits that can be contained in A is 8(k − 1) − 1.
For the constraint of the integers {128 ≤ , p is as small as possible while m i is as large as possible, thus, m k p is close to 2. It means that and will not affect the number of bits.The last small constant 1 also can be dropped.Thus, the computation is simplified as Then In order to get lossless recovery image, the max number of bits that can be contained in A is 8(k − 1) − 1.As proved in Theorem 2, the maximum number of bits contained in A is fixed as 8(k − 1) − 1.In our sharing process described in Section 3, x contains another 8 bits data of the secret image.Thus, 1 pixel, which is 8 bits of a shadow image, corresponds to 8(k − 1) − 1 + 8 bits of the secret image.Moreover, r random bits are added to them to enhance the security of our scheme, thus, the reduction ratio re can be computed as

Theorem 3. Reduction of shadow image size is
Consequently, the reduction of shadow image size in our scheme is

Analysis of Security
In this subsection, the security of our scheme is proved by theoretical analysis.It includes both the randomness of the shadow images and satisfaction of the (k, n) threshold.Lemma 1.There are no leakages in shadow images generated by the proposed scheme.
Proof.As illustrated in Section 3.2, a pixel value a i ≡ y (mod m i ) is determined by y and m i , where m i is fixed early.Because y = x + Ap when 0 ≤ x < p, and y = x − p + Ap when p ≤ x < 256, variations can only be x or A. x is a pixel value varied according to the secret image.A is a big integer expressed by 8(k − 1) − 1 bits which are composed of r random bits and 8(k − 1) − 1 − r bits selected from the secret image.In order to keep the value of A variation as large as possible, r random bits are arranged at high positions of 8(k − 1) − 1 bits.
Accounting for the range of x in two conditions, x and x − p in two expressions are both in [0, 128) actually.For k ≥ 2, 8(k − 1) − 1 bits of binary data is in the range of [128, 2 8(k−1)−1 ].Due to gcd (m i , p) = 1, Ap (mod m i ) can cover all possible values in [0, m i ).As a result, the pixel value of shadow images a i ≡ y (mod m i ) is approximately random in [0, m i ).However, the randomness is related to the secret image and the number of random bits in A. It has great performance for natural images and can be enhanced by increasing r random bits, which is displayed in Section 5.
Thus, Lemma 1 is proved to be met.
Lemma 2. The secret image can be recovered losslessly by any k or more shadow images in the proposed scheme.
Proof.Due to x ≡ y (mod p) or x ≡ y (mod p) + p, and p is fixed at the sharing process, the recovered pixel value x is thus only determined by y.According to the CRT, when k or more shadow images are collected, there exists only solution y modulo Then, x is gained by Step 3 in Algorithm 2. The secret image is shared and recovered as a string of binary data without any truncation.Thus, the recovered image is lossless.
Lemma 2 is proved.

Lemma 3.
No clue of the secret image is given by any k − 1 or fewer shadow images in the proposed scheme.
Proof.When k − 1 shadow images are collected, there is one solution 1).Thus, no clue of the secret image is given by any k − 1 or fewer shadow images.

Experiments and Comparisons
In this section, experiments are described to verify the effectiveness of the proposed scheme and prove the theoretic analysis in Section 4. Comparisons of Thien and Lin's (k, n)-PSIS without pre-encryption and our scheme are listed in Section 5.2.Finally, further discussions are given to enhance the security of our scheme by increasing the random bits r.

Experiments
In this subsection, (3,3) and (3,4) threshold experiments are presented, which are provided to verify that our scheme can satisfy the (k, n) threshold.It indicates that our scheme has the general threshold.It takes r = 2 as an example for random bits added in A, which is good enough for ordinary natural images.
In Figure 2, results of a (3,3) threshold is utilized to demonstrate the effectiveness of the (k, k) threshold in our scheme, with (p, m 1 , m 2 , m 3 ) = (131, 249, 251, 253).Figure 2a is the original secret image S with 336 × 336 pixels.Figure 2b-d are noise-like shadow images with the small size of 336 × 128 pixels, which is 336×128 336×336 = 8 21 = 1 3−3/8 = 1 k−(1+r)/8 , (k = 3).Figure 2e is an example of the image recovered by two shadow images, which is less than the threshold k = 3.It is a bit different from the noise-like image but has no leakage of visual information of the secret image.The security of shadow images and recovery images is further analyzed through their histograms in Figure 3.
Figure 3 displays the histograms of the experimental results shown in Figure 2. Histograms in Figure 3b-d indicate that the pixels of the shadow images are indeed distributed randomly.The histogram of the recovery image, which is reconstructed by two shadow images, is not similar to the original secret image (shown in Figure 3a) at all.It means that there is no leakage of the secret image when shadow images are collected below the threshold.Also, our scheme is a lossless recovery method, as verified by the difference image, which is all black, shown in Figure 3f.
In Figure 4, the experimental results are not listed completely.Figure 4a,b are the original secret image and its histogram.Figure 4c is an example of the shadow images with m 3 = 253, and Figure 4d is its histogram.Figure 4e,g,i are the instances of recovery images corresponding to k = 2, 3, 4, and Figure 4f,h,j are their histograms, respectively.Figure 4k,l show the difference between the recovery image and the secret image when more than the threshold shadow images are collected.Figure 4c,d shows that the pixels of shadow images in our scheme are entirely random.Figure 4e-j verifies the (k, n) threshold of our scheme, which means that there is no leakage when less than k shadows are collected, and the secret image can be reconstructed losslessly when k or more than k shadows are gained.
The two above experiments prove that our scheme based on (k, n)-CRTSIS with small shadow size is feasible and secure.

Comparisons
A (2, 4) threshold experiment is presented in this subsection, which is used to compare with the experimental results shown in Thien and Lin's scheme [5].
Thien and Lin's (k, n)-PSIS scheme was based on Shamir's SS, which shared the secret data by using a k − 1 degree polynomial, as shown in Equation (12), in which p is a prime to guarantee the recoverability.
However, there are two disadvantages in Thien and Lin's (k, n)-PSIS: In Shamir's original algorithm, only a 0 is used to embed the secret message, while a 1 , a 2 , • • • , a k−1 are random integers.In this way, shadow images are generated with the same size as the original secret image.To reduce the size of each shadow image, all coefficients in Equation ( 12) are utilized for sharing in Thien and Lin's (k, n)-PSIS.It means that a 0 , a 1 , a 2 , • • • , a k−1 are all pixel values selected from the secret image S. The size of the generated shadow images are thus 1  k of the original secret image.For the reason that adjacent pixel values in the same image may be consecutive, when all coefficients of the polynomial are replaced by pixel values of the secret image, it diminishes the randomness of the integers.As a result, pre-permutation is essential for Thien and Lin's scheme.
Additionally, x, f (x), a 0 , • • • , a k−1 should be limited to [0, 250], since p = 251 in Equation ( 12).However, the gray-scaling image has 256 gray levels from 0 to 255.Therefore, pixel values more than 250 are all truncated to less than 251.Consequently, the recovery image in Thien and Lin's scheme is a lossy result.Although the recovered images by this technique look similar to the secret images, they cannot satisfy the requirement of lossless recovery in certain application scenarios.
A lossless solution was also advised in their paper.It split the pixel values x i of more than 250 to two partitions, first 250, then x i − 250.Thus, the size of shadow images will vary a lot according to the statistics of the secret image pixels.Nevertheless, the lossless experimental result was not displayed for the complex solution.
The two disadvantages of Thien and Lin's scheme is presented in Figure 5.It can be seen that significant parts of the secret image are revealed in the four shadow images (Figure 5e-h In our scheme, the only random factor, which is the big integer A in the linear congruence equations, is also used to share the secret image.Firstly, the pixel values of the secret image are multiplied in groups to express A. Secondly, is done to A to get lossless reconstruction, so that a 1 − bit shift occurs for each loop.For a further step, r random bits are added in A to enhance the security of the proposed scheme.Above all, noise-like shadows can be generated by our scheme without pre-encryption, which is shown in Figure 6.Also, no truncations are manufactured in our scheme, so no lossy pixels are produced in our scheme either.The compared image is also shown in Figure 6d with all black pixels.

Discussion
As mentioned in the algorithms of the proposed scheme in Section 3.2, the randomness of coefficient A is enhanced by increasing the number of random bits r in A. The range of r is [1, 7].The bigger r is, the more secure our scheme is.In Section 5.1, the experimental results with r = 2 are elaborated.This is sufficient for natural images when r is small.However, if the secret image has lots of continuous pixel values, it needs more random bits to guarantee the security of the method.
Figure 7 is a secret image with lots of continuous pixels.Though the shadow images are still noise-like in Figure 7b, the outline of the secret image may be revealed a little when less than the threshold for shadows are collected when r = 2, as shown in Figure 7c.The problem can be solved by increasing random bits of A. As shown in Figure 7e, there is no leakage for the same parameters as Figure 7c, except r = 7.Nevertheless, security is strengthened as the size of shadow images is enlarged from 336 × 128 to 336 × 168.Furthermore, when k = 2 and r = 7, there will be no reduction of the size of the shadow images for Based on the above analyses and discussions, the priorities of our scheme can be concluded as follows.

1.
Reduction of shadow images.In the proposed scheme, x and A in the formula of the CRT are all used to share the secret image.As illustrated in Section 4.1, reduction of shadow image size is 1 k−(1+r)/8 .

2.
No pre-encryption.The number of bits contained in A is 8(k − 1) − 1.There is always 1 bit dropped and r random bits added in one sharing step.The two operations guarantee the randomness of our scheme.Consequently, the security of the scheme relies on the sharing scheme itself and not additional encryption.

Figure 3 .
Figure 3. Histograms of the experimental results for (3, 3) threshold.(a) Histogram of the original secret image S; (b-d) histograms of shadow images corresponding to (b-d) in Figure 2; (e) histogram of Figure 2e; (f) difference between recovery image S' and secret image S.