Holographic information embedding / restoration method and system based on IFS fractal image splicing
Through the method based on IFS fractal pattern splicing, the problems of modification traces and self-similarity destruction in traditional information hiding technology are solved, and secret information hiding and extraction with high resolution and good visual quality are achieved, with holographic characteristics.
Patent Information
- Application Number
- CN202211667333.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-12-23
AI Technical Summary
Among the existing information hiding technologies, the traditional modification method has the problems of modification traces and steganographic anomalies. The single carrier embedding capacity of natural carrier without carrier information is low, and the definition of natural images is difficult. The non-natural carrier without carrier information hiding is difficult. Fractal graph modification destroys the overall self-similarity, leading to leakage of secret information and poor visual quality.
The holographic information embedding/recovery method based on IFS fractal map splicing is used to generate the IFS fractal map by inputting a binary secret bit sequence and a random seed matrix. The compressed affine transformation rule sequence and pseudo-random generation of the fractal map coordinate sequence are used to maintain the overall and local Self-similarity, the generated dense fractal map has high resolution and good visual quality.
It achieves stable hiding and efficient extraction of secret information in fractal diagrams, avoids modification traces and visual differences, has holographic characteristics, and can extract secret information under a wide range of attacks.
Smart Images

Figure CN115755559B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information security, and relates to an information hiding method, in particular to a holographic information embedding / recovery method and system based on IFS fractal image splicing. Background Art
[0002] Information hiding is the process of hiding secret information in a non-confidential carrier so that the embedded secret information cannot be detected or discovered when transmitted over a public channel. Traditional modification-based information hiding methods mainly embed secret information by modifying the redundant space of the carrier, but there will inevitably be traces of modification, which will cause steganographic anomalies. In order to avoid detection by steganalysis, positions that are easy to embed and not prone to causing steganographic anomalies are often selected for adaptive embedding, which reduces the embedding capacity to a certain extent and makes secret information easier to leak and tamper with.
[0003] In order to overcome the defects of traditional modified information hiding, the National Information Hiding Conference proposed carrier-less information hiding for the first time. According to the object to be disguised, carrier-less information hiding can be divided into natural carrier-less information hiding and non-natural carrier-less information hiding.
[0004] Natural carrier-free information hiding mainly disguises the secret carrier as a natural carrier, including search-based, texture generation-based, and generative adversarial network (GAN)-based information hiding methods.
[0005] The search method is to express secret information by searching for suitable natural carriers. According to the type of natural carrier selected, it can be divided into two categories: text search method and image search method. The text search method searches for suitable text carriers to express secret information in the form of tags plus keywords, where tags are used for positioning and keywords are used to express secret information, while the image search method establishes a mapping relationship between secret information segments and natural image features to express secret information. This type of method has extremely low single-carrier embedding capacity, high search storage and maintenance costs, and involves dense transmission of a large number of carriers in the channel, which is prone to abnormal behavior.
[0006] Texture generation is a method of hiding secret information by generating natural-like texture images from given texture images. This type of method inevitably has splicing traces and repeated patterns, which can easily cause steganographic anomalies.
[0007] Generative adversarial networks use the minimax game between the generator and the discriminator to generate pseudo-natural images to hide secret information. There are three main categories: the first category is to modify the pseudo-natural images generated by the generative adversarial network to embed secret information; the second category is to express secret information with the help of the generated carrier features; the third category is to use the secret information as the input of the generative adversarial network to obtain the secret information from the generated secret image. These methods attempt to treat the generated images as natural images, but since natural images themselves cannot be defined, these methods can only rely on the judgment results under specific data sets, so they can only be biased falsifications, not verifications.
[0008] Unlike natural carrier or carrier-free information hiding, non-natural carrier or carrier-free information hiding does not produce natural carriers, so there is no problem of natural carrier definition. Therefore, the technical defects of natural carrier or carrier-free information hiding can be fundamentally eliminated. Existing non-natural carrier or carrier-free information hiding can be divided into water image embedding and fractal image hiding. Among them, water image embedding is to deform the secret image to produce complex textures to cover the secret information, but the essence of this method is to change the scrambling of pixel positions, and it is impossible to fully and effectively cover the secret information. Compared with water image embedding, fractal image hiding can generate fractal images with more practical semantics, thereby playing a better role in hiding the hidden secret information. The fractal image hiding that has been proposed so far mainly continues the three ideas of fractal image embedding, fractal generative embedding and fractal image camouflage, among which:
[0009] Fractal embedding is to modify the fractal carrier to embed secret information. For example: A Durafe, V Patidar. Development and analysis of IWT-SVD and DWT-SVD steganography using fractal cover [J]. Journal of King Saud University-Computer and Information Sciences, 2020, 10 (8): 1-16. Secret information is embedded by modifying the integer wavelet transform and discrete wavelet transform parameters of the fractal image. Bo Sen, Zhou Longfu, Yang Yi, etc. Information hiding algorithm based on fractal graphics as carrier [J]. Computer Applications, 2018, 38 (8): 2306-2310 Secret information is embedded by modifying the position of black pixels in the fractal image. HN Patel, DR Khant, D Prajapati. Design of a color palette based image steganography algorithm for fractal images. IEEE WiSPNET 2017 conference [C]. Chennai, 2017: 2584-2589. The local variance of the color palette of the fractal image is used to encode secret information in descending order. However, the modification of the fractal carrier will destroy the overall and local self-similarity of the fractal image, and there is a risk of exposing the embedded position, which is essentially a modified embedding.
[0010] Fractal generative embedding is to control pixel rendering to hide secret information during the fractal image generation process. For example: SS Agaian, J MSusmi lch. Fractal steganography using artificially generated image. IEEE Region 5 Conf. [C]. San Antonio, 2006: 312-317. The secret information is embedded by modifying the values of the R channel and the B channel of the fractal image during the color rendering process of the fractal image. This method directly exposes the color difference between the embedded line segments and the non-embedded line segments, and there is a risk of secret information leakage. H Zhang, J Hu, GWang. A steganography scheme based on fractal images. 2011 Second International Conference on Networking and Distributed Computing [C]. Beijing, 2011: 28-31. It uses the foreground and background colors of the escape area of the fractal image to encode secret information, but this method has obvious visual differences between the embedded image and the non-embedded image, resulting in low visual quality of the embedded image, and only the escape area is used for embedding, resulting in low embedding capacity. X Zhang, F Peng, Z Lin, et al. A cover less image information hiding algorithm based on fractal theory [J]. International Journal of Bifurcation and Chaos, 2020, 30 (4): 2050062-1-2050062-20 The state of secret information is represented by adding or not adding a small perturbation in the color rendering process of each point of the fractal image. The Koch curve method used in this method can leak secret information through different coloring; the escape time algorithm used will make the escape area and the non-escape area clearly distinguished, resulting in a significant difference between the embedded carrier and the non-embedded carrier, thereby exposing the embedded carrier. In addition, this type of method will make the embedded image and the non-embedded image use different generation rules, which will destroy the overall and local self-similarity of the fractal image and cause the embedded fractal image to be abnormal, which is easy to arouse the suspicion of the attacker. Although the fractal information hiding / recovery method and system based on local micro-domain variable precision proposed in invention patent application 202111350913.2 adopts the same generation rules to embed secret information, the embedded fractal graphics generated by this method have no actual semantics.
[0011] Fractal camouflage is to disguise secret information as a fractal graph. For example: S Bai, L Zhou, M Yan, et al. Image cryptosystem for visually meaningful encryption based on fractal graph generating [J]. IETE Technical Review, 2020, 17 (38): 130-141. The secret information is embedded by filling the pixel values of each point of the scrambled secret image on the fractal graph in sequence. Tao Xuejiao, Tan Feng. Research on fractal information hiding algorithm based on DLA [J]. Network Security Technology and Applications, 2021, (9): 31-32. The pixel values of the DLA fractal carrier are replaced with the pixel values of the secret image, and then the fractal carrier is embedded in a cover image that is relevant to the theme to achieve the hiding of secret information. However, the adjacent pixels of the fractal graph generated by this method are not correlated, and the generated fractal image has low accuracy and poor visual quality, which is easy to arouse suspicion during channel transmission. Summary of the invention
[0012] In order to overcome the shortcomings of the prior art, the present invention provides a holographic information embedding / recovery method and system based on IFS fractal image splicing. Compared with the existing methods, the generated secret fractal image has actual semantics, and can always maintain overall and local self-similarity during the embedding process without causing any abnormality. The generated secret fractal image has high resolution and good visual quality. Through fractal image splicing, the fractal features representing the secret information are distributed throughout each position of the fractal image, so that the secret information can be extracted from it even if a large-scale attack is carried out, thus having the characteristics of a hologram.
[0013] In order to achieve the above object, the present invention adopts the following technical solutions:
[0014] The present invention provides a holographic information embedding method based on IFS fractal image splicing, comprising the following steps:
[0015] S1, inputting a binary secret bit sequence and a random seed matrix corresponding to each binary bit state of the binary secret bit sequence, wherein the random seed matrix is used to control the generation of an IFS fractal graph representing the binary secret bit state;
[0016] S2, inputting a rule sequence for generating an IFS fractal image, the rule sequence comprising a number of mapping rules and the probability of occurrence of each mapping rule, wherein the mapping rule is a compressed affine transformation, which is used to realize the mapping of fractal image coordinates;
[0017] S3, the user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal image coordinate sequence;
[0018] S4, pseudo-randomly selecting coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as an embedded coordinate position sequence;
[0019] S5. For each binary bit of the binary secret bit sequence: according to the state of the binary bit, select a random seed corresponding to the position of the binary bit from the random seed matrix, select the coordinates of the embedded coordinate position sequence corresponding to the position of the binary bit as the initial coordinates, combine with the regular sequence, pseudo-randomly generate an IFS fractal image coordinate sequence representing the binary bit as the current IFS fractal image coordinate sequence; use the obtained current IFS fractal image coordinate sequence to iteratively update the IFS fractal image coordinate sequence, and finally obtain the IFS fractal image coordinate sequence corresponding to the binary secret bit sequence;
[0020] S6. Rearrange the coordinates in the IFS fractal image coordinate sequence, and then draw a secret vector image output from the scrambled IFS fractal image coordinate sequence.
[0021] Preferably, the specific method of S1 is: let the input binary secret bit sequence of length l be B=(b j ) l ,b j ∈{0,1}, the random seed matrix K=(k t,j ) 2×l And satisfy: for where k 0,j ,k 1,j They correspond to the secret bit b respectively. j = 0 and b j =1 when the random number seed;
[0022] The specific method of S2 is: the regular sequence with input length m is R=((r i ,P i )) m , r i is the i-th mapping rule, P i Yes i The probability of occurrence and P i >0, i = 0, 1, ..., m-1, where: r i =(p i ,q i ,α i ,β i ,e i ,f i ), which corresponds to the affine transformation shown in formula (1);
[0023]
[0024] In formula (1): p i and qi Corresponding to the scaling factors in the horizontal and vertical coordinate axes respectively; α i and β i They correspond to the deflection angles in the horizontal and vertical coordinate axes respectively; e i and f i Corresponding to the translation in the horizontal and vertical coordinate axis directions respectively; r i The constraints that are satisfied are: The (x′0, y′0), (x′1, y′1) obtained by mapping formula (1) satisfies formula (2):
[0025] Dist((x′0,y′0),(x′1,y′1))≤Dist((x0,y0),(x1,y1))(2)
[0026] In formula (2), Dist((x0,y0),(x1,y1)) is the distance between the two points (x0,y0) and (x1,y1).
[0027] Preferably, the specific method of S3 is: the user specifies a random starting point (u init ,v init )∈[u min ,u max ]×[v min ,v max ], combined with the rule sequence R and the user key K1, according to formula (3), the IFS fractal coordinate sequence of length IT1 is generated Where IT1≥l, IT0 is the number of filtering iterations, function f IFS () is the IFS fractal iteration generating function;
[0028] G=f IFS (R,(u init ,v init ),IT0,IT1,K1)(3)
[0029] The specific method of S4 is: the user key K2 is used to obtain the IFS fractal coordinate sequence Select l coordinates from the matrix as the embedded coordinate position sequence χ=((u η ,v η )) l ;
[0030] The specific method of S5 is: Select the first (b j ,j) random seeds From the sequence of embedded coordinate positions χ∈((u η ,v η )) l Select the jth coordinate (uj ,v j ) as the initial coordinates (u init ,v init ), according to formula (8) combined with the rule sequence R, the current IFS fractal graph coordinate sequence is generated Where IT3 is the number of coordinates in the generated current IFS fractal image coordinate sequence t:
[0031]
[0032] The IFS fractal image coordinate sequence G is iteratively updated using the current IFS fractal image coordinate sequence t, and finally the IFS fractal image coordinate sequence G corresponding to the binary secret bit sequence is obtained, which is:
[0033] According to formula (9), the current IFS fractal graph coordinate sequence t is connected with the IFS fractal graph coordinate sequence G, and finally the IFS fractal graph coordinate sequence G corresponding to the binary secret bit sequence is obtained:
[0034] G=G||t(9)
[0035] In formula (9), the symbol “||” represents a sequence connector.
[0036] Preferably, in S3, the IFS fractal coordinate sequence of length IT1 is generated by combining the rule sequence R and the user key K1 according to formula (3): The specific processing process includes the following steps:
[0037] Step S3-1: According to formula (4), P in the regular sequence R i ,i=0,1,…,m-1 for standardization:
[0038]
[0039] Among them, P i Yes i The probability of occurrence and P i >0, i=0,1,…,m-1, is the standardized P i ;
[0040] Step S3-2: According to formula (5), the normalized Convert to probability partition sequence S = (s i ) m , set the probability interval to [0,1], and divide it into m subintervals, which are denoted as ρ0=[s0,s1), ρ1=[s1,s2),…,ρ m-1 =[s m-1 ,1], initialize the current coordinates (x,y) = (u init ,vinit ), initialize G = ((x, y)):
[0041]
[0042] Step S3-3: The current random number generated by the user key K1 as the random number seed is recorded as r cur ∈[0,1], according to formula (6) cur Perform a disturbance related to (x, y) and the key K1, and change r cur Mapping to r′ cur ∈[0,1], determine r′ according to formula (7) cur The corresponding iteration rule r idx , mapping (x,y) to (x′,y′):
[0043] r′ cur =f dst (r cur ,(x,y),K1),r′ cur ∈[0,1](6)
[0044] In formula (6), f dst () is a perturbation function, which is used to combine the current coordinates (x, y) and K1 to convert r cur The perturbation is a random number r′ in the range [0,1] cur ∈[0,1]:
[0045]
[0046] Step S3-4: Add (x′, y′) to the end of G and assign (x′, y′) to (x, y);
[0047] Step S3-5: Repeat steps S3-3 to S3-4 until the number of coordinates in G reaches IT0+IT1, filter out the first IT0 coordinates in G, and use the remaining IT1 coordinates as the generated IFS fractal image coordinate sequence
[0048] Preferably, the specific method of rearranging the coordinates in the IFS fractal image coordinate sequence in S6 is:
[0049] The coordinates in the IFS fractal image coordinate sequence G are pseudo-randomly rearranged by the user key K3, and the rearranged IFS fractal image coordinate sequence is used as the rearranged IFS fractal image coordinate sequence G′;
[0050] The specific method of drawing a secret vector image output in S6 includes the following steps:
[0051] S6-1: According to formula (10), we can get the minimum closed vertex (X min ,Ymin ),(X max ,Y max );
[0052]
[0053] S6-2: Initialization size is (X max -X min )×(Y max -Y min )Vector Canvas The upper left corner of the vector canvas is (X min ,Y min ), the lower right vertex is (X max ,Y max ),right Draw coordinate points on V and output the drawn V as a secret vector map.
[0054] A system using the holographic information embedding method based on IFS fractal image splicing comprises:
[0055] Binary secret bit sequence and random seed matrix generation module: inputs a binary secret bit sequence and a random seed matrix corresponding to each binary bit state of the binary secret bit sequence, wherein the random seed matrix is used to control the generation of an IFS fractal graph representing the binary secret bit state;
[0056] IFS fractal graph rule sequence input module: inputs the rule sequence for generating IFS fractal graph, the rule sequence includes several mapping rules and the probability of occurrence of each mapping rule, wherein the mapping rule is a compressed affine transformation, which is used to realize the mapping of fractal graph coordinates;
[0057] Initialize the IFS fractal image coordinate sequence generation module: the user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal image coordinate sequence;
[0058] Embedded coordinate position sequence generation module: pseudo-randomly selects coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence;
[0059] Binary secret bit sequence embedding and IFS fractal image coordinate sequence generation module: for each binary bit of the binary secret bit sequence, according to the state of the binary bit, a random seed corresponding to the binary bit position is selected from the random seed matrix, and the coordinates corresponding to the binary bit position of the embedded coordinate position sequence are selected as the initial coordinates. Combined with the regular sequence, an IFS fractal image coordinate sequence representing the binary bit is pseudo-randomly generated as the current IFS fractal image coordinate sequence; the IFS fractal image coordinate sequence is iteratively updated using the current IFS fractal image coordinate sequence, and finally the IFS fractal image coordinate sequence corresponding to the binary secret bit sequence is obtained;
[0060] The module for drawing and outputting a dense vector image is to rearrange the coordinates in the IFS fractal image coordinate sequence, and then draw the dense vector image output from the scrambled IFS fractal image coordinate sequence.
[0061] A holographic information recovery method based on IFS fractal image splicing includes the following steps:
[0062] T1, obtain the coordinate sequence of the embedded IFS fractal image from the received encrypted vector image;
[0063] T2, input the length of the binary secret bit sequence to be extracted, and generate a random seed matrix representing the state of each binary bit of the binary secret bit sequence;
[0064] T3, the user specifies the initial coordinates, and combines the regular sequence to pseudo-randomly generate the IFS fractal graph coordinate sequence;
[0065] T4, pseudo-randomly selecting coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence;
[0066] T5, taking each coordinate in the embedded coordinate position sequence as the initial coordinate, selecting a random seed representing the binary secret bit state of 0 and 1 corresponding to the position from the random seed matrix, combining with the regular sequence, pseudo-randomly generating an IFS fractal image coordinate sequence representing the secret bit of 0 and 1, respectively, and extracting the binary secret bit according to the proximity between the IFS fractal image coordinate sequence representing the secret bit of 0 and 1 and the embedded IFS fractal image coordinate sequence;
[0067] T6. The sequence formed by the extracted secret bits in order is used as the extracted binary secret bit sequence.
[0068] Preferably, the specific method of T1 is: read size (X max -X min )×(Y max -Y min )'s IFS fractal vector graphics The upper left corner of the vector graph is (Xmin ,Y min ), the upper right vertex is (X max ,Y max ), and obtain the embedded IFS fractal coordinate sequence with a length of l0 u η ∈[X min ,X max ],v η ∈[Y min ,Y max ];
[0069] The specific method of T2 is: input the length l of the secret information to be extracted, and generate a random seed matrix K=(k t,j ) 2×l And satisfy: for where k 0,j ,k 1,j They correspond to the secret bit b respectively. j = 0 and b j =1 when the random number seed;
[0070] The specific method of T3 is: the user specifies a random starting point (u init ,v init )∈[u min ,u max ]×[v min ,v max ], combined with the rule sequence R and the user key K1, according to formula (3), the initialization IFS fractal graph coordinate sequence of length IT1 is generated Where IT1≥l, IT0 is the number of filtering iterations, function f IFS () is the IFS fractal iteration generating function:
[0071] G=f IFS (R,(u init ,v init ),IT0,IT1,K1) (3)
[0072] The specific method of T4 is: the user key K2 is used to initialize the IFS fractal coordinate sequence Pseudo-randomly select l coordinates as the embedded coordinate position sequence χ=((u η ,v η )) l ;
[0073] The specific method of step T5 is: Will (u j ,v j ) as the initial coordinates (u init ,v init), select the random seed k corresponding to the position representing the binary secret bit state of 0 from the random seed matrix K 0,j and a random seed k with the secret bit state set to 1 1,j ; According to formula (11) and formula (12) respectively, combined with the rule sequence R, the current IFS fractal image coordinate sequence is generated and According to t0, t1 and the embedded IFS fractal image coordinate sequence Extract the secret bit information b according to formula (13) j :
[0074] t0=f IFS (R,(u init ,v init ),1,IT3,k 0,j ) (11)
[0075] t1=f IFS (R,(u init ,v init ),1,IT3,k 1,j ) (12)
[0076]
[0077] In formula (13), the Count() function is used to count the number of coordinates in the coordinate sequence; ∩ is the intersection symbol of two coordinate sequences;
[0078] The specific method of T6 is: j , the sequence constructed in order is used as the extracted binary secret bit sequence B = (b j ) l Preferably, in T3, the regular sequence R and the user key K1 are combined to generate an initialization IFS fractal image coordinate sequence of length IT1 according to formula (3): The specific processing process includes the following steps:
[0079] Step T3-1: According to formula (4), P in the regular sequence R i ,i=0,1,…,m-1 for standardization;
[0080]
[0081] Among them, P i Yes i The probability of occurrence and P i >0, i=0,1,…,m-1, is the standardized P i ;
[0082] Step T3-2: According to formula (5), the standardized Convert to probability partition sequence S = (s i ) m , set the probability interval to [0,1], and divide it into m subintervals, denoted as ρ0=[s0,s1), ρ1=[s1,s2),…,ρ m-1 =[s m-1 ,1]; Initialize the current coordinates (x,y) = (u init ,v init ), initialize G = ((x, y)):
[0083]
[0084] Step T3-3: The current random number generated by the user key K1 as the random number seed is recorded as r cur ∈[0,1], according to formula (6) cur Perform a disturbance related to (x, y) and the key K1, and change r cur Mapping to r′ cur ∈[0,1], determine r′ according to formula (7) cur The corresponding iteration rule r idx , mapping (x,y) to (x′,y′):
[0085] r′ cur =f dst (r cur ,(x,y),K1),r′ cur ∈[0,1] (6)
[0086] In formula (6), f dst () is a perturbation function, which is used to combine the current coordinates (x, y) and K1 to convert r cur The perturbation is a random number r′ in the range [0,1] cur ∈[0,1];
[0087]
[0088] Step T3-4: Add (x′, y′) to the end of G and assign (x′, y′) to (x, y);
[0089] Step T3-5: Repeat steps T3-3 to T3-4 until the number of coordinates in G reaches IT0+IT1, filter out the first IT0 coordinates in G, and use the remaining IT1 coordinates as the generated IFS fractal image coordinate sequence
[0090] A system using the holographic information restoration method based on IFS fractal image splicing comprises:
[0091] IFS fractal image coordinate sequence acquisition module: obtains the embedded IFS fractal image coordinate sequence from the received encrypted vector image;
[0092] Binary secret bit sequence length and random seed matrix generation module: inputs the length of the binary secret bit sequence to be extracted, and generates a random seed matrix representing the state of each binary bit of the binary secret bit sequence;
[0093] IFS fractal image coordinate sequence initialization module: The user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal image coordinate sequence;
[0094] Embedded coordinate position sequence generation module: pseudo-randomly selects coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence;
[0095] Binary secret bit extraction module: taking each coordinate in the embedded coordinate position sequence as the initial coordinate, selecting a random seed representing the binary secret bit state of 0 and 1 corresponding to the position from the random seed matrix, combining with the regular sequence, pseudo-randomly generating an IFS fractal image coordinate sequence representing the secret bit of 0 and 1, respectively, and extracting the binary secret bit according to the proximity between the IFS fractal image coordinate sequence representing the secret bit of 0 and 1 and the embedded IFS fractal image coordinate sequence;
[0096] Binary secret bit sequence acquisition module: the sequence formed by the extracted secret bits in order is used as the extracted binary secret bit sequence. Compared with the prior art, the present invention has the following beneficial effects:
[0097] In the present invention, based on the fact that the appearance of the IFS fractal graph depends only on the regular matrix used, has nothing to do with the specifically selected random number seed, and maintains relative stability, and that the continuous random sequence generated by the same random number seed and the synthetic random sequence generated by different random number seeds cannot be distinguished, the embedded position is screened out from the initial fractal graph, the secret information is represented as multiple fractal graphs generated by different random number seeds, and the secret information is disguised by using the spliced fractal graphs, so that when the key is unknown, the fractal graphs representing different secret information cannot be effectively distinguished, and thus the secret information cannot be obtained therefrom.
[0098] In the present invention, the generated fractal image is completely based on the IFS fractal image generation principle, and the IFS fractal image generation principle is not changed in the process of characterizing secret information. Therefore, no embedded traces will be left due to the characterization of secret information, so it is impossible to judge whether the generated fractal image contains secret information. In addition, in the process of characterizing secret information, the self-similarity of the fractal as a whole and locally is not destroyed, so that no abnormality will be caused.
[0099] In the present invention, a fractal graph is used to represent secret information, and the fractal features representing the secret information are distributed throughout each position of the finally generated fractal graph, so that the secret information can be extracted from the fractal graph even if a large-scale attack is carried out thereon, thus having the characteristics of a hologram.
[0100] In the present invention, a vectorized fractal image generation method is adopted. Compared with the traditional IFS algorithm generation method, the drawing accuracy is higher and the infinite resolution characteristic of the IFS fractal image is better reflected. Therefore, the visual quality is better and it has practical semantics. BRIEF DESCRIPTION OF THE DRAWINGS
[0101] Figure 1 It is a flow chart of the holographic information embedding method based on IFS fractal image splicing of the present invention;
[0102] Figure 2 It is a system diagram of the holographic information embedding method based on I FS fractal image splicing of the present invention;
[0103] Figure 3 It is a flow chart of the holographic information recovery method based on IFS fractal image splicing of the present invention;
[0104] Figure 4 It is a system diagram of the holographic information recovery method based on IFS fractal image splicing of the present invention;
[0105] Figure 5 For the embodiment of the present invention: Figure 1 , is a binary image secret1 with a resolution of 128×64;
[0106] Figure 6 For the embodiment of the present invention: Figure 2 , is a binary image secret2 with a resolution of 128×128;
[0107] Figure 7 For the embodiment of the present invention: rule matrix 1;
[0108] Figure 8 According to the embodiment of the present invention: an unembedded fractal figure 1 is generated by a regular matrix 1 according to formula (1);
[0109] Fig. 9 According to the embodiment of the present invention: Figure 7 and Figure 5 ,exist Figure 8 The embedded fractal generated based on Figure 1 ;
[0110] Fig.10 For the embodiment of the present invention: Fig. 9 The secret image restored by the correct key is relative to Figure 5 The bit error rate BER = 0%;
[0111] Fig.11 For the embodiment of the present invention: rule matrix 2;
[0112] Fig.12 According to the embodiment of the present invention: the unembedded fractal generated by the regular matrix 2 according to formula (1.1) Figure 2 ;
[0113] Fig.13 According to the embodiment of the present invention: Fig.11 and Figure 5 ,exist Fig.12 The embedded fractal generated based on Figure 2 ;
[0114] Fig.14 For the embodiment of the present invention: Fig.13 The secret image restored by the correct key is relative to Figure 5 The bit error rate BER = 0%;
[0115] Fig.15 For the embodiment of the present invention: rule matrix 3;
[0116] Fig.16 According to the embodiment of the present invention: the unembedded fractal generated by the regular matrix 3 according to formula (1.1) Figure 3 ;
[0117] Fig.17 According to the embodiment of the present invention: Fig.15 and Figure 6 ,exist Fig.16 The embedded fractal generated based on Figure 3 ;
[0118] Fig.18 For the embodiment of the present invention: Fig.17 The secret image restored by the correct key is relative to Figure 6 The bit error rate BER = 0%;
[0119] Fig.19 For the embodiment of the present invention: Fig. 9 The secret image recovered by the wrong key 1 is relative to Figure 5 The bit error rate BER = 51.98%;
[0120] Fig. 20 For the embodiment of the present invention: Fig. 9 The secret image recovered by the wrong key 2 is relative to Figure 5 The bit error rate BER = 52.10%;
[0121] Fig.21 For the embodiment of the present invention: Fig. 9 The secret image recovered by the wrong key 3 is relative to Figure 5The bit error rate BER = 51.06%;
[0122] Fig. 22 For the embodiment of the present invention: Fig. 9 The attack pattern after the point deletion attack, the attack ratio is 86%;
[0123] Fig.23 For the embodiment of the present invention: Fig. 22 The restored secret image is relative to Figure 5 The bit error rate BER = 0%;
[0124] Fig.24 For the embodiment of the present invention: Fig. 9 The attack pattern after the point deletion attack, the attack ratio is 93%;
[0125] Fig.25 For the embodiment of the present invention: Fig.24 The restored secret image is relative to Figure 5 The bit error rate BER = 0.2%;
[0126] Fig.26 For the embodiment of the present invention: Fig. 9 The attack pattern after the point deletion attack, the attack ratio is 97%;
[0127] Fig. 27 For the embodiment of the present invention: Fig.26 The restored secret image is relative to Figure 5 The bit error rate BER = 8%;
[0128] Fig.28 For the embodiment of the present invention: Fig. 9 Attack pattern after random shear attack, the attack ratio is 84%;
[0129] Fig.29 For the embodiment of the present invention: Fig.28 The restored secret image is relative to Figure 5 The bit error rate BER = 0%;
[0130] Fig.30 For the embodiment of the present invention: Fig. 9 Attack pattern after random shear attack, the attack ratio is 90%;
[0131] Fig.31 For the embodiment of the present invention: Fig.30 The restored secret image is relative to Figure 5 The bit error rate BER = 0.05%;
[0132] Fig.32 For the embodiment of the present invention: Fig. 9 Attack pattern after random shear attack, the attack ratio is 96%;
[0133] Fig.33 For the embodiment of the present invention: Fig.32 The restored secret image is relative to Figure 5 The bit error rate BER = 6.5%;
[0134] Fig.34 For the embodiment of the present invention: Fig. 9 The attack pattern after random addition of attack, the attack ratio is 10%;
[0135] Fig.35 For the embodiment of the present invention: Fig.34 The restored secret image is relative to Figure 5 The bit error rate BER = 0%;
[0136] Fig.36 For the embodiment of the present invention: Fig. 9 The attack pattern after random addition attack, the attack ratio is 30%;
[0137] Fig.37 For the embodiment of the present invention: Fig.36 The restored secret image is relative to Figure 5 The bit error rate BER = 0%. DETAILED DESCRIPTION
[0138] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0139] The following uses JAVA jdk1.8.0_65 as a case implementation environment to describe the implementation of the present invention in detail in conjunction with the accompanying drawings, but is not limited to this implementation case.
[0140] Figure 1 A holographic information embedding method based on IFS fractal image splicing generation is proposed, which includes the following steps:
[0141] S1, input binary secret bit sequence and the random seed matrix corresponding to each binary bit state of the binary secret bit sequence, wherein the random seed matrix is used to control the generation of an IFS fractal graph representing the binary secret bit state; wherein the specific method of S1 is: let the input binary secret bit sequence of length l be B=(b j ) l ,b j∈{0,1}, the random seed matrix K=(k t,j ) 2×l And satisfy: for where k 0,j ,k 1,j They correspond to the secret bit b respectively. j = 0 and b j =1 when the random number seed;
[0142] For example, let the input length be l = 4 binary secret bit sequence B = (0, 1, 1, 0), that is, b0 = 0, b1 = 1, b2 = 1, b3 = 0, where b0, b1, b2, b3 ∈ {0, 1}, and assume that the random seed matrix of size 2 × l = 2 × 4 is generated by the user key K0 = 1002
[0143] Where: k 0,0 =626,k 1,0 =1265,k 0,0 =626≠k 1,0 =1265,k 0,0 ,k 1,0 The random number seeds corresponding to the binary secret bits b0=0 or b0=1 respectively; k 0,1 =30,k 1,1 =770,k 0,1 =30≠k 1,1 =770,k 0,1 ,k 1,1 The random number seeds corresponding to the secret bit b1=0 or b1=1 respectively; k 0,2 =631,k 1,2 =340,k 0,2 =631≠k 1,2 =340,k 0,2 ,k 1,2 The random number seeds corresponding to the secret bit b2=0 or b2=1 respectively; k 0,3 =1006,k 1,3 =476,k 0,3 =1006≠k 1,3 =476,k 0,3 ,k 1,3 The random number seeds corresponding to the secret bit b3 = 0 or b3 = 1 are respectively, so for b0 = 0, b1 = 1, b2 = 1, b3 = 0, the actual corresponding random number seeds are: k 0,0 =626,k 1,1 =770,k 1,2 =340,k 0,3 =1006.
[0144] Note: In addition, the random number seed matrix K exists in many forms:
[0145] ①K=((k 0,j ,k 1,j )) l And for where k 0,j ,k 1,j They correspond to the secret bit b respectively. j =0, b j =1; for example: K = ((626,1265), (30,770), (631,340), (1006,476)), where: k 0,0 =626,k 1,0 =1265,k 0,1 =30,k 1,1 =770,k 0,2 =631,k 1,2 =340,k 0,3 =1006,k 1,3 =476;
[0146] ②K=((k j,0 ,k j,1 )) l And for where k j,0 ,k j,1 They correspond to the secret bit b respectively. j =0, b j =1; for example: K=((626,1265),(30,770),(631,340),(1006,476)), where: k 0,0 =626,k 0,1 =1265,k 1,0 =30,k 1,1 =770,k 2,0 =631,k 2,1 =340,k 3,0 =1006,k 3,1 =476;
[0147] ③K=(k j,t ) l×2 And for where k j,0 ,k j,1 They correspond to the secret bit b respectively. j =0, b j = 1 when the random number seed. For example: in
[0148] S2: Input a rule sequence for generating an IFS fractal image. The rule sequence includes several mapping rules and the probability of occurrence of each mapping rule. The mapping rule is a compressed affine transformation, which is used to realize the mapping of fractal image coordinates. The specific method of S2 is: input a rule sequence of length m as R = ((r i ,P i )) m , r i is the i-th mapping rule, P i Yes i The probability of occurrence and P i >0, i = 0, 1, ..., m-1, where: r i =(p i ,q i ,α i ,β i ,e i ,f i ), which corresponds to the affine transformation shown in formula (1);
[0149]
[0150] In formula (1): p i and q i Corresponding to the scaling factors in the horizontal and vertical coordinate axes, β i and β i They correspond to the deflection angles in the horizontal and vertical coordinate axes, e i and f i Corresponding to the translation in the horizontal and vertical coordinate axis directions, r i The constraints satisfied are: i is a compression map, that is, The (x′0, y′0), (x′1, y′1) obtained by mapping formula (1) satisfies formula (2):
[0151] Dist((x′0,y′0),(x′1,y′1))≤Dist((x0,y0),(x1,y1)) (2)
[0152] In formula (2), Dist((x0,y0),(x1,y1)) is the distance between the two points (x0,y0) and (x1,y1).
[0153] For example: Input a regular sequence of length m = 5 in:
[0154] r0=(0.540,0.541,10°,10°,0,0.95) is the 0th mapping rule, P0=0.2 is the probability of occurrence of r0 and P0=0.2>0, where r0=(0.540,0.541,10°,10°,0,0.95) is a 6-tuple, which means:
[0155] p0=0.540,q0=0.541,α0=10°,β0=10°,e0=0,f0=0.95, the affine transformation corresponding to equation (1) is:
[0156]
[0157] Note: In addition, the affine transformation in formula (1) also exists in other forms, such as:
[0158]
[0159]
[0160]
[0161] For example: Assume that a i =0.311,b i =-0.312,c i =0.311,d i =0.312,e i =0,f i =0.8, the parameter construction rule of formula (1.1) can be used: i =(a i ,b i ,c i ,d i ,e i ,f i ), then r i The corresponding affine transformation of formula (1.1) is:
[0162]
[0163] Assume that p i =0.440,q i =-0.441,α i =45°,e i =0,f i =0.8, the parameter construction rule of formula (1.2) can be used: i =(p i ,q i ,α i ,e i ,f i ), then r iThe corresponding affine transformation of formula (1.2) is:
[0164]
[0165] Assume that p i =0.440,q i =-0.441,α i =45°,β i =45°, the parameter construction rule of formula (1.3) can be:
[0166] r i =(p i ,q i ,α i ,β i ), then r i The corresponding affine transformation of formula (1.3) is:
[0167]
[0168] In addition, the distance calculation formula between two points in formula (2), Dist(), has many forms, for example:
[0169] ①Manhattan distance:
[0170] Dist((x0,y0),(x1,y1))=|x0-x1|+|y0-y1| (2.1)
[0171] ② Maximum difference distance:
[0172] Dist((x0,y0),(x1,y1))=max(|x0-x1|,|y0-y1|) (2.2)
[0173] ③Euclidean distance:
[0174]
[0175] Here are a few verification examples:
[0176] For example: Assume that (x0, y0) = (1, 1), (x1, y1) = (2, 2), (x0, y0) ≠ (x1, y1), r i =(0.440, 0.441, 45°, 45°, 0, 0.8), (x′0, y′0), (x′1, y′1) obtained by mapping through formula (1):
[0177]
[0178]
[0179] The following formula (2.1) Manhattan distance can be used to verify r i =(0.440,0.441,45°,45°,0,0.8) is a compression mapping:
[0180] Dist((x0,y0),(x1,y1))=|x0-x1|+|y0-y1|=|1-2|+|1-2|=1+1=2
[0181] Dist((x′0,y′0),(x′1,y′1))=|x′0-x′1|+|y′0-y′1|=|-0.001-(-0.002)|+|1.423-2.046|=0.001+0.623=0.624
[0182] Thus Dist((x′0, y′0),(x′1, y′1))=0.624≤Dist((x0, y0),(x1, y1))=2;
[0183] For example: Assume that (x0,y0)=(1,1),(x1,y1)=(2,2),(x0,y0)≠(x1,y1),
[0184] r i =(a i =0.311,b i =-0.312,c i =0.311,d i =0.312,e i =0,f i =0.8), and through the mapping of formula (1.1), we get (x′0, y′0), (x′1, y′1):
[0185]
[0186]
[0187] The following can select the maximum difference distance of formula (2.2) to verify r i =(a i =0.311,b i =-0.312,c i =0.311,d i =0.312,e i =0,f i=0.8) is a compression mapping: Dist((x0,x1),(y0,y1))=max(|x0-x1|,|y0-y1|)=max(|2-1|=1,|2-1|=1)=1, Dist((x′0,y′0),(x1,y1))=max(|x′0-x′1|,|y′0-y1|)=max(|-0.001+0.002|=0.001,|1.423-2.046|=0.623)=0.623 so Dist((x′0,y′0),(x′1,y′1))=0.623≤Dist((x0,y0),(x1,y1))=1;
[0188] For example: Assume that (x0, y0) = (1, 1), (x1, y1) = (2, 2), (x0, y0) ≠ (x1, y1), r i =(0.440, 0.441, 45°, 0, 0.8), and through the mapping of formula (1.2), we get (x′0, y′0), (x′1, y′1):
[0189]
[0190]
[0191] Select Euclidean distance (2.3) to verify r i =(0.440,0.441,45°,0,0.8) is a compression mapping:
[0192]
[0193]
[0194] Therefore, Dist((x′0, y′0),(x′1, y′1))=0.623≤Dist((x0, y0),(x1, y1))=1.414.
[0195] S3, the user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal image coordinate sequence; the specific method of S3 is: the user specifies the random initial coordinates (u init ,v init )∈[u min ,u max ]×[v min ,v max ], combined with the rule sequence R and the user key K1, according to formula (3), the IFS fractal coordinate sequence of length IT1 is generated Where IT1≥l, IT0 is the number of filtering iterations, function f IFS () is IFS
[0196] Fractal iteration generating function;
[0197] G=f IFS (R,(u init ,v init ),IT0,IT1,K1) (3)
[0198] For example: The user specifies a random starting point (u init =0.8,v init =0.4)∈[u min =-4,u max =4]×[v min =-4,v max =4], that is, the user in [u min =-4,u max =4] to select a random number u init =0.8, in [v min =-4,v max =4] to select a random number v init =0.4, thus obtaining the specified initial coordinates (u init =0.8,v init =0.4); Combine the rule sequence R and the user key K1 according to formula (3) to generate an IFS fractal coordinate sequence of length IT1 Where IT1≥l, IT0 is the number of filtering iterations, function f IFS () is the IFS fractal iteration generating function, where l is the length of the input binary secret bit sequence. Assuming that the regular sequence R is taken, (u init =0.8,v init =0.4), IT0=5, IT1=10>l=4, user key K1=28, then according to formula (3), f IFS (R,(u init =0.8,v init =0.4), IT0=5, IT1=10, K1=28) generates a coordinate sequence with a length of IT1=10
[0199] In S3, the rule sequence R and the user key K1 are combined to generate an IFS fractal coordinate sequence of length IT1 according to formula (3). The specific processing process is:
[0200] Step S3-1: According to formula (4), P in the regular sequence R i ,i=0,1,…,m-1 for standardization, where P i Yes i The probability of occurrence and P i >0, i=0,1,…,m-1, is the standardized P i ;
[0201]
[0202] For example: Assume:
[0203] R=((r0,P0),(r1,P1),(r2,P2),(r3,P3),(r4,P4))=((r0=(0.540,0.5 41,10°,10°,0,0.95),P0=0.2),(r1=(0.440,0.441,45°,45°,0,0.8),P 1=0.2), (r2=(0.440,0.441,-45°,-45°,0,0.8),P2=0.2),, (r3=(0.02, 0.541,0°,0°,0,0),P3=0.2),(r4=(0.02,0.541,0°,0°,0,0),P4=0.2))
[0204] First, P0=0.2, P1=0.2, P2=0.2, P3=0.2, P4=0.2 in R are standardized according to formula (4) to obtain:
[0205]
[0206]
[0207]
[0208]
[0209]
[0210] Step S3-2: According to formula (5), the standardized Convert to probability partition sequence S = (s i ) m , set the probability interval to [0,1], and divide it into m subintervals, which are denoted as ρ0=[s0,s1), ρ1=[s1,s2),…,ρ m-1 =[s m-1 ,1], initialize the current coordinates (x,y) = (u init ,v init ), initialize G = ((x, y));
[0211]
[0212] For example: According to formula (5), Convert to probability partition sequence S = (s0, s1, s2, s3, s4), where Set the probability interval to [0,1] and divide it into m = 5 subintervals, denoted as ρ0 = [s0,s1) = [0,0.2), ρ1 = [s1,s2) = [0.2,0.4), ρ2 = [s2,s3) = [0.4,0.6), ρ3 = [s3,s4) = [0.6,0.8),, ρ4 = [s4,1] = [0.8,1], initialize the current coordinates (x, y) = (u init =0.8,v init =0.4)=(0.8,0.4), initialize G=((x=0.8,y=0.4))=((0.8,0.4));
[0213] Step S3-3: The current random number generated by the user key K1 as the random number seed is recorded as r cur ∈[0,1], according to formula (6) cur Perform a disturbance related to (x, y) and the key K1, and change r cur Mapping to r′ cur ∈[0,1], determine r′ according to formula (7) cur The corresponding iteration rule r idx , mapping (x,y) to (x′,y′):
[0214] r′ cur =f dst (r cur ,(x,y),K1),r′ cur ∈[0,1] (6)In formula (6), f dst () is a perturbation function, which is used to combine the current coordinates (x, y) and K1 to convert r cur The perturbation is a random number r in the range [0,1] cur ∈[0,1]:
[0215]
[0216] For example: Assume that the current random number generated by the user key K1=28 as the random number seed is r cur =0.731∈[0,1], by f dst () The perturbation function is cur Perform a perturbation related to (x=0.8, y=0.4) and key K1=28, and change r cur Mapping to r′ cur =0.437∈[0,1], because
[0217] r′ cur =0.437∈ρ2=[0.4,0.6), get idx=2, determine r′ curThe corresponding iteration rule r idx = r2, by
[0218] r2=(0.440,0.441,-45°,-45°,0,0.8) can be used to map (x,y) to (x′,y′) according to formula (1):
[0219] Thus, (x=0.8, y=0.4) can be mapped to (x′=0.374, y′=0.676).
[0220] Note: In addition: f as shown in formula (6) dst () The disturbance function and the combination of the current coordinates (x, y) and K1 can have many forms, such as constructing according to formula (6.1), formula (6.2), formula (6.3), etc.:
[0221] f dst (r cur ,(x,y),K1)=(f(ω)+x+y+r cur )mod1 (6.1)
[0222] f dst (r cur ,(x,y),K1)=(f(ω)+x·y+r cur )mod1 (6.2)
[0223] f dst (r cur ,(x,y),K1)=(f(ω)+x·y·r cur +x+y)mod1 (6.3)
[0224] There are many methods for the f(ω) parameter. Let the current random number generated by the user key K1 as the random number seed be ω∈(0,1). For example, it can be constructed according to formula (6.4), formula (6.5), formula (6.6), etc.:
[0225] ①Logistic mapping, where the parameter μ∈[3.56994564,4]:
[0226] f(ω)=μ·ω·(1-ω) (6.4)
[0227] ②Sine mapping, where the parameter a∈(0,4]:
[0228]
[0229] ③Singer mapping, where the parameter μ1∈[0,4]:
[0230] f(ω)=μ1·(7.86·ω-23.31·ω2 +28.75 ω 3 -13.3075 ω 4 ) (6.6)
[0231] For example, select the logistic mapping of formula (6.4), and the current random number generated by the user key K1=28 as the random number seed is ω=0.22, μ=3.93, f(ω=0.22)=3.93·ω·(1-ω)=3.93·0.22·(1-0.22)=0.674, and from formula (6.1) f dst () The perturbation function is cur = 0.731 to perform a disturbance related to (x = 0.8, y = 0.4) and key K1 = 28, that is, f dst ()=(f(ω)+x+y+r cur )mod1=(0.674+0.8+0.4+0.731)mod1=0.437,r′ cur =0.437∈ρ2=[0.4,0.6) to get idx=2, and determine r′ cur The corresponding iteration rule r idx = r2, so according to formula (2), (x = 0.8, y = 0.4) can be mapped to (x = 0.374, y′ = 0.676) by r2 = (0.440, 0.441, -45°, -45°, 0, 0.8); that is:
[0232] For example: select the sine mapping of formula (6.5), the user key K1=28 is the current random number generated by the random number seed ω=0.62, a=2, From formula (6.1)f dst () The perturbation function is cur = 0.731 to perform a disturbance related to (x = 0.8, y = 0.4) and key K1 = 28, that is, f dst (r cur ,(x,y),K1)=(f(ω)+x+y+r cur )mod1=(0.068+0.8+0.4+0.731)mod1=0.999, r′ cur =0.999∈ρ4=[0.8,1] to get idx=4, and determine r′ cur The corresponding iteration rule r idx = r4, so that (x = 0.8, y = 0.4) is mapped to (x′ = 0.480, y′ = 0.956) by r4 = (0.02, 0.541, 0°, 0°, 0, 0); that is
[0233] For example: Select the Singer mapping of formula (6.6), generate μ1=2.89 by user key K1, and user key K1=28 is the current random number generated by the random number seed. From formula (6.1)f dst () The perturbation function is cur = 0.731 to perform a disturbance related to (x = 0.8, y = 0.4) and key K1 = 28, that is, f dst (r cur ,(x,y),K1)=(f(ω)+x+y+r cur )mod1=(14.444+0.8+0.4+0.731)mod1=0.207,r′ cur =0.207∈ρ1=[0.2,0.4) to get idx=1, and determine r′ cur The corresponding iteration rule r idx = r1, and r1 = (0.440, 0.441, 45°, 45°, 0, 0.8) maps (x = 0.8, y = 0.4) to (x′ = 0.124, y′ = 1.174); that is
[0234] S3-4: Add (x′, y′) to the end of G and assign (x′, y′) to (x, y);
[0235] For example: Assume that (x=0.8, y=0.4) is mapped to (x′=0.374, y′=0.676), add the tail of G=((0.8,04)) to (x′, y′)=(0.374, 0.676), that is, G=((0.8,04), (0.374, 0.676)), and assign (x′, y′)=(0.374, 0.676) to (x, y).
[0236] S3-5: Repeat steps S3-3 to S3-4 until the number of coordinates in G reaches IT0+IT1, filter out the first IT0 coordinates in G, and use the remaining IT1 coordinates as the generated IFS fractal image coordinate sequence
[0237] For example: Assume IT0 = 5, IT1 = 10, and repeat steps S3-3 to S3-4 until:
[0238] The number of coordinates in the middle is IT0+IT1=5+10. The first IT0=5 coordinates in G are filtered out, and the remaining IT1=10 coordinates are used as the generated IFS fractal image coordinate sequence:
[0239] In addition, the IT0=5 coordinates in the middle of G can be filtered out, and the remaining IT1=10 coordinates can be used as the generated IFS fractal image coordinate sequence; the IT0=5 coordinates in the back of G can be filtered out, and the remaining IT1=10 coordinates can be used as the generated IFS fractal image coordinate sequence, etc., to change the randomness of the generated fractal image sequence.
[0240] S4, pseudo-randomly select coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence; wherein the specific method of S4 is: the user key K2 is used to select the coordinates of the IFS fractal image coordinate sequence from the IFS fractal image coordinate sequence Select l coordinates from the matrix as the embedded coordinate position sequence χ=((u η ,v η )) l ;
[0241] For example, the user key K2=6553 can be used to obtain the fractal coordinate sequence:
[0242] Randomly select l = 4 coordinates as the embedded position coordinate sequence: χ = ((0.357, 1.858), (0.007, 1.005), (0.451, 1.429), (0.586, 1.105)). The specific selection method can be:
[0243] ① The user key K2 generates a non-repeating random integer sequence of the same length as G. where ψi i ∈[0,IT1-1], select coordinates from G As a sequence of embedded position coordinates
[0244] ② Generate a random number sequence with the same length as G using the user key K2 Press i , i=0,1,…,IT1-1 Rearrange the coordinates in G in ascending order, and select the first l coordinates in the rearranged G as the embedded position coordinate sequence χ=((u η ,v η )) l ;
[0245] ③ The user key K2 generates a non-repeating random binary integer sequence Ψ=(ψ ξ ) IT1 , where ψ ξ ∈[0,1], select coordinate ψ from G ξ =1 before l coordinates (u ξ ,v ξ ) as χ=((u η ,v η ))l .
[0246] S5, for each binary bit of the binary secret bit sequence, according to the state of the binary bit, select a random seed corresponding to the position of the binary bit from the random seed matrix, select the coordinates corresponding to the position of the binary bit in the embedded coordinate position sequence as the initial coordinates, combine with the regular sequence, pseudo-randomly generate an IFS fractal image coordinate sequence representing the binary bit as the current IFS fractal image coordinate sequence; use the current IFS fractal image coordinate sequence to iteratively update the IFS fractal image coordinate sequence, and finally obtain the IFS fractal image coordinate sequence corresponding to the binary secret bit sequence; the specific method of S5 is: for Select the first (b j ,j) random seeds k bj,j , from the embedded coordinate position sequence χ=((u η ,v η )) l Select the jth coordinate (u j ,v j ) as the initial coordinates (u init ,v init ), according to formula (8) combined with the rule sequence R, the current IFS fractal graph coordinate sequence is generated Where IT3 is the number of coordinates in the generated current IFS fractal image coordinate sequence t:
[0247]
[0248] For example: for b0=0, select the (b j ,j)=(b0,0)=(0,0) random seeds From the dense coordinate position sequence χ = ((0.357, 1.858), (0.007, 1.005), (0.451, 1.429), (0.586, 1.105)), select the j = 0th coordinate (u0, v0) = (0.357, 1.858) as the initial coordinate (u init ,v init ), assuming IT3 = 2, then according to formula (8) Combined with the regular sequence R, the current IFS fractal image coordinate sequence t = ((0.302, 1.674), (-0.047, 0.909)) with a length of IT3 = 2 is generated.
[0249] The current IFS fractal image coordinate sequence t is used to iteratively update the IFS fractal image coordinate sequence G, and finally the IFS fractal image coordinate sequence G corresponding to the binary secret bit sequence is obtained. Specifically, the current IFS fractal image coordinate sequence t is connected with the IFS fractal image coordinate sequence G according to formula (9), and finally the IFS fractal image coordinate sequence G corresponding to the binary secret bit sequence is obtained:
[0250] G=G||t (9)
[0251] In formula (9), the symbol “||” represents a sequence connector.
[0252] For example: According to formula (9), the current IFS fractal image coordinate sequence t and the IFS fractal image coordinate sequence: Perform iterative updates to obtain the new IFS fractal coordinate sequence corresponding to the binary secret bit
[0253]
[0254] When all After all the steps are completed, we can finally get the IFS fractal coordinate sequence corresponding to the binary secret bit sequence:
[0255]
[0256] S6, rearrange the coordinates in the IFS fractal image coordinate sequence, and then draw a secret vector diagram output with the scrambled IFS fractal image coordinate sequence; wherein the specific method of rearranging the coordinates in the IFS fractal image coordinate sequence in S6 is: pseudo-randomly rearrange the coordinates in the IFS fractal image coordinate sequence G with the user key K3, and use the rearranged IFS fractal image coordinate sequence as the rearranged IFS fractal image coordinate sequence G′;
[0257] For example, assuming that the coordinates in the IFS fractal image coordinate sequence G are pseudo-randomly rearranged by the user key K3=568, a rearranged IFS fractal image coordinate sequence G′ can be generated, where:
[0258]
[0259] The specific method of drawing the encrypted vector graph output in S6 includes the following steps:
[0260] S6-1: According to formula (10), we can get the minimum closed vertex (X min ,Y min ),(X max ,Y max );
[0261]
[0262] For example: The minimum value of the horizontal coordinate in G′ min(u i ′)=-0.311, the maximum value of the horizontal axis is max(u′ i )=0.586, the minimum value of the vertical coordinate min(v′ i )=0.642, the maximum value of the vertical coordinate max(v′ i )=1.890, so according to formula (10), we can get: X min =-0.311,X max =0.586,Y min =0.642,Y max =1.890, so the minimum closure vertex of G′ (X min ,Y min )=(-0.311,0.642),(X max ,Y max )=(0.586,1.890).
[0263] S6-2: Initialization size is (X max -X min )×(Y max -Y min )Vector Canvas The upper left corner of the vector canvas is (X min ,Y min ), the lower right vertex is (X max ,Y max ),right Draw coordinate points on V and output the drawn V as a secret vector map.
[0264] For example: the initialization size is (X max =0.586-X min =-0.311)×(Y max =1.890-Y min =0.642)=0.897×1.248 vector canvas V, where the upper left corner vertex of the vector canvas is (X min ,Y min )=(-0.311,0.642), the lower right corner vertex is (X max ,Y max )=(0.586,1.890), Draw coordinate points on V and output the drawn V as a secret vector map.
[0265] The present invention also provides a holographic information embedding system based on IFS fractal image splicing, comprising:
[0266] Binary secret bit sequence and random seed matrix generation module: inputs a binary secret bit sequence and a random seed matrix corresponding to each binary bit state of the binary secret bit sequence, wherein the random seed matrix is used to control the generation of an IFS fractal graph representing the binary secret bit state;
[0267] IFS fractal graph rule sequence input module: inputs the rule sequence for generating IFS fractal graph, the rule sequence includes several mapping rules and the probability of occurrence of each mapping rule, wherein the mapping rule is a compressed affine transformation, which is used to realize the mapping of fractal graph coordinates;
[0268] Initialize the IFS fractal image coordinate sequence generation module: the user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal image coordinate sequence;
[0269] Embedded coordinate position sequence generation module: pseudo-randomly selects coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence;
[0270] Binary secret bit sequence embedding and IFS fractal image coordinate sequence generation module: for each binary bit of the binary secret bit sequence, according to the state of the binary bit, a random seed corresponding to the binary bit position is selected from the random seed matrix, and the coordinates corresponding to the binary bit position of the embedded coordinate position sequence are selected as the initial coordinates. Combined with the regular sequence, an IFS fractal image coordinate sequence representing the binary bit is pseudo-randomly generated as the current IFS fractal image coordinate sequence; the IFS fractal image coordinate sequence is iteratively updated using the current IFS fractal image coordinate sequence, and finally the IFS fractal image coordinate sequence corresponding to the binary secret bit sequence is obtained;
[0271] The module for drawing and outputting a dense vector image is to rearrange the coordinates in the IFS fractal image coordinate sequence, and then draw the dense vector image output from the scrambled IFS fractal image coordinate sequence.
[0272] Figure 2 It is a system diagram of the holographic information embedding method based on IFS fractal image splicing of the present invention.
[0273] Figure 3 A holographic information recovery method based on IFS fractal image splicing is proposed, which includes the following steps:
[0274] T1, obtain the coordinate sequence of the embedded IFS fractal image from the received encrypted vector image; the specific method of T1 is: read the size (X max -X min )×(Y max -Y min )'s IFS fractal vector graphics The upper left corner of the vector graph is (Xmin ,Y min ), the upper right vertex is (X max ,Y max ), and obtain the embedded IFS fractal coordinate sequence G′=((u η ,v η )) l0 ,u η ∈[X min ,X max ],v η ∈[Y min ,Y max ];
[0275] For example: Read size is (X max =0.586-X min =-0.311)×(Y max =1.890-Y min =0.642)=0.897×1.248 IFS fractal vector graphic V, where the upper left corner vertex of the vector canvas is (X min ,Y min )=(-0.311,0.642), the lower right corner vertex is (X max ,Y max )=(0.586,1.890), and we get the embedded IFS fractal coordinate sequence with a length of l0=18:
[0276] This sequence contains l0=18 coordinates.
[0277] T2, input the length of the binary secret bit sequence to be extracted, and generate a random seed matrix that represents the binary bit state of each bit in the binary secret bit sequence; wherein the specific method of T2 is: input the length l of the secret information to be extracted, and generate a random seed matrix K=(k t,j ) 2×l And satisfy: for where k 0,j ,k 1,j They correspond to the secret bit b respectively. j = 0 and b j =1 when the random number seed;
[0278] For example: Input the length of the secret information to be extracted as l = 4, assuming that the random seed matrix of size 2×l = 2×4 is generated by the user key K0 = 1002 Where: k 0,0 =626,k 1,0 =1265,k 0,0 =626≠k 1,0 =1265,k0,0 ,k 1,0 The random number seeds corresponding to the binary secret bits b0=0 or b0=1 respectively; k 0,1 =30,k 1,1 =770,k 0,1 =30≠k 1,1 =770,k 0,1 ,k 1,1 The random number seeds corresponding to the secret bit b1=0 or b1=1 respectively; k 0,2 =631,k 1,2 =340,k 0,2 =631≠k 1,2 =340,k 0,2 ,k 1,2 The random number seeds corresponding to the secret bit b2=0 or b2=1 respectively; k 0,3 =1006,k 1,3 =476,k 0,3 =1006≠k 1,3 =476,k 0,3 ,k 1,3 The random number seeds correspond to the secret bit b3=0 or b3=1 respectively. Note: In addition, the random number seed matrix K exists in many forms:
[0279] ①K=((k 0,j ,k 1,j )) l And for where k 0,j ,k 1,j They correspond to the secret bit b respectively. j =0 or b j =1 when the random number seed; ②K=((k j,0 ,k j,1 )) l And for where k j,0 ≠k j,1 They correspond to the secret bit b respectively. j =0 or b j =1 when the random number seed; ③K = (k j,t ) l×2 And for where k j,0 ≠k j,1 They correspond to the secret bit b respectively. j =0 or b j =1 when the random number seed.
[0280] T3, the user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal coordinate sequence; the specific method of T3 is: the user specifies the random starting point (uinit ,v init )∈[u min ,u max ]×[v min ,v max ], combined with the rule sequence R and the user key K1, according to formula (3), the initialization IFS fractal graph coordinate sequence of length IT1 is generated Where IT1≥l, IT0 is the number of filtering iterations, function f IFS () is the IFS fractal iteration generating function:
[0281] G=f IFS (R,(u init ,v init ),IT0,IT1,K1) (3)
[0282] For example: The user specifies a random starting point (u init =0.8,v init =0.4)∈[u min =-4,u max =4]×[v min =-4,v max =4], that is, the user in [u min =-4,u max =4] to select a random number u init =0.8, in [v min =-4,v max =4] to select a random number v init =0.4, thus obtaining the specified initial coordinates (u init =0.8,v init =0.4); Combine the rule sequence R and the user key K1 according to formula (3) to generate an IFS fractal coordinate sequence of length IT1 Where IT1≥l, IT0 is the number of filtering iterations, function f IFS () is the IFS fractal iteration generating function, where l is the length of the input binary secret bit sequence. Assuming that the regular sequence R is taken, (u init =0.8,v init =0.4), IT0=5, IT1=10>l=4, user key K1=28, then according to formula (3), f IFS (R,(u init =0.8,v init =0.4), IT0=5, IT1=10, K1=28) generates a coordinate sequence G=((u ξ ,v ξ )) 10 .
[0283] In T3, the regular sequence R and the user key K1 are combined according to formula (3) to generate the initialization IFS fractal graph coordinate sequence of length IT1 The specific processing process includes the following steps:
[0284] Step T3-1: According to formula (4), P in the regular sequence R i ,i=0,1,…,m-1 for standardization;
[0285]
[0286] For example: Assume:
[0287] R=((r0,P0),(r1,P1),(r2,P2),(r3,P3),(r4,P4))=((r0=(0.540,0.5 41,10°,10°,0,0.95),P0=0.2),(r1=(0.440,0.441,45°,45°,0,0.8),P 1=0.2), (r2=(0.440,0.441,-45°,-45°,0,0.8),P2=0.2),, (r3=(0.02, 0.541,0°,0°,0,0),P3=0.2),(r4=(0.02,0.541,0°,0°,0,0),P4=0.2))
[0288] First, P0=0.2, P1=0.2, P2=0.2, P3=0.2, P4=0.2 in R are standardized according to formula (4) to obtain:
[0289]
[0290]
[0291]
[0292]
[0293]
[0294] Step T3-2: According to formula (5), the standardized Convert to probability partition sequence S = (s i ) m , set the probability interval to [0,1], and divide it into m subintervals, denoted as ρ0=[s0,s1), ρ1=[s1,s2),…,ρ m-1 =[s m-1 ,1]; Initialize the current coordinates (x,y) = (u init ,v init), initialize G = ((x, y)):
[0295]
[0296] For example: According to formula (5), Convert to probability partition sequence S = (s0, s1, s2, s3, s4), where Set the probability interval to [0,1] and divide it into m = 5 subintervals, denoted as ρ0 = [s0, s1) = [0, 0.2), ρ1 = [s1, s2) = [0.2, 0.4), ρ2 = [s2, s3) = [0.4, 0.6), ρ3 = [s3, s4) = [0.6, 0.8), ρ4 = [s4, 1] = [0.8, 1], and initialize the current coordinates (x, y) = (u init =0.8,v init =0.4)=(0.8,0.4), initialize G=((x=0.8,y=0.4))=((0.8,0.4));
[0297] Step T3-3: The current random number generated by the user key K1 as the random number seed is recorded as r cur ∈[0,1], according to formula (6) cur Perform a disturbance related to (x, y) and the key K1, and change r cur Mapping to r′ cur ∈[0,1], determine r′ according to formula (7) cur The corresponding iteration rule r idx , mapping (x,y) to (x′,y′):
[0298] r′ cur =f dst (r cur ,(x,y),K1),r′ cur ∈[0,1] (6)
[0299] In formula (6), f dst () is a perturbation function, which is used to combine the current coordinates (x, y) and K1 to convert r cur The perturbation is a random number r′ in the range [0,1] cur ∈[0,1];
[0300]
[0301] For example: Assume that the current random number generated by the user key K1=28 as the random number seed is r cur =0.731∈[0,1], by f dst () The perturbation function is curPerform a perturbation related to (x=0.8, y=0.4) and key K1=28, and change r cur Mapping to r′ cur =0.437∈[0,1], because r′ cur =0.437∈ρ22=[0.4,0.6), get idx=2, determine r′ cur The corresponding iteration rule r idx = r2, r2 = (0.440, 0.441, -45°, -45°, 0, 0.8) can map (x, y) to (x′, y′): Thus, (x=0.8, y=0.4) can be mapped to (x′=0.374, y′=0.676).
[0302] Note: In addition: f as shown in formula (6) dst () The disturbance function and the combination of the current coordinates (x, y) and K1 can have many forms, such as constructing according to formula (6.1), formula (6.2), formula (6.3), etc.:
[0303] f dst (r cur ,(x,y),K1)=(f(ω)+x+y+r cur )mod1 (6.1)
[0304] f dst (r cur ,(x,y),K1)=(f(ω)+x·y+r cur )mod1 (6.2)
[0305] f dst (r cur ,(x,y),K1)=(f(ω)+x·y·r cur +x+y)mod1 (6.3)
[0306] There are many methods for the f(ω) parameter. Let the current random number generated by the user key K1 as the random number seed be ω∈(0,1). For example, it can be constructed according to formula (6.4), formula (6.5), formula (6.6), etc.:
[0307] ①Logistic mapping, where the parameter μ∈[3.56994564,4]:
[0308] f(ω)=μ·ω·(1-ω)(6.4)
[0309] ②Sine mapping, where the parameter a∈(0,4]:
[0310]
[0311] ③Singer mapping, where the parameter μ1∈[0,4]:
[0312] f(ω)=μ1·(7.86·ω-23.31·ω 2 +28.75 ω 3 -13.3075 ω 4 ) (6.6)
[0313] Step T3-4: Add (x′, y′) to the end of G and assign (x′, y′) to (x, y);
[0314] For example: Assume that (x=0.8, y=0.4) is mapped to (x′=0.374, y′=0.676), add the tail of G=((0.8,04)) to (x′, y′)=(0.374, 0.676), that is, G=((0.8,04), (0.374, 0.676)), and assign (x′, y′)=(0.374, 0.676) to (x, y).
[0315] Step T3-5: Repeat steps T3-3 to T3-4 until the number of coordinates in G reaches IT0+IT1, filter out the first IT0 coordinates in G, and use the remaining IT1 coordinates as the generated IFS fractal image coordinate sequence
[0316] For example: Assume IT0 = 5, IT1 = 10, and repeat steps T3-3 to T3-5 until:
[0317] The number of coordinates in is IT0+IT1=5+10. The first IT0=5 coordinates in G are filtered out, and the remaining IT1=10 coordinates are used as the generated IFS fractal image coordinate sequence:
[0318] In addition, the IT0=5 coordinates in the middle of G can be filtered out, and the remaining IT1=10 coordinates can be used as the generated IFS fractal image coordinate sequence; the IT0=5 coordinates in the back of G can be filtered out, and the remaining IT1=10 coordinates can be used as the generated IFS fractal image coordinate sequence, etc., to change the randomness of the generated fractal image sequence.
[0319] T4, pseudo-randomly select coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence; wherein the specific method of T4 is: the user key K2 is used to initialize the IFS fractal image coordinate sequence Pseudo-randomly select l coordinates as the embedded coordinate position sequence χ=((u η ,v η ))l ;
[0320] For example, the user key K2=6553 can be used to obtain the fractal coordinate sequence:
[0321] Randomly select l = 4 coordinates as the embedded position coordinate sequence: χ = ((0.357, 1.858), (0.007, 1.005), (0.451, 1.429), (0.586, 1.105)),
[0322] The specific selection method can be: ① Generate a non-repeating random integer sequence with the same length as G using the user key K2 in Pick coordinates from G η=0,1,…,l-1 as the embedded position coordinate sequence ② The user key K2 generates a random number sequence of the same length as G Press i , i=0,1,…,IT1-1 Rearrange the coordinates in G in ascending order, and select the first l coordinates in the rearranged G as the embedded position coordinate sequence χ=((u η ,v η )) l ③ The user key K2 generates a non-repeating random binary integer sequence of the same length as G. where ψ ξ ∈[0,1], select coordinate ψ from G ξ =1 first l coordinates (u ξ ,v ξ ) as χ=((u η ,v η )) l .
[0323] T5, taking each coordinate in the embedded coordinate position sequence as the initial coordinate, selecting a random seed representing the binary secret bit state of 0 and 1 corresponding to the position from the random seed matrix, combining with the regular sequence, pseudo-randomly generating an IFS fractal image coordinate sequence representing the secret bit of 0 and 1, respectively, and extracting the binary secret bit according to the proximity between the IFS fractal image coordinate sequence representing the secret bit of 0 and 1 and the embedded IFS fractal image coordinate sequence; wherein the specific method of step T5 is: Will (u j ,v j ) as the initial coordinates (u init ,v init ), select the random seed k corresponding to the position representing the binary secret bit state of 0 from the random seed matrix K 0,j and a random seed k with the secret bit state set to 1 1,j; According to formula (11) and formula (12) respectively, combined with the rule sequence R, the current IFS fractal image coordinate sequence is generated and According to t0, t1 and the embedded IFS fractal coordinate sequence G′=((u η ,v η )) l0 , extract the secret bit information b according to formula (13) j :
[0324] t0=f IFS (R,(u init ,v init ),1,IT3,k 0,j ) (11)
[0325] t1=f IFS (R,(u init ,v init ),1,IT3,k 1,j ) (12)
[0326]
[0327] In formula (13), the Count() function is used to count the number of coordinates in the coordinate sequence; ∩ is the intersection symbol of two coordinate sequences;
[0328] For example: For (u j ,v j )=(u0,v0)=(0.357,1.858)∈χ,(u j ,v j ) as the initial coordinates (u init ,v init ), select the random seed k whose binary secret bit state is 0 at the corresponding position of the random seed matrix K 0,j =k 0,0 =626, random seed k with secret bit state 1 1,j =k 1,0 =1265, respectively generate the current IFS fractal image coordinate sequence t0=((0.302,1.674),(-0.047,0.909)) and t1=((0.450,0.767),(0.256,1.667)) by combining R, where IT3=2 is the number of generated coordinates in t0,t1. For t0,t1,G′, extract the secret bit information b according to formula (13): j = b0, where Count(t0∩G′)=2>Count(t1∩G′)=0, when all After all the operations are completed, we can finally get b0=0, b1=1, b2=1, b3=0.
[0329] T6, using the sequence of the extracted secret bits in order as the extracted binary secret bit sequence, wherein the specific method of T6 is: j , the sequence constructed in order is used as the extracted binary secret bit sequence B = (b j ) l Output. For example: the sequence of b0=0, b1=1, b2=1, b3=0 extracted in order is output as the extracted binary secret bit sequence B=(b0, b1, b2, b3)=(0, 1, 1, 0).
[0330] The present invention also provides a holographic information recovery system based on IFS fractal image splicing, comprising:
[0331] IFS fractal image coordinate sequence acquisition module: obtains the embedded IFS fractal image coordinate sequence from the received encrypted vector image;
[0332] Binary secret bit sequence length and random seed matrix generation module: inputs the length of the binary secret bit sequence to be extracted, and generates a random seed matrix representing the state of each binary bit of the binary secret bit sequence;
[0333] IFS fractal image coordinate sequence initialization module: The user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal image coordinate sequence;
[0334] Embedded coordinate position sequence generation module: pseudo-randomly selects coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence;
[0335] Binary secret bit extraction module: taking each coordinate in the embedded coordinate position sequence as the initial coordinate, selecting a random seed representing the binary secret bit state of 0 and 1 corresponding to the position from the random seed matrix, combining with the regular sequence, pseudo-randomly generating an IFS fractal image coordinate sequence representing the secret bit of 0 and 1, respectively, and extracting the binary secret bit according to the proximity between the IFS fractal image coordinate sequence representing the secret bit of 0 and 1 and the embedded IFS fractal image coordinate sequence;
[0336] Binary secret bit sequence acquisition module: a sequence formed by extracting secret bits in order is used as the extracted binary secret bit sequence.
[0337] Figure 4 This is a system diagram of the holographic information recovery method based on IFS fractal image splicing of the present invention.
[0338] Figure 5 For the embodiment of the present invention: Figure 1 , is a binary image secret1 with a resolution of 128×64, Figure 6 For the embodiment of the present invention: Figure 2 , is a binary image secret2 with a resolution of 128×128. Figure 1 Hemi Figure 2 The binary secret bit sequences are converted into binary bit sequences in a raster scanning order (for example, obtained by scanning line by line) as the actual input binary secret bit sequences of the proposed holographic information embedding method based on IFS fractal image splicing.
[0339] Figure 7 For the embodiment of the present invention: rule matrix 1; Figure 8 According to the embodiment of the present invention: an unembedded fractal figure 1 is generated by a regular matrix 1 according to formula (1); Fig. 9 According to the embodiment of the present invention: Figure 7 and Figure 5 ,exist Figure 8 The embedded fractal generated based on Figure 1 ; Fig.10 For the embodiment of the present invention: Fig. 9 The secret image restored by the correct key is relative to Figure 5 The bit error rate BER = 0%. Note: In this application, all the recovered secret images are obtained by extracting the binary secret bit sequence in reverse raster scanning order.
[0340] Fig.11 For the embodiment of the present invention: rule matrix 2; Fig.12 According to the embodiment of the present invention: the unembedded fractal generated by the regular matrix 2 according to formula (1.1) Figure 2 ; Fig.13 According to the embodiment of the present invention: Fig.11 and Figure 5 ,exist Fig.12 The embedded fractal generated based on Figure 2 ; Fig.14 For the embodiment of the present invention: Fig.13 The secret image restored by the correct key is relative to Figure 5 The bit error rate BER = 0%.
[0341] Fig.15 For the embodiment of the present invention: rule matrix 3; Fig.16 According to the embodiment of the present invention: the unembedded fractal generated by the regular matrix 3 according to formula (1.1) Figure 3 ; Fig.17 According to the embodiment of the present invention: Fig.15 and Figure 6 ,exist Fig.16 The embedded fractal generated based on Figure 3 ; Fig.18 For the embodiment of the present invention: Fig.17 The secret image restored by the correct key is relative to Figure 6The bit error rate BER = 0%.
[0342] from Figures 7 to 15 It can be seen from the embodiments that the present invention is adaptable to different rule matrices and the correct result can be restored by the correct key.
[0343] Fig.19 For the embodiment of the present invention: Fig. 9 The secret image recovered by the wrong key 152 is relative to Figure 5 The bit error rate BER = 51.98%; Fig. 20 For the embodiment of the present invention: Fig. 9 The secret image recovered by the wrong key 42 is relative to Figure 5 The bit error rate BER = 52.10%; Fig.21 For the embodiment of the present invention: Fig. 9 The secret image restored by the wrong key 1003 is relative to Figure 5 The bit error rate BER = 51.06%.
[0344] from Figure 19 to Figure 21 The experimental results show that an incorrect key will not be able to restore the correct secret image and will not expose any information of the secret image.
[0345] Fig. 22 For the embodiment of the present invention: Fig. 9 The attack pattern after the point deletion attack, the attack ratio is 86%; Fig.23 For the embodiment of the present invention: Fig. 22 The restored secret image is relative to Figure 5 The bit error rate BER = 0%; Fig.24 For the embodiment of the present invention: Fig. 9 The attack pattern after the point deletion attack, the attack ratio is 93%; Fig.25 For the embodiment of the present invention: Fig.24 The restored secret image is relative to Figure 5 The bit error rate BER = 0.2%; Fig.26 For the embodiment of the present invention: Fig. 9 The attack pattern after the point deletion attack, the attack ratio is 97%; Fig. 27 For the embodiment of the present invention: Fig.26 The restored secret image is relative to Figure 5 The bit error rate BER = 8%; Fig.28 For the embodiment of the present invention: Fig. 9 Attack pattern after random shear attack, the attack ratio is 84%; Fig.29 For the embodiment of the present invention: Fig.28 The restored secret image is relative to Figure 5 The bit error rate BER = 0%; Fig.30 For the embodiment of the present invention: Fig. 9Attack pattern after random shear attack, the attack ratio is 90%; Fig.31 For the embodiment of the present invention: Fig.30 The restored secret image is relative to Figure 5 The bit error rate EBR = 0.05%; Fig.32 For the embodiment of the present invention: Fig. 9 Attack pattern after random shear attack, the attack ratio is 96%; Fig.33 For the embodiment of the present invention: Fig.32 The restored secret image is relative to Figure 5 The bit error rate EBR = 6.5%; Fig.34 For the embodiment of the present invention: Fig. 9 The attack pattern after random addition of attack, the attack ratio is 10%; Fig.35 For the embodiment of the present invention: Fig.34 The restored secret image is relative to Figure 5 The bit error rate EBR = 0%; Fig.36 For the embodiment of the present invention: Fig. 9 The attack pattern after random addition attack, the attack ratio is 30%; Fig.37 For the embodiment of the present invention: Fig.36 The restored secret image is relative to Figure 5 The bit error rate EBR = 0%.
[0346] from Figure 22 to Figure 37 It can be seen from the results that even after high-intensity attacks of deleting, cutting and adding points, the correct secret image can still be restored, which shows that the present invention can resist high-intensity attacks and has the characteristics of holography.
[0347] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A holographic information embedding method based on IFS fractal image splicing, characterized in that: The following steps are involved: S1, inputting a binary secret bit sequence and a random seed matrix corresponding to each binary bit state of the binary secret bit sequence, wherein the random seed matrix is used to control the generation of an IFS fractal graph representing the binary secret bit state; S2, inputting a rule sequence for generating an IFS fractal image, the rule sequence comprising a number of mapping rules and the probability of occurrence of each mapping rule, wherein the mapping rule is a compressed affine transformation, which is used to realize the mapping of fractal image coordinates; S3, the user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal image coordinate sequence; S4, pseudo-randomly selecting coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as an embedded coordinate position sequence; S5. For each binary bit of the binary secret bit sequence, according to the state of the binary bit, a random seed corresponding to the position of the binary bit is selected from the random seed matrix, and the coordinates corresponding to the position of the binary bit in the embedded coordinate position sequence are selected as initial coordinates. In combination with the regular sequence, an IFS fractal image coordinate sequence representing the binary bit is pseudo-randomly generated as the current IFS fractal image coordinate sequence; the IFS fractal image coordinate sequence is iteratively updated using the obtained current IFS fractal image coordinate sequence, and finally an IFS fractal image coordinate sequence corresponding to the binary secret bit sequence is obtained; S6. Rearrange the coordinates in the IFS fractal image coordinate sequence, and then draw a secret vector image output from the scrambled IFS fractal image coordinate sequence.
2. The holographic information embedding method based on IFS fractal image splicing according to claim 1, characterized in that: The specific method of S1 is: let the input binary secret bit sequence of length l be B=(b j ) l ,b j ∈{0,1}, the random seed matrix K=(k t,j ) 2×l And satisfy: for where k 0,j ,k 1,j They correspond to the secret bit b respectively. j = 0 and b j =1 when the random number seed; The specific method of S2 is: the regular sequence with input length m is R=((r i ,P i )) m , r i is the i-th mapping rule, P i Yes i The probability of occurrence and P i >0, i = 0, 1, ..., m-1, where: r i =(p i ,q i ,α i ,β i ,e i ,f i ), which corresponds to the affine transformation shown in formula (1); In formula (1): p i and q i Corresponding to the scaling factors in the horizontal and vertical coordinate axes respectively; α i and β i They correspond to the deflection angles in the horizontal and vertical coordinate axes respectively; e i and f i Corresponding to the translation in the horizontal and vertical coordinate axis directions respectively; r i The constraints that are satisfied are: for The (x′0, y′0), (x1′, y1′) obtained by mapping formula (1) satisfies formula (2): Dist((x0′,y0′),(x1′,y1′))≤Dist((x0,y0),(x1,y1))(2)In formula (2), Dist((x0,y0),(x1,y1)) is the distance between the two points (x0,y0) and (x1,y1).
3. The holographic information embedding method based on I FS fractal image splicing as claimed in claim 1, characterized in that: The specific method of S3 is: the user specifies a random starting point (u init ,v init )∈[u min ,u max ]×[v min ,v max ], combined with the rule sequence R and the user key K1, according to formula (3), the I FS fractal coordinate sequence of length IT1 is generated Where IT1≥l, IT0 is the number of filtering iterations, function f IFS () is the I FS fractal iteration generating function; G=f IFS (R,(u init ,v init ),IT0,IT1,K1)(3) The specific method of S4 is: the user key K2 is used to obtain the IFS fractal coordinate sequence G = ((u ξ ,v ξ )) IT1 Select l coordinates from the matrix as the embedded coordinate position sequence χ=((u η ,v η )) l ; The specific method of S5 is: Select the first (b j ,j) random seeds From the embedded coordinate position sequence χ=((u η ,v η )) l Select the jth coordinate (u j ,v j ) as the initial coordinates (u init ,v init ), according to formula (8) combined with the rule sequence R, the current I FS fractal image coordinate sequence is generated Where IT3 is the number of coordinates in the generated current I FS fractal image coordinate sequence t: The IFS fractal image coordinate sequence G is iteratively updated using the current IFS fractal image coordinate sequence t, and finally the IFS fractal image coordinate sequence G corresponding to the binary secret bit sequence is obtained, which is: According to formula (9), the current IFS fractal graph coordinate sequence t is connected with the IFS fractal graph coordinate sequence G, and iteratively updated to finally obtain the IFS fractal graph coordinate sequence G corresponding to the binary secret bit sequence: G=G||t (9) In formula (9), the symbol "||" represents a sequence connector.
4. The holographic information embedding method based on IFS fractal image splicing as claimed in claim 3, characterized in that: In S3, the rule sequence R and the user key K1 are combined to generate an IFS fractal coordinate sequence of length IT1 according to formula (3): The specific processing process includes the following steps: Step S3-1: According to formula (4), P in the regular sequence R i ,i=0,1,…,m-1 for standardization: Among them, P i Yes i The probability of occurrence and P i >0, i=0,1,…,m-1, is the standardized P i ; Step S3-2: According to formula (5), the normalized Convert to probability partition sequence S=(s i ) m , set the probability interval to [0,1], and divide it into m subintervals, which are denoted as ρ0=[s0,s1), ρ1=[s1,s2),…,ρ m-1 =[s m-1 ,1], initialize the current coordinates (x,y) = (u init ,v init ), initialize G = ((x, y)): Step S3-3: The current random number generated by the user key K1 as the random number seed is recorded as r cur ∈[0,1], according to formula (6) cur Perform a disturbance related to (x, y) and the key K1, and change r cur Mapping to r′ cur ∈[0,1], determine r′ according to formula (7) cur The corresponding iteration rule r idx , mapping (x,y) to (x′,y′): r′ cur =f dst (r cur ,(x,y),K1),r′ cur ∈[0,1] (6) In formula (6), f dst () is a perturbation function, which is used to combine the current coordinates (x, y) and K1 to convert r cur The perturbation is a random number r′ in the range [0,1] cur ∈[0,1]: Step S3-4: Add (x′, y′) to the end of G and assign (x′, y′) to (x, y); Step S3-5: Repeat steps S3-3 to S3-4 until the number of coordinates in G reaches IT0+IT1, filter out the first IT0 coordinates in G, and use the remaining IT1 coordinates as the generated IFS fractal image coordinate sequence 5. The holographic information embedding method based on IFS fractal image splicing as claimed in claim 1, characterized in that: The specific method of rearranging the coordinates in the IFS fractal image coordinate sequence in S6 is: The coordinates in the IFS fractal image coordinate sequence G are pseudo-randomly rearranged by the user key K3, and the rearranged IFS fractal image coordinate sequence is used as the rearranged IFS fractal image coordinate sequence G′; The specific method of drawing a secret vector image output in S6 includes the following steps: S6-1: According to formula (10), we can get the minimum closed vertex (X min ,Y min ),(X max ,Y max ); S6-2: Initialization size is (X max -X min )×(Y max -Y min )Vector Canvas The upper left corner of the vector canvas is (X min ,Y min ), the lower right vertex is (X max ,Y max ),right Draw coordinate points on V and output the drawn V as a secret vector map.
6. A system using the holographic information embedding method based on IFS fractal image splicing as described in any one of claims 1 to 5, characterized in that: include: Binary secret bit sequence and random seed matrix generation module: inputs a binary secret bit sequence and a random seed matrix corresponding to each binary bit state of the binary secret bit sequence, wherein the random seed matrix is used to control the generation of an IFS fractal graph representing the binary secret bit state; IFS fractal graph rule sequence input module: inputs a rule sequence for generating an IFS fractal graph, the rule sequence includes a number of mapping rules and the probability of occurrence of each mapping rule, wherein the mapping rule is a compressed affine transformation, which is used to realize the mapping of fractal graph coordinates; Initialize the IFS fractal image coordinate sequence generation module: the user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal image coordinate sequence; Embedded coordinate position sequence generation module: pseudo-randomly selects coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence; Binary secret bit sequence embedding and IFS fractal image coordinate sequence generation module: for each binary bit of the binary secret bit sequence, according to the state of the binary bit, a random seed corresponding to the binary bit position is selected from the random seed matrix, and the coordinates corresponding to the binary bit position of the embedded coordinate position sequence are selected as the initial coordinates, and combined with the regular sequence, an IFS fractal image coordinate sequence representing the binary bit is pseudo-randomly generated as the current IFS fractal image coordinate sequence; the IFS fractal image coordinate sequence is iteratively updated using the current IFS fractal image coordinate sequence, and finally the IFS fractal image coordinate sequence corresponding to the binary secret bit sequence is obtained; The module for drawing and outputting a dense vector image is to rearrange the coordinates in the IFS fractal image coordinate sequence, and then draw the dense vector image output from the scrambled IFS fractal image coordinate sequence.
7. A holographic information recovery method based on I FS fractal image splicing, characterized in that: The following steps are involved: T1, obtain the coordinate sequence of the embedded IFS fractal image from the received encrypted vector image; T2, input the length of the binary secret bit sequence to be extracted, and generate a random seed matrix representing the state of each binary bit of the binary secret bit sequence; T3, the user specifies the initial coordinates, and combines the regular sequence to pseudo-randomly generate the IFS fractal graph coordinate sequence; T4, pseudo-randomly selecting coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence; T5, taking each coordinate in the embedded coordinate position sequence as the initial coordinate, selecting a random seed representing the binary secret bit state of 0 and 1 corresponding to the position from the random seed matrix, combining with the regular sequence, pseudo-randomly generating an IFS fractal image coordinate sequence representing the secret bit of 0 and 1, respectively, and extracting the binary secret bit according to the proximity between the IFS fractal image coordinate sequence representing the secret bit of 0 and 1 and the embedded IFS fractal image coordinate sequence; T6. The sequence formed by the extracted secret bits in order is used as the extracted binary secret bit sequence.
8. The holographic information restoration method based on IFS fractal image splicing as claimed in claim 7, characterized in that: The specific method of T1 is: read size (X max -X min )×(Y max -Y min )'s IFS fractal vector graphics The upper left corner of the vector graph is (X min ,Y min ), the upper right vertex is (X max ,Y max ), and obtain the embedded IFS fractal coordinate sequence with a length of l0 The specific method of T2 is as follows: input the length l of the binary secret bit sequence to be extracted, and generate a random seed matrix K=(k t,j ) 2×l And satisfy: for where k 0,j ,k 1,j They correspond to the secret bit b respectively. j = 0 and b j =1 when the random number seed; The specific method of T3 is: the user specifies a random starting point (u init ,v init )∈[u min ,u max ]×[v min ,v max ], combined with the rule sequence R and the user key K1, according to formula (3), the initialization I FS fractal graph coordinate sequence of length IT1 is generated Where IT1≥l, IT0 is the number of filtering iterations, function f IFS () is the I FS fractal iteration generating function: G=f IFS (R,(u init ,v init ),IT0,IT1,K1)(3) The specific method of T4 is: the user key K2 is used to initialize the IFS fractal coordinate sequence Pseudo-randomly select l coordinates as the embedded coordinate position sequence χ=((u η ,v η )) l ; The specific method of step T5 is: will (u j ,v j ) as the initial coordinates (u init ,v init ), select the random seed k corresponding to the position representing the binary secret bit state of 0 from the random seed matrix K 0,j and a random seed k with the secret bit state set to 1 1,j ; According to formula (11) and formula (12) respectively, combined with the rule sequence R, the current IFS fractal image coordinate sequence is generated and According to t0, t1 and the embedded IFS fractal image coordinate sequence Extract the secret bit information b according to formula (13) j : t0=f IFS (R,(u init ,v init ),1,IT3,k 0,j ) (11) t1=f IFS (R,(u init ,v init ),1,IT3,k 1,j ) (12) In formula (13), the Count() function is used to count the number of coordinates in the coordinate sequence; ∩ is the intersection symbol of two coordinate sequences; The specific method of T6 is: j , the sequence constructed in order is used as the extracted binary secret bit sequence B = (b j ) l Output.
9. The holographic information restoration method based on IFS fractal image splicing as claimed in claim 8, characterized in that: In T3, the regular sequence R and the user key K1 are combined according to formula (3) to generate the initialization IFS fractal graph coordinate sequence of length IT1 The specific processing process includes the following steps: Step T3-1: According to formula (4), P in the regular sequence R i ,i=0,1,…,m-1 for standardization; Among them, P i Yes i The probability of occurrence and P i >0, i=0,1,…,m-1, is the standardized P i ; Step T3-2: According to formula (5), the standardized Convert to probability partition sequence S = (s i ) m , set the probability interval to [0,1], and divide it into m subintervals, denoted as ρ0=[s0,s1), ρ1=[s1,s2),…,ρ m-1 =[s m-1 ,1]; Initialize the current coordinates (x,y) = (u init ,v init ), initialize G = ((x, y)): Step T3-3: The current random number generated by the user key K1 as the random number seed is recorded as r cur ∈[0,1], according to formula (6) cur Perform a disturbance related to (x, y) and the key K1, and change r cur Mapping to r′ cur ∈[0,1], determine r′ according to formula (7) cur The corresponding iteration rule r idx , mapping (x,y) to (x′,y′): r′ cur =f dst (r cur ,(x,y),K1),r′ cur ∈[0,1] (6) In formula (6), f dst () is a perturbation function, which is used to combine the current coordinates (x, y) and K1 to convert r cur The perturbation is a random number r′ in the range [0,1] cur ∈[0,1]; Step T3-4: Add (x′, y′) to the end of G and assign (x′, y′) to (x, y); Step T3-5: Repeat steps T3-3 to T3-4 until the number of coordinates in G reaches IT0+IT1, filter out the first IT0 coordinates in G, and use the remaining IT1 coordinates as the generated IFS fractal image coordinate sequence 10. A system using the holographic information restoration method based on IFS fractal image splicing as claimed in any one of claims 7 to 9, characterized in that: include: IFS fractal image coordinate sequence acquisition module: obtains the embedded IFS fractal image coordinate sequence from the received encrypted vector image; Binary secret bit sequence length and random seed matrix generation module: inputs the length of the binary secret bit sequence to be extracted, and generates a random seed matrix representing the state of each binary bit of the binary secret bit sequence; IFS fractal image coordinate sequence initialization module: The user specifies the initial coordinates, combines the regular sequence, and pseudo-randomly generates the IFS fractal image coordinate sequence; Embedded coordinate position sequence generation module: pseudo-randomly selects coordinates of the same length as the binary secret bit sequence from the IFS fractal image coordinate sequence as the embedded coordinate position sequence; Binary secret bit extraction module: taking each coordinate in the embedded coordinate position sequence as the initial coordinate, selecting the random seeds corresponding to the positions representing the binary secret bit states of 0 and 1 from the random seed matrix, combining with the regular sequence, pseudo-randomly generating I FS fractal image coordinate sequences representing the secret bits of 0 and 1, respectively, and extracting the binary secret bits according to the proximity between the I FS fractal image coordinate sequences representing the secret bits of 0 and 1 and the embedded I FS fractal image coordinate sequences; Binary secret bit sequence acquisition module: a sequence formed by extracting secret bits in order is used as the extracted binary secret bit sequence.
