CN114742690A - Multi-view color image watermark processing method and system based on hexadecimal moments - Google Patents

Multi-view color image watermark processing method and system based on hexadecimal moments Download PDF

Info

Publication number
CN114742690A
CN114742690A CN202210444441.5A CN202210444441A CN114742690A CN 114742690 A CN114742690 A CN 114742690A CN 202210444441 A CN202210444441 A CN 202210444441A CN 114742690 A CN114742690 A CN 114742690A
Authority
CN
China
Prior art keywords
hexadecimal
color image
image
moment
view color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210444441.5A
Other languages
Chinese (zh)
Inventor
王春鹏
张清华
夏之秋
马宾
张强
李琦
李健
王晓雨
韩冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qilu University of Technology
Original Assignee
Qilu University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qilu University of Technology filed Critical Qilu University of Technology
Priority to CN202210444441.5A priority Critical patent/CN114742690A/en
Publication of CN114742690A publication Critical patent/CN114742690A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • G06T1/005Robust watermarking, e.g. average attack or collusion attack resistant
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2201/00General purpose image data processing
    • G06T2201/005Image watermarking
    • G06T2201/0065Extraction of an embedded watermark; Reliable detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a multi-view color image watermarking processing method and system based on a sixteen-element moment, which are used for acquiring an original multi-view color image and an original watermark image to be processed, processing the original multi-view color image to obtain an accurate sixteen-element moment value, embedding the original watermark image into the sixteen-element moment value, reconstructing to obtain a watermark-containing sixteen-element moment image, and performing difference combination processing on the original multi-view color image, the sixteen-element moment value and the watermark-containing sixteen-element moment image to obtain the watermark-containing multi-view color image; the method has strong stability and image reconstruction performance based on the sixteen element moment, effectively realizes the embedding and extraction of the multi-view color image watermark, and has good robustness and imperceptibility in protecting the copyright of the multi-view color image.

Description

基于十六元数矩的多视角彩色图像水印处理方法及系统Multi-view color image watermark processing method and system based on hexadecimal moments

技术领域technical field

本发明属于数字水印技术领域,尤其涉及基于十六元数矩的多视角彩色图像水印处理方法。The invention belongs to the technical field of digital watermarking, in particular to a multi-view color image watermarking method based on hexadecimal moments.

背景技术Background technique

本部分的陈述仅仅是提供了与本发明相关的背景技术信息,不必然构成在先技术。The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

随着互联网的不断发展,数据的开放与共享日益普及,这也让侵权问题日趋严重。如何保障数字资源在存储和传播中的安全,成为社会广泛关注的问题。对于数字图像的版权保护,加密和签名技术曾被广泛采用,但是这两种技术都没有解决解密后图像的非法拷贝、篡改和再次传播的问题。数字水印的诞生让图像的版权保护问题出现了转机,迅速成为了图像版权保护领域研究的热点。With the continuous development of the Internet, the opening and sharing of data is becoming more and more popular, which also makes the problem of infringement more and more serious. How to ensure the safety of digital resources in storage and dissemination has become a widespread concern of the society. For copyright protection of digital images, encryption and signature technologies have been widely used, but neither of these two technologies solves the problem of illegal copying, tampering and re-distribution of decrypted images. The birth of digital watermarking has brought about a turning point in the copyright protection of images, and it has quickly become a research hotspot in the field of image copyright protection.

目前对于数字图像水印的研究已经从灰度图像,发展到彩色图像。近年来,立体图像水印技术也得到了迅速发展。但是,对于多视角彩色图像水印技术的研究,目前仍然没有成熟的方案。多视角彩色图像是单部相机通过移动或者多部相机按视差要求布置在一定位置构成相机阵列所拍摄的图像,被广泛应用于场景重建和深度估计。多视角彩色图像相关领域的研究十分广泛,但是却没有行之有效的版权保护策略。At present, the research on digital image watermarking has developed from grayscale images to color images. In recent years, stereoscopic image watermarking technology has also developed rapidly. However, there is still no mature solution for the research of multi-view color image watermarking technology. Multi-view color images are images captured by a single camera moving or multiple cameras arranged at a certain position according to parallax requirements to form a camera array, and are widely used in scene reconstruction and depth estimation. The research in the field of multi-view color image is very extensive, but there is no effective copyright protection strategy.

发明内容SUMMARY OF THE INVENTION

为克服上述现有技术的不足,本发明提供了基于十六元数矩的多视角彩色图像水印处理方法及系统,将十六元数矩理论应用于多视角彩色图像水印的嵌入与提取过程,利用十六元数的虚部同时处理多视角彩色图像的所有视角的所有颜色分量,同时保证各分量之间的关联,在保护多视角彩色图像版权上具有良好的鲁棒性和不可感知性。In order to overcome the above-mentioned deficiencies of the prior art, the present invention provides a multi-view color image watermark processing method and system based on hexadecimal moments, and applies the hexadecimal moment theory to the embedding and extraction process of multi-view color image watermarks, Using the imaginary part of the hexadecimal to process all color components of all viewing angles of a multi-view color image at the same time, while ensuring the correlation between the components, has good robustness and imperceptibility in protecting the copyright of multi-view color images.

为实现上述目的,本发明的一个或多个实施例提供了如下技术方案:To achieve the above object, one or more embodiments of the present invention provide the following technical solutions:

本发明第一方面提供了基于十六元数矩的多视角彩色图像水印处理方法;A first aspect of the present invention provides a multi-view color image watermark processing method based on hexadecimal moments;

基于十六元数矩的多视角彩色图像水印处理方法,包括以下步骤:The multi-view color image watermark processing method based on hexadecimal moments includes the following steps:

获取待处理的原始多视角彩色图像和原始水印图像;Obtain the original multi-view color image and the original watermark image to be processed;

对原始多视角彩色图像进行处理,得到精确的十六元数矩矩值;Process the original multi-view color image to obtain the precise hexadecimal moment value;

将原始水印图像嵌入十六元数矩矩值中,重构得到含水印十六元数矩图像;Embed the original watermark image into the hexadecimal moment value, and reconstruct the watermarked hexadecimal moment image;

对原始多视角彩色图像、十六元数矩矩值和含水印十六元数矩图像进行差值合并处理,得到含水印多视角彩色图像。The original multi-perspective color image, the hexadecimal moment value and the watermarked hexadecimal moment image are combined with the difference value to obtain the watermarked multi-perspective color image.

进一步的,得到精确的十六元数矩矩值的方法为:Further, the method to obtain the exact hexadecimal moment value is:

计算原始多视角彩色图像的十六元数矩矩值;Calculate the hexadecimal moment value of the original multi-view color image;

剔除不精确的十六元数矩矩值,得到精确的十六元数矩矩值。Eliminate inaccurate hexadecimal moment values to obtain accurate hexadecimal moment values.

进一步的,使用密钥从精确的十六元数矩矩值中随机选择十六元数矩矩值构建幅值序列,使用量化方法将水印图像嵌入幅值序列。Further, the key is used to randomly select the hexadecimal moment value from the exact hexadecimal moment value to construct the magnitude sequence, and the watermark image is embedded in the magnitude sequence by using the quantization method.

进一步的,所述差值合并处理,是对原始多视角彩色图像与十六元数矩矩值作差,得到差值图像,将差值图像和含水印十六元数矩图像进行合并,得到含水印多视角彩色图像。Further, the difference value merging process is to make a difference between the original multi-view color image and the hexadecimal moment value to obtain a difference value image, and combine the difference value image and the watermark hexadecion moment moment image to obtain: Watermarked multi-view color image.

进一步的,所述十六元数矩采用基于十六元数理论和圆谐-傅里叶矩所构造的十六元数矩。Further, the hexadecimal moments are constructed based on hexadecimal theory and circular harmonic-Fourier moments.

进一步的,还包括:从含水印多视角彩色图像中提取水印图像,具体提取过程为:Further, it also includes: extracting the watermark image from the watermark multi-view color image, and the specific extraction process is:

将含水印多视角彩色图像预处理成方形多视角彩色图像;Preprocessing the watermarked multi-perspective color image into a square multi-perspective color image;

计算多视角彩色图像的十六元数矩矩值;Calculate the hexadecimal moment value of the multi-view color image;

从十六元数矩矩值构建的幅值序列中提取水印图像。Extract the watermarked image from a sequence of magnitudes constructed from hexadecimal moment-of-moment values.

进一步的,利用正码率衡量原始水印图像和提取的水印图像的相似度,验证图像的版权归属。Further, the positive bit rate is used to measure the similarity between the original watermark image and the extracted watermark image to verify the copyright attribution of the image.

本发明第二方面提供了基于十六元数矩的多视角彩色图像水印处理系统。A second aspect of the present invention provides a multi-view color image watermark processing system based on hexadecimal moments.

基于十六元数矩的多视角彩色图像水印处理系统,包括:A multi-view color image watermarking system based on hexadecimal moments, including:

数据获取模块,被配置为:获取待处理的多视角彩色图像和水印图像;a data acquisition module, configured to: acquire multi-view color images and watermark images to be processed;

十六元数矩处理模块,被配置为:对多视角彩色图像进行处理,得到精确的十六元数矩矩值;The hexadecimal moment processing module is configured to: process the multi-view color image to obtain an accurate hexadecimal moment value;

水印嵌入模块,被配置为:将水印图像嵌入十六元数矩矩值中,重构得到含水印十六元数矩图像;The watermark embedding module is configured to: embed the watermark image in the hexadecimal moment value, and reconstruct the watermark hexadecimal moment image;

差值合并模块,被配置为:对多视角彩色图像、十六元数矩矩值和含水印十六元数矩图像进行差值合并处理,得到含水印多视角彩色图像。The difference merging module is configured to: perform difference merging processing on the multi-view color image, the hexadecimal moment value and the watermarked hexadecimal moment image to obtain a watermarked multi-view color image.

本发明第三方面提供了计算机可读存储介质,其上存储有程序,该程序被处理器执行时实现如本发明第一方面所述的基于十六元数矩的多视角彩色图像水印处理方法中的步骤。A third aspect of the present invention provides a computer-readable storage medium on which a program is stored, and when the program is executed by a processor, implements the multi-view color image watermarking method based on hexadecimal moments as described in the first aspect of the present invention steps in .

本发明第四方面提供了电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的程序,所述处理器执行所述程序时实现如本发明第一方面所述的基于十六元数矩的多视角彩色图像水印处理方法中的步骤。A fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, when the processor executes the program, the processor implements the system based on the first aspect of the present invention. Steps in a multi-view color image watermarking method of hexadecimal moments.

以上一个或多个技术方案存在以下有益效果:One or more of the above technical solutions have the following beneficial effects:

本发明将十六元数矩理论应用于多视角彩色图像水印的嵌入与提取过程,十六元数矩具有强大的稳定性和图像重构性能,能提取高质量的图像特征;将水印信息嵌入到多视角彩色图像的十六元数矩当中,具有良好的鲁棒性和不可感知性。当需要验证多视角彩色图像版权归属时,通过计算多视角彩色图像的十六元数矩,提取出水印信息,实现对多视角彩色图像的版权保护。The invention applies the hexadecimal moment theory to the process of embedding and extracting multi-view color image watermarks. The hexadecimal moment has strong stability and image reconstruction performance, and can extract high-quality image features; the watermark information is embedded It has good robustness and imperceptibility to the hexadecimal moments of multi-view color images. When it is necessary to verify the copyright ownership of the multi-view color image, the watermark information is extracted by calculating the hexadecimal moment of the multi-view color image, so as to realize the copyright protection of the multi-view color image.

附图说明Description of drawings

构成本发明的一部分的说明书附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。The accompanying drawings forming a part of the present invention are used to provide further understanding of the present invention, and the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute an improper limitation of the present invention.

图1为第一个实施例的方法流程图。FIG. 1 is a flow chart of the method of the first embodiment.

图2为第二个实施例的系统结构图。FIG. 2 is a system structure diagram of the second embodiment.

具体实施方式Detailed ways

应该指出,以下详细说明都是示例性的,旨在对本发明提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本发明所属技术领域的普通技术人员通常理解的相同含义。It should be noted that the following detailed description is exemplary and intended to provide further explanation of the invention. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本发明的示例性实施方式。It should be noted that the terminology used herein is for the purpose of describing specific embodiments only, and is not intended to limit the exemplary embodiments according to the present invention.

在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。Embodiments of the invention and features of the embodiments may be combined with each other without conflict.

术语解释:Terminology Explanation:

圆谐-傅里叶矩(radial harmonic Fourier moments,RHFMs)。Radial harmonic Fourier moments (RHFMs).

十六元数圆谐-傅里叶矩(sedenion radial harmonic Fourier moments,SRHFMs)。Sedenion radial harmonic Fourier moments (SRHFMs).

在计算圆谐-傅里叶矩(radial harmonic Fourier moments,RHFMs)时,需要将定义于直角坐标系的图像转化为极坐标的形式。对于转化为极坐标形式的图像f(r,θ),其RHFMs定义如下:When calculating the radial harmonic Fourier moments (RHFMs), it is necessary to convert the image defined in the rectangular coordinate system into the polar coordinate form. For an image f(r, θ) converted to polar form, its RHFMs are defined as follows:

Figure BDA0003615952910000041
Figure BDA0003615952910000041

其中Pnm为RHFMs,n(n∈N)为阶数,m(m∈Z)为重复度,exp(-jmθ)为角向傅里叶因子exp(jmθ)的共轭,Rn(r)为径向基函数:where P nm is the RHFMs, n(n∈N) is the order, m(m∈Z) is the repetition degree, exp(-jmθ) is the conjugate of the angular Fourier factor exp(jmθ), Rn (r ) is the radial basis function:

Figure BDA0003615952910000051
Figure BDA0003615952910000051

Rn(r)在0≤r≤1范围内正交,其正交性关系可以表示为:R n (r) is orthogonal in the range of 0≤r≤1, and its orthogonality relationship can be expressed as:

Figure BDA0003615952910000052
Figure BDA0003615952910000052

其中δno为克罗内克函数。where δno is the Kronecker function.

RHFMs的基函数定义为:The basis functions of RHFMs are defined as:

Bnm(r,θ)=Rn(r)exp(jmθ) (4)B nm (r,θ)=R n (r)exp(jmθ) (4)

由角向傅里叶因子exp(jmθ)共轭的性质和径向基函数的正交性可推得,基函数Bnm(r,θ)在单位圆内是正交的,其正交性关系可以表示为:From the property of the angular Fourier factor exp(jmθ) conjugation and the orthogonality of the radial basis function, it can be deduced that the basis function B nm (r, θ) is orthogonal in the unit circle, and its orthogonality The relationship can be expressed as:

Figure BDA0003615952910000053
Figure BDA0003615952910000053

其中

Figure BDA0003615952910000054
为Bol(r,θ)的共轭,0≤r≤1,0≤θ≤2π,2π为归一化因子。in
Figure BDA0003615952910000054
is the conjugate of B ol (r, θ), 0≤r≤1, 0≤θ≤2π, and 2π is the normalization factor.

由于RHFMs的基函数具有正交性,原图像f(r,θ)可以使用RHFMs进行重构,f(r,θ)的图像重构函数可表示为:Since the basis functions of RHFMs are orthogonal, the original image f(r, θ) can be reconstructed using RHFMs, and the image reconstruction function of f(r, θ) can be expressed as:

Figure BDA0003615952910000055
Figure BDA0003615952910000055

复数可以扩展到十六维,被称为十六元数。十六元数由一个实部和十五个虚部组成:Complex numbers can be extended to sixteen dimensions and are known as hexadecions. A hexadecimal consists of one real part and fifteen imaginary parts:

Figure BDA0003615952910000056
Figure BDA0003615952910000056

其中x0,x1,…,x15是实部,e1,e2,…,e15是虚数单位。where x 0 , x 1 , ..., x 15 are real parts, and e 1 , e 2 , ..., e 15 are imaginary units.

一幅包含5个视角的多视角彩色图像fS可以表示为一组纯十六元数,具体表示方法如下:A multi-view color image f S containing 5 viewing angles can be represented as a set of pure hexadecimal numbers, and the specific representation method is as follows:

Figure BDA0003615952910000061
Figure BDA0003615952910000061

其中,fS(r,θ)为fS的极坐标形式,fri(r,θ),fgi(r,θ),fbi(r,θ)分别代表多视角彩色图像fS(r,θ)的第i个视角的红色、绿色和蓝色分量。Among them, f S (r, θ) is the polar coordinate form of f S , f ri (r, θ), f gi (r, θ), f bi (r, θ) represent the multi-view color image f S (r , θ) of the red, green and blue components of the ith viewing angle.

基于十六元数理论和RHFMs可以构造十六元数圆谐-傅里叶矩(sedenion radialharmonic Fourier moments,SRHFMs),因为十六元数的乘法不满足交换律,而fS(r,θ)和exp(-μmθ)均为十六元数,所以SRHFMs的定义方式有两种:Sedenion radialharmonic Fourier moments (SRHFMs) can be constructed based on the theory of hexadecons and RHFMs, because the multiplication of hexadecons does not satisfy the commutative law, and f S (r, θ) and exp(-μmθ) are both hexadecimals, so there are two ways to define SRHFMs:

Figure BDA0003615952910000062
Figure BDA0003615952910000062

Figure BDA0003615952910000063
Figure BDA0003615952910000063

其中Rn(r)为RHFMs的径向基函数,μ为单位纯十六元数,可以表示为:where R n (r) is the radial basis function of RHFMs and μ is a unit pure hexadecimal, which can be expressed as:

Figure BDA0003615952910000064
Figure BDA0003615952910000064

同一组图像fS(r,θ)的右SRHFMs和左SRHFMs可以相互推导,其关系可表示为:The right SRHFMs and left SRHFMs of the same set of images f S (r, θ) can be derived from each other, and their relationship can be expressed as:

Figure BDA0003615952910000065
Figure BDA0003615952910000065

其中,

Figure BDA0003615952910000066
Figure BDA0003615952910000067
的共轭。因为fS(r,θ)是纯十六元数矩阵,则
Figure BDA0003615952910000068
所以:in,
Figure BDA0003615952910000066
Yes
Figure BDA0003615952910000067
the conjugate. Since f S (r, θ) is a pure hexadecion matrix, then
Figure BDA0003615952910000068
so:

Figure BDA0003615952910000069
Figure BDA0003615952910000069

Figure BDA00036159529100000610
Figure BDA00036159529100000611
重构图像的公式可分别表示为:use
Figure BDA00036159529100000610
and
Figure BDA00036159529100000611
The formulas for reconstructing the image can be expressed as:

Figure BDA00036159529100000612
Figure BDA00036159529100000612

Figure BDA0003615952910000071
Figure BDA0003615952910000071

实施例一Example 1

本实施例公开了基于十六元数矩的多视角彩色图像水印处理方法;The present embodiment discloses a multi-view color image watermark processing method based on hexadecimal moments;

如图1所示,基于十六元数矩的多视角彩色图像水印处理方法,包括:As shown in Figure 1, the multi-view color image watermark processing method based on hexadecimal moments includes:

S1:获取待处理的原始多视角彩色图像和原始水印图像;S1: Obtain the original multi-view color image and the original watermark image to be processed;

假设IS={fS(p,q),1≤p,q≤N}表示原始的多视图彩色图像,并且W={l(i,j),1≤i≤P,1≤j≤Q}表示原始水印图像。Suppose I S ={f S (p,q),1≤p,q≤N} represents the original multi-view color image, and W={l(i,j),1≤i≤P,1≤j≤ Q} represents the original watermarked image.

S2:对原始多视角彩色图像进行处理,得到精确的十六元数矩矩值;S2: Process the original multi-view color image to obtain an accurate hexadecimal moment value;

得到精确的十六元数矩矩值的方法为:The method to get the exact hexadecimal moment value is:

计算原始多视角彩色图像的十六元数矩矩值;Calculate the hexadecimal moment value of the original multi-view color image;

剔除位于边缘四角处的十六元数矩矩值,得到精确的十六元数矩矩值。Eliminate the hexadecimal moment values located at the four corners of the edge to obtain accurate hexadecimal moment values.

S2-1:SRHFMs计算S2-1: SRHFMs Calculation

计算原始多视图彩色图像IS的最大矩阶为Nmax的SRHFMs,获得(Nmax+1)(2Nmax+1)个矩值。Calculate the SRHFMs whose maximum moment order of the original multi-view color image IS is N max , and obtain (N max +1)(2N max +1) moment values.

S2-2:精确SRHFMs选择S2-2: Precise SRHFMs Selection

为了增强该方案的鲁棒性,为水印嵌入选择精确的SRHFMs。对于图像正交矩,在理论上具有旋转不变性,而重复度m=4i,i∈Z的SRHFMs与理论值不一致,容易导致误差,所以剔除m=4i,i∈Z的SRHFMs,得到的精确SRHFMs集合是S1={SPnm,m≠4i,i∈Z}。To enhance the robustness of the scheme, precise SRHFMs are chosen for watermark embedding. For the image orthogonal moment, it has rotational invariance in theory, and the SRHFMs with the repetition degree m=4i, i∈Z are inconsistent with the theoretical value, which is easy to cause errors. Therefore, the SRHFMs with m=4i, i∈Z are excluded, and the accurate The set of SRHFMs is S 1 ={SP nm ,m≠4i,i∈Z}.

S3:将原始水印图像嵌入十六元数矩矩值中,重构得到含水印十六元数矩图像;S3: Embed the original watermark image into the hexadecimal moment value, and reconstruct the watermarked hexadecimal moment image;

使用密钥K1从集合S1中随机选择P×Q个SRHFMs构建幅值序列,然后使用量化方法将水印图像嵌入幅值序列A=(A1,A2,…,AP×Q),量化方法如下:Use the key K 1 to randomly select P×Q SRHFMs from the set S 1 to construct the magnitude sequence, and then use the quantization method to embed the watermark image into the magnitude sequence A=(A 1 ,A 2 ,...,A P×Q ), The quantification method is as follows:

Figure BDA0003615952910000072
Figure BDA0003615952910000072

其中,k=1,2,…,P×Q,λk=round(A′k/Δ),Ak和A′k为所选SRHFMs的初始幅值和嵌入水印后的幅值,mod(x,y)为余数函数,round(x)为舍入函数,Δ为量化步长,w(k)为一维水印信息。Among them, k =1,2,...,P×Q,λk=round( A′k /Δ), Ak and A′k are the initial amplitude of the selected SRHFMs and the amplitude after embedding the watermark, mod( x, y) is the remainder function, round(x) is the rounding function, Δ is the quantization step size, and w(k) is the one-dimensional watermark information.

水印嵌入SRHFMs后,需要围绕重复m=0的对称位置修改SRHFMs,使得嵌入水印的SRHFMs矩值的实部仍然关于m=0对称。After the watermark is embedded in the SRHFMs, it is necessary to modify the SRHFMs around the symmetric position where m=0 is repeated, so that the real part of the moment value of the SRHFMs embedded in the watermark is still symmetrical about m=0.

S4:对原始多视角彩色图像、十六元数矩矩值和含水印十六元数矩图像进行差值合并处理,得到含水印多视角彩色图像;S4: performing difference merging processing on the original multi-view color image, the hexadecimal moment value and the watermarked hexadecimal moment image to obtain a watermarked multi-view color image;

所述差值合并处理,是对原始多视角彩色图像IS与精确SRHFMs重构的图像

Figure BDA0003615952910000081
作差,得到差值图像,将差值图像和含水印SRHFMs重构的图像
Figure BDA0003615952910000082
进行合并,得到含水印多视角彩色图像
Figure BDA0003615952910000083
计算过程可表示为:The difference merging process is an image reconstructed from the original multi-view color image IS and the accurate SRHFMs
Figure BDA0003615952910000081
Make a difference to get a difference image, and the image reconstructed from the difference image and the watermarked SRHFMs
Figure BDA0003615952910000082
Merge to get watermarked multi-view color image
Figure BDA0003615952910000083
The calculation process can be expressed as:

Figure BDA0003615952910000084
Figure BDA0003615952910000084

当多视图彩色图像受到攻击时,从带水印的多视图彩色图像中提取水印图像确定版权归属,具体提取过程:When the multi-view color image is attacked, the watermark image is extracted from the watermarked multi-view color image to determine the copyright attribution. The specific extraction process is as follows:

(1)图像预处理(1) Image preprocessing

由于矩计算只能应用于正方形图像,如果多视角彩色图像IS*的每个视角都是大小为M×N的矩形图像,则需要进行预处理,将图像转换为统一大小为(M+N)/2×(M+N)/2的方形多视角彩色图像。Since moment calculation can only be applied to square images, if each view angle of the multi-view color image IS* is a rectangular image of size M×N, preprocessing is required to convert the image into a uniform size of (M+N )/2×(M+N)/2 square multi-view color image.

(2)SRHFMs计算(2) Calculation of SRHFMs

计算水印多视角彩色图像IS*的最大矩阶为Nmax的SRHFMs,得到(Nmax+1)(2Nmax+1)个矩值。Calculate the SRHFMs of which the maximum moment order of the watermarked multi-view color image IS * is N max , and obtain (N max +1)(2N max +1) moment values.

(3)水印图像提取(3) Watermark Image Extraction

精确SRHFMs的集合是

Figure BDA0003615952910000085
使用密钥K1从集合
Figure BDA0003615952910000086
中随机选择P×Q个SRHFMs构建幅值序列,然后从幅值序列中提取水印信息
Figure BDA0003615952910000087
提取方法如下:The set of precise SRHFMs is
Figure BDA0003615952910000085
Use key K1 from the collection
Figure BDA0003615952910000086
Randomly select P×Q SRHFMs to construct the amplitude sequence, and then extract the watermark information from the amplitude sequence
Figure BDA0003615952910000087
The extraction method is as follows:

Figure BDA0003615952910000088
Figure BDA0003615952910000088

其中,

Figure BDA0003615952910000089
floor(x)是向下取整函数。W*={w*(k),0≤k≤P×Q}为提取的水印信息。in,
Figure BDA0003615952910000089
floor(x) is the round down function. W * ={w * (k), 0≤k≤P×Q} is the extracted watermark information.

将W*转换成P×Q大小的二维图像W′,即提取出的水印图像。Convert W * into a two-dimensional image W′ of size P×Q, that is, the extracted watermark image.

(4)水印图像验证(4) Watermark image verification

正码率(bit correct ratio,BCR)用于衡量水印图像W′与原始水印图像W的一致性,验证图像的版权所有。BCR的计算公式为The bit correct ratio (BCR) is used to measure the consistency of the watermarked image W' with the original watermarked image W, and to verify the copyright of the image. The formula for calculating BCR is

Figure BDA0003615952910000091
Figure BDA0003615952910000091

其中C表示与W′和W相同的像素数,P×Q是水印图像的大小。BCR的值在0到1之间,BCR的值越大,W′与W的相似度越高,算法得鲁棒性越好。where C represents the same number of pixels as W′ and W, and P×Q is the size of the watermarked image. The value of BCR is between 0 and 1. The larger the value of BCR, the higher the similarity between W' and W, and the better the robustness of the algorithm.

实施例二Embodiment 2

本实施例公开了基于十六元数矩的多视角彩色图像水印处理系统;This embodiment discloses a multi-view color image watermark processing system based on hexadecimal moments;

如图2所示,基于十六元数矩的多视角彩色图像水印处理系统,包括数据获取模块、十六元数矩处理模块、水印嵌入模块和差值合并模块;As shown in Figure 2, the multi-view color image watermark processing system based on hexadecimal moments includes a data acquisition module, a hexadecimal moment processing module, a watermark embedding module and a difference merging module;

数据获取模块,被配置为:获取待处理的多视角彩色图像和水印图像;a data acquisition module, configured to: acquire multi-view color images and watermark images to be processed;

十六元数矩处理模块,被配置为:对多视角彩色图像进行处理,得到精确的十六元数矩矩值;The hexadecimal moment processing module is configured to: process the multi-view color image to obtain an accurate hexadecimal moment value;

水印嵌入模块,被配置为:将水印图像嵌入十六元数矩矩值中,重构得到含水印十六元数矩图像;The watermark embedding module is configured to: embed the watermark image in the hexadecimal moment value, and reconstruct the watermark hexadecimal moment image;

差值合并模块,被配置为:对多视角彩色图像、十六元数矩矩值和含水印十六元数矩图像进行差值合并处理,得到含水印多视角彩色图像。The difference merging module is configured to: perform difference merging processing on the multi-view color image, the hexadecimal moment value and the watermarked hexadecimal moment image to obtain a watermarked multi-view color image.

实施例三Embodiment 3

本实施例的目的是提供计算机可读存储介质。The purpose of this embodiment is to provide a computer-readable storage medium.

计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开实施例1所述的基于十六元数矩的多视角彩色图像水印处理方法中的步骤。A computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps in the method for processing multi-view color image watermarking based on hexadecimal moments as described in Embodiment 1 of the present disclosure.

实施例四Embodiment 4

本实施例的目的是提供电子设备。The purpose of this embodiment is to provide an electronic device.

电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的程序,所述处理器执行所述程序时实现如本公开实施例1所述的基于十六元数矩的多视角彩色图像水印处理方法中的步骤。An electronic device, including a memory, a processor, and a program stored in the memory and running on the processor, when the processor executes the program, the multiplication based on hexadecimal moments as described in Embodiment 1 of the present disclosure is implemented. Steps in a method for watermarking a perspective color image.

以上实施例二、三和四的装置中涉及的各步骤与方法实施例一相对应,具体实施方式可参见实施例一的相关说明部分。术语“计算机可读存储介质”应该理解为包括一个或多个指令集的单个介质或多个介质;还应当被理解为包括任何介质,所述任何介质能够存储、编码或承载用于由处理器执行的指令集并使处理器执行本发明中的任一方法。The steps involved in the apparatuses of the second, third, and fourth embodiments above correspond to the method embodiment 1, and the specific implementation can refer to the relevant description part of the embodiment 1. The term "computer-readable storage medium" should be understood to include a single medium or multiple media including one or more sets of instructions; it should also be understood to include any medium capable of storing, encoding or carrying for use by a processor The executed instruction set causes the processor to perform any of the methods of the present invention.

本领域技术人员应该明白,上述本发明的各模块或各步骤可以用通用的计算机装置来实现,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。本发明不限制于任何特定的硬件和软件的结合。Those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by the computing device, so that they can be stored in a storage device. The device is executed by a computing device, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps in them are fabricated into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.

上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。Although the specific embodiments of the present invention have been described above in conjunction with the accompanying drawings, they do not limit the scope of protection of the present invention. Those skilled in the art should understand that on the basis of the technical solutions of the present invention, those skilled in the art do not need to pay creative work. Various modifications or deformations that can be made are still within the protection scope of the present invention.

Claims (10)

1.基于十六元数矩的多视角彩色图像水印处理方法,其特征在于,包括以下步骤:1. a multi-view color image watermarking method based on hexadecimal moments, is characterized in that, comprises the following steps: 获取待处理的原始多视角彩色图像和原始水印图像;Obtain the original multi-view color image and the original watermark image to be processed; 对原始多视角彩色图像进行处理,得到精确的十六元数矩矩值;Process the original multi-view color image to obtain the precise hexadecimal moment value; 将原始水印图像嵌入十六元数矩矩值中,重构得到含水印十六元数矩图像;Embed the original watermark image into the hexadecimal moment value, and reconstruct the watermarked hexadecimal moment image; 对原始多视角彩色图像、十六元数矩矩值和含水印十六元数矩图像进行差值合并处理,得到含水印多视角彩色图像。The original multi-perspective color image, the hexadecimal moment value and the watermarked hexadecimal moment image are combined with the difference value to obtain the watermarked multi-perspective color image. 2.如权利要求1所述的基于十六元数矩的多视角彩色图像水印处理方法,其特征在于,得到精确的十六元数矩矩值的方法为:2. the multi-view color image watermarking method based on hexadecimal moment as claimed in claim 1, is characterized in that, the method that obtains accurate hexadecimal moment value is: 计算原始多视角彩色图像的十六元数矩矩值;Calculate the hexadecimal moment value of the original multi-view color image; 剔除不精确的十六元数矩矩值,得到精确的十六元数矩矩值。Eliminate inaccurate hexadecimal moment values to obtain accurate hexadecimal moment values. 3.如权利要求1所述的基于十六元数矩的多视角彩色图像水印处理方法,其特征在于,使用密钥从精确的十六元数矩矩值中随机选择十六元数矩矩值构建幅值序列,使用量化方法将水印图像嵌入幅值序列。3. The multi-view color image watermarking method based on hexadecimal moments as claimed in claim 1, characterized in that, using a key to randomly select hexadecimal moments from precise hexadecimal moment values value to construct a sequence of magnitudes, and the watermark image is embedded in the sequence of magnitudes using a quantization method. 4.如权利要求1所述的基于十六元数矩的多视角彩色图像水印处理方法,其特征在于,所述差值合并处理,是对原始多视角彩色图像与十六元数矩矩值作差,得到差值图像,将差值图像和含水印十六元数矩图像进行合并,得到含水印多视角彩色图像。4. The multi-view color image watermarking method based on hexadecimal moments as claimed in claim 1, characterized in that, the difference merging process is to combine the original multi-view color image and the hexadecimal moment values. Make a difference to obtain a difference image, and combine the difference image and the watermarked hexadecimal moment image to obtain a watermarked multi-view color image. 5.如权利要求1所述的基于十六元数矩的多视角彩色图像水印处理方法,其特征在于,所述十六元数矩采用基于十六元数理论和圆谐-傅里叶矩所构造的十六元数矩。5. The multi-view color image watermarking method based on hexadecimal moments as claimed in claim 1, characterized in that, the hexadecimal moments are based on hexadecimal theory and circular harmonic-Fourier moments The constructed hexadecimal moment. 6.如权利要求1所述的基于十六元数矩的多视角彩色图像水印处理方法,其特征在于,还包括:从含水印多视角彩色图像中提取水印图像,具体提取过程为:6. The multi-view color image watermark processing method based on hexadecimal moments as claimed in claim 1, is characterized in that, also comprises: extracting watermark image from watermark multi-view color image, concrete extraction process is: 将含水印多视角彩色图像预处理成方形多视角彩色图像;Preprocessing the watermarked multi-perspective color image into a square multi-perspective color image; 计算多视角彩色图像的十六元数矩矩值;Calculate the hexadecimal moment value of the multi-view color image; 从十六元数矩矩值构建的幅值序列中提取水印图像。Extract the watermarked image from a sequence of magnitudes constructed from hexadecimal moment-of-moment values. 7.如权利要求6所述的基于十六元数矩的多视角彩色图像水印处理方法,其特征在于,利用正码率衡量原始水印图像和提取的水印图像的相似度,验证图像的版权归属。7. the multi-view color image watermarking method based on hexadecimal moment as claimed in claim 6, it is characterized in that, utilize positive code rate to measure the similarity of original watermark image and the watermark image of extraction, verify the copyright attribution of image . 8.基于十六元数矩的多视角彩色图像水印处理系统,其特征在于:包括数据获取模块、十六元数矩处理模块、水印嵌入模块和差值合并模块;8. The multi-view color image watermarking processing system based on hexadecimal moments, is characterized in that: comprising a data acquisition module, a hexadecimal moment processing module, a watermark embedding module and a difference merging module; 数据获取模块,被配置为:获取待处理的多视角彩色图像和水印图像;a data acquisition module, configured to: acquire multi-view color images and watermark images to be processed; 十六元数矩处理模块,被配置为:对多视角彩色图像进行处理,得到精确的十六元数矩矩值;The hexadecimal moment processing module is configured to: process the multi-view color image to obtain an accurate hexadecimal moment value; 水印嵌入模块,被配置为:将水印图像嵌入十六元数矩矩值中,重构得到含水印十六元数矩图像;The watermark embedding module is configured to: embed the watermark image in the hexadecimal moment value, and reconstruct the watermark hexadecimal moment image; 差值合并模块,被配置为:对多视角彩色图像、十六元数矩矩值和含水印十六元数矩图像进行差值合并处理,得到含水印多视角彩色图像。The difference merging module is configured to: perform difference merging on the multi-view color image, the hexadecimal moment value and the watermarked hexadecimal moment image to obtain a watermarked multi-view color image. 9.计算机可读存储介质,其上存储有程序,其特征在于,该程序被处理器执行时实现如权利要求1-7任一项所述的基于十六元数矩的多视角彩色图像水印处理方法中的步骤。9. A computer-readable storage medium having a program stored thereon, characterized in that, when the program is executed by a processor, the multi-view color image watermarking based on hexadecimal moments as claimed in any one of claims 1-7 is realized steps in the processing method. 10.电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的程序,其特征在于,所述处理器执行所述程序时实现如权利要求1-7任一项所述的基于十六元数矩的多视角彩色图像水印处理方法中的步骤。10. An electronic device, comprising a memory, a processor and a program stored on the memory and running on the processor, wherein the processor implements the program described in any one of claims 1-7 when the processor executes the program The steps in a multi-view color image watermarking method based on hexadecimal moments.
CN202210444441.5A 2022-04-26 2022-04-26 Multi-view color image watermark processing method and system based on hexadecimal moments Pending CN114742690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210444441.5A CN114742690A (en) 2022-04-26 2022-04-26 Multi-view color image watermark processing method and system based on hexadecimal moments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210444441.5A CN114742690A (en) 2022-04-26 2022-04-26 Multi-view color image watermark processing method and system based on hexadecimal moments

Publications (1)

Publication Number Publication Date
CN114742690A true CN114742690A (en) 2022-07-12

Family

ID=82284228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210444441.5A Pending CN114742690A (en) 2022-04-26 2022-04-26 Multi-view color image watermark processing method and system based on hexadecimal moments

Country Status (1)

Country Link
CN (1) CN114742690A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116485623A (en) * 2023-06-21 2023-07-25 齐鲁工业大学(山东省科学院) Multi-spectral image grayscale feature watermarking method based on fast and accurate moments of sixteen-nion

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180232844A1 (en) * 2017-02-13 2018-08-16 Macau University Of Science And Technology Methods and Apparatus for Color Image Watermarking
CN113409184A (en) * 2021-04-21 2021-09-17 齐鲁工业大学 Color image description method based on sixteen-element polar harmonic-Fourier moment
CN113592698A (en) * 2021-08-16 2021-11-02 齐鲁工业大学 Multi-view color image zero-watermark processing method and system based on sixteen-element moment
CN113610696A (en) * 2021-08-16 2021-11-05 齐鲁工业大学 Light field image watermarking method and system based on thirty-two element moments

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180232844A1 (en) * 2017-02-13 2018-08-16 Macau University Of Science And Technology Methods and Apparatus for Color Image Watermarking
CN113409184A (en) * 2021-04-21 2021-09-17 齐鲁工业大学 Color image description method based on sixteen-element polar harmonic-Fourier moment
CN113592698A (en) * 2021-08-16 2021-11-02 齐鲁工业大学 Multi-view color image zero-watermark processing method and system based on sixteen-element moment
CN113610696A (en) * 2021-08-16 2021-11-05 齐鲁工业大学 Light field image watermarking method and system based on thirty-two element moments

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王春鹏: "数字图像水印若干关键技术研究", 中国博士学位论文全文数据库 信息科技辑, vol. 2018, no. 07, 15 July 2018 (2018-07-15), pages 138 - 14 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116485623A (en) * 2023-06-21 2023-07-25 齐鲁工业大学(山东省科学院) Multi-spectral image grayscale feature watermarking method based on fast and accurate moments of sixteen-nion
CN116485623B (en) * 2023-06-21 2023-09-01 齐鲁工业大学(山东省科学院) Multi-spectral image grayscale feature watermarking method based on fast and accurate moments of sixteen-nion

Similar Documents

Publication Publication Date Title
Li et al. Geometrically invariant image watermarking using polar harmonic transforms
CN113592698A (en) Multi-view color image zero-watermark processing method and system based on sixteen-element moment
CN115082280B (en) Light field image zero-watermark method and system based on multi-dimensional hypercomplex continuous orthogonal moments
CN103761701A (en) Color image watermarking method based on quaternion index matrix
CN1838172A (en) Method and apparatus for inlaying watermark in digital image and digital camera capable of adding watermark
Gao et al. A robust and secure image watermarking scheme using SURF and improved artificial bee colony algorithm in DWT domain
CN114757811B (en) Geometric attack resistant light field image multiple reversible robust watermarking processing method and system
CN116485623B (en) Multi-spectral image grayscale feature watermarking method based on fast and accurate moments of sixteen-nion
CN106780287A (en) Based on vectorial geographical line number according to tissue signature lossless water mark method
Shen et al. A self-embedding fragile image authentication based on singular value decomposition
CN114742690A (en) Multi-view color image watermark processing method and system based on hexadecimal moments
Hosny et al. Reversible color image watermarking using fractional-order polar harmonic transforms and a chaotic sine map
Zhang et al. Sedenion polar harmonic Fourier moments and their application in multi-view color image watermarking
CN113610696A (en) Light field image watermarking method and system based on thirty-two element moments
Wang et al. Multi-dimensional hypercomplex continuous orthogonal moments for light-field images
CN101887574A (en) A Robust Fingerprint Embedding and Extraction Method Against Geometric Attacks
Elbasi Enhancing the robustness of watermarked medical images using heuristic search algorithm
Kukreja et al. Extended visual cryptography-based copyright protection scheme for multiple images and owners using LBP–SURF descriptors
Zhang et al. A reversible image watermarking algorithm for tamper detection based on SIFT
CN106157233B (en) A kind of good digital water mark method decomposed based on matrix Schur
Zhang et al. Multiple-image encryption based on light-field imaging and gravity model
CN112288617A (en) Mosaic-based information hiding and recovery method, device and medium
Xing et al. A color image watermarking scheme resistant against geometrical attacks
CN116193042A (en) A Robust Reversible Information Hiding Method and System Based on Ultraharmonic Fourier Moments
Hsu et al. A visual cryptography and statistics based method for ownership identification of digital images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 250353 University Road, Changqing District, Ji'nan, Shandong Province, No. 3501

Applicant after: Qilu University of Technology (Shandong Academy of Sciences)

Address before: 250353 University Road, Changqing District, Ji'nan, Shandong Province, No. 3501

Applicant before: Qilu University of Technology

Country or region before: China