Light field image zero-watermark method and system based on multi-dimensional hypercomplex continuous orthogonal moments
By extending super-complex continuous orthogonal moments in multi-dimensional space, constructing multi-dimensional super-complex continuous orthogonal moments, and processing multi-dimensional super complex tensors of four-dimensional light field images, the problems of poor robustness and information loss of light field image watermarks are solved, and the problem of watermarking in light field images is solved. Lossless copyright protection and preservation of multi-dimensional features.
Patent Information
- Application Number
- CN202210735984.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-06-27
AI Technical Summary
Existing light field image watermarking methods perform poorly in terms of robustness, cannot effectively resist attacks, and cause irreversible information loss when embedding watermark information. They cannot effectively protect the copyright of light field images, and existing image moments cannot be processed. Light field images of four-dimensional structures, resulting in structural changes and information loss.
A zero-watermarking method for light field images based on multi-dimensional super-complex continuous orthogonal moments is used to expand the super-complex continuous orthogonal moments in multi-dimensional space and construct multi-dimensional super-complex continuous orthogonal moments (MHCOMs) for processing four-dimensional light field images. Calculate the multi-dimensional hypercomplex tensor of the four-dimensional light field image, construct the amplitude tensor and perform binarization processing to obtain the binary feature image, achieving lossless copyright protection of the light field image.
It achieves lossless copyright protection for four-dimensional light field images, has good robustness, can effectively resist various attacks, expands the application space of image moments, can process images with any multi-dimensional structure, and maintains the multi-dimensional characteristics of the image.
Smart Images

Figure CN115082280B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of light field image zero watermark, and in particular relates to a light field image zero watermark method and system based on multi-dimensional hypercomplex continuous orthogonal moments. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] Compared with traditional images, light field images contain richer information, which can be used to flexibly calculate synthetic images. In recent years, research on light field images has received widespread attention, and a lot of results have been achieved in light field image reconstruction, compression, super-resolution, and depth estimation. However, the complex structure of the light field also makes its copyright protection more difficult. Some existing watermarking methods convert light field images into two-dimensional images and use the watermarking methods of previous two-dimensional images to protect light field images, which changes the structure of light field images; and they perform poorly in terms of robustness and cannot effectively resist various attacks; on the other hand, the embedding of watermark information causes information loss of light field images, causing irreversible damage to light field images.
[0004] Research on image moments has also made great progress in recent years. The introduction of hypercomplex moments has further broadened the application field of image moments. Quaternion moments applicable to color images, ternary moments and octony moments applicable to stereoscopic images, and hexadecany moments applicable to multi-view color images have been proposed one after another. The imaginary part of hypercomplex numbers can be used to encode images with multiple channels and represent them in the form of hypercomplex matrices. By combining the hypercomplex calculation rules with the principle of image moments, the hypercomplex moments of images with complex structures can be obtained. However, hypercomplex moments have some disadvantages. Since hypercomplex numbers only have specific dimensions, such as ternaries, quaternions, octonions, etc., when images with a specific number of channels need to be processed, some imaginary parts need to be discarded, resulting in redundant calculations. For example, the use of octonym moments to process color stereoscopic images requires discarding the imaginary part of an octonym. In addition, the complex calculation rules of hypercomplex numbers greatly increase the calculation time of hypercomplex moments.
[0005] Multi-channel moments are another direction of the generalization of traditional image moments. Calculating the multi-channel moments of images with multiple channels can obtain a three-dimensional complex tensor. The size of the multi-channel moment tensor can be flexibly controlled according to the number of image channels. There is no computational redundancy, which greatly reduces the time complexity of the calculation. Although multi-channel moments make the application of image moments more flexible to a certain extent, they cannot cope with more complex image structures. Existing image moments cannot process light field images with four-dimensional structures. Mapping light field images to two-dimensional space is currently a common practice. However, mapping light field images to two-dimensional space changes the structural characteristics of light field images and cannot reflect the multi-dimensional advantages of light field images.
[0006] Although hypercomplex moments and multichannel moments play an important role in processing images with multichannel structures, they cannot cope with more complex image structures. Summary of the invention
[0007] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a light field image zero-watermark method based on multi-dimensional hypercomplex continuous orthogonal moments, expands hypercomplex continuous orthogonal moments (HCOMs) in multi-dimensional space, constructs multi-dimensional hypercomplex continuous orthogonal moments (MHCOMs), which can be used to process four-dimensional light field images and realize lossless copyright protection of four-dimensional light field images.
[0008] In order to achieve the above object, the present invention adopts the following technical solution:
[0009] The first aspect of the present invention provides a light field image zero watermark method based on multi-dimensional hypercomplex continuous orthogonal moments, which comprises:
[0010] In response to a zero watermark construction instruction, a four-dimensional light field image is obtained, a hypercomplex number is selected according to the structural characteristics of the four-dimensional light field image, and several multi-dimensional hypercomplex continuous orthogonal moments are obtained, the four-dimensional light field image is processed by a light field image zero watermark algorithm to obtain several binary feature images, and each binary feature image is transformed and encrypted to obtain a light field zero watermark image;
[0011] In response to a zero watermark verification instruction, a four-dimensional light field image to be verified is obtained, and the four-dimensional light field image to be verified is processed by a light field image zero watermark algorithm using the hypercomplex number and several multi-dimensional hypercomplex continuous orthogonal moments in the zero watermark construction process to obtain several binary feature images to be verified. The light field zero watermark image obtained in the zero watermark construction process is inversely transformed and decrypted, and then consistency calculation is performed with the binary feature image to be verified.
[0012] Furthermore, the range of the order and repetition degree adopted by the light field image zero watermark algorithm is related to the selected multi-dimensional hypercomplex continuous orthogonal moment.
[0013] Furthermore, the specific steps of the light field image zero watermark algorithm are:
[0014] Based on the hypercomplex number and the multidimensional hypercomplex continuous orthogonal moment, calculating the multidimensional hypercomplex tensor of the four-dimensional light field image;
[0015] constructing an amplitude tensor based on the multidimensional hypercomplex tensor of the four-dimensional light field image;
[0016] Binarize the amplitude tensor to obtain a four-dimensional binary feature tensor;
[0017] The four-dimensional binary feature tensor is transformed to obtain a binary feature image.
[0018] Furthermore, the specific method of constructing the amplitude tensor is:
[0019] Taking a norm of the four-dimensional hypercomplex tensor to obtain an amplitude tensor including a plurality of amplitudes;
[0020] Based on the number of amplitudes, determine whether the zero watermark capacity is met. If not, the last two dimensions of the amplitude tensor are copied and expanded; if it exceeds the capacity, the amplitudes of the last two dimensions of the amplitude tensor are truncated.
[0021] Furthermore, the multidimensional hypercomplex tensor of the four-dimensional light field image is:
[0022]
[0023] Where C is a constant; f L (u,v,r,θ) represents the four-dimensional light field image f L The polar coordinate form of (u,v,s,t); n and m represent the order and repeatability respectively; is the basis function B nm The conjugate of (r,θ).
[0024] Further, the basis function is expressed as:
[0025] B nm (r,θ)=R n (r)exp(μmθ)
[0026] Among them, R n (r) is the radial basis function, exp(μmθ) is the angular Fourier factor, and μ is a hypercomplex number.
[0027] Furthermore, the consistency is a ratio of a positive code rate to a normalized correlation.
[0028] The second aspect of the present invention provides a light field image zero watermark system based on multi-dimensional hypercomplex continuous orthogonal moments, which comprises:
[0029] A zero watermark construction module is configured to: in response to a zero watermark construction instruction, obtain a four-dimensional light field image, select a hypercomplex number according to the structural characteristics of the four-dimensional light field image, and obtain a plurality of multi-dimensional hypercomplex continuous orthogonal moments, process the four-dimensional light field image by a light field image zero watermark algorithm to obtain a plurality of binary feature images, and transform and encrypt each binary feature image to obtain a light field zero watermark image;
[0030] The zero watermark verification module is configured to: respond to a zero watermark verification instruction, obtain a four-dimensional light field image to be verified, use the hypercomplex number and several multi-dimensional hypercomplex continuous orthogonal moments in the zero watermark construction process, process the four-dimensional light field image to be verified through a light field image zero watermark algorithm, obtain several binary feature images to be verified, and perform consistency calculation on the light field zero watermark image obtained in the zero watermark construction process after inverse transformation and decryption, and then perform consistency calculation on the binary feature image to be verified.
[0031] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the light field image zero-watermarking method based on multi-dimensional hypercomplex continuous orthogonal moments as described above.
[0032] A fourth aspect of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the light field image zero watermarking method based on multi-dimensional hypercomplex continuous orthogonal moments as described above are implemented.
[0033] Compared with the prior art, the present invention has the following beneficial effects:
[0034] The present invention provides a light field image zero watermark method based on multidimensional hypercomplex continuous orthogonal moments. Compared with multi-channel continuous orthogonal moments and HCOMs, MHCOMs have a broader application space and can be used to process images of arbitrary multidimensional structures. By calculating the MHCOMs of a four-dimensional light field image, a set of multidimensional hypercomplex tensors containing light field image feature information can be obtained, and this information can be used to construct a light field image zero watermark.
[0035] The present invention provides a light field image zero watermark method based on multi-dimensional hypercomplex continuous orthogonal moments, which obtains feature data of the light field image through a feature extraction algorithm. The extraction algorithm will not change the light field image, and can achieve lossless copyright protection of the light field image; image moment is a stable image feature that can effectively resist various attacks; the image moment theory and zero watermark theory are combined, and the light field image zero watermark based on MHCOMs has good robustness. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0037] Figure 1 This is a flow chart of a light field image zero watermark method based on multi-dimensional hypercomplex continuous orthogonal moments according to the first embodiment of the present invention;
[0038] Figure 2It is a schematic diagram of binary feature tensor conversion according to the first embodiment of the present invention. DETAILED DESCRIPTION
[0039] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0040] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0041] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0042] Embodiment 1
[0043] This embodiment provides a light field image zero watermark method based on multi-dimensional hypercomplex continuous orthogonal moments, such as Figure 1 The method specifically comprises the following steps:
[0044] Step 1: In response to the zero watermark construction instruction, obtain the original four-dimensional light field image f L , whose size is U×V×S×T, select hypercomplex numbers according to the structural characteristics of the four-dimensional light field image, and obtain several (10 as shown in Table 2) multidimensional hypercomplex continuous orthogonal moments, use the light field image zero watermark algorithm based on multidimensional hypercomplex continuous orthogonal moments to process the four-dimensional light field image, obtain several binary feature images F, and encrypt each binary feature image F using Arnold transform to obtain the light field zero watermark image Z. (It should be noted that the light field zero watermark constructed based on different multidimensional hypercomplex continuous orthogonal moments is also different)
[0045] Step 101. Calculation of MHCOMs:
[0046] Based on hypercomplex and multidimensional hypercomplex continuous orthogonal moments, take the maximum moment order N max is the value of the order n, and the four-dimensional light field image f is calculated L MHCOMs, we can get the four-dimensional hypercomplex tensor of MHCOMs (MHCOMs itself is a multidimensional hypercomplex tensor, the light field image is four-dimensional, so what we get is a four-dimensional hypercomplex tensor), including U×V×(N max +1)×(2N max +1) hypercomplex number.
[0047] Hypercomplex moments are extensions of image moments from a hypercomplex perspective. In order to adapt to the multi-channel structure of images, a series of hypercomplex continuous orthogonal moments (HCOMs) are proposed. Ternary continuous orthogonal moments are used to process grayscale stereo images, quaternion continuous orthogonal moments are used to process color images, octonion continuous orthogonal moments are used to process color stereo images, and hexadecanion continuous orthogonal moments are used to process multi-view color images. Color images, stereo images, and multi-view images all have multi-channel structures, and there is a close correlation between different channels. The present invention defines traditional continuous orthogonal moments as complex continuous orthogonal moments as a special form of HCOMs in the complex domain.
[0048] Although hypercomplex moments play an important role in processing images with multi-channel structures, they cannot cope with more complex image structures. In order to solve the problem of image moments in processing multi-dimensional images such as light field images, the present invention expands hypercomplex continuous orthogonal moments in multi-dimensional space and constructs multi-dimensional hypercomplex continuous orthogonal moments. MHCOMs are generally applicable and can be used to represent all previous achievements of continuous orthogonal moments in hypercomplex domains and multi-channel structures. Traditional continuous orthogonal moments are special forms of MHCOMs in the complex domain and two-dimensional space, multi-channel continuous orthogonal moments are special forms of MHCOMs in the complex domain and three-dimensional space, and quaternion continuous orthogonal moments are special forms of MHCOMs in the quaternion domain and two-dimensional space. Compared with multi-channel continuous orthogonal moments and HCOMs, MHCOMs have a broader application space and can be used to process images of arbitrary multi-dimensional structures, solving the problem of previous image moments processing multi-dimensional images. For light field images with multi-dimensional structures, most previous studies have used a two-dimensional mapping method to convert four-dimensional light field images into two-dimensional light field macro-pixel images or sub-aperture images, which makes the light field images lose their multi-dimensional features. MHCOMs can achieve feature description and copyright protection of four-dimensional light field images.
[0049] The two-plane model of the light field can represent the position and direction of a ray of light by recording the coordinates of the ray passing through two parallel planes. The first two dimensions represent the camera plane, and the second two dimensions represent the imaging plane. The four-dimensional coordinates on the camera plane and the imaging plane together represent a pixel on the light field image. L The imaging plane coordinates (u, v, s, t) are converted into polar coordinates, and the four-dimensional light field image f in the polar coordinate system can be obtained L (u,v,r,θ). Among them, u,v,s,t are the Cartesian coordinates of the four dimensions of the four-dimensional light field image, r,θ are the polar coordinates of the last two dimensions of the four-dimensional light field image, and f LThe multidimensional structure and color channels of (u,v,r,θ) can be represented by the multidimensional and hypercomplex properties of MHCOMs, respectively.
[0050] The range of the order and repetition used in the zero watermark algorithm for light field images is related to the selected multidimensional hypercomplex continuous orthogonal moments, and the basis functions used in the zero watermark algorithm for light field images are related to the selected hypercomplex numbers. Specifically, the MHCOMs four-dimensional hypercomplex tensor of the four-dimensional light field image is defined as:
[0051]
[0052] Among them, MHM nm MHCOMs is a four-dimensional hypercomplex tensor representing a four-dimensional light field image; C is a constant, which is the inverse of the normalization factor; f L (u,v,r,θ) represents the four-dimensional light field image f L The polar coordinate form of (u,v,s,t); n and m represent the order and repeatability respectively; is the basis function B nm conjugate of (r,θ); basis function B nm (r,θ) can be expressed as
[0053] B nm (r,θ)=R n (r)exp(μmθ) (1)
[0054] Among them, R n (r) is the radial basis function; exp(μmθ) is the angular Fourier factor, μ is a unit pure hypercomplex number, and its value is related to the multidimensional hypercomplex moment, as shown in Table 1. The hypercomplex number can be a complex number, a ternary number, a quaternion, an octonym, or a hexadecanym.
[0055] In this embodiment, the hypercomplex number selected according to the structural characteristics of the four-dimensional light field image is a quaternion, that is, a four-dimensional quaternion continuous orthogonal moment is used.
[0056] The radial basis functions, the ranges of the order n and the repetition degree m, and the value of the constant C are related to the adopted multi-dimensional hypercomplex continuous orthogonal moments, which can be multi-dimensional hypercomplex Zernike moments (MHZMs), multi-dimensional hypercomplex pseudo-Zernike moments (MHPZMs), multi-dimensional hypercomplex orthogonal Fourier-Mellin moments (MHOFMMs), multi-dimensional hypercomplex Chebyshev-Fourier moments (MHCHFMs), multi-dimensional hypercomplex radial harmonic Fourier moments (MHRHFMs), multi-dimensional hypercomplex exponential moments (MHEMs), multi-dimensional hypercomplex polar exponential transforms (MHEMs). The following table contains the values of the radial basis functions, order n, and repeatability m for different multidimensional hypercomplex continuous orthogonal moments, as well as the values of the constant C.
[0057] Table 1. Relationship between the value of μ and different multidimensional hypercomplex numbers (i,j,k,e4,e5,...,e 15 represents the imaginary part of a hypercomplex number)
[0058]
[0059] Table 2. Different multidimensional hypercomplex continuous orthogonal moment radial basis functions, ranges of order and repetition, and values of constant C
[0060]
[0061]
[0062] It should be noted that: R n (r) is orthogonal in the range 0≤r≤1:
[0063]
[0064] Among them, δ no represents the Kronecker function, R n (r) and R o (r) represents the radial basis function when the order is n and o respectively.
[0065] The angular Fourier factors exp(μmθ) are orthogonal in the range 0≤θ≤2π:
[0066]
[0067] Among them, δ ml represents the Kronecker function, m and l represent different degrees of repetition. It can be concluded that the basis function B nm (r,θ) is orthogonal in the range 0≤r≤1,0≤θ≤2π:
[0068]
[0069] in, is the normalization factor. B nm (r,θ) and B ol (r,θ) represent the basis functions with order n and repetition m, and order o and repetition l respectively.
[0070] By calculating the MHCOMs of the four-dimensional light field image, a set of multidimensional hypercomplex tensors containing the feature information of the four-dimensional light field image can be obtained. L (u,v,r,θ) can be reconstructed approximately using the finite hypercomplex numbers in the hypercomplex tensor, and the image reconstruction function can be expressed as:
[0071]
[0072] Therefore, MHCOMs have the function of reconstructing light field images.
[0073] Step 102, amplitude tensor construction: construct an amplitude tensor based on the multidimensional hypercomplex tensor of the four-dimensional light field image, specifically:
[0074] Taking the norm of the four-dimensional hypercomplex tensor of MHCOMs obtained in step 101, an amplitude tensor containing U×V×(N max +1)×(2N max +1) amplitudes can be obtained;
[0075] Based on the number of amplitudes, it is judged whether the zero-watermark capacity is satisfied. If not, the last two dimensions of the amplitude tensor are copied and expanded; if it exceeds the capacity, the amplitudes of the last two dimensions of the amplitude tensor are intercepted. Specifically, the set zero-watermark size is (U×P)×(V×Q). When (N max +1)×(2N max +1)<P×Q and the zero-watermark capacity is not satisfied, the last two dimensions of the amplitude tensor need to be copied and expanded to P×Q amplitudes to construct an amplitude tensor T containing U×V×P×Q amplitudes; when (N max +1)×(2N max +1)>P×Q and it exceeds the zero-watermark capacity, the P×Q amplitudes of the last two dimensions of the amplitude tensor need to be intercepted to construct an amplitude tensor T containing U×V×P×Q amplitudes.
[0076] Step 103, construction of four-dimensional binary feature tensor:
[0077] Binarize the amplitude tensor T to obtain a four-dimensional binary feature tensor T b :
[0078]
[0079] where 0≤u<U, 0≤v<V, 0≤p<P, 0≤q<Q; A is the binarization threshold, and here A takes the mean value of T.
[0080] Step 104, convert the four-dimensional binary feature tensor to obtain a binary feature image:
[0081] Fix the last two dimensions of the four-dimensional binary feature tensor T b , traverse all values of the first two dimensions, and obtain P×Q binary images of size U×V. Recombine all the obtained binary images according to the distribution of the last two dimensions of the four-dimensional binary feature tensor, and a binary feature image F of size (U×P)×(V×Q) can be obtained. The schematic diagram of the conversion of the four-dimensional binary feature tensor is as Figure 2 shown, and the same gray level is used to represent the pixels with the same first two dimensions in the four-dimensional binary feature tensor.
[0082] Step 105, encrypt the binary feature image F with the Arnold transform to obtain an optical field zero-watermark image Z of size (U×P)×(V×Q), realizing the copyright protection of the optical field image.
[0083] Step 2: In response to the zero-watermark verification instruction, obtain the four-dimensional light field image to be verified (i.e., the four-dimensional light field image after propagation in the network or after being attacked) f * L , and process the four-dimensional light field image to be verified through the zero-watermark algorithm for light field images by using hypercomplex numbers and several kinds of multi-dimensional hypercomplex continuous orthogonal moments in the zero-watermark construction process, to obtain several kinds of binary feature images F to be verified * , and after decrypting the inverse transformation of the light field zero-watermark image obtained in the zero-watermark construction process, perform multiple consistency calculations with the binary feature images to be verified; specifically:
[0084] Step 201: Take the maximum moment order N max as the value of order n, and calculate the MHCOMs of the four-dimensional light field image f* to be verified L , to obtain a four-dimensional hypercomplex tensor of MHCOMs to be verified, containing U×V×(N max +1)×(2N max +1) hypercomplex numbers;
[0085] Step 202: Take the norm of the four-dimensional hypercomplex tensor of MHCOMs to be verified, to obtain U×V×(N max +1)×(2N max +1) amplitudes; when (N max +1)×(2N max +1)<P×Q and the zero-watermark capacity is not satisfied, it is necessary to copy and expand the last two dimensions of the amplitude tensor to P×Q amplitudes, and construct a verified amplitude tensor T containing U×V×P×Q amplitudes * ; when (N max +1)×(2N max +1)>P×Q and it exceeds the zero-watermark capacity, it is necessary to intercept the P×Q amplitudes of the last two dimensions of the amplitude tensor, and construct a verified amplitude tensor T containing U×V×P×Q amplitudes * ;
[0086] Step 203: Binarize T * , to obtain a binary feature tensor T to be verified b * :
[0087]
[0088] where A * is the binarization threshold, and here A * takes the mean value of T * ;
[0089] Step 204: Fix the four-dimensional binary feature tensor T to be verifiedb * The last two dimensions of the four-dimensional binary feature tensor to be verified are recombined according to the distribution of the last two dimensions, and a binary feature image F to be verified with a size of (U×P)×(V×Q) can be obtained. * ;
[0090] Step 205: for each multidimensional hypercomplex continuous orthogonal moment, the light field zero-watermark image Z and the binary feature image F to be verified are obtained. * , decrypt the light field zero-watermark image Z using the inverse Arnold transform to obtain the binary feature image F; use the bit correct ratio (BCR) and normalized correlation (NC) to measure the binary feature image F to be verified * The consistency with the decrypted binary feature image F (i.e., the value of BCR / NC), the definitions of BCR and NC are as follows:
[0091]
[0092]
[0093] Where C is F * The same number of pixels as F, (U×P)×(V×Q) is the size of the binary feature image, F={l(i,j),1≤i≤P,1≤j≤Q} and F * = {l * (i, j), 1≤i≤P, 1≤j≤Q} are the binary feature image obtained by decryption and the binary feature image to be verified, where l(i, j) is each pixel in F, l * (i,j) is F * Every pixel in .
[0094] Step 206: For each multidimensional hypercomplex continuous orthogonal moment, the consistency obtained is compared with the set value. If all the consistency is greater than the set value, it means that the four-dimensional light field image to be verified is consistent with the zero watermark image. The consistency is between 0 and 1. The closer its value is to 1, the more consistent the four-dimensional light field image to be verified is with the zero watermark image.
[0095] The zero watermark verification process is used to verify the four-dimensional light field image f * L Copyright belongs to .
[0096] In order to solve the problem of image moments in processing multi-dimensional images such as light field images, this embodiment expands hypercomplex continuous orthogonal moments in multi-dimensional space and constructs multi-dimensional hypercomplex continuous orthogonal moments. MHCOMs are generally applicable and can be used to represent all previous achievements of continuous orthogonal moments in hypercomplex domains and multi-channel structures. Traditional continuous orthogonal moments are special forms of MHCOMs in complex domains and two-dimensional space, multi-channel continuous orthogonal moments are special forms of MHCOMs in complex domains and three-dimensional space, and quaternion continuous orthogonal moments are special forms of MHCOMs in quaternion domains and two-dimensional space. Compared with multi-channel continuous orthogonal moments and HCOMs, MHCOMs have a broader application space and can be used to process images of arbitrary multi-dimensional structures. By calculating the MHCOMs of a four-dimensional light field image, a set of multi-dimensional hypercomplex tensors containing feature information of the light field image can be obtained, and this information can be used to construct a zero watermark of the light field image. The zero watermark method obtains the feature data of the original image through a feature extraction algorithm. The extraction algorithm does not change the original image, and lossless copyright protection of the original image can be achieved. Image moment is a stable image feature that can effectively resist various attacks. Combining the image moment theory with the zero watermark theory, the light field image zero watermark based on MHCOMs has good robustness.
[0097] Embodiment 2
[0098] This embodiment provides a light field image zero watermark system based on multi-dimensional hypercomplex continuous orthogonal moments, which specifically includes the following modules:
[0099] A zero watermark construction module is configured to: in response to a zero watermark construction instruction, obtain a four-dimensional light field image, select a hypercomplex number according to the structural characteristics of the four-dimensional light field image, and obtain a plurality of multi-dimensional hypercomplex continuous orthogonal moments, process the four-dimensional light field image by a light field image zero watermark algorithm to obtain a plurality of binary feature images, and transform and encrypt each binary feature image to obtain a light field zero watermark image;
[0100] The zero watermark verification module is configured to: respond to a zero watermark verification instruction, obtain a four-dimensional light field image to be verified, use the hypercomplex number and several multi-dimensional hypercomplex continuous orthogonal moments in the zero watermark construction process, process the four-dimensional light field image to be verified through a light field image zero watermark algorithm, obtain several binary feature images to be verified, and perform consistency calculation on the light field zero watermark image obtained in the zero watermark construction process after inverse transformation and decryption, and then perform consistency calculation on the binary feature image to be verified.
[0101] It should be noted here that each module in this embodiment corresponds to each step in Example 1 one by one, and the specific implementation process is the same, which will not be repeated here.
[0102] Embodiment 3
[0103] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the light field image zero-watermark method based on multi-dimensional hypercomplex continuous orthogonal moments as described in the first embodiment are implemented.
[0104] Embodiment 4
[0105] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the light field image zero watermark method based on multi-dimensional hypercomplex continuous orthogonal moments as described in the first embodiment are implemented.
[0106] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0107] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0108] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0109] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0110] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0111] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A light field image zero watermarking method based on multidimensional hypercomplex continuous orthogonal moments, characterized in that: include: In response to a zero watermark construction instruction, a four-dimensional light field image is obtained, a hypercomplex number is selected according to the structural characteristics of the four-dimensional light field image, and several multi-dimensional hypercomplex continuous orthogonal moments are obtained, the four-dimensional light field image is processed by a light field image zero watermark algorithm to obtain several binary feature images, and each binary feature image is transformed and encrypted to obtain a light field zero watermark image; In response to a zero watermark verification instruction, a four-dimensional light field image to be verified is obtained, and the four-dimensional light field image to be verified is processed by a light field image zero watermark algorithm using a hypercomplex number and several multi-dimensional hypercomplex continuous orthogonal moments in a zero watermark construction process to obtain several binary feature images to be verified, and the light field zero watermark image obtained in the zero watermark construction process is inversely transformed and decrypted, and then the image is subjected to consistency calculation with the binary feature image to be verified; The specific steps of the light field image zero watermark algorithm are: Based on the hypercomplex number and the multidimensional hypercomplex continuous orthogonal moment, calculating the multidimensional hypercomplex tensor of the four-dimensional light field image; constructing an amplitude tensor based on the multidimensional hypercomplex tensor of the four-dimensional light field image; Binarize the amplitude tensor to obtain a four-dimensional binary feature tensor; The four-dimensional binary feature tensor is transformed to obtain a binary feature image.
2. The light field image zero watermark method based on multidimensional hypercomplex continuous orthogonal moments as claimed in claim 1, characterized in that: The range of the order and repetition degree adopted by the light field image zero watermark algorithm is related to the selected multi-dimensional hypercomplex continuous orthogonal moment.
3. The light field image zero watermark method based on multidimensional hypercomplex continuous orthogonal moments as claimed in claim 1, characterized in that: The specific method of constructing the amplitude tensor is: Taking a norm of the four-dimensional hypercomplex tensor to obtain an amplitude tensor including a plurality of amplitudes; Based on the number of amplitudes, determine whether the zero watermark capacity is met. If not, the last two dimensions of the amplitude tensor are copied and expanded; if it exceeds the capacity, the amplitudes of the last two dimensions of the amplitude tensor are truncated.
4. The light field image zero watermark method based on multidimensional hypercomplex continuous orthogonal moments as claimed in claim 1, characterized in that: The multidimensional hypercomplex tensor of the four-dimensional light field image is: Where C is a constant; f L (u,v,r,θ) represents the four-dimensional light field image f L The polar coordinate form of (u,v,s,t); n and m represent the order and repeatability respectively; is the basis function B nm The conjugate of (r,θ).
5. The light field image zero watermark method based on multidimensional hypercomplex continuous orthogonal moments as claimed in claim 4, characterized in that: The basis function is expressed as: B nm (r,θ)=R n (r)exp(μmθ) Among them, R n (r) is the radial basis function, exp(μmθ) is the angular Fourier factor, and μ is a hypercomplex number.
6. The light field image zero watermark method based on multidimensional hypercomplex continuous orthogonal moments as claimed in claim 1, characterized in that: The consistency is the ratio of the positive code rate to the normalized correlation.
7. A light field image zero watermark system based on multidimensional hypercomplex continuous orthogonal moments, characterized in that: include: A zero watermark construction module is configured to: in response to a zero watermark construction instruction, obtain a four-dimensional light field image, select a hypercomplex number according to the structural characteristics of the four-dimensional light field image, and obtain a plurality of multi-dimensional hypercomplex continuous orthogonal moments, process the four-dimensional light field image by a light field image zero watermark algorithm to obtain a plurality of binary feature images, and transform and encrypt each binary feature image to obtain a light field zero watermark image; The zero watermark verification module is configured to: in response to a zero watermark verification instruction, obtain a four-dimensional light field image to be verified, use the hypercomplex number and several multi-dimensional hypercomplex continuous orthogonal moments in the zero watermark construction process to process the four-dimensional light field image to be verified through a light field image zero watermark algorithm to obtain several binary feature images to be verified, and perform inverse transformation and decryption on the light field zero watermark image obtained in the zero watermark construction process, and then perform consistency calculation with the binary feature image to be verified; The specific steps of the light field image zero watermark algorithm are: Based on the hypercomplex number and the multidimensional hypercomplex continuous orthogonal moment, calculating the multidimensional hypercomplex tensor of the four-dimensional light field image; constructing an amplitude tensor based on the multidimensional hypercomplex tensor of the four-dimensional light field image; Binarize the amplitude tensor to obtain a four-dimensional binary feature tensor; The four-dimensional binary feature tensor is transformed to obtain a binary feature image.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that:When the program is executed by a processor, the steps in the light field image zero watermark method based on multi-dimensional hypercomplex continuous orthogonal moments as described in any one of claims 1 to 6 are implemented.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the light field image zero watermark method based on multi-dimensional hypercomplex continuous orthogonal moments are implemented as described in any one of claims 1 to 6.
