CN1190755C - Colour-picture damage-free compression method based on perceptron - Google Patents
Colour-picture damage-free compression method based on perceptron Download PDFInfo
- Publication number
- CN1190755C CN1190755C CNB021467684A CN02146768A CN1190755C CN 1190755 C CN1190755 C CN 1190755C CN B021467684 A CNB021467684 A CN B021467684A CN 02146768 A CN02146768 A CN 02146768A CN 1190755 C CN1190755 C CN 1190755C
- Authority
- CN
- China
- Prior art keywords
- value
- prediction residual
- image
- perceptron
- prediction
- 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.)
- Expired - Fee Related
Links
- 238000007906 compression Methods 0.000 title claims abstract description 67
- 230000006835 compression Effects 0.000 title claims abstract description 67
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000012545 processing Methods 0.000 claims abstract description 20
- 235000007164 Oryza sativa Nutrition 0.000 claims abstract description 8
- 235000009566 rice Nutrition 0.000 claims abstract description 8
- 240000007594 Oryza sativa Species 0.000 claims abstract 2
- 230000008569 process Effects 0.000 claims description 33
- 238000013507 mapping Methods 0.000 claims description 20
- 238000013528 artificial neural network Methods 0.000 claims description 12
- 238000012549 training Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 6
- 230000006870 function Effects 0.000 claims description 6
- 238000012937 correction Methods 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 4
- 230000003287 optical effect Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims 6
- 230000005284 excitation Effects 0.000 claims 2
- 238000004321 preservation Methods 0.000 claims 1
- 230000011664 signaling Effects 0.000 claims 1
- 230000009466 transformation Effects 0.000 abstract description 13
- 230000003044 adaptive effect Effects 0.000 abstract description 12
- 230000000694 effects Effects 0.000 abstract description 6
- 238000005516 engineering process Methods 0.000 description 7
- 241000209094 Oryza Species 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000007781 pre-processing Methods 0.000 description 4
- 235000002566 Capsicum Nutrition 0.000 description 3
- 241000758706 Piperaceae Species 0.000 description 3
- 238000013506 data mapping Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000005311 autocorrelation function Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000005314 correlation function Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 210000002569 neuron Anatomy 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000011426 transformation method Methods 0.000 description 2
- 241000122235 Junco hyemalis Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000010219 correlation analysis Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000002715 modification method Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
Images
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
一种基于感知器的彩色图像的无损压缩方法,涉及图像处理领域。本发明的特征在于具有以下处理步骤:(1)计算机从USB等接口读入待处理的目标图像后保存在内存中;(2)对待压缩图像进行现有的无损颜色空间变换;(3)采用二维加权预测模型对当前像素预测,求取预测残差值;(4)根据映射后的预测残差值,判断是否小于给定的误差限,如果超出阈值就需要自适应调整。(5)采用现有的RICE熵编码;(6)输出并保存图像的压缩结果。本发明所提供的方法复杂度低于传统压缩方法,处理后的图像具有较高的压缩比,并且在保持较高的压缩效果的同时,其压缩时间明显少于后者,具有较高的执行速度。
A perceptron-based lossless compression method for color images relates to the field of image processing. The present invention is characterized in that it has the following processing steps: (1) the computer reads in the target image to be processed from an interface such as USB and stores it in the internal memory; (2) carries out existing lossless color space transformation to the image to be compressed; (3) adopts The two-dimensional weighted prediction model predicts the current pixel and obtains the prediction residual value; (4) according to the mapped prediction residual value, it is judged whether it is less than a given error limit, and if it exceeds the threshold, adaptive adjustment is required. (5) Adopt existing RICE entropy coding; (6) Output and save the compression result of the image. The complexity of the method provided by the present invention is lower than that of the traditional compression method, the processed image has a higher compression ratio, and while maintaining a higher compression effect, its compression time is significantly less than the latter, and it has a higher execution efficiency. speed.
Description
技术领域technical field
本发明涉及图像处理领域,设计和实现了一种基于神经网络感知器的彩色图像无损压缩方法。The invention relates to the field of image processing, and designs and implements a color image lossless compression method based on a neural network perceptron.
背景技术Background technique
随着近年来多媒体技术的广泛应用,在一些重要的图像信息的存储和传输应用中,图像无损压缩技术发挥着重要和不可替代的作用,它可以在很大程度上减轻对存储媒体容量和传输带宽的要求。特别是在反复多次进行存贮的应用系统中,为了保持图像原有的质量,一般要求必须采用无损压缩技术。With the wide application of multimedia technology in recent years, image lossless compression technology plays an important and irreplaceable role in some important image information storage and transmission applications, which can greatly reduce the impact on storage media capacity and transmission bandwidth requirements. Especially in the application system that is repeatedly stored, in order to maintain the original quality of the image, it is generally required to use lossless compression technology.
由于图像像素之间存在有冗余信息,利用图像数据之间的相关性,通过重新编码,去除图像数据中的冗余信息,就可以达到图像压缩的目的。至于彩色图像可以看作是多分量的单色数据图像顺序扫描或插值扫描排列而成。图1中(b)和(c)分别是标准图像(a)中各颜色平面内像素的自相关函数和各颜色平面之间像素的互相关函数。比较图(b)和图(c)可以看到,同一单色平面内相邻像素之间的相关性要高于不同单色平面内相应位置像素之间的相关性。对于图(a)来说,G平面与B平面像素之间的相关性要高于R与G或R与B之间的相关性。据彩色图像的这种特性,可以来设计彩色图像压缩方案。Since there is redundant information among image pixels, the purpose of image compression can be achieved by utilizing the correlation between image data and re-encoding to remove redundant information in image data. As for the color image, it can be regarded as a sequence of multi-component monochrome data images scanned or interpolated and arranged. (b) and (c) in Figure 1 are the autocorrelation function of pixels in each color plane and the cross-correlation function of pixels between each color plane in the standard image (a), respectively. Comparing Figure (b) and Figure (c), it can be seen that the correlation between adjacent pixels in the same monochromatic plane is higher than the correlation between corresponding pixels in different monochromatic planes. For Figure (a), the correlation between G plane and B plane pixels is higher than the correlation between R and G or R and B. According to this characteristic of color images, a color image compression scheme can be designed.
针对于静止图像的无损压缩,国际组织ITU-T(InternationalTelecommunications Union--国际电信同盟)原名为CCITT(InternationalTelephone and Telegraph Consultative Committee---国际电话与电报顾问委员会)和ISO(国际标准化组织)/IEC(国际电工委员会)于1992年联合制定了无损压缩的国际标准,将基于DPCM(Differential Pulse Code Modulation---线性预测编码)的预测器和Huffman编码推荐为无损压缩编码算法JPEG标准的早期版本。但这些传统的DPCM或对其进行简单改进的固定模式的预测器,并不能得到完全不相关的预测数据。使得算法压缩比较低,特别是压缩时间较长,远不能满足当前应用的需要。For the lossless compression of still images, the international organization ITU-T (International Telecommunications Union--International Telecommunication Union) was formerly known as CCITT (International Telephone and Telegraph Consultative Committee---International Telephone and Telegraph Advisory Committee) and ISO (International Organization for Standardization)/IEC (International Electrotechnical Commission) jointly formulated an international standard for lossless compression in 1992, and recommended the predictor and Huffman code based on DPCM (Differential Pulse Code Modulation---linear predictive coding) as the early version of the lossless compression coding algorithm JPEG standard. However, these traditional DPCMs or fixed-mode predictors that are simply improved cannot obtain completely irrelevant prediction data. The compression ratio of the algorithm is relatively low, especially the compression time is long, which is far from meeting the needs of current applications.
图像数据的无损压缩方案一般包括建模(modeling)和编码(coding)两个部分。算术编码方法的出现,可以将这两部分从概念上分开,对模型映射后的数据码字从概率上进行分配。而研究人员可以集中精力研究和设计各种高效的预测模型,从而使得无损压缩无论在压缩比和压缩效率上都比早期的JPEG标准算法得到很大的提高。JBIG/JPEG(联合图像专家组)委员会接纳的新标准:JPEG-LS是采用LOCO-I(LOw COmplexity LOssless COmpressionfor Images)算法作为其核心内容的一种无损/近无损图像压缩算法。该算法采用二维预测,并通过引入上下文(Context)对预测值进行自适应校正,对得到的残差信号进行Golomb编码,当预测器发现有连续相同的像素时,就从正常模式切换到游程编码模式。这种算法对于一般图像压缩比可达2.5倍以上,压缩效率较高而受到广泛关注。但是JPEG-LS算法中的上下文模型(contextmodeling)增加了算法的复杂度。A lossless compression scheme for image data generally includes two parts: modeling and coding. The emergence of the arithmetic coding method can separate the two parts conceptually, and assign the data codewords after the model mapping from the probability. And researchers can concentrate on researching and designing various efficient prediction models, so that lossless compression can be greatly improved compared with the early JPEG standard algorithm in terms of compression ratio and compression efficiency. A new standard accepted by the JBIG/JPEG (Joint Photographic Experts Group) committee: JPEG-LS is a lossless/nearly lossless image compression algorithm that uses the LOCO-I (LOw COmplexity LOssless COmpression for Images) algorithm as its core content. The algorithm uses two-dimensional prediction, and adaptively corrects the predicted value by introducing context, and performs Golomb coding on the obtained residual signal. When the predictor finds that there are consecutive identical pixels, it switches from the normal mode to the run length encoding mode. This algorithm can reach more than 2.5 times the general image compression ratio, and the compression efficiency is high, so it has attracted widespread attention. But the context modeling in the JPEG-LS algorithm increases the complexity of the algorithm.
本发明引入现有的神经网络中的感知器技术,通过感知器的自学习和自适应能力校正本发明提出的二维加权预测模型的参数,简化了预测模型部分的算法复杂度。熵编码部分中,考虑到目前常用的熵编码的方法主要有Huffman、算术编码、LZW等。这些熵编码虽然具有效好的编码较果,但其执行速度较慢。本发明采用了现有的RICE熵编码算法。该熵编码算法在对数据进行扫描过程中,就可以根据采样值实时进行计算和编码,无需求助于事先存贮的码表,提高了熵编码得速度。在编码过程中,它还具有自适应功能,以适应码长的变化。它的复杂度低,编码速度快,并且有较高的编码效率。The present invention introduces the perceptron technology in the existing neural network, corrects the parameters of the two-dimensional weighted prediction model proposed by the present invention through the self-learning and self-adaptive ability of the perceptron, and simplifies the algorithm complexity of the prediction model part. In the entropy coding part, considering that the currently commonly used entropy coding methods mainly include Huffman, arithmetic coding, LZW, etc. These entropy encodings, while having efficient encoding results, are slow to perform. The present invention adopts the existing RICE entropy coding algorithm. The entropy encoding algorithm can calculate and encode in real time according to the sampling value during the scanning process of the data, without resorting to a code table stored in advance, which improves the speed of entropy encoding. In the encoding process, it also has an adaptive function to adapt to the change of code length. It has low complexity, fast coding speed and high coding efficiency.
发明内容Contents of the invention
本发明通过提出了一种二维加权预测模型(简称预测模型),设计并实现了整个彩色图像无损压缩方法。该方法克服了以往图像无损压缩算法中执行速度慢,算法复杂度高以及压缩效率低等缺点。兼顾了较低的算法复杂度的同时,达到了快速、高效的图像无损压缩效果,压缩比较高。根据彩色图像的颜色分量间与像素间相关性的分析,首先利用现有的无损颜色空间变换对颜色空间进行处理,消除颜色分量间的相关性。在本发明提出的二维加权预测模型中,引入了现有的神经网络中的感知器技术。利用其本身具有的自学习和自适应特性,进行二维加权预测模型的自适应调整。使该算法在运行过程中具有很小的预测残差。进一步根据本发明所提出的预测残差映射算法,对预测残差值进行映射,减小了预测残差值的动态范围。保证了算法在具有较高压缩比的前提下,有较高的执行效率。得到预测残差后,需要进行熵编码,本文编码方法采用了现有技术中的RICE算法。该熵编码算法复杂度低,编码速度快,并且有较高的编码效率。在整个压缩算法的执行过程中,保证不引入量化误差,并在解码过程中完全恢复原来的数据,从而实现图像的无损压缩。The present invention designs and implements a lossless compression method for the entire color image by proposing a two-dimensional weighted prediction model (referred to as the prediction model). This method overcomes the shortcomings of slow execution speed, high algorithm complexity and low compression efficiency in previous image lossless compression algorithms. While taking into account the lower algorithm complexity, it achieves a fast and efficient image lossless compression effect, and the compression ratio is high. According to the analysis of the correlation between color components and pixels of color image, firstly, the existing lossless color space transformation is used to process the color space, and the correlation between color components is eliminated. In the two-dimensional weighted prediction model proposed by the present invention, the perceptron technology in the existing neural network is introduced. Using its own self-learning and self-adaptive features, it can make self-adaptive adjustment of the two-dimensional weighted forecasting model. Make the algorithm run with small prediction residuals. Further, according to the prediction residual mapping algorithm proposed by the present invention, the prediction residual value is mapped, and the dynamic range of the prediction residual value is reduced. It ensures that the algorithm has high execution efficiency under the premise of high compression ratio. After the prediction residual is obtained, entropy coding is required. The coding method in this paper adopts the RICE algorithm in the prior art. The entropy coding algorithm has low complexity, fast coding speed and high coding efficiency. During the execution of the entire compression algorithm, it is guaranteed that no quantization error will be introduced, and the original data will be completely restored during the decoding process, thereby realizing lossless image compression.
本发明的技术思路特征为:Technical thought feature of the present invention is:
1.针对颜色平面间的相关性,采用现有的无损颜色空间变换的方法,对目标图像进行图像预处理来去除颜色空间的相关性,从而可以有效的提高压缩比。1. For the correlation between color planes, the existing lossless color space transformation method is used to perform image preprocessing on the target image to remove the correlation of color space, so that the compression ratio can be effectively improved.
2.假设图像数据是按照从左至右、从上向下的顺序,依次输入三个经过空间变换后的颜色分量数据。由于同一分量相邻像素之间存在有很强的相关性,根据当前像素左上方四个相邻像素的加权值,可以通过本发明所提出的预测算法,获得当前像素的预测值。2. Assuming that the image data is in the order from left to right and from top to bottom, three color component data after space transformation are sequentially input. Since there is a strong correlation between adjacent pixels of the same component, the predicted value of the current pixel can be obtained through the prediction algorithm proposed by the present invention according to the weighted values of the four adjacent pixels above and to the left of the current pixel.
3.如果这种预测值与当前的实际值很接近,则它们之间的差值称为预测残差。求取预测残差值,如果该值足够小,可使编码器用很短的码字对其进行编码。3. If this forecast value is very close to the current actual value, the difference between them is called the forecast residual. Find the prediction residual value, if the value is small enough, the encoder can encode it with a very short codeword.
4.实际算法中,得到预测残差值并没有直接进行编码,而是先经过了一个本发明所提出的映射过程。通过数据映射算法,减小了预测残差值的动态范围,使用于编码的预测残差信号的分布范围更加集中,从而可以获得更小的熵并获得更好的编码效果。4. In the actual algorithm, the prediction residual value is not directly encoded, but firstly undergoes a mapping process proposed by the present invention. Through the data mapping algorithm, the dynamic range of the prediction residual value is reduced, and the distribution range of the prediction residual signal used for coding is more concentrated, so that a smaller entropy can be obtained and a better coding effect can be obtained.
5.根据以上的映射后的预测残差值结果,判断预测残差是否小于给定的误差限8,如果映射后的预测残差值超出这个阈值,就需要修改预测加权系数,即实现基于感知器的自适应调整子程序,如果映射后的预测残差没有超过这个阈值,则对映射后的预测残差值进行RICE编码。5. According to the result of the predicted residual value after mapping above, judge whether the predicted residual value is less than the given error limit 8. If the predicted residual value after mapping exceeds this threshold, it is necessary to modify the predicted weighting coefficient, that is, to realize the perception-based The adaptive adjustment subroutine of the device, if the mapped prediction residual does not exceed this threshold, RICE coding is performed on the mapped prediction residual value.
6.在预测和编码过程中,采用了一种感知器的技术来自适应地校正二维加权预测模型的参数。通过感知器的自学习和自适应能力对预测残差值进行监视,如果其值超过设定的阈值,则进行自适应调整,使得整个编码过程中,预测残差值保持在一个很小的范围内,从而达到压缩的目的。6. During the prediction and encoding process, a perceptron technique is used to adaptively correct the parameters of the two-dimensional weighted prediction model. The prediction residual value is monitored through the self-learning and adaptive capabilities of the perceptron, and if the value exceeds the set threshold, adaptive adjustment is made so that the prediction residual value remains in a small range during the entire encoding process In order to achieve the purpose of compression.
本发明的技术方案参见图3、图4。这种基于感知器的彩色图像无损压缩方法,是由数码摄像机或其他的数字化仪器完成采集待处理的目标图像,并将目标图像的光学信号转换为数字信号图像输入到计算机进行处理、传输等操作。计算机处理主要是通过现有的USB接口软件,在现有的彩色图像无损压缩及神经网络中的感知器技术的基础上对图像进行压缩处理。处理后的结果图像输出到缓存器,可以直接在本地进行存储或通过网络存储设备进行远程传输等操作。本发明的特征在于它还包括下述步骤:Refer to Fig. 3 and Fig. 4 for the technical solution of the present invention. This perceptron-based color image lossless compression method is to collect the target image to be processed by a digital camera or other digital instruments, and convert the optical signal of the target image into a digital signal image and input it to the computer for processing and transmission. . The computer processing mainly uses the existing USB interface software to compress the image on the basis of the existing color image lossless compression and the perceptron technology in the neural network. The processed result image is output to the buffer, which can be directly stored locally or remotely transmitted through a network storage device. The present invention is characterized in that it also comprises the following steps:
1)计算机从USB接口读入待处理的目标图像后保存在内存中;1) The computer reads in the target image to be processed from the USB interface and saves it in the memory;
2)对待压缩图像进行预处理,即对其进行现有的无损颜色空间变换;2) preprocessing the image to be compressed, that is, carrying out existing lossless color space transformation;
3)采用一种二维加权预测模型对当前像素预测,求取预测残差值,对该预测残差值映射,其特征为:3) Use a two-dimensional weighted prediction model to predict the current pixel, obtain the prediction residual value, and map the prediction residual value, which is characterized by:
这部分处理的流程图见图6中区域A。The flow chart of this part of the process is shown in area A in FIG. 6 .
a)为了对整个算法进行描述,假设图像采用RGB颜色空间并经过颜色空间变换的预处理。顺序输入颜色空间变换后的三个分量,即从左向右、从上向下依次顺序扫描和存放经过变换后的三个颜色分量的数据。图像长度和宽度分别为H和B,其像素用xk(i,j)来表示。这里i=0,1,…,B-1表示某个颜色平面中像素所在的行,j=0,1,…,H-1表示列,k=R,G,B,表示变换后像素所在的颜色平面。a) In order to describe the whole algorithm, it is assumed that the image adopts RGB color space and is preprocessed by color space transformation. Sequentially input the three transformed color components, that is, sequentially scan and store the data of the transformed three color components from left to right and from top to bottom. The length and width of the image are H and B respectively, and its pixels are represented by x k (i, j). Here i=0, 1,..., B-1 represents the row where the pixel is located in a certain color plane, j=0, 1,..., H-1 represents the column, k=R, G, B, represents the pixel after transformation color plane.
由当前像素xk(i,j)左上方四个像素xk(i,j-1)、xk(i-1,j-1)、xk(i-1,j)、xk(i-1,j+1)的加权值来预测当前值,其中i表示行坐标,j表示列坐标,它们的分布位置见图5,图中x1、X2、x3、x4为代表xk(i,j-1)、xk(i-1,j-1)、xk(i-1,j)、xk(i-1,j+1)四个像素,X为当前像素。判断被预测的像素是否是边缘点,当被预测像素处于第一列、最后一列或第一行时,则进行特殊处理,即对于图像边缘外不存在像素的值用缺省值替代;对当前像素xk(i,j)的预测值 公式为:Four pixels x k (i, j-1), x k (i-1, j-1), x k ( i -1, j), x k ( i-1, j+1) weighted value to predict the current value, where i represents the row coordinates, j represents the column coordinates, and their distribution positions are shown in Figure 5, in which x 1 , X 2 , x 3 , and x 4 are representatives x k (i, j-1), x k (i-1, j-1), x k (i-1, j), x k (i-1, j+1) four pixels, X is the current pixels. Judging whether the predicted pixel is an edge point, when the predicted pixel is in the first column, the last column or the first row, special processing is performed, that is, the value of the pixel that does not exist outside the edge of the image is replaced by the default value; for the current Predicted value of pixel x k (i, j) The formula is:
其中wp(p=1,2,3,4)为预测加权系数,设定其初值为wp=0.25,从Among them, w p (p=1, 2, 3, 4) is the prediction weight coefficient, and its initial value is set to w p =0.25, from
而得到当前像素的预测值 And get the predicted value of the current pixel
b)由预测残差值公式②,得到预测残差值Δ:b) According to the prediction residual value formula ②, the prediction residual value Δ is obtained:
如果在整个编码过程中,都能够保证预测很准,就可以始终得到足够小的预测残差值,从而有利于后续的熵编码。这部分处理过程的流程图见图6中区域C。If the prediction is guaranteed to be accurate during the entire encoding process, a small enough prediction residual value can always be obtained, which is beneficial to subsequent entropy encoding. The flow chart of this part of the process is shown in area C in FIG. 6 .
c)在获得预测残差之后对其进行预测残差映射方法为:假定每个单色像素是经过8bit量化,则预测残差值的分布范围应是[-255,+255]。执行下面的映射算法,使预测残差值的分布范围变为[0,+255]预测残差值用X表示。映射的整个流程见图7。c) After the prediction residual is obtained, the prediction residual mapping method is as follows: assuming that each monochrome pixel is quantized by 8 bits, the distribution range of the prediction residual value should be [-255, +255]. Execute the following mapping algorithm, so that the distribution range of the prediction residual value becomes [0, +255] and the prediction residual value is represented by X. The entire process of mapping is shown in Figure 7.
i.根据预测模型计算得到预测残差值X;i. Calculate the prediction residual value X according to the prediction model;
ii.当预测残差值X小于-128时,将其加上256或者当预测残差值X大于127时,将其减去256后得到一个新的预测残差值X1;ii. When the predicted residual value X is less than -128, add 256 to it or when the predicted residual value X is greater than 127, subtract 256 to obtain a new predicted residual value X1;
iii.新的预测残差值X1如果小于零将其按照X2=-X1×2-1,否则将其按照X2=2×X1得到映射后的预测残差值X2;iii. If the new prediction residual value X1 is less than zero, use it according to X2=-X1×2-1, otherwise use it according to X2=2×X1 to obtain the mapped prediction residual value X2;
iv.输出映射后的预测残差值X2;iv. Output the predicted residual value X2 after mapping;
通过数据映射算法,减小了预测残差值的动态范围,使用于编码的预测残差信号的分布范围更加集中,从而可以获得更小的熵并获得更好的编码效果;Through the data mapping algorithm, the dynamic range of the prediction residual value is reduced, and the distribution range of the prediction residual signal used for coding is more concentrated, so that smaller entropy can be obtained and better coding effect can be obtained;
4)根据以上映射后的预测残差结果,判断预测残差是否小于给定的误差限8,如果预测残差值超出这个阈值,就需要修改预测加权系数,即实现基于感知器的自适应调整的子程序,如果映射后的预测残差没有超过这个阈值,则进行步骤5);4) According to the above mapped prediction residual results, judge whether the prediction residual is less than a given error limit 8, if the prediction residual value exceeds this threshold, it is necessary to modify the prediction weighting coefficient, that is, to realize the adaptive adjustment based on the perceptron subroutine, if the predicted residual after mapping does not exceed this threshold, proceed to step 5);
基于感知器的自适应调整的子程序的特征如下:The subroutines for perceptron-based adaptive tuning are characterized as follows:
如果仅仅采用上述固定的预测模型,并不能保证在整个编码过程中预测值不发生偏移,从而使用于编码的预测残差发生漂移。在本发明所提出的算法中,采用了神经网络中的双层感知器来实时监视和自适应地调整预测残差值的漂移。If only the above-mentioned fixed prediction model is used, it cannot be guaranteed that the predicted value will not shift during the entire coding process, so that the prediction residual used for coding will drift. In the algorithm proposed by the present invention, the double-layer perceptron in the neural network is used to monitor and adaptively adjust the drift of the prediction residual value in real time.
感知器的训练过程以及预测加权系数的修改方法如下:The training process of the perceptron and the modification method of the prediction weighting coefficient are as follows:
双层感知器的网络结构如图2所示,它是由输入层和输出层组成。输入层的各个处理单元与输出层的每个处理单元互连,在每个连接中均附有权值,这些权值可以通过学习规则来调整。它的学习过程是改变神经元之间的连接强度的过程。The network structure of a two-layer perceptron is shown in Figure 2, which consists of an input layer and an output layer. Each processing unit of the input layer is interconnected with each processing unit of the output layer, and weights are attached to each connection, and these weights can be adjusted by learning rules. Its learning process is the process of changing the connection strength between neurons.
输出值可以由以下公式来表示:The output value can be represented by the following formula:
其中,f(.)为激励函数,w1,w2…wn为从输入处理单元p(p=1,2,…,n)到输出处理单元的连接权值,w0为阈值,x1,x2…xn为处理单元p的输入,y为输出值;Among them, f (.) is the activation function, w 1 , w 2 . 1 , x 2 ... x n is the input of the processing unit p, and y is the output value;
感知器的训练采用由一组样本组成的集合来进行,在训练期间,将这些样本重复送到感知器的输入层,通过调整连接权值使感知器的输出达到理想输出,其训练过程如下:The training of the perceptron is carried out with a set consisting of a set of samples. During the training period, these samples are repeatedly sent to the input layer of the perceptron, and the output of the perceptron is adjusted to achieve the ideal output by adjusting the connection weight. The training process is as follows:
a)初始化,给每个wp赋初值,赋给wp(t)以(-1,+1)区间的随机值;这里wp(t)表示t时刻第p个输入上的连接权值,1≤p≤n,w0(t)为t时刻的阈值;a) Initialize, assign an initial value to each w p , and assign w p (t) a random value in the interval (-1, +1); where w p (t) represents the connection weight on the pth input at time t value, 1≤p≤n, w 0 (t) is the threshold at time t;
b)连接权值的修正,输入一个样本X=(x1,x2…xn)和它的期望输出d;b) Correction of connection weights, input a sample X=(x 1 , x 2 ... x n ) and its expected output d;
i. 按公式③计算网络实际输出y(t);i. Calculate the actual network output y(t) according to the formula ③;
ii. 计算网络实际输出y(t)与期望输出d之间的误差:ii. Calculate the error between the actual output y(t) of the network and the expected output d:
d(t)=d-y(t) ④
iii.修正各输入输出间的连接权值wp:iii. Modify the connection weight wp between each input and output:
wp(t+1)=wp(t)+Δwp(t) ⑤w p (t+1)=w p (t)+Δw p (t) ⑤
Δwp(t)=α×xp×d(t) (p=1,2,3,4) ⑥Δw p (t) = α×x p ×d(t) (p=1, 2, 3, 4) ⑥
其中,α是增益,通常0≤α≤1,用于控制修正速度;Δwp(t)为t时刻连接权值wp的修正值,xp为当前输入的第p个像素值;Among them, α is the gain, usually 0≤α≤1, which is used to control the correction speed; Δw p (t) is the correction value of the connection weight w p at time t, and x p is the pth pixel value currently input;
c)对每个样本重复步骤②,直至误差小于给定的误差限;c) Repeat step ② for each sample until the error is less than a given error limit;
学习结束后的神经网络将学习样本模式以连接权的形式记忆下来,当神经网络输入某一模式时,神经网络将以公式③计算输出值y,因此整个学习记忆过程就是根据实际输出与希望输出之间的误差调整参数wp,比较公式①和公式③可以看出,这里激励函数:f(x)=x,公式③中的xp是当前输入的第p个像素值,wp是预测加权系数,y是预测值;感知器实时监视预测残差值,如果这个值在编码过程中超出了预先设定的阈值,则产生一个反馈信号到感知器,通过重新学习和调整wp,产生一组新的预测加权系数,实际图像编码过程中,公式为:After learning, the neural network memorizes the learning sample pattern in the form of connection weights. When the neural network inputs a certain pattern, the neural network will calculate the output value y according to formula ③, so the whole learning and memory process is based on the actual output and the desired output. The error adjustment parameter w p between
Δwp=α/128×xp×Δ (p=1,2,3,4) ⑦Δw p =α/128×x p ×Δ (p=1,2,3,4) ⑦
其中,Δwp为t时刻连接权值wp的修正值,α=0.001为经验值,Δ为上一像素点的预测残差值;这样,预测器使用修正过的预测加权系数,得到更加准确的预测值;Among them, Δw p is the correction value of the connection weight w p at time t, α=0.001 is the empirical value, and Δ is the prediction residual value of the previous pixel; in this way, the predictor uses the revised prediction weighting coefficient to obtain a more accurate predicted value;
由于感知器有学习记忆、自适应调整连接权值的能力,这种模型显然有可能用来自适应调整图像压缩算法中的预测加权系数,获得比固定预测加权系数更高的压缩比。通过实际输出和希望输出之间的差值来自适应地调整预测加权系数,也就是感知器的学习过程。Since the perceptron has the ability of learning memory and adaptively adjusting connection weights, it is obviously possible to use this model to adaptively adjust the predictive weighting coefficients in the image compression algorithm to obtain a higher compression ratio than the fixed predictive weighting coefficients. Adaptively adjust the prediction weighting coefficients through the difference between the actual output and the expected output, which is the learning process of the perceptron.
感知器实时监视预测残差值,如果这个值在编码过程中超出了预先设定的阈值,则产生一个反馈信号到感知器,通过重新学习和调整wp,产生一组新的预测加权系数。采用公式⑤、⑥修改预测加权系数,这部分处理过程的流程图见图6中区域B。The perceptron monitors the prediction residual value in real time. If the value exceeds the preset threshold during the encoding process, a feedback signal is generated to the perceptron. By relearning and adjusting w p , a new set of prediction weighting coefficients is generated. Use formulas ⑤ and ⑥ to modify the prediction weighting coefficients. The flow chart of this part of the processing process is shown in area B in Figure 6.
可以看到在自适应调整算法中,感知器模型采用的是一种边学习边工作的模式,无需进行先期训练。对图像扫描一次,预测和编码同时完成。具有很高的执行效率;It can be seen that in the adaptive adjustment algorithm, the perceptron model adopts a mode of learning while working, without prior training. The image is scanned once, and the prediction and encoding are done at the same time. Has high execution efficiency;
5)采用RICE熵编码算法对映射后的预测残差进行编码;5) Using the RICE entropy coding algorithm to code the mapped prediction residual;
6)输出并保存图像压缩的码流。6) Output and save the code stream of image compression.
当进行预处理,即对图像进行现有的无损颜色空间变换,其原理如下:When performing preprocessing, that is, performing an existing lossless color space transformation on the image, the principle is as follows:
对于多分量(彩色)的图像,通过一定的无损颜色空间变换,可以在一定程度上去除颜色分量间的相关性,JPEG-LS、JPEG2000和其他彩色图像压缩方法都精心设计了颜色空间变换方法。本发明中的空间变换是根据公式①进行。其中,A1、A2、A3分别是变换前的三个颜色分量,A1’、A2’、A3’变换后得到的三个颜色分量值。For multi-component (color) images, through a certain lossless color space transformation, the correlation between color components can be removed to a certain extent. JPEG-LS, JPEG2000 and other color image compression methods have carefully designed color space transformation methods. The space transformation in the present invention is carried out according to
本发明所提的方法复杂度低于传统压缩方法,处理后的图像具有较高的压缩比,并在保持较高的压缩效果的同时,其压缩时间明显少于后者,具有较高的执行速度。熵编码部分中,采用了RICE熵编码算法,该熵编码算法在对数据进行扫描过程中,可以根据采样值实时进行计算和编码,无需求助于事先存贮的码表,提高了熵编码得速度。在编码过程中,它还具有自适应功能,以适应不同码长的变化。它的复杂度低,编码速度快,并有较高的编码效率。The complexity of the method proposed in the present invention is lower than that of the traditional compression method, the processed image has a higher compression ratio, and while maintaining a higher compression effect, its compression time is significantly less than the latter, and it has a higher execution efficiency. speed. In the entropy coding part, the RICE entropy coding algorithm is used. During the scanning process of the data, the entropy coding algorithm can calculate and code in real time according to the sampling value, without resorting to the code table stored in advance, which improves the speed of entropy coding. . In the encoding process, it also has an adaptive function to adapt to changes in different code lengths. It has low complexity, fast coding speed and high coding efficiency.
附图说明:Description of drawings:
图1是彩色图像相关性分析图:Figure 1 is a color image correlation analysis diagram:
(a)标准图像;(b)同一分量平面内像素的自相关函数;(c)不同分量平面间像素的互相关函数;(a) standard image; (b) autocorrelation function of pixels in the same component plane; (c) cross-correlation function of pixels between different component planes;
图2是双层感知器结构图;Fig. 2 is a structure diagram of a double-layer perceptron;
图3是基于感知器的快速彩色图像无损压缩系统框图;Fig. 3 is a block diagram of a fast color image lossless compression system based on a perceptron;
1、数字摄像机,2、USB接口,3、计算机处理器,4、输出缓存,5、图像的无损压缩编码,6、压缩的结果文件,7、硬盘,8、网络存储设备,9、解码,10、显示器;1. Digital camera, 2. USB interface, 3. Computer processor, 4. Output cache, 5. Lossless image compression encoding, 6. Compressed result file, 7. Hard disk, 8. Network storage device, 9. Decoding, 10. Display;
图4是本发明的方法流程图;Fig. 4 is method flowchart of the present invention;
图5是预测器中四个像素及当前像素的位置图;Fig. 5 is a position diagram of four pixels and the current pixel in the predictor;
图6是对当前像素的预测模块及自适应调整流程图;Fig. 6 is a flow chart of the prediction module and adaptive adjustment to the current pixel;
图7是预测残差值的映射模块流程图;Fig. 7 is the mapping module flowchart of prediction residual value;
图8是解码流程图;Fig. 8 is a decoding flowchart;
图9是实施例的原始图像,及其RGB各分量;Fig. 9 is the original image of the embodiment, and its RGB components;
图10是经预处理后的三个颜色分量,a图为A1’分量,b图为A2’分量,c图为A3’分量;Fig. 10 is three color components after preprocessing, a picture is A1 ' component, b picture is A2 ' component, and c picture is A3 ' component;
图11是图像压缩算法子程序流程图;Fig. 11 is the subroutine flowchart of image compression algorithm;
图12是本发明的程序流程图。Fig. 12 is a program flow chart of the present invention.
具体实施方式Detailed ways
图3中数码摄像机和USB接口都是市售的,主要完成采集需要进行压缩的各种图像,将待处理图像的光学信号转换为数字信号图像输入到计算机,便于计算机处理、传输等操作。计算机处理主要是通过现有的USB接口软件读入采集到的图像,处理后的图像文件输出到计算机的缓存器,便于在本地存储(存入硬盘);通过网络存储设备进行数据的传输、存储、处理;或者直接进行解码,其中解码的流程图见图8,然后显示。图像的无损压缩编码是通过软件来实现的。下面结合具体实例详细描述图像压缩的整个过程,参见图12。整个过程步骤见前述发明的技术思路特征,实施过程可参见图12和图11:The digital video camera and USB interface in Figure 3 are commercially available, mainly to complete the collection of various images that need to be compressed, and convert the optical signal of the image to be processed into a digital signal image input to the computer, which is convenient for computer processing, transmission and other operations. Computer processing mainly reads in the collected images through the existing USB interface software, and the processed image files are output to the buffer memory of the computer, which is convenient for local storage (stored in the hard disk); data transmission and storage are carried out through network storage devices , processing; or directly decode, wherein the flow chart of decoding is shown in Figure 8, and then displayed. The lossless compression coding of images is realized by software. The whole process of image compression will be described in detail below in conjunction with specific examples, see FIG. 12 . The steps of the whole process can be seen in the technical idea features of the aforementioned invention, and the implementation process can be seen in Figure 12 and Figure 11:
首先通过数码相机对目标图像进采集,数码摄像机将小区车库管理过程中在车进、出时分别抓拍一帧图像,然后通过USB接口传到计算机硬盘中,这样就完成了实施例监控图像的采集过程。First, the target image is collected through a digital camera, and the digital camera captures a frame of image when the car enters and exits during the garage management process of the community, and then transmits it to the hard disk of the computer through the USB interface, thus completing the collection of the monitoring image of the embodiment process.
具体实施中将图像传输到计算机后,在计算机中完成以下程序:After the image is transferred to the computer in the specific implementation, the following procedures are completed in the computer:
第一步:图9是实施例的原始图像,即用户要压缩的图像(24色真彩,jpg格式)及其RGB各分量,图像大小为(142×107)。对该图像进行无损颜色空间变换,得到去除颜色分量间相关性后的结果图像(这一部分独立于主程序)。A1、A2、A3三个分量经处理后的结果分别对应为图10中a图、b图、c图所示;The first step: Fig. 9 is the original image of the embodiment, that is, the image (24-color true color, jpg format) and its RGB components to be compressed by the user, and the image size is (142×107). Perform lossless color space transformation on the image to obtain the result image after removing the correlation between color components (this part is independent of the main program). The processed results of the three components of A1, A2, and A3 are respectively shown in Figure 10 in Figure a, Figure B, and Figure c;
第二步:打开上一步的结果图像。Step 2: Open the resulting image from the previous step.
第三步:创建一个压缩文件,用来存放压缩后的数据。Step 3: Create a compressed file to store the compressed data.
第四步:提取经过无损颜色空间变换的图像的图像信息。The fourth step: extracting the image information of the image transformed by the lossless color space.
第五步:执行图像压缩算法子程序,具体步骤见图11的图象压缩算法流程图:The 5th step: execute image compression algorithm subroutine, concrete steps are shown in the image compression algorithm flow chart of Fig. 11:
1)读入一行数据,判断是否为边界点,若是边界点,则对其进行特殊处理,即对于图像边缘外不存在像素的值用缺省值替代;若不是边界点,则对预测器赋值,预测器的预测加权系数数组的初值为:W[1]=0.375;W[2]=0.375;W[3]=0.125;W[4]=0.125。1) Read in a line of data and judge whether it is a boundary point. If it is a boundary point, then perform special processing on it, that is, replace the value of a pixel that does not exist outside the edge of the image with a default value; if it is not a boundary point, assign a value to the predictor , the initial value of the prediction weight coefficient array of the predictor is: W[1]=0.375; W[2]=0.375; W[3]=0.125; W[4]=0.125.
2)采用一种二维加权预测模型对当前像素预测,求取预测残差值,对该预测残差值映射;2) Using a two-dimensional weighted prediction model to predict the current pixel, obtain the prediction residual value, and map the prediction residual value;
a)利用同一分量相邻像素之间存在有很强的相关性这一特点,根据当前像素左上方四个相邻像素(假设图像数据是按照从左至右、从上向下的顺序,依次输入三个经过无损颜色空间变换后的颜色分量数据),可以通过一定的预测算法,获得当前像素的预测值。a) Using the feature that there is a strong correlation between adjacent pixels of the same component, according to the four adjacent pixels on the upper left of the current pixel (assuming that the image data is in order from left to right and from top to bottom, sequentially Input three color component data after lossless color space transformation), and the predicted value of the current pixel can be obtained through a certain prediction algorithm.
b)计算预测值与实际值的差称为预测残差。当该值足够小时,使编码器用很短的码字对其进行编码;b) Calculating the difference between the predicted value and the actual value is called the prediction residual. When the value is small enough, the encoder encodes it with a very short codeword;
c)对得到的预测残差进行残差映射处理。通过数据映射算法,减小了预测残差值的动态范围,使用于编码的预测残差信号的分布范围更加集中,从而可以获得更小的熵并获得更好的编码效果。c) Perform residual mapping processing on the obtained prediction residual. Through the data mapping algorithm, the dynamic range of the prediction residual value is reduced, and the distribution range of the prediction residual signal used for coding is more concentrated, so that a smaller entropy can be obtained and a better coding effect can be obtained.
3)根据以上的映射后的预测残差值结果,判断预测残差是否小于给定的误差限8,如果映射后的预测残差值超出这个阈值,就需要修改预测加权系数,即调用基于感知器的自适应调整子程序,如果映射后的预测残差没有超过这个阈值,则进行步骤4)。3) According to the result of the above-mapped prediction residual value, judge whether the prediction residual value is less than a given error limit 8. If the mapped prediction residual value exceeds this threshold, it is necessary to modify the prediction weighting coefficient, that is, call the perception-based The adaptive adjustment subroutine of the device, if the predicted residual error after mapping does not exceed this threshold, then proceed to step 4).
在此过程中,采用本发明提出的利用现有感知器技术来自适应地校正二维加权预测模型参数的方法。通过感知器的自学习和自适应能力对预测残差值进行监视,如果其值超过设定的阈值,则进行自适应调整并进行映射,使得整个编码过程中,预测残差值保持在一个很小的范围内,从而达到压缩的目的。自适应调整二维加权预测模型的参数的整个流程图见图6。在此取神经元数目n为1,输入节点数m为4,增益α为0.00001。In this process, the method proposed by the present invention using the existing perceptron technology to adaptively correct the parameters of the two-dimensional weighted prediction model is adopted. The prediction residual value is monitored through the self-learning and self-adaptive ability of the perceptron. If the value exceeds the set threshold, adaptive adjustment and mapping are performed so that the prediction residual value remains at a very low level during the entire coding process. In a small range, so as to achieve the purpose of compression. The entire flow chart of adaptively adjusting the parameters of the two-dimensional weighted prediction model is shown in FIG. 6 . Here, the number of neurons n is 1, the number of input nodes m is 4, and the gain α is 0.00001.
4)对映射后的预测残差进行现有的RICE熵编码。4) Existing RICE entropy coding is performed on the mapped prediction residual.
5)判断是否到行尾,如果该行已经结束则保存当前行;否则,再次判断是否为边界点,重复上述步骤;5) Determine whether it is the end of the line, if the line has ended, then save the current line; otherwise, determine whether it is a boundary point again, and repeat the above steps;
6)判断是否到列尾,若到列尾,则结束该子程序;否则重复(1)到(7)步;6) Judging whether it is at the end of the column, if it is at the end of the column, then end the subroutine; otherwise, repeat (1) to (7) steps;
第六步:打印:“Mission completed!”、“CompressedCounter=编码后的字节数”、“See compressed data in file compress.dat”Step 6: Print: "Mission completed!", "CompressedCounter=number of encoded bytes", "See compressed data in file compress.dat"
第七步:关闭用户要压缩的文件以及经压缩后的文件。Step 7: Close the file to be compressed by the user and the compressed file.
第八步:得到压缩后的文件,存储在本地的硬盘中,从而完成了对车库的监控记录存储。Step 8: Get the compressed file and store it in the local hard disk, thus completing the storage of the monitoring records of the garage.
为了检验本发明所提出的算法的性能,与文献中传统的Huffman算法、LZW算法、FELICS算法,特别是新的无损压缩标准JPEG-LS进行了比较。用于测试的图像全都是RGB空间的24位彩色图像(每个像素分量8bits)。包括两幅风景图像、一幅航空图像、一幅计算机合成图像。为了使结果更具有说明性,还选用了两幅标准彩色图像peppers和lena用于对比实验。Huffman算法、LZW算法和JPEG-LS算法的结果是通过运行从网页上下载的执行程序得到的,FELICS算法的结果是从文献Barequet R,Feder M.SICLIC:A simpleinter-color lossless image coder.In Proc.of data compression conference,Editedby J.A.Storer,Snowbird Utah,USA,March,1999,pp.500-510.中得到的。整个实验是在300MHz的Pentium II、内存为64M的PC机上用C语言完成的。In order to test the performance of the algorithm proposed by the present invention, it is compared with the traditional Huffman algorithm, LZW algorithm, FELICS algorithm in the literature, especially the new lossless compression standard JPEG-LS. The images used for testing are all 24-bit color images in RGB space (8bits per pixel component). Includes two landscape images, one aerial image, and one computer-generated image. In order to make the results more explanatory, two standard color images peppers and lena are also selected for comparison experiments. The results of Huffman algorithm, LZW algorithm and JPEG-LS algorithm are obtained by running the execution program downloaded from the webpage, and the results of FELICS algorithm are obtained from the literature Barequet R, Feder M.SICLIC: A simple inter-color lossless image coder.In Proc .of data compression conference, Edited by J.A.Storer, Snowbird Utah, USA, March, 1999, pp.500-510. The whole experiment is completed with C language on a PC with 300MHz Pentium II and 64M memory.
表1给出了对比压缩结果,它是用每个像素的位数来表示的,(=8bit/压缩比)。从表1中可以看到,本发明所提的方法其压缩结果明显优于LZW算法和传统的Huffman算法,比FELICS算法的结果也好。虽然JPEG-LS的压缩结果要好于本发明算法的结果,但是二者的结果相当接近,特别是对于两幅风景图像(平滑的自然图像),本发明的结果只比JPEG-LS算法差3%左右。Table 1 shows the comparative compression results, which are represented by the number of bits per pixel (=8bit/compression ratio). It can be seen from Table 1 that the compression result of the method proposed by the present invention is obviously better than the LZW algorithm and the traditional Huffman algorithm, and is also better than the result of the FELICS algorithm. Although the compression result of JPEG-LS is better than the result of the algorithm of the present invention, the results of the two are quite close, especially for two landscape images (smooth natural images), the result of the present invention is only 3% worse than the algorithm of JPEG-LS about.
从表2所示的压缩时间来看,本发明算法执行速度明显快于传统的Huffman和LZW算法,比低复杂性高效率的JPEG-LS算法也快13-17%。从算法的结构上比较,本算法和JPEG-LS在预测和编码部分都相当,但是JPEG-LS算法中增加了上下文模型(context modeling),其复杂度远大于本发明中所使用的感知器预测模型,虽然它提高了压缩比,但执行速度受到影响。From the compression time shown in Table 2, the execution speed of the algorithm of the present invention is obviously faster than the traditional Huffman and LZW algorithms, and 13-17% faster than the low-complexity and high-efficiency JPEG-LS algorithm. Comparing from the structure of the algorithm, this algorithm and JPEG-LS are all equivalent in prediction and encoding, but the context model (context modeling) is added in the JPEG-LS algorithm, and its complexity is far greater than the perceptron prediction used in the present invention model, although it improves the compression ratio, execution speed suffers.
表1:压缩结果的比较
表2:压缩时间的比较
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021467684A CN1190755C (en) | 2002-11-08 | 2002-11-08 | Colour-picture damage-free compression method based on perceptron |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021467684A CN1190755C (en) | 2002-11-08 | 2002-11-08 | Colour-picture damage-free compression method based on perceptron |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1405735A CN1405735A (en) | 2003-03-26 |
| CN1190755C true CN1190755C (en) | 2005-02-23 |
Family
ID=4751160
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB021467684A Expired - Fee Related CN1190755C (en) | 2002-11-08 | 2002-11-08 | Colour-picture damage-free compression method based on perceptron |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1190755C (en) |
Families Citing this family (21)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003319391A (en) * | 2002-04-26 | 2003-11-07 | Sony Corp | Encoding device and method, decoding device and method, recording medium, and program |
| US8731054B2 (en) * | 2004-05-04 | 2014-05-20 | Qualcomm Incorporated | Method and apparatus for weighted prediction in predictive frames |
| US8300956B2 (en) * | 2004-07-29 | 2012-10-30 | Oce-Technologies B.V. | Lossless compression of color image data using entropy encoding |
| US7499060B2 (en) * | 2005-03-21 | 2009-03-03 | Microsoft Corporation | Robust interactive color editing |
| CN100421465C (en) * | 2005-05-10 | 2008-09-24 | 扬智科技股份有限公司 | Method for compressing and decompressing image data of image pickup device |
| WO2007021227A1 (en) * | 2005-08-19 | 2007-02-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Texture compression based on two hues with modified brightness |
| US8243340B2 (en) | 2006-02-23 | 2012-08-14 | Microsoft Corporation | Pre-processing of image data for enhanced compression |
| KR101037421B1 (en) * | 2006-05-17 | 2011-05-30 | 후지쯔 가부시끼가이샤 | Recording medium recording image data compression apparatus, compression method and program and Recording medium recording image data decompression apparatus, restoration method and program |
| CN100566417C (en) * | 2006-07-10 | 2009-12-02 | 逐点半导体(上海)有限公司 | Method for compressing image |
| CN101276471B (en) * | 2008-05-12 | 2010-06-02 | 北京中星微电子有限公司 | Method and device for compression of ADPCM image |
| JP4698743B2 (en) * | 2009-01-22 | 2011-06-08 | シャープ株式会社 | Image compression method, image compression apparatus, image forming apparatus, computer program, and recording medium |
| US9225991B2 (en) * | 2013-05-30 | 2015-12-29 | Apple Inc. | Adaptive color space transform coding |
| US9225988B2 (en) | 2013-05-30 | 2015-12-29 | Apple Inc. | Adaptive color space transform coding |
| CN105141960B (en) * | 2015-06-17 | 2018-03-09 | 西安空间无线电技术研究所 | A kind of method that information transfer is carried out based on JPEG2000 compressed bit streams |
| CN106254879B (en) * | 2016-08-31 | 2019-11-08 | 广东精点数据科技股份有限公司 | A kind of application encodes the Image Lossy Compression method of neural network certainly |
| CN108347709B (en) * | 2017-01-21 | 2020-07-24 | 中山大学 | Self-adaptive data transmission method and system of ultra-low power consumption traceability system |
| CN107979378B (en) * | 2017-12-14 | 2022-09-02 | 深圳Tcl新技术有限公司 | Inertial data compression method, server and computer readable storage medium |
| EP3562162A1 (en) * | 2018-04-27 | 2019-10-30 | InterDigital VC Holdings, Inc. | Method and apparatus for video encoding and decoding based on neural network implementation of cabac |
| CN112565793B (en) * | 2020-11-26 | 2022-11-01 | 华侨大学 | A Lossless Image Compression Method Based on Predicted Difference Categorical Entropy Coding |
| CN114554210A (en) * | 2021-12-20 | 2022-05-27 | 以萨技术股份有限公司 | Lossless image compression method and system |
| CN118573888B (en) * | 2024-07-03 | 2025-01-24 | 山东派蒙机电技术有限公司 | Adaptive image compression method, device, equipment and storage medium |
-
2002
- 2002-11-08 CN CNB021467684A patent/CN1190755C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1405735A (en) | 2003-03-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1190755C (en) | Colour-picture damage-free compression method based on perceptron | |
| CN1223959C (en) | Apparatus and method for rate control based on macroblock in coding system | |
| JP5461419B2 (en) | Pixel predicted value generation procedure automatic generation method, image encoding method, image decoding method, apparatus thereof, program thereof, and recording medium on which these programs are recorded | |
| CN109379598B (en) | Image lossless compression method based on FPGA | |
| CN1447285A (en) | System and method for progressively transforming and encoding digital data | |
| CN1783144A (en) | Lossless adaptive Golomb/Rice encoding and decoding of integer data using backward-adaptive rules | |
| CN1525761A (en) | Apparatus and method for selecting the length of a variable-length coded bitstream using a neural network | |
| CN1295696A (en) | Compressing and decompressing images | |
| CN107105208A (en) | A kind of lossless coding and coding/decoding method of Bayer images | |
| CN1144469C (en) | Method of encoding and decoding motion vector of pixel in image | |
| CN112565777A (en) | Deep learning model-based video data transmission method, system, medium and device | |
| CN110677644A (en) | Video coding and decoding method and video coding intra-frame predictor | |
| CN117459737B (en) | An image preprocessing network training method and image preprocessing method | |
| CN1632479A (en) | A Lossless Compression Method of Hyperspectral Image Based on 3D Prediction | |
| CN118784841A (en) | Method and apparatus for video encoding and computer-readable storage medium | |
| CN114501034A (en) | Image Compression Method and Medium Based on Discrete Gaussian Mixture Hyperprior and Mask | |
| CN104202607B (en) | A kind of Lossless Image Compression Algorithm method and electronic equipment | |
| CN1247002A (en) | Method and device for coding and decoding digitized image | |
| CN102082950A (en) | Methods, devices and systems for compressing and decompressing images | |
| CN102307303B (en) | An Image Predictive Coding Method Based on Ternary Representation | |
| JP3689454B2 (en) | Image coding apparatus and method | |
| CN113822801A (en) | Compressed video super-resolution reconstruction method based on multi-branch convolutional neural network | |
| CN109474825B (en) | A pulse sequence compression method and system | |
| CN1822666A (en) | Image processing in portable video communication devices | |
| CN1195449A (en) | Image encoding device, image decoding device and image transmission system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20050223 Termination date: 20091208 |