CN102843562A - Grouped fault-tolerant entropy coding method - Google Patents

Grouped fault-tolerant entropy coding method Download PDF

Info

Publication number
CN102843562A
CN102843562A CN201210299132XA CN201210299132A CN102843562A CN 102843562 A CN102843562 A CN 102843562A CN 201210299132X A CN201210299132X A CN 201210299132XA CN 201210299132 A CN201210299132 A CN 201210299132A CN 102843562 A CN102843562 A CN 102843562A
Authority
CN
China
Prior art keywords
length
fault
groups
entropy coding
coding
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.)
Granted
Application number
CN201210299132XA
Other languages
Chinese (zh)
Other versions
CN102843562B (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.)
Northwest A&F University
Original Assignee
Northwest A&F University
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 Northwest A&F University filed Critical Northwest A&F University
Priority to CN201210299132.XA priority Critical patent/CN102843562B/en
Publication of CN102843562A publication Critical patent/CN102843562A/en
Application granted granted Critical
Publication of CN102843562B publication Critical patent/CN102843562B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention belongs to the technical field of information fault-tolerance, and provides a grouped fault-tolerant entropy coding method. The method comprises the steps of: first, dividing a frame in a video sequence into macro blocks which are equal in size, and compressing the macro blocks to obtain data blocks which are unequal in length as source data of grouped fault-tolerant entropy coding; then, obtaining a length conversion sequence according to a length conversion algorithm, and dividing the source data into different groups to obtain grouped information of each data block; and finally, coding the grouped information of each data block. By dividing the blocks which are different in length into groups which are equal in total length and coding the groups according to a one-frame-to-one-frame sequence, the coding process is optimized, and the coding rate at a coding end is accelerated. The storage requirement increase is less, and the decoding complexity is reduced, so that the robustness is effectively improved. The grouped fault-tolerant entropy coding method has stronger popularization and application values.

Description

A kind of method of the fault-tolerant entropy coding that divides into groups
Technical field
The fault-tolerant field of the information that the invention belongs to relates in particular to a kind of method of the fault-tolerant entropy coding that divides into groups.
Background technology
The frame structure of fault-tolerant entropy coding adopts the encode data block of different length of equel length code groove, and the length of each yard groove approaches average length.Fault-tolerant entropy coding generally is divided into N step, and the first step is inserted into all pieces in the corresponding sign indicating number groove and goes, when n goes on foot, and i block search (i+ φ n)/N, φ nBe a predefined offset sequence, N is the total block data of source data.If the groove that certain data block searches also has remaining space after having adorned this data block, the part that so just other pieces is had more is loaded into.
The method of fault-tolerant entropy coding need be put into isometric sign indicating number groove step by step with data block, and cataloged procedure is long, and decoding is complicated, poor robustness.
Summary of the invention
The invention provides a kind of method of the fault-tolerant entropy coding that divides into groups; Being intended to solve the method for traditional fault-tolerant entropy coding need put into isometric sign indicating number groove step by step with data block, and cataloged procedure is long, the code rate of coding side is lower, decode operation is complicated, the problem of poor robustness.
The object of the present invention is to provide a kind of method of the fault-tolerant entropy coding that divides into groups, this method may further comprise the steps:
Step 1 is divided into the macro block of equal sizes with the frame in the video sequence, and macro block is compressed, and obtains the second-class data block of length, as the source data of the fault-tolerant entropy coding that divides into groups;
Step 2 according to the transition length algorithm, obtains the transition length sequence, and source data is divided into different groups, draws the grouping information of each data block;
Step 3 is encoded to the grouping information of each data block.
Further, in step 2, according to the transition length algorithm, the implementation method that obtains the transition length sequence is:
1) initialization: make L=L Min, k=1, L MinThe piece of representing shortest length in all pieces.
2) find all length to be not more than the piece of L, and be designated as SL.
S L = Σ l = L min L ( K l · l ) - - - ( 6 )
K LBe that length is the quantity of the piece of l
3) make R=k*T/M, if S L>R, then L k=L, k=k+1, L kBe k transition length, T is the total length of all pieces, and M is a predefined group of number.
4) if L=L+1 is L=L MaxPerhaps k=M then finishes, otherwise jumps to 2), L wherein MaxRepresent the longest piece of length in all pieces.
Further, in step 2, the group number that source data is divided into groups is to set in advance, and the group number that source data is divided into groups is not less than 2 groups.
Further, this method also can be transmitted the data set that has added grouping information, with the actual effect of the fault-tolerant entropy coding of test packet.
Further, when method was used for the Compression and Transmission of video sequence, the influence of sequence quantized level was little, and Y-PSNR improves along with the increase of packet group number.
The method of the fault-tolerant entropy coding of grouping provided by the invention at first is divided into the frame in the video sequence macro block of equal sizes, and macro block is compressed, and the data block that obtains being uneven in length is as the source data of the fault-tolerant entropy coding that divides into groups; According to the transition length algorithm, obtain the transition length sequence then, source data is divided into different groups, draw the grouping information of each data block; At last the grouping information of each data block is encoded; This method is divided into the group that total length equates through the piece with different length; To organize then according to the order of a frame one frame and encode, optimize cataloged procedure, accelerate the code rate of coding side; To the storage demand increase seldom; Reduce complexity of decoding, improved robustness effectively, had stronger popularization and using value.
Description of drawings
Fig. 1 is the realization flow figure of the method for the fault-tolerant entropy coding of grouping that provides of the embodiment of the invention;
Fig. 2 be the embodiment of the invention provide according to the transition length algorithm, obtain the flow chart of the implementation method of transition length sequence.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further specified below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in the qualification invention.
Fig. 1 shows the realization flow of the method for the fault-tolerant entropy coding of grouping that the embodiment of the invention provides.
This method may further comprise the steps:
In step S101, the frame in the video sequence is divided into the macro block of equal sizes, and macro block is compressed, obtain the second-class data block of length, as the source data of the fault-tolerant entropy coding that divides into groups;
In step S102, according to the transition length algorithm, obtain the transition length sequence, source data is divided into different groups, draw the grouping information of each data block;
In step S103, the grouping information of each data block is encoded.
As shown in Figure 2, in embodiments of the present invention, in step S102, according to the transition length algorithm, the implementation method that obtains the transition length sequence is:
1) initialization: make L=L Min, k=1, L MinThe piece of representing shortest length in all pieces.
2) find all length to be not more than the piece of L, and be designated as SL.
S L = Σ l = L min L ( K l · l ) - - - ( 6 )
K LBe that length is the quantity of the piece of l
3) make R=k*T/M, if S L>R, then L k=L, k=k+1, L kBe k transition length, T is the total length of all pieces, and M is a predefined group of number.
4) if L=L+1 is L=L MaxPerhaps k=M then finishes, otherwise jumps to 2), L wherein MaxRepresent the longest piece of length in all pieces.
In embodiments of the present invention, in step S102, the group number that source data is divided into groups is to set in advance, and the group number that source data is divided into groups is not less than 2 groups.
In embodiments of the present invention, this method also can be transmitted the data set that has added grouping information, with the actual effect of the fault-tolerant entropy coding of test packet.
In embodiments of the present invention, when method was used for the Compression and Transmission of video sequence, the influence of sequence quantized level was little, and Y-PSNR improves along with the increase of packet group number.
Below in conjunction with accompanying drawing and specific embodiment application principle of the present invention is further described.
After image was divided into different pieces, the length after its compression differed, thereby based on its length it is divided into different groups.In grouping process, the length and the transition length that obtains through algorithm of each piece are made comparisons, thereby confirm the group under each piece.
Carry out the Compression and Transmission of video sequence with the method among the present invention, the influence of sequence quantized level is little, and Y-PSNR improves along with the increase of M.Simultaneously, it is also showing than traditional E REC than the performance under the high bit-error.
After obtaining the grouping information of data block, can be that predictive coding also can be other coding techniquess, can realize multiple compression means with different combinations the grouping information coding techniques through this group technology to the coding of grouping information.
The idiographic flow of the method for this fault-tolerant entropy coding that divides into groups is following:
The a certain frame of video sequence is divided into the macro block of equal sizes, then with its compression, thus the data block that obtains being uneven in length, as the source data of our coding.
According to the transition length algorithm, obtain the transition length sequence, thereby source data is divided into different groups, thereby draw the grouping information of each piece.Group number M sets M >=2 in advance.
Utilize compression such as predictive coding technology that grouping information is encoded.
The data set that has added grouping information is transmitted the actual effect of test new method.
The method of the fault-tolerant entropy coding of grouping that the embodiment of the invention provides at first is divided into the frame in the video sequence macro block of equal sizes, and macro block is compressed, and the data block that obtains being uneven in length is as the source data of the fault-tolerant entropy coding that divides into groups; According to the transition length algorithm, obtain the transition length sequence then, source data is divided into different groups, draw the grouping information of each data block; At last the grouping information of each data block is encoded; This method is divided into the group that total length equates through the piece with different length; To organize then according to the order of a frame one frame and encode, optimize cataloged procedure, accelerate the code rate of coding side; To the storage demand increase seldom; Reduce complexity of decoding, improved robustness effectively, had stronger popularization and using value.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. the method for the fault-tolerant entropy coding that divides into groups is characterized in that this method may further comprise the steps:
Step 1 is divided into the macro block of equal sizes with the frame in the video sequence, and macro block is compressed, and the data block that obtains being uneven in length is as the source data of the fault-tolerant entropy coding that divides into groups;
Step 2 according to the transition length algorithm, obtains the transition length sequence, and source data is divided into different groups, draws the grouping information of each data block;
Step 3 is encoded to the grouping information of each data block.
2. the method for claim 1 is characterized in that, in step 2, according to the transition length algorithm, the implementation method that obtains the transition length sequence is:
1) initialization: make L=L Min, k=1, L MinThe piece of representing shortest length in all pieces;
2) find all length to be not more than the piece of L, and be designated as SL;
S L = Σ l = L min L ( K l · l )
K LBe that length is the quantity of the piece of l;
3) make R=k*T/M, if S L>R, then L k=L, k=k+1, L kBe k transition length, T is the total length of all pieces, and M is a predefined group of number;
4) if L=L+1 is L=L MaxPerhaps k=M then finishes, otherwise jumps to 2), L wherein MaxRepresent the longest piece of length in all pieces.
3. the method for claim 1 is characterized in that, in step 2, the group number that source data is divided into groups is to set in advance, and the group number that source data is divided into groups is not less than 2 groups.
4. the method for claim 1 is characterized in that, this method also can be transmitted the data set that has added grouping information, with the actual effect of the fault-tolerant entropy coding of test packet.
5. the method for claim 1 is characterized in that, when method was used for the Compression and Transmission of video sequence, the influence of sequence quantized level was little, and Y-PSNR improves along with the increase of packet group number.
CN201210299132.XA 2012-08-21 2012-08-21 A kind of method of the fault-tolerant entropy code that divides into groups Expired - Fee Related CN102843562B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210299132.XA CN102843562B (en) 2012-08-21 2012-08-21 A kind of method of the fault-tolerant entropy code that divides into groups

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210299132.XA CN102843562B (en) 2012-08-21 2012-08-21 A kind of method of the fault-tolerant entropy code that divides into groups

Publications (2)

Publication Number Publication Date
CN102843562A true CN102843562A (en) 2012-12-26
CN102843562B CN102843562B (en) 2016-03-02

Family

ID=47370578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210299132.XA Expired - Fee Related CN102843562B (en) 2012-08-21 2012-08-21 A kind of method of the fault-tolerant entropy code that divides into groups

Country Status (1)

Country Link
CN (1) CN102843562B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209325A (en) * 2013-02-26 2013-07-17 西北农林科技大学 Cross fault tolerance entropy coding method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101243611A (en) * 2005-08-12 2008-08-13 微软公司 Efficient coding and decoding of transform blocks
CN101243459A (en) * 2005-08-12 2008-08-13 微软公司 Adaptive coding and decoding of wide-range coefficients
US20090226106A1 (en) * 2008-03-10 2009-09-10 Samsung Electronics Co., Ltd. Apparatus for encoding image and apparatus for decoding image
US20090273706A1 (en) * 2008-05-02 2009-11-05 Microsoft Corporation Multi-level representation of reordered transform coefficients

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101243611A (en) * 2005-08-12 2008-08-13 微软公司 Efficient coding and decoding of transform blocks
CN101243459A (en) * 2005-08-12 2008-08-13 微软公司 Adaptive coding and decoding of wide-range coefficients
US20090226106A1 (en) * 2008-03-10 2009-09-10 Samsung Electronics Co., Ltd. Apparatus for encoding image and apparatus for decoding image
US20090273706A1 (en) * 2008-05-02 2009-11-05 Microsoft Corporation Multi-level representation of reordered transform coefficients

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209325A (en) * 2013-02-26 2013-07-17 西北农林科技大学 Cross fault tolerance entropy coding method
CN103209325B (en) * 2013-02-26 2016-03-09 西北农林科技大学 The fault-tolerant entropy coding method of a kind of intersection

Also Published As

Publication number Publication date
CN102843562B (en) 2016-03-02

Similar Documents

Publication Publication Date Title
CN105684316B (en) Polar code encoding method and device
CN103067022B (en) A kind of integer data lossless compression method, decompression method and device
US9454552B2 (en) Entropy coding and decoding using polar codes
CN106170921A (en) Relate to source code and the decoding method and device of the data of sign compression
CN106170922B (en) The source code of data and decoded device and method
CN102438145A (en) Image lossless compression method on basis of Huffman code
CN103339959A (en) Dynamic video switching
CN102724500B (en) A kind of compressing/decompressing method of video data and system
CN104168085A (en) Data compression method based on redundant entropy conversion
CN102668560B (en) Embedded graphics coding: reordered bitstream for parallel decoding
CN101751440A (en) Data compression/decompression method and device thereof
WO2010144461A3 (en) Adaptive entropy coding for images and videos using set partitioning in generalized hierarchical trees
CN104380832A (en) Compression devices, decompression devices, compression methods, and decompression methods
CN116016606B (en) Sewage treatment operation and maintenance data efficient management system based on intelligent cloud
CN103167289A (en) Method and device for coding and decoding image
US7148821B2 (en) System and method for partition and pattern-match decoding of variable length codes
CN102118615A (en) Video coding/decoding method adopting variable size block skipping mode and device
JP5913748B2 (en) Secure and lossless data compression
CN104380733A (en) Video quantization-parameter encoding method, video quantization-parameter decoding method, device, and program
CN105337617A (en) Method for efficiently compressing full service network (FSN) files
CN103597829A (en) Method for coding video quantization parameter and method for decoding video quantization parameter
CN102843562A (en) Grouped fault-tolerant entropy coding method
CN104093027A (en) Joint scalar embedded graphics coding for color images
CN102323541A (en) Test method for SOC (System On Chip) based on reference vector and bit mask
CN102651795B (en) Run-length reduced binary sequence compressed encoding 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160302

Termination date: 20160821