[go: up one dir, main page]

CN103533371B - A kind of based on image conversion and the data compression transmission method of image watermark - Google Patents

A kind of based on image conversion and the data compression transmission method of image watermark Download PDF

Info

Publication number
CN103533371B
CN103533371B CN201310468305.0A CN201310468305A CN103533371B CN 103533371 B CN103533371 B CN 103533371B CN 201310468305 A CN201310468305 A CN 201310468305A CN 103533371 B CN103533371 B CN 103533371B
Authority
CN
China
Prior art keywords
image
sub
transformation
function
watermark
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
CN201310468305.0A
Other languages
Chinese (zh)
Other versions
CN103533371A (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.)
China Academy of Space Technology CAST
Original Assignee
China Academy of Space Technology CAST
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 China Academy of Space Technology CAST filed Critical China Academy of Space Technology CAST
Priority to CN201310468305.0A priority Critical patent/CN103533371B/en
Publication of CN103533371A publication Critical patent/CN103533371A/en
Application granted granted Critical
Publication of CN103533371B publication Critical patent/CN103533371B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

本发明公开了一种基于图像变换和图像水印的数据压缩传输方法,通过对图像先进行分解,设定指标门限,符合指标的子图像不变换;达不到指标的子图像进行函数变换,灰度变得更为平坦,将两种子图像合并形成完整图像,在其中嵌入水印及函数类型,将含水印图像进行数据压缩传输。接收端通过解压缩从含水印图像提取水印,恢复原来变换子图像,再经过反变换得到原始图像。本发明保证图像在给定压缩比情况下恢复图像的质量符合规定要求,明显优于直接进行数据压缩的结果。同时本发明在不影响图像压缩恢复质量、不增加传输数据量的情况下,将图像的水印信息嵌入到图像中传输,提高了图像传输的效率,为图像的应用提供了便利。

The invention discloses a data compression transmission method based on image transformation and image watermark. By first decomposing the image and setting the index threshold, sub-images meeting the index are not transformed; The degree becomes flatter, the two sub-images are merged to form a complete image, watermark and function type are embedded in it, and the image with watermark is compressed and transmitted. The receiving end extracts the watermark from the watermarked image through decompression, restores the original transformed sub-image, and then obtains the original image through inverse transformation. The invention guarantees that the quality of the restored image under the given compression ratio meets the specified requirements, and is obviously better than the result of direct data compression. At the same time, the present invention embeds the watermark information of the image into the image for transmission without affecting the quality of image compression and recovery and without increasing the amount of transmitted data, thereby improving the efficiency of image transmission and providing convenience for image application.

Description

一种基于图像变换和图像水印的数据压缩传输方法A Data Compression Transmission Method Based on Image Transformation and Image Watermark

技术领域 technical field

本发明涉及一种基于图像变换和图像水印的数据压缩方法,属于图像处理技术领域。 The invention relates to a data compression method based on image transformation and image watermark, belonging to the technical field of image processing.

背景技术 Background technique

数据传输和图像处理是目前通信领域的重要研究课题。随着科技的发展,人们对高分辨率图像的需求越来越大,数据压缩势在必行。 Data transmission and image processing are important research topics in the field of communication at present. With the development of science and technology, people's demand for high-resolution images is increasing, and data compression is imperative.

数据压缩分为有损压缩与无损压缩方法,有损压缩方法压缩比比较大,但压缩后恢复图像与原图像存在一定的信息损失,只要主客观评价指标符合要求,在实际中对应用没有多大影响。无损压缩方法压缩后恢复图像与原图像不存在信息损失,但压缩比特别小,一般2倍左右,使用场合受限,不便于进行数据传输。一般高速数据传输系统采用的压缩方法大都是有损压缩方法,压缩比一般为4倍左右,对图像来说,一般峰值信噪比(PSNR)35dB以上,40dB以上效果就比较理想。 Data compression is divided into lossy compression and lossless compression methods. The lossy compression method has a relatively large compression ratio, but there is a certain amount of information loss between the restored image and the original image after compression. As long as the subjective and objective evaluation indicators meet the requirements, it does not have much application in practice. influences. There is no loss of information between the restored image and the original image after compression by the lossless compression method, but the compression ratio is very small, generally about 2 times, and the application occasions are limited, which is not convenient for data transmission. Most of the compression methods used in high-speed data transmission systems are lossy compression methods, and the compression ratio is generally about 4 times. For images, the general peak signal-to-noise ratio (PSNR) is more than 35dB, and the effect is more ideal if it is more than 40dB.

目前图像数据压缩方法有许多,代表性的有JPEG以及JPEG2000。由于压缩标准算法功能比较多,算法与图像本身特性有关,现有的图像压缩方法对一些例如航空、航天遥感等图像来说压缩效果并不理想。在实用中只能通过降低压缩比来得到满意的图像质量。现有方法并没区别图像内容,对所有图像采用相同的压缩方法,对纹理复杂、像素连续性差的图像压缩效果非常不理想。因此,现在急需研究一种图像数据压缩方法进一步提高图像数据传输的图像压缩恢复质量。 There are many image data compression methods at present, the representative ones are JPEG and JPEG2000. Since the compression standard algorithm has many functions, and the algorithm is related to the characteristics of the image itself, the existing image compression methods are not ideal for some images such as aviation and space remote sensing. In practice, satisfactory image quality can only be obtained by reducing the compression ratio. The existing method does not distinguish the image content, and uses the same compression method for all images, and the compression effect for images with complex textures and poor pixel continuity is very unsatisfactory. Therefore, there is an urgent need to study an image data compression method to further improve the image compression recovery quality of image data transmission.

发明内容 Contents of the invention

本发明的技术解决问题是:克服现有技术的不足,提供了一种基于图像变换和图像水印的数据压缩方法,提高了图像数据传输的图像压缩恢复的质 量,同时在不影响图像压缩恢复质量、不增加传输数据量的情况下,通过图像水印方法提高了图像传输的效率,为图像的应用提供了便利。 The problem solved by the technology of the present invention is: to overcome the deficiencies of the prior art, to provide a data compression method based on image transformation and image watermark, which improves the quality of image compression and restoration of image data transmission, and at the same time does not affect the quality of image compression and restoration 1. Without increasing the amount of transmitted data, the efficiency of image transmission is improved through the image watermark method, which provides convenience for the application of images.

本发明的技术解决方案是: Technical solution of the present invention is:

一种基于图像变换的数据压缩传输方法,包括步骤如下: A data compression transmission method based on image transformation, comprising the following steps:

(1)将原始载体图像分解为多幅原始载体子图像,所述多幅原始载体子图像为原始图像不重叠的分块,保持图像总数据量不变; (1) Decomposing the original carrier image into multiple original carrier sub-images, the multiple original carrier sub-images are non-overlapping blocks of the original image, keeping the total image data volume unchanged;

(2)确定客观指标门限,对步骤(1)中的原始载体子图像按给定压缩比压缩,计算解压恢复后的子图像与压缩前的子图像的客观指标,小于客观指标门限的子图像进行函数变换,得到新的子图像进入步骤(3);高于客观指标门限的原始载体子图像直接进入步骤(4); (2) Determine the objective index threshold, compress the original carrier sub-image in step (1) according to a given compression ratio, calculate the objective index of the decompressed and restored sub-image and the sub-image before compression, and sub-images smaller than the objective index threshold Perform function transformation to obtain a new sub-image and enter step (3); the original carrier sub-image higher than the objective index threshold directly enters step (4);

(3)对步骤(2)中得到的新的子图像进行与步骤(2)中同样压缩比的压缩,将解压恢复的子图像进行步骤(2)中函数变换的逆变换,计算逆变换后的子图像与原始载体子图像的客观指标,若客观指标高于步骤(2)中函数变换前的客观指标,则利用步骤(2)中得到新的子图像代替原始载体子图像进行压缩传输,并进入步骤(4);若客观指标低于或等于步骤(2)中函数变换前的客观指标,则仍利用步骤(2)中小于客观指标门限的原始载体子图像压缩传输进入步骤(4) (3) Compress the new sub-image obtained in step (2) with the same compression ratio as in step (2), perform the inverse transformation of the function transformation in step (2) on the decompressed sub-image, and calculate the inverse transformation The objective index of the sub-image and the original carrier sub-image, if the objective index is higher than the objective index before the function transformation in step (2), use the new sub-image obtained in step (2) to replace the original carrier sub-image for compressed transmission, And enter step (4); if the objective index is lower than or equal to the objective index before the function transformation in step (2), still use the original carrier sub-image compression transmission that is less than the objective index threshold in step (2) to enter step (4)

(4)对步骤(2)得到的高于客观指标门限和部分小于客观指标门限的原始载体子图像与步骤(3)中得到的函数变换后的新的子图像进行合成,采用图像水印方法在其中嵌入水印以及步骤(2)中所述的函数变换的变换参数形成含水印图像; (4) Synthesize the original carrier sub-image obtained in step (2) which is higher than the threshold of the objective index and part of which is smaller than the threshold of the objective index with the new sub-image after the function transformation obtained in step (3), and use the image watermarking method in wherein the watermark is embedded and the transformation parameters of the function transformation described in step (2) form a watermarked image;

(5)将含水印图像进行压缩传输; (5) Compress and transmit the watermarked image;

(6)接收端接收步骤(5)中压缩的数据并解压缩获得含水印图像数据,在含水印图像数据中提取出水印以及函数变换参数,得到原始载体子图像和函数变换后的新子图像,并对该函数变换后的新子图像进行函数反变换,得到函数变换前的子图像; (6) The receiving end receives the data compressed in step (5) and decompresses it to obtain the watermarked image data, extracts the watermark and function transformation parameters from the watermarked image data, and obtains the original carrier subimage and the new subimage after function transformation , and perform function inverse transformation on the new sub-image transformed by the function to obtain the sub-image before the function transformation;

(7)对步骤(6)中函数变换前的子图像和原始载体子图像进行合成,得到原始载体图像。 (7) Synthesize the sub-image before function transformation in step (6) and the original carrier sub-image to obtain the original carrier image.

所述步骤(2)中对小于指标门限的子图像进行函数变换的具体形式为下面三种函数任意一种: In the step (2), the specific form of performing function transformation on sub-images smaller than the index threshold is any one of the following three functions:

a)Y=Y1*LOG10(1+X),0≤Y≤Ymax; a) Y=Y1*LOG10 (1+X), 0≤Y≤Ymax;

b)Y=Y2*Sqrt(X^p),0≤Y≤Ymax; b) Y=Y2*Sqrt(X^p), 0≤Y≤Ymax;

c)Y=Y3/[1+exp(-X)],0≤Y≤Ymax。 c) Y=Y3/[1+exp(-X)], 0≤Y≤Ymax.

其中X表示原始图像的像素值,Y表示经过函数变换后的图像的像素值,Ymax为经过变换后的像素值Y允许的最大值,通过参数Y1、Y2、Y3、p来调整变换后的Y值的取值范围,其中Y1、Y2、Y3、p均为大于0的实数。 Where X represents the pixel value of the original image, Y represents the pixel value of the image transformed by the function, Ymax is the maximum value allowed by the transformed pixel value Y, and the transformed Y is adjusted by parameters Y1, Y2, Y3, p The range of values, where Y1, Y2, Y3, and p are all real numbers greater than 0.

所述步骤(2)中客观指标门限根据兼容性指标进行设置,当客观指标门限设置为0时,则本方法采用原始子图像直接进行压缩,当指标门限设置为无穷大时,则本方法完全采用函数变换进行压缩。 In the step (2), the objective index threshold is set according to the compatibility index. When the objective index threshold is set to 0, the method uses the original sub-image to directly compress. When the index threshold is set to infinity, the method completely adopts function transformation for compression.

所述步骤(6)中进行函数反变换为步骤(3)中所用函数的反函数。 In the step (6), the function is inversely transformed into an inverse function of the function used in the step (3).

所述步骤(2)中的客观指标指的是PSNR。 The objective index in the step (2) refers to PSNR.

所述步骤(4)中的图像水印指的是图像的版权信息、图像压缩参数、拍摄时间和拍摄地点等数据;所述步骤(4)中的图像水印方法是指水印嵌入图像后经过图像压缩、解压缩还能正确提取水印、并能正确恢复图像的数字水印方法或者信息隐藏方法。 The image watermark in the step (4) refers to data such as copyright information of the image, image compression parameters, shooting time, and shooting location; the image watermark method in the step (4) refers to image compression after the watermark is embedded in the image. , Decompression can also correctly extract the watermark, and can correctly restore the digital watermark method or information hiding method of the image.

本发明与现有技术相比的有益效果是: The beneficial effect of the present invention compared with prior art is:

(1)本发明通过指标门限的设置,对指标不满足的子图像进行选择性变换后进行压缩传输,保证了图像压缩后恢复的图像的质量。 (1) Through the setting of the index threshold, the present invention selectively transforms sub-images that do not satisfy the index and then compresses and transmits them, thereby ensuring the quality of the restored image after image compression.

(2)本发明首先对原始载体图像进行分解,选部分子图像进行函数变换,避免了对大图像进行数据处理的复杂度;同时通过图像分解选择部分子图象进行水印嵌入,节省了隐藏容量,只有部分子图像嵌入了信息,所以保证了图像的质量。 (2) The present invention first decomposes the original carrier image, selects some sub-images for function transformation, avoids the complexity of data processing for large images; at the same time selects some sub-images for watermark embedding through image decomposition, saving hidden capacity , only some of the sub-images are embedded with information, so the quality of the image is guaranteed.

(3)本发明利用了原始子图像的函数变换改变了子图像特性,在一幅图像中,纹理复杂、图像像素变化范围大的区域往往导致图像难以压缩,本发明将这些区域进行函数变换,将像素值变换到更易压缩的空间,在相同压缩比下可以获得更好的恢复质量,避免了原来方法图像恢复质量不好的局限。 (3) The present invention uses the function transformation of the original sub-image to change the characteristics of the sub-image. In an image, areas with complex textures and a large range of image pixel changes often make it difficult to compress the image. The present invention performs function transformation on these areas, By transforming the pixel values into a more compressible space, better restoration quality can be obtained under the same compression ratio, which avoids the limitation of poor image restoration quality of the original method.

(4)本发明可以采用不同的函数进行灰度变换,且把函数计算公式参数通过鲁棒信息隐藏方法嵌入子图像中,经过数据压缩后信息不丢失,从而保证了数据压缩质量,同时本发明进行函数变换时适用多个函数,通用性较强,具有非常好的兼容性。 (4) The present invention can use different functions for grayscale transformation, and embed the parameters of the function calculation formula into the sub-image through a robust information hiding method, so that the information will not be lost after data compression, thereby ensuring the quality of data compression. At the same time, the present invention When performing function transformation, multiple functions are applicable, which has strong versatility and very good compatibility.

(5)本发明在传递过程中无法直接得到完整的图像,增强了子图像的数据传输的隐蔽性,提高了数据传输的安全性。 (5) The present invention cannot directly obtain a complete image during the transmission process, which enhances the concealment of data transmission of sub-images and improves the security of data transmission.

(6)本发明在同样的压缩比下具有更高的恢复图像质量,或者在恢复图像质量一定条件下,具有更大的压缩比。同时该方法具有化整为零、单个子图像处理量小、复杂度低、实现资源占用少,压缩效果好等实用的特点,从而在航天器工程中更具有实用价值。 (6) The present invention has higher restored image quality under the same compression ratio, or has a larger compression ratio under certain conditions of restored image quality. At the same time, the method has the practical characteristics of breaking into parts, small amount of single sub-image processing, low complexity, less resource occupation, and good compression effect, so it has more practical value in spacecraft engineering.

(7)本发明可以通过设置指标门限工作于不同的状态,可以根据输入原始图像的特点选择指标门限,对于整个图像平滑的情况设置指标门限为0,对于整幅图像纹理复杂、像素变化剧烈的情况将指标门限设为一个较大的值,使整幅图像各个子图像均处于“未达标”状态,对于图像既存在平滑内容又存在像素变化剧烈内容的,可以设一个适当的指标门限数值,以取得更好的图像恢复质量。 (7) The present invention can work in different states by setting the index threshold. The index threshold can be selected according to the characteristics of the input original image. For the case where the entire image is smooth, the index threshold is set to 0. For the entire image with complex texture and drastic pixel changes In some cases, the index threshold is set to a relatively large value, so that each sub-image of the entire image is in a "substandard" state. For an image with both smooth content and violent pixel changes, an appropriate index threshold value can be set. For better image recovery quality.

(8)本发明在不影响图像压缩恢复质量、不增加传输数据量的情况下,可以将图像的相关信息例如版权信息、图像压缩参数、拍摄时间和拍摄地点等数据嵌入到图像中传输,提高了图像传输的效率,为图像的应用提供了便利。 (8) The present invention can embed relevant image information such as copyright information, image compression parameters, shooting time and shooting location into the image for transmission without affecting the quality of image compression and recovery and without increasing the amount of transmitted data. It improves the efficiency of image transmission and facilitates the application of images.

附图说明 Description of drawings

图1为本发明流程图。 Fig. 1 is the flow chart of the present invention.

具体实施方式 detailed description

下面结合附图对本发明的具体实施方式进行进一步的详细描述。 Specific embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

本发明利用图像分解、设置指标门限、图像水印等技术,对PSNR不达标的子图像进行函数变换,并把水印和变换函数嵌入到变换后图像中进行传输。接收端可以从图像中正确提取水印及变换函数,进行反变换恢复原始图像数据。在不影响图像压缩恢复质量、不增加图像数据量的情况下,提供了一种压缩性能更为优越的图像压缩方法,明显提高了现有数据压缩方法的压缩效果。利用本发明的方法还对原始图像形成了保护,使得别人只能直接得到部分子图像,无法直接得到完整的图像,增强了一些子图像的数据传输的隐蔽性,提高了数据传输的安全性。 The invention utilizes technologies such as image decomposition, index threshold setting, and image watermarking to perform function transformation on sub-images whose PSNR does not meet the standard, and embeds watermarks and transformation functions into transformed images for transmission. The receiving end can correctly extract the watermark and transformation function from the image, and perform inverse transformation to restore the original image data. Without affecting the quality of image compression and recovery and without increasing the amount of image data, an image compression method with superior compression performance is provided, and the compression effect of the existing data compression method is obviously improved. The method of the present invention also protects the original image, so that others can only directly obtain part of the sub-image, and cannot directly obtain the complete image, which enhances the concealment of data transmission of some sub-images and improves the security of data transmission.

如图1所示,本发明步骤如下: As shown in Figure 1, the steps of the present invention are as follows:

(1)将原始载体图像分解为多幅原始载体子图像,所述多幅原始载体子图像为原始图像不重叠的分块,保持图像总数据量不变; (1) Decomposing the original carrier image into multiple original carrier sub-images, the multiple original carrier sub-images are non-overlapping blocks of the original image, keeping the total image data volume unchanged;

(2)确定客观指标门限,对步骤(1)中的原始载体子图像按给定压缩比压缩,计算解压恢复后的子图像与压缩前的子图像的客观指标(客观指标指的是PSNR),小于客观指标门限的子图像进行函数变换,得到新的子图像进入步骤(3);高于客观指标门限的原始载体子图像直接进入步骤(4);客观指标门限根据兼容性指标进行设置,当客观指标门限设置为0时,则本方法采用原始子图像直接进行压缩,当指标门限设置为无穷大时,则本方法完全采用函数变换进行压缩,其余指标门限的情况为本发明的一般工作状态。 (2) Determine the objective index threshold, compress the original carrier sub-image in step (1) according to a given compression ratio, and calculate the objective index of the sub-image after decompression and restoration and the sub-image before compression (the objective index refers to PSNR) , sub-images smaller than the objective index threshold are subjected to function transformation to obtain a new sub-image and enter step (3); original carrier sub-images higher than the objective index threshold directly enter step (4); the objective index threshold is set according to the compatibility index, When the objective index threshold is set to 0, then this method uses the original sub-image to directly compress, when the index threshold is set to infinity, then this method completely uses function transformation to compress, and the situation of the remaining index thresholds is the general working state of the present invention .

(3)对步骤(2)中得到的新的子图像进行与步骤(2)中同样压缩比的压缩,将解压恢复的子图像进行步骤(2)中函数变换的逆变换,计算逆变换后的子图像与原始载体子图像的客观指标,若客观指标高于步骤(2)中函数变换前的客观指标,则利用步骤(2)中得到新的子图像代替原始载体子图像进行压缩传输,并进入步骤(4);若客观指标低于或等于步骤(2)中函数变换前的客观指标,则仍利用步骤(2)中的原始载体子图像压缩传 输进入步骤(4);例如对经过判断步骤(2)中的部分新子图像的客观指标是高于图像变换前的客观指标的,那么就这一部分新子图像代替原始载体图像进行压缩传输,其余的剩余子图像仍选用原始载体子图像进行传输; (3) Compress the new sub-image obtained in step (2) with the same compression ratio as in step (2), perform the inverse transformation of the function transformation in step (2) on the decompressed sub-image, and calculate the inverse transformation The objective index of the sub-image and the original carrier sub-image, if the objective index is higher than the objective index before the function transformation in step (2), use the new sub-image obtained in step (2) to replace the original carrier sub-image for compressed transmission, And enter step (4); if the objective index is lower than or equal to the objective index before the function transformation in step (2), then still use the original carrier sub-image compression transmission in step (2) to enter step (4); for example, after The objective index of part of the new sub-image in the judgment step (2) is higher than the objective index before image transformation, then this part of the new sub-image replaces the original carrier image for compressed transmission, and the rest of the remaining sub-images still use the original carrier image. image transmission;

(4)对步骤(2)得到的高于客观指标门限和部分小于客观指标门限的原始载体子图像(部分小于客观指标门限的原始载体子图像是指步骤(3)中函数变换后客观指标仍然不达标的原始载体子图像,这种情况仍然利用这些函数变换前的原始载体子图像进行压缩传输)与步骤(3)中得到的函数变换后的新的子图像进行合成,采用图像水印方法在其中嵌入水印以及步骤(2)中所述的函数变换的变换参数形成含水印图像; (4) For the original carrier sub-images obtained in step (2) that are higher than the objective index threshold and partially smaller than the objective index threshold (the part of the original carrier sub-image that is smaller than the objective index threshold refers to the objective index that still remains after the function transformation in step (3). The original carrier sub-image that does not meet the standard, in this case, the original carrier sub-image before the function transformation is still used for compression transmission) and the new sub-image after the function transformation obtained in step (3) is synthesized, and the image watermarking method is used in the wherein the watermark is embedded and the transformation parameters of the function transformation described in step (2) form a watermarked image;

(5)将含水印图像进行压缩传输; (5) Compress and transmit the watermarked image;

(6)接收端接收步骤(5)中压缩的数据并解压缩获得含水印图像数据,在含水印图像数据中提取出水印以及函数变换参数,得到原始载体子图像和函数变换后的新子图像,并对该函数变换后的新子图像进行函数反变换,得到函数变换前的子图像; (6) The receiving end receives the data compressed in step (5) and decompresses it to obtain the watermarked image data, extracts the watermark and function transformation parameters from the watermarked image data, and obtains the original carrier subimage and the new subimage after function transformation , and perform function inverse transformation on the new sub-image transformed by the function to obtain the sub-image before the function transformation;

(7)对步骤(6)中函数变换前的子图像和原始载体子图像进行合成,得到原始载体图像。 (7) Synthesize the sub-image before function transformation in step (6) and the original carrier sub-image to obtain the original carrier image.

所述步骤(2)中对小于指标门限的子图像进行函数变换的具体形式为下面三种函数任意一种: In the step (2), the specific form of performing function transformation on sub-images smaller than the index threshold is any one of the following three functions:

a)Y=Y1*LOG10(1+X),0≤Y≤Ymax; a) Y=Y1*LOG10 (1+X), 0≤Y≤Ymax;

b)Y=Y2*Sqrt(X^p),0≤Y≤Ymax; b) Y=Y2*Sqrt(X^p), 0≤Y≤Ymax;

c)Y=Y3/[1+exp(-X)],0≤Y≤Ymax。 c) Y=Y3/[1+exp(-X)], 0≤Y≤Ymax.

其中X表示原始图像的像素值,Y表示经过函数变换后的图像的像素值,Ymax为经过变换后的像素值Y允许的最大值,通过参数Y1、Y2、Y3、p来调整变换后的Y值的取值范围,其中Y1、Y2、Y3、p均为大于0的实数。 Where X represents the pixel value of the original image, Y represents the pixel value of the image transformed by the function, Ymax is the maximum value allowed by the transformed pixel value Y, and the transformed Y is adjusted by parameters Y1, Y2, Y3, p The range of values, where Y1, Y2, Y3, and p are all real numbers greater than 0.

所述步骤(4)中的图像水印指的是图像的版权信息、图像压缩参数、拍摄时间和拍摄地点等数据;所述步骤(4)中的图像水印方法是指水印嵌 入图像后经过图像压缩、解压缩还能正确提取水印、并能正确恢复图像的数字水印方法或者信息隐藏方法。 The image watermark in the step (4) refers to data such as copyright information of the image, image compression parameters, shooting time, and shooting location; the image watermark method in the step (4) refers to image compression after the watermark is embedded in the image. , Decompression can also correctly extract the watermark, and can correctly restore the digital watermark method or information hiding method of the image.

本发明说明书中未作详细描述的内容属于本领域技术人员的公知技术。 The contents not described in detail in the description of the present invention belong to the well-known technology of those skilled in the art.

Claims (6)

1.一种基于图像变换和图像水印的数据压缩传输方法,其特征在于步骤如下: 1. A data compression transmission method based on image transformation and image watermarking, characterized in that the steps are as follows: (1)将原始载体图像分解为多幅原始载体子图像,所述多幅原始载体子图像为原始图像不重叠的分块,保持图像总数据量不变; (1) Decomposing the original carrier image into multiple original carrier sub-images, the multiple original carrier sub-images are non-overlapping sub-blocks of the original image, keeping the total image data volume constant; (2)确定客观指标门限,对步骤(1)中的原始载体子图像按给定压缩比压缩,计算解压恢复后的子图像与压缩前的子图像的客观指标,小于客观指标门限的子图像进行函数变换,得到新的子图像进入步骤(3);高于客观指标门限的原始载体子图像直接进入步骤(4); (2) Determine the objective index threshold, compress the original carrier sub-image in step (1) by a given compression ratio, calculate the objective index of the decompressed and restored sub-image and the sub-image before compression, and sub-images smaller than the objective index threshold Perform function transformation to obtain a new sub-image and enter step (3); the original carrier sub-image higher than the objective index threshold directly enters step (4); (3)对步骤(2)中得到的新的子图像进行与步骤(2)中同样压缩比的压缩,将解压恢复的子图像进行步骤(2)中函数变换的逆变换,计算逆变换后的子图像与原始载体子图像的客观指标,若客观指标高于步骤(2)中函数变换前的客观指标,则利用步骤(2)中得到新的子图像代替原始载体子图像进行压缩传输,并进入步骤(4);若客观指标低于或等于步骤(2)中函数变换前的客观指标,则仍利用步骤(2)中小于客观指标门限的原始载体子图像进行压缩传输,并进入步骤(4); (3) Compress the new sub-image obtained in step (2) with the same compression ratio as in step (2), perform the inverse transformation of the function transformation in step (2) on the decompressed and restored sub-image, and calculate the inverse transformation The objective index of the sub-image and the original carrier sub-image, if the objective index is higher than the objective index before the function transformation in step (2), then use the new sub-image obtained in step (2) to replace the original carrier sub-image for compressed transmission, And enter step (4); if the objective index is lower than or equal to the objective index before the function transformation in step (2), then still use the original carrier sub-image smaller than the objective index threshold in step (2) to carry out compressed transmission, and enter step (4); (4)对步骤(2)得到的高于客观指标门限和步骤(3)中函数变换后客观指标仍然不达标的原始载体子图像与步骤(3)中得到的函数变换后的新的子图像进行合成,采用图像水印方法在其中嵌入水印以及步骤(2)中所述的函数变换的变换参数形成含水印图像; (4) The original carrier sub-image obtained in step (2) is higher than the objective index threshold and the objective index is still not up to standard after the function transformation in step (3), and the new sub-image obtained in step (3) after function transformation Carry out synthesis, adopt the image watermarking method to embed watermark wherein and the transformation parameter of the function transformation described in step (2) form watermarked image; (5)将含水印图像进行压缩传输; (5) Compress and transmit the watermarked image; (6)接收端接收步骤(5)中压缩的数据并解压缩获得含水印图像数据,在含水印图像数据中提取出水印以及函数变换参数,得到原始载体子图像和函数变换后的新子图像,并对该函数变换后的新子图像进行函数反变换,得到函数变换前的子图像; (6) The receiving end receives the data compressed in step (5) and decompresses it to obtain watermarked image data, extracts the watermark and function transformation parameters from the watermarked image data, and obtains the original carrier subimage and the new subimage after function transformation , and perform function inverse transformation on the new sub-image transformed by the function to obtain the sub-image before the function transformation; (7)对步骤(6)中函数变换前的子图像和原始载体子图像进行合成,得到原始载体图像。 (7) Combining the sub-image before function transformation in step (6) and the original carrier sub-image to obtain the original carrier image. 2.根据权利要求1所述的一种基于图像变换和图像水印的数据压缩传输方法,其特征在于:所述步骤(2)中对小于指标门限的子图像进行函数变换的具体形式为下面三种函数任意一种: 2. A kind of data compression transmission method based on image conversion and image watermarking according to claim 1, it is characterized in that: in the described step (2), the specific form that the function conversion is carried out to the sub-image that is less than index threshold is following three Any of these functions: a)Y=Y1*LOG10(1+X),0≤Y≤Ymax; a) Y=Y1*LOG10(1+X), 0≤Y≤Ymax; b)Y=Y2*Sqrt(X^p),0≤Y≤Ymax; b) Y=Y2*Sqrt(X^p), 0≤Y≤Ymax; c)Y=Y3/[1+exp(-X)],0≤Y≤Ymax; c) Y=Y3/[1+exp(-X)], 0≤Y≤Ymax; 其中X表示原始图像的像素值,Y表示经过函数变换后的图像的像素值,Ymax为经过变换后的像素值Y允许的最大值,通过参数Y1、Y2、Y3、p来调整变换后的Y值的取值范围,其中Y1、Y2、Y3、p均为大于0的实数。 Where X represents the pixel value of the original image, Y represents the pixel value of the image transformed by the function, Ymax is the maximum value allowed by the transformed pixel value Y, and the transformed Y is adjusted by parameters Y1, Y2, Y3, p The range of values, where Y1, Y2, Y3, and p are all real numbers greater than 0. 3.根据权利要求1所述的一种基于图像变换和图像水印的数据压缩传输方法,其特征在于:所述步骤(2)中客观指标门限根据兼容性指标进行设置,当客观指标门限设置为0时,则本方法采用原始子图像直接进行压缩,当指标门限设置为无穷大时,则本方法完全采用函数变换进行压缩。 3. a kind of data compression transmission method based on image transformation and image watermark according to claim 1, it is characterized in that: in described step (2), objective index threshold is set according to compatibility index, when objective index threshold is set to 0, this method uses the original sub-image to directly compress, and when the index threshold is set to infinity, this method completely uses function transformation to perform compression. 4.根据权利要求1所述的一种基于图像变换和图像水印的数据压缩传输方法,其特征在于:所述步骤(6)中进行函数反变换为步骤(3)中所用函数的反函数。 4. A data compression transmission method based on image transformation and image watermarking according to claim 1, characterized in that: in the step (6), the inverse function is transformed into the inverse function of the function used in the step (3). 5.根据权利要求1所述的一种基于图像变换和图像水印的数据压缩传输方法,其特征在于:所述步骤(2)中的客观指标指的是PSNR。 5. A data compression transmission method based on image transformation and image watermarking according to claim 1, characterized in that: the objective index in the step (2) refers to PSNR. 6.根据权利要求1所述的一种基于图像变换和图像水印的数据压缩传输方法,其特征在于:所述步骤(4)中的图像水印指的是图像的版权信息、图像压缩参数、拍摄时间和拍摄地点的所有数据;所述步骤(4)中的图像水印方法是指水印嵌入图像后经过图像压缩、解压缩还能正确提取水印、并能正确恢复图像的数字水印方法或者信息隐藏方法。 6. A kind of data compression transmission method based on image transformation and image watermark according to claim 1, it is characterized in that: the image watermark in the described step (4) refers to the copyright information of the image, image compression parameters, shooting All data of the time and shooting location; the image watermarking method in the step (4) refers to a digital watermarking method or an information hiding method that can correctly extract the watermark after the watermark is embedded in the image, decompress the image, and correctly restore the image .
CN201310468305.0A 2013-09-30 2013-09-30 A kind of based on image conversion and the data compression transmission method of image watermark Active CN103533371B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310468305.0A CN103533371B (en) 2013-09-30 2013-09-30 A kind of based on image conversion and the data compression transmission method of image watermark

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310468305.0A CN103533371B (en) 2013-09-30 2013-09-30 A kind of based on image conversion and the data compression transmission method of image watermark

Publications (2)

Publication Number Publication Date
CN103533371A CN103533371A (en) 2014-01-22
CN103533371B true CN103533371B (en) 2016-08-17

Family

ID=49934983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310468305.0A Active CN103533371B (en) 2013-09-30 2013-09-30 A kind of based on image conversion and the data compression transmission method of image watermark

Country Status (1)

Country Link
CN (1) CN103533371B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190806B (en) * 2021-04-25 2024-08-09 北京丁牛科技有限公司 Data processing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5467413A (en) * 1993-05-20 1995-11-14 Radius Inc. Method and apparatus for vector quantization for real-time playback on low cost personal computers
CN101267557A (en) * 2008-04-14 2008-09-17 西安理工大学 A Method of Image Compression Using Composite Vector Quantization
CN101478693A (en) * 2008-12-31 2009-07-08 中国资源卫星应用中心 Method for evaluating star-loaded optical remote sensing image compression quality

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5029560B2 (en) * 2008-10-01 2012-09-19 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus, compression method and decompression method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5467413A (en) * 1993-05-20 1995-11-14 Radius Inc. Method and apparatus for vector quantization for real-time playback on low cost personal computers
CN101267557A (en) * 2008-04-14 2008-09-17 西安理工大学 A Method of Image Compression Using Composite Vector Quantization
CN101478693A (en) * 2008-12-31 2009-07-08 中国资源卫星应用中心 Method for evaluating star-loaded optical remote sensing image compression quality

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
鲁棒图象水印方法的研究;康显桂;《中国博士学位论文全文数据库 信息科技辑》;20070115(第1期);全文 *

Also Published As

Publication number Publication date
CN103533371A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
CN101105857B (en) A High Capacity Reversible Watermarking Method Based on Prediction and Companding
CN105761290B (en) A kind of adaptive multiple dimensioned splits' positions perception method of sampling
CN103426141B (en) A kind of image content authentication method and system
CN102938841B (en) Method for hiding information in bearing image, image quality evaluation method and information transmission method
CN108564519A (en) A kind of Watermarking for Color Images method based on different transform domain
Patil et al. DWT based invisible watermarking technique for digital images
CN104284190A (en) Compressed image steganography encoding method based on AMBTC high-low mean value optimization
CN114626967A (en) A digital watermark embedding and extraction method, device, equipment and storage medium
CN101833745A (en) A Multiple Binary Watermark Embedding and Extraction Detection Method for Digital Image
Mohammad et al. Lossless visible watermarking based on adaptive circular shift operation for BTC-compressed images
CN107018414B (en) A method for losslessly hiding high-quality images in low-quality image compressed data
CN112465687A (en) Image processing method and device
CN103533371B (en) A kind of based on image conversion and the data compression transmission method of image watermark
CN103813171B (en) Method of improving compression ratio of existing data compression method
CN108521535A (en) An Information Hiding Transmission Method Based on Image Mixing Processing
Al-Gindy et al. Watermarking of colour images in the DCT domain using Y channel
CN103780913B (en) A kind of data compression method based on error concealment
Al-Gindy et al. A novel blind Image watermarking technique for colour RGB images in the DCT domain using green channel
CN103996163A (en) Digital watermark embedding and extraction method and device and system
CN107277507B (en) Spatial domain transform domain hybrid image compression method
CN111583085A (en) Color image digital watermarking method based on transform domain
CN102821277B (en) Data compression method and data compression system based on image set
WO2024061316A1 (en) Data compression method, data decompression method, and related device
Mohammed et al. Robust image watermarking scheme based on wavelet technique
CN103795889B (en) A kind of based on histogrammic robust steganography transmission method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant