[go: up one dir, main page]

CN106228503B - The digital watermark embedding and extracting method of satellite remote-sensing image SHP dot files - Google Patents

The digital watermark embedding and extracting method of satellite remote-sensing image SHP dot files Download PDF

Info

Publication number
CN106228503B
CN106228503B CN201610557405.4A CN201610557405A CN106228503B CN 106228503 B CN106228503 B CN 106228503B CN 201610557405 A CN201610557405 A CN 201610557405A CN 106228503 B CN106228503 B CN 106228503B
Authority
CN
China
Prior art keywords
image
watermark
sequence
coordinate
coordinates
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.)
Active
Application number
CN201610557405.4A
Other languages
Chinese (zh)
Other versions
CN106228503A (en
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.)
North China Institute of Aerospace Engineering
Original Assignee
North China Institute of Aerospace Engineering
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 North China Institute of Aerospace Engineering filed Critical North China Institute of Aerospace Engineering
Priority to CN201610557405.4A priority Critical patent/CN106228503B/en
Publication of CN106228503A publication Critical patent/CN106228503A/en
Application granted granted Critical
Publication of CN106228503B publication Critical patent/CN106228503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image 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

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a kind of digital watermark embeddings and extracting method of satellite remote-sensing image SHP dot files, belong to field of information security technology, this method can be while the satellite remote-sensing image to SHP forms carries out product quality supervision, ensures product information safety, retrospect related responsibility, storage redundancy is reduced, and then more watermark information is stored in a small amount of space.

Description

卫星遥感影像SHP点文件的数字水印嵌入和提取方法Digital Watermark Embedding and Extraction Method of Satellite Remote Sensing Image SHP Point File

技术领域technical field

本发明涉及信息安全技术领域,具体涉及一种卫星遥感影像SHP点文件的数字水印嵌入和提取方法。The invention relates to the technical field of information security, in particular to a method for embedding and extracting digital watermarks of SHP point files of satellite remote sensing images.

背景技术Background technique

卫星遥感影像是国家重要的基础性、战略性信息资源,是科学规划、环境保护、资源开发、工程建设、军事作战等工作的重要依据,是信息化建设和可持续发展的基础性工具和重要保障。保障卫星遥感影像的数据信息安全是工程技术人员面临的重要问题。Satellite remote sensing imagery is an important basic and strategic information resource of the country, an important basis for scientific planning, environmental protection, resource development, engineering construction, military operations, etc., and a basic tool and important tool for informatization construction and sustainable development. Assure. Ensuring the data information security of satellite remote sensing images is an important issue faced by engineers and technicians.

信息安全加密技术是保护数字产品最常用的方法,该技术的发展比较成熟,在信息社会的各个领域中得到了广泛的应用。利用加密技术将文件进行加密,使文件内容变为密文,这样一来即使文件被非法拦截也无法获取其内容,以此达到保护的目的。然而,加密技术本身存在一些难以克服的缺点,加密后的数据更容易引起攻击者的注意,随着计算机的飞速发展使得密码破译能力越来越强,常规密码的安全性受到了极大的威胁。更严重的是,一旦密码被攻击者破译,数字产品将失去保护,很容易出现盗版侵权、非法访问、恶意篡改等行为。Information security encryption technology is the most commonly used method to protect digital products. The development of this technology is relatively mature and it has been widely used in various fields of the information society. Encryption technology is used to encrypt the file, so that the content of the file becomes ciphertext, so that even if the file is illegally intercepted, its content cannot be obtained, so as to achieve the purpose of protection. However, encryption technology itself has some insurmountable shortcomings. The encrypted data is more likely to attract the attention of attackers. With the rapid development of computers, the ability to decipher passwords is getting stronger and stronger, and the security of conventional passwords is greatly threatened. . What's more serious is that once the password is deciphered by the attacker, the digital product will lose its protection, and it is easy to have piracy, illegal access, malicious tampering and other behaviors.

数字水印技术弥补了传统加密技术的不足,逐渐发展起来。一个完整的数字水印方案一般包括三部分:水印生成、水印嵌入、水印提取或检测。具体来说,数字水印技术实际上是通过对载体媒质分析、水印预处理、水印嵌入位置选择、水印嵌入方式设计、水印提取方式设计等关键环节进行合理优化,在优先满足基本需求的前提下,寻求解决不可感知性、安全可靠性、稳健性主要约束条件下的准最优化设计问题。数字水印嵌入的基本过程如图1所示,其输入的内容包括原始水印信息、原始载体数据和一个可选的密钥,输出的结果是含有水印的数据。水印生成算法应保证水印的唯一性、有效性、不可逆性等属性。密钥可用来加强安全性,以避免未授权的水印恢复或水印提取。由下式可以定义水印嵌入的一般过程:Digital watermarking technology makes up for the deficiency of traditional encryption technology and develops gradually. A complete digital watermarking scheme generally includes three parts: watermark generation, watermark embedding, watermark extraction or detection. Specifically, digital watermarking technology actually optimizes the key links such as carrier medium analysis, watermark preprocessing, watermark embedding position selection, watermark embedding method design, watermark extraction method design, etc., on the premise of first meeting the basic needs. Seek to solve quasi-optimal design problems under the main constraints of imperceptibility, safety reliability, and robustness. The basic process of digital watermark embedding is shown in Figure 1, the input content includes the original watermark information , raw carrier data and an optional key , the output result is the data containing the watermark . Watermark Generation Algorithm The uniqueness, validity, irreversibility and other attributes of the watermark should be guaranteed. key Can be used to enhance security to avoid unauthorized watermark recovery or watermark extraction. The general process of watermark embedding can be defined by the following formula:

其中,表示嵌入水印后的数据(即含水印的数据);为水印嵌入算法;表示原始载体数据;表示原始水印信息;表示密钥集合。这里密钥是可选项,一般用于水印信号的提取。in, Indicates the data after embedding the watermark (that is, the data containing the watermark); Embedding algorithm for watermark; represents raw carrier data; Indicates the original watermark information; Represents a collection of keys. here key It is optional and is generally used for watermark signal extraction.

图2是数字水印提取的一般过程,其过程可以需要原始载体图像或原始水印的参与,也可以不需要这些信息,不同情况下的水印提取过程可以描述如下。Figure 2 shows the general process of digital watermark extraction. The process may or may not require the participation of the original carrier image or original watermark. The watermark extraction process in different situations can be described as follows.

需要原始载体数据时:Raw carrier data required Time:

需要原始水印时:original watermark required Time:

没有原始信息时:When there is no original information:

其中,表示所提取的水印;为水印提取算法;表示含有水印的数据。in, represents the extracted watermark; Algorithm for watermark extraction; Represents data that contains a watermark.

利用上述数字水印技术在对卫星遥感影像SHP点文件进行加密时,需要将整张图片都当做水印信息,而对水印图片的处理主要局限于将其生成0、1二值序列,这样做浪费了傅里叶变换时所产生的复数数组的虚部,同时也增加了水印信息的额外开销,增加了水印信息的空间占用量。When using the above-mentioned digital watermarking technology to encrypt SHP point files of satellite remote sensing images, the entire image needs to be regarded as watermark information, and the processing of watermark images is mainly limited to generating binary sequences of 0 and 1, which is a waste of time. The imaginary part of the complex array generated during the Fourier transform also increases the additional overhead of the watermark information and increases the space occupation of the watermark information.

发明内容Contents of the invention

本发明的目的是提供一种卫星遥感影像SHP点文件的数字水印嵌入和提取方法,该方法能够在对SHP格式的卫星遥感影像进行产品质量监督、保障产品信息安全、追溯相关责任的同时,减少存储冗余信息,进而在少量空间中存放较多的水印信息。The purpose of the present invention is to provide a digital watermark embedding and extraction method for SHP point files of satellite remote sensing images. Store redundant information, and then store more watermark information in a small amount of space.

为了达到上述目的,本发明所采取的技术解决方案如下。In order to achieve the above object, the technical solutions adopted by the present invention are as follows.

卫星遥感影像SHP点文件的数字水印嵌入过程,包括如下步骤:The digital watermark embedding process of satellite remote sensing image SHP point file includes the following steps:

步骤 1 对作为水印图片的bmp文件进行置乱处理,置乱过程是把原图像的每个像素点的横纵坐标乘以一个矩阵,得到新的坐标,再用新的坐标除以图像的长和宽取余数,得到每一个像素点的新坐标。Step 1. Scrambling the bmp file as a watermark image. The scrambling process is to multiply the horizontal and vertical coordinates of each pixel of the original image by a matrix to obtain new coordinates, and then divide the new coordinates by the length of the image Take the remainder of the sum and width to get the new coordinates of each pixel.

其中分别为原图像横纵坐标,分别为乘以矩阵后的横纵坐标,分别为置乱处理后新得到的横纵坐标,为bmp图像的长和宽,单位为像素;in are the horizontal and vertical coordinates of the original image, Respectively, the horizontal and vertical coordinates after multiplying the matrix, are the newly obtained horizontal and vertical coordinates after scrambling, is the length and width of the bmp image, in pixels;

步骤2:将变换后的二值bmp图像,变换为矢量图像,变换方式为找出图中所有像素值为0(即黑色)的点,依次记录这些点的坐标Step 2: Transform the converted binary bmp image into a vector image by finding all points with pixel values of 0 (that is, black) in the image, and recording the coordinates of these points in turn ;

步骤3:对坐标进行缩小处理,将坐标乘以一个固定系数(除以水印图像长和宽的像素数),让所有值都小于1;Step 3: Align the coordinates to shrink the coordinates Multiply by a fixed coefficient (divided by the number of pixels in the length and width of the watermark image), so that all values are less than 1;

其中,32为本文设定的水印图像长和宽的像素值,M为置乱处理后bmp图像黑色像素点的个数,为缩放处理后所有黑色点的坐标序列;Among them, 32 is the pixel value of the length and width of the watermark image set in this paper, M is the number of black pixels in the bmp image after scrambling, is the coordinate sequence of all black points after scaling;

步骤4:把原始点文件数据序列的横坐标作为复数的实部,纵坐标作为复数的虚部,生成复数数组,进行傅里叶变换,得到傅里叶变换后的系数Step 4: Take the abscissa of the original point file data sequence as the real part of the complex number, and the ordinate as the imaginary part of the complex number, generate an array of complex numbers, perform Fourier transform, and obtain the coefficients after Fourier transform

其中,为原始点文件数据序列,为傅里叶变换后的数据序列,N为点文件中点实体的总数,分别为点实体的横纵坐标,为傅里叶变换后的系数;in, is the original point file data sequence, is the data sequence after Fourier transform, N is the total number of point entities in the point file, Respectively, the horizontal and vertical coordinates of the point entity, is the coefficient after Fourier transform;

步骤5:将预处理得到的黑色点的坐标序列记做,做傅里叶变换,得到变换后序列;Step 5: The coordinate sequence of the black point obtained by preprocessing remember to do , do Fourier transform to get the transformed sequence;

其中,作为复数序列的实部,作为复数序列的虚部,为傅里叶变换后得到的序列;in, As the real part of the sequence of complex numbers, As the imaginary part of a sequence of complex numbers, is the sequence obtained after Fourier transform;

步骤6:将傅里叶变换后得到的点文件数据序列和黑色点的坐标序列求和,得到嵌入水印的序列,并对该序列作离散傅里叶逆变换,得到嵌入水印后的点文件坐标序列;Step 6: Sum the dot file data sequence obtained after Fourier transform and the coordinate sequence of black dots to obtain the embedded watermark sequence, and perform discrete Fourier inverse transform on the sequence to obtain the dot file coordinates after embedding the watermark sequence;

其中,为求和后序列,为作离散傅里叶逆变换后得到的嵌入水印序列, 即为嵌入水印后的点的横纵坐标,完成水印嵌入。in, For the post-summation sequence, is the embedded watermark sequence obtained after inverse discrete Fourier transform, That is, the horizontal and vertical coordinates of the point after the watermark is embedded, and the watermark embedding is completed.

卫星遥感影像SHP点文件的数字水印提取过程,包括如下步骤:The digital watermark extraction process of the satellite remote sensing image SHP point file includes the following steps:

步骤1:对原始图像,嵌入过水印的图像,分别作快速傅里叶变换,Step 1: To the original image , embedded watermarked image , respectively for fast Fourier transform,

其中,表示原矢量图像,为原矢量图像坐标,表示变换后图像,为变换后图像坐标,表示嵌入水印后图像,为嵌入过水印的图像坐标,表示变换后含水印图像,为变换后嵌入过水印的图像坐标,N和M分别为原始图像和含水印图像中点实体的个数;in, represents the original vector image, is the original vector image coordinates, represents the transformed image, is the transformed image coordinates, Indicates the image after embedding the watermark, is the image coordinates embedded with the watermark, Indicates the converted watermarked image, is the transformed image coordinates embedded with watermark, N and M are the number of point entities in the original image and the watermarked image respectively;

步骤2:计算上一步两个傅里叶变换后的序列的差值,用含水印图像傅里叶变换后得到的复数数组,与原始图像傅里叶变换后的复数数组相减,得到的差即为水印信息的傅里叶变换后的数组,取N、M中较小的数作为相减的个数,再进行快速傅里叶逆变换,得出水印的矢量信息,Step 2: Calculate the difference between the two Fourier-transformed sequences in the previous step, use the complex number array obtained after the Fourier transform of the watermarked image, and subtract it from the complex number array after the Fourier transform of the original image, and obtain the difference It is the array after the Fourier transform of the watermark information, take the smaller number of N and M as the number of subtraction, and then perform the inverse fast Fourier transform to obtain the vector information of the watermark,

,

其中,为相减后得到的数组,为其坐标值,为相减的个数,为水印的矢量信息,为其坐标值;in, is the array obtained after subtraction, is its coordinate value, is the number of subtractions, is the vector information of the watermark, its coordinate value;

步骤3:把得到的乘以水印图片预处理时的系数(水印图片的长和宽的像素数,即32),点坐标的小数位取整,按照矢量信息中储存的坐标的点为黑色,其余的坐标点为白色的规则,构造出bmp二值图像;Step 3: put the obtained Multiply by the coefficient of the watermark image preprocessing (the number of pixels of the length and width of the watermark image, that is, 32), the decimal places of the point coordinates are rounded, the points according to the coordinates stored in the vector information are black, and the rest of the coordinate points are white The rules to construct a bmp binary image;

步骤4:将步骤3中构造出的bmp二值图像再经过置乱处理,得到的图像即为水印图像,水印提取结束。Step 4: Scrambling the bmp binary image constructed in step 3, the obtained image is the watermark image, and the watermark extraction is completed.

本发明将水印图片作为逻辑意义上的矢量图,复数数组分别存放的是像素为黑色的点的x、y坐标,所存放的信息量不变,而占用的空间却大大减少,可以在少量空间中存放较多的水印信息。In the present invention, the watermark picture is regarded as a vector diagram in a logical sense, and the plural arrays respectively store the x and y coordinates of the points whose pixels are black, and the amount of stored information remains unchanged, but the occupied space is greatly reduced, and can be stored in a small amount of space. Store more watermark information in .

由于进行傅里叶变换的水印信息中存放的是坐标序列,所以x、y的坐标值可能会比较大,从而对原矢量图像的精度产生一些影响。本发明是用坐标序列除以水印图片的长和宽的像素数,从而得到的坐标序列均为小于1的序列,如此就不会对原图像的使用价值造成较大的影响。Since the watermark information that undergoes Fourier transform is stored in a coordinate sequence, the coordinate values of x and y may be relatively large, which will have some impact on the accuracy of the original vector image. In the present invention, the coordinate sequence is divided by the length and width pixels of the watermark picture, so that the obtained coordinate sequence is a sequence less than 1, so that the use value of the original image will not be greatly affected.

附图说明Description of drawings

图1 数字水印嵌入的基本过程。Figure 1 Basic process of digital watermark embedding.

图2 数字水印提取的一般过程。Figure 2 The general process of digital watermark extraction.

图3 SHP文件水印嵌入具体过程。Figure 3 SHP file watermark embedding specific process.

图4 SHP文件水印提取具体过程。Figure 4 SHP file watermark extraction specific process.

具体实施方式Detailed ways

下面结合附图对本发明的技术方案进行详细说明:The technical scheme of the present invention is described in detail below in conjunction with accompanying drawing:

一种卫星遥感影像SHP点文件的数字水印具体嵌入过程如图3所示,文字描述如下:The specific embedding process of a digital watermark in a satellite remote sensing image SHP point file is shown in Figure 3, and the text description is as follows:

步骤1:嵌入水印之前,首先要对作为水印图片的bmp文件进行Arnold置乱(又称猫脸变换),置乱过程是把原图像的每个像素点的横纵坐标乘以一个矩阵,得到新的坐标,再用新的坐标除以图像的长和宽取余数,得到每一个像素点的新坐标,Step 1: Before embedding the watermark, first perform Arnold scrambling (also known as cat face transformation) on the bmp file as the watermark image. The scrambling process is to multiply the horizontal and vertical coordinates of each pixel of the original image by a matrix to obtain The new coordinates, and then divide the new coordinates by the length and width of the image to get the remainder to get the new coordinates of each pixel,

其中分别为原图像横纵坐标,分别为乘以矩阵后的横纵坐标,分别为置乱处理后新得到的横纵坐标,为bmp图像的长和宽,单位为像素,本发明均取31;置乱的次数times可以作为密钥,在后面水印提取的过程中将会用到;in are the horizontal and vertical coordinates of the original image, Respectively, the horizontal and vertical coordinates after multiplying the matrix, are the newly obtained horizontal and vertical coordinates after scrambling, Be the length and the width of the bmp image, the unit is pixel, and the present invention all takes 31; the number of times of scrambling can be used as a key, and will be used in the process of watermark extraction in the back;

步骤2:将变换后的二值bmp图像变换为矢量图像,变换方式为找出图中所有像素值为0(即黑色)的点,依次记录这些点的坐标Step 2: Transform the transformed binary bmp image into a vector image by finding all points with pixel values of 0 (that is, black) in the image, and recording the coordinates of these points in turn ;

步骤3:为了减小嵌入水印对原始图像的影响,将坐标乘以一个固定系数,本发明为水印图像长和宽的像素数的倒数,本发明取,让所有值都小于1从而减小对图像信息的影像;Step 3: In order to reduce the impact of the embedded watermark on the original image, the coordinates Multiplied by a fixed coefficient, the present invention is the reciprocal of the number of pixels of the length and width of the watermark image, and the present invention takes , let all values be less than 1 to reduce the image information of the image;

其中,32为本文设定的水印图像长和宽的像素值,M为置乱处理后bmp图像黑色像素点的个数,为所有黑色点的坐标序列;Among them, 32 is the pixel value of the length and width of the watermark image set in this paper, M is the number of black pixels in the bmp image after scrambling, is the coordinate sequence of all black points;

步骤4:把原始点文件数据序列的横坐标作为复数的实部,纵坐标作为复数的虚部,进行傅里叶变换,得到傅里叶变换后的系数Step 4: Take the abscissa of the original point file data sequence as the real part of the complex number, and the ordinate as the imaginary part of the complex number, perform Fourier transform to obtain the coefficient after Fourier transform

其中,为原始点文件数据序列,为傅里叶变换后的数据序列,N为点文件中点实体的总数,分别为点实体的横纵坐标,为傅里叶变换后的系数;in, is the original point file data sequence, is the data sequence after Fourier transform, N is the total number of point entities in the point file, Respectively, the horizontal and vertical coordinates of the point entity, is the coefficient after Fourier transform;

步骤5:将预处理得到的黑色点的坐标序列记做,做傅里叶变换。Step 5: The coordinate sequence of the black point obtained by preprocessing remember to do , do the Fourier transform.

其中,作为复数序列的实部,作为复数序列的虚部,为傅里叶变换后得到的序列。in, As the real part of the sequence of complex numbers, As the imaginary part of a sequence of complex numbers, is the sequence obtained after Fourier transform.

步骤6:将傅里叶变换后得到的点文件数据序列和黑色点的坐标序列使用加性准则求和,得到嵌入水印的序列,并对该序列作离散傅里叶逆变换,得到嵌入水印后的点文件坐标序列;Step 6: Sum the dot file data sequence obtained after Fourier transform and the coordinate sequence of the black point using the additive criterion to obtain the embedded watermark sequence, and perform discrete Fourier inverse transform on the sequence to obtain the embedded watermark The coordinate sequence of the point file;

其中,为求和后序列,为作离散傅里叶逆变换后得到的嵌入水印序列, 即为嵌入水印后的点的横纵坐标,水印嵌入结束。in, For the post-summation sequence, is the embedded watermark sequence obtained after inverse discrete Fourier transform, That is, the horizontal and vertical coordinates of the point after the watermark is embedded, and the watermark embedding ends.

一种卫星遥感影像SHP点文件的数字水印提取过程如图4所示,文字描述如下:The digital watermark extraction process of a satellite remote sensing image SHP point file is shown in Figure 4, and the text description is as follows:

步骤1:对原始图像和含水印的图像分别做快速傅里叶变换;Step 1: To the original image and the watermarked image Do fast Fourier transform respectively;

其中,表示原始图像,为原始图像坐标,表示变换后图像,为变换后图像坐标,表示嵌入水印后图像,为嵌入过水印的图像坐标,表示变换后含水印图像,为变换后嵌入过水印的图像坐标,N和M分别为原始图像和含水印图像中点实体的个数;in, represents the original image, is the original image coordinates, represents the transformed image, is the transformed image coordinates, Indicates the image after embedding the watermark, is the image coordinates embedded with the watermark, Indicates the converted watermarked image, is the transformed image coordinates embedded with watermark, N and M are the number of point entities in the original image and the watermarked image respectively;

步骤2:用含水印图像傅里叶变换后得到的复数数组,与原始图像傅里叶变换后的复数数组相减,得到的差即为水印信息的傅里叶变换后的数组,取N、M中较小的数作为相减的个数。再进行快速傅里叶逆变换,得出水印的矢量信息Step 2: Subtract the complex number array obtained after Fourier transform of the watermarked image from the complex number array after Fourier transform of the original image, and the obtained difference is the array after Fourier transform of the watermark information, taking N, The smaller number in M is used as the subtraction number. Then perform inverse fast Fourier transform to obtain the vector information of the watermark

其中,为相减后得到的数组,为其坐标值,为相减的个数,为水印的矢量信息,为其坐标值。in, is the array obtained after subtraction, is its coordinate value, is the number of subtractions, is the vector information of the watermark, as its coordinate value.

步骤3:把步骤2中得到的矢量信息乘以水印图片预处理时的系数,点坐标的小数位取整,按照矢量信息中储存的坐标的点为黑色,其余的坐标点为白色的规则,构造出bmp二值图像;Step 3: Multiply the vector information obtained in step 2 by the coefficient of watermark image preprocessing, and round the decimal places of the point coordinates. According to the rule that the points of the coordinates stored in the vector information are black, and the rest of the coordinate points are white, Construct a bmp binary image;

步骤4:将步骤3中构造出的bmp二值图像再经过置乱处理,得到的图像即为水印图像,水印提取结束。本发明所用的置乱处理(猫脸变换)是是周期性变换,也就是说经过一定的变换次数,最终可以变换回原始的图像,本发明用到的水印图片为32*32像素,变换周期为24,将步骤3中构造出的bmp二值图像再经过次的置乱处理,得到的图像即为水印图像,水印提取结束。Step 4: Scrambling the bmp binary image constructed in step 3, the obtained image is the watermark image, and the watermark extraction is completed. The scrambling process (cat face transformation) used in the present invention is a periodic transformation, that is to say, after a certain number of transformations, it can finally be transformed back to the original image. The watermark image used in the present invention is 32*32 pixels, and the transformation period is 24, the bmp binary image constructed in step 3 is passed through times of scrambling, the obtained image is the watermark image, and the watermark extraction is completed.

Claims (2)

1. A digital watermark embedding method for a satellite remote sensing image SHP point file is characterized by comprising the following steps:
step 1, scrambling the bmp file serving as the watermark picture, wherein the scrambling process is to multiply the horizontal and vertical coordinates of each pixel point of the original image by a matrix to obtain new coordinates, divide the new coordinates by the length and width of the image to obtain the remainder to obtain the new coordinates of each pixel point,
the description shows that D \ electronic application \ cases \ inventions \ dec74a24-241f-4bd8-82bc-9da336c61753\ others \ f1de61a5-9112-4D8f-9D45-3bf2fd5c7D1b \100001\405819dest _ path _ image002.jpg
WhereinRespectively are the horizontal and vertical coordinates of the original image,respectively the horizontal and vertical coordinates after being multiplied by the matrix,respectively are a horizontal coordinate and a vertical coordinate which are newly obtained after scrambling processing,is the length and width of the bmp image, in pixels;
step 2: converting the converted binary bmp image into a vector image by finding out points with all pixel values of 0, namely black in the image and sequentially recording the coordinates of the points
And step 3: to coordinatePerforming reduction processing to obtain coordinatesMultiplying by a fixed coefficient, namely dividing by the number of pixels of the length and the width of the watermark image, and enabling all values to be smaller than 1;
wherein 32 is water as defined hereinPrinting the pixel values of the length and the width of the image, wherein M is the number of black pixel points of the bmp image after scrambling,the coordinate sequences of all the black points after the zooming processing are obtained;
and 4, step 4: the abscissa of the original point file data sequence is used as the real part of the complex number, the ordinate is used as the imaginary part of the complex number, a complex number array is generated, Fourier transformation is carried out, and the coefficient after Fourier transformation is obtained
Wherein,in the form of an original point file data sequence,is a data sequence after Fourier transform, N is the total number of point entities in the point file,respectively are the horizontal and vertical coordinates of the point entity,the coefficients are Fourier transformed;
and 5: coordinate sequence of black points obtained by preprocessingRecord asPerforming Fourier transform to obtain a transformed sequence;
wherein,as the real part of the complex sequence,as the imaginary part of the sequence of complex numbers,is a sequence obtained after Fourier transform;
step 6: summing the point file data sequence obtained after Fourier transformation and the coordinate sequence of the black point to obtain a watermark embedding sequence, and performing inverse discrete Fourier transformation on the sequence to obtain a point file coordinate sequence embedded with the watermark;
wherein,in order to sum up the sequences of the sequence,for the embedded watermark sequence obtained after the inverse discrete fourier transform,namely the horizontal and vertical coordinates of the point after embedding the watermark, and finishing the watermark embedding.
2. The method for extracting the digital watermark from the SHP point file of the satellite remote sensing image as claimed in claim 1, comprising the following steps:
step 1: for the original imageEmbedding watermarked imagesThe fast Fourier transform is respectively carried out,
wherein,which represents the original vector-based image,is the coordinates of the original vector image,representing the image after the transformation, and,in order to transform the coordinates of the image after transformation,representing the image after the embedding of the watermark,for the image coordinates in which the watermark has been embedded,representing the transformed watermarked image,the transformed image coordinate embedded with the watermark, N and M are the number of point entities in the original image and the watermark-containing image respectively;
step 2: calculating the difference value of the two sequences after Fourier transform in the last step, subtracting the complex number array obtained after Fourier transform of the watermark-containing image from the complex number array obtained after Fourier transform of the original image to obtain the difference, namely the array obtained after Fourier transform of the watermark information, taking the smaller number in N, M as the subtracted number, then performing inverse fast Fourier transform to obtain the vector information of the watermark,
wherein,is the array resulting from the subtraction,as a result of the coordinate values thereof,in order to be the number of the subtraction,is the vector information of the watermark and is,is the coordinate value thereof;
and step 3: obtained byMultiplying by a coefficient during the preprocessing of the watermark picture, namely the number of pixels 32 of the length and the width of the watermark picture, rounding the decimal place of the point coordinate, and constructing a bmp binary image according to the rule that the points of the coordinate stored in the vector information are black and the rest coordinate points are white;
and 4, step 4: and (4) scrambling the bmp binary image constructed in the step (3) to obtain an image which is a watermark image, and finishing watermark extraction.
CN201610557405.4A 2016-07-15 2016-07-15 The digital watermark embedding and extracting method of satellite remote-sensing image SHP dot files Active CN106228503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610557405.4A CN106228503B (en) 2016-07-15 2016-07-15 The digital watermark embedding and extracting method of satellite remote-sensing image SHP dot files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610557405.4A CN106228503B (en) 2016-07-15 2016-07-15 The digital watermark embedding and extracting method of satellite remote-sensing image SHP dot files

Publications (2)

Publication Number Publication Date
CN106228503A CN106228503A (en) 2016-12-14
CN106228503B true CN106228503B (en) 2018-05-18

Family

ID=57519826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610557405.4A Active CN106228503B (en) 2016-07-15 2016-07-15 The digital watermark embedding and extracting method of satellite remote-sensing image SHP dot files

Country Status (1)

Country Link
CN (1) CN106228503B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106952214B (en) * 2017-03-24 2018-02-06 北华航天工业学院 Towards the digital watermark embedding and extracting method of remote sensing images SHP faces file
CN108763880B (en) * 2018-06-06 2022-02-11 广西英腾教育科技股份有限公司 Method and device for generating and detecting file watermark
CN110059719B (en) * 2019-03-18 2022-08-09 西北工业大学 Walsh transform-based target identification method for image moment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366336A (en) * 2013-07-12 2013-10-23 陕西理工学院 Image watermarking method based on human eye contrast ratio sensitivity visual characteristics
JP5728106B1 (en) * 2014-03-24 2015-06-03 三菱電機インフォメーションシステムズ株式会社 Digital watermark embedding device, digital watermark embedding program, digital watermark detection device, and digital watermark detection program
CN104680472B (en) * 2014-08-02 2017-09-29 兰州交通大学 The multiple blind watermark method of Vector spatial data that spatial domain and frequency domain are combined

Also Published As

Publication number Publication date
CN106228503A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
Zainol et al. A new chaotic image watermarking scheme based on SVD and IWT
Singh et al. Effective self-embedding watermarking scheme for image tampered detection and localization with recovery capability
Rawat et al. A chaotic system based fragile watermarking scheme for image tamper detection
Parah et al. Realisation and robustness evaluation of a blind spatial domain watermarking technique
CN106228502B (en) The digital watermark embedding and extracting method of satellite remote-sensing image tiff file
Peng et al. Reversible watermarking for 2D CAD engineering graphics based on improved histogram shifting
Liu et al. Robust blind image watermarking based on chaotic mixtures
Bhatt et al. Image steganography and visible watermarking using LSB extraction technique
Anish et al. Intelligence system security based on 3-d image
Jana et al. A new DCT based robust image watermarking scheme using cellular automata
CN110211020B (en) Image watermark embedding and extraction method based on SWT-DFT
Duan et al. A novel comprehensive watermarking scheme for color images
Pal et al. Robust watermarking scheme for tamper detection and authentication exploiting CA
CN116451258A (en) Text traceability system based on digital watermark
CN106228503B (en) The digital watermark embedding and extracting method of satellite remote-sensing image SHP dot files
Singh et al. An efficient self-embedding fragile watermarking scheme for image authentication with two chances for recovery capability
CN111242825B (en) A zero-watermark method for ENC electronic nautical charts based on bathymetric features
Ni et al. Pinpoint authentication watermarking based on a chaotic system
Agrawal et al. An improved reversible data hiding technique based on histogram bin shifting
Su Color image watermarking: algorithms and technologies
Panigrahi et al. An effective steganographic technique for hiding the image data using the LSB technique
Fei et al. A reversible watermark scheme for 2D vector map based on reversible contrast mapping
CN118229499A (en) A multi-mode quantum watermarking method, device, equipment and storage medium
CN114862646B (en) A watermark embedding and extraction method and system for vector tile anti-splicing
Tsai et al. An efficient image watermarking method based on fast discrete cosine transform algorithm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant