CN100527851C - Error code recognition and processing method of compression image - Google Patents
Error code recognition and processing method of compression image Download PDFInfo
- Publication number
- CN100527851C CN100527851C CN 200610016925 CN200610016925A CN100527851C CN 100527851 C CN100527851 C CN 100527851C CN 200610016925 CN200610016925 CN 200610016925 CN 200610016925 A CN200610016925 A CN 200610016925A CN 100527851 C CN100527851 C CN 100527851C
- Authority
- CN
- China
- Prior art keywords
- error code
- data
- packet header
- frame
- header
- 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
Images
Abstract
The invention is an error identification and process method of compressed image; it belongs to field of compression image communication technique which possesses random error code and data loss, especially relates to error identification and process method of last unfixed-length compressed image. During coding, data of every frame is divided into N packages; byte which expresses frame information is placed on fixed position of every package, information of different frame is different, on receiving end, whether there is error code in the frame information of every package, if it is, the error code is replaced with collect frame information or fixed data, if there is miscarriage of justice, original data is recovered. The benefit effect of the invention is putting forwards error identification and process method, local error code can be detected effectively, and corrected, poor result of error can be decreased, and it is precise, reliable, economic, and practical.
Description
Technical field
The invention belongs to the Compressed Image Communication technical field that has random error and loss of data, relate in particular to the error code identification and the processing method of continuous non-fixed length compressed image.
Background technology
During real-time Transmission that continuous jumbo digital picture needs are wireless, often wireless transmission rate can not meet the demands, and image is by transmission again behind the compressed encoding, and going back original image in the receiving terminal decoding is common solution.And when the transmission reliability of Radio Link is not easy to be protected, the possibility that the data error code is just arranged and lose, if error code appears in key message, may be to bringing on a disaster property of decoding consequence.For the ease of Error detection, common way is when compressed encoding, and the design verification sign indicating number has judged whether error code at receiving terminal according to check code then.And in real-time coding, real-time Transmission under the operational environment of decompress(ion), because the restriction of coding rate often can not design the error checking sign indicating number, if transmission environment causes error code, be discerned very difficulty of error code at receiving terminal in real time.At this situation, go back the effective way of neither one at present and can discern error code.
Summary of the invention
The objective of the invention is at this situation, propose a kind of error code identification and processing method, reduce because the decoding error that error code brings.
The present invention seeks to realize like this: a kind of error code identification and processing method of compressed image, during coding, every frame image data is divided into the N bag, some bytes of expression frame information are placed on starting position in every bag, be called packet header, all the other bytes are view data, the packet header of each bag of same two field picture is just the same, the frame information of different frame is inevitable different, and at receiving terminal, whether the frame information of analyzing every bag successively has error code, if error code is arranged, then error code is replaced with correct frame information or fixed data,, recovered original data if when finding erroneous judgement is arranged.
Preferably, at receiving terminal, whether the frame information of analyzing every bag has error code, and specific analytical method is: at receiving terminal, analyze the frame information of every bag successively, begin the same frame information of continuous three guarantees and represent that frame data begin, and are set at frame information the frame head of present frame.
Preferably, at receiving terminal, if the frame information and the frame head of bag are inconsistent, tentatively regard as error code, available frame head data or fixed data are replaced frame information.
Preferably, at receiving terminal, if not beginning, the frame information of three guarantees is the same continuously, and inconsistent with frame head, and then these three guarantees are new frame data, once are mistaken for error code, recover its original frame information.
The invention has the beneficial effects as follows to have proposed a kind of error code identification and processing method, can detect the local error code that takes place effectively, and be revised, can alleviate the adverse consequences that error code brings.And accurately, reliable, economy, practicality.
Description of drawings
Fig. 1 is error code identification of the present invention and process chart.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, for embodiment also in conjunction with the accompanying drawings, the present invention is described in more detail below.
Provide a kind of compaction coding method below.
Compression method adopts wavelet transformation, and every two field picture size is 4096 * 3072 bytes before the coding, and compression back data least unit is bag, one bag size is 1024 bytes, because compression ratio is fixing, does not also fix so every frame compressed image comprises number, during coding, every frame image data is divided into the N bag.
Coding is stipulated: 8 bytes of expression frame information are placed on whenever unwrap the beginning position, be called packet header, all the other bytes are view data.The packet header of each bag of same two field picture is just the same, and the packet header between the different frame is not exclusively the same.For continuous non-fixed length compressed image, packet header is the important criterion of distinguishing frame and frame, if this place's error code can cause branch frame mistake.
Fig. 1 is error code identification of the present invention and process chart.
Error code of the present invention is judged and is as follows to the definite and processing treatment step of erroneous judgement:
Step 1: when beginning to analyze, initialization frame head and error code packet header 1, error code packet header 2;
Step 2: judge whether present frame has error code, the packet header of current bag is taken out that compare with frame head: if equate, then thinking does not have error code, execution in step 4; If unequal, then tentatively regard as error code, earlier packet header and error code packet header 1 are compared: if unequal, then replace error code packet header 1, and replace packet header, execution in step 4 with frame head data or error code flag data with header data; If equate, continue again to compare: if unequal, then replace error code packet header 2, and replace packet header, execution in step 4 with frame head data or error code flag data with header data with error code head 2; If equate, then enter step 3;
Step 3: replace frame head with current header data, recover nearest 3 header data of wrapping respectively with error code packet header 1, error code packet header 2 data, they are new frame data.
Step 4: if new data is arranged, take off the bag data, continue repeating step 2.
The present invention's " a kind of error code identification and processing method of compressed image " not only is confined to the above embodiments, can carry out being applied after the multiple variation in the scope that technological thought of the present invention allows.
Allly carry out equivalence with this claim and change and revise, all should belong to covering scope of the present invention.
The present invention under the coding of not setting error checking, can effective recognition the local error code that occurs in the packed data, and prevent the misjudgement measure, provided treating method effectively, for the correctness that improves decoding certain effect is arranged.
Claims (1)
1, identification of a kind of error code of compressed image and processing method, during coding, every frame image data is divided into the N bag, the expression frame information byte be placed on whenever unwrap the beginning position, be called packet header, all the other bytes are view data, the packet header of each bag of same two field picture is just the same, packet header between the different frame is not exclusively the same, and at receiving terminal, whether the frame information of analyzing every bag successively has error code, if error code is arranged, then error code is replaced with correct frame information or fixed data,, recovered original data if when finding erroneous judgement is arranged; It is characterized in that judgement and the concrete steps of determining and handling to judging by accident for error code:
Step 1: when beginning to analyze, initialization frame head and error code packet header 1, error code packet header 2;
Step 2: judge whether present frame has error code: the packet header of current bag is taken out, and compare with frame head: if equate, then thinking does not have error code, execution in step 4; If unequal, then tentatively regard as error code, earlier packet header and error code packet header 1 are compared: if unequal, then replace error code packet header 1, and replace packet header, execution in step 4 with frame head data or error code flag data with header data; If equate, continue again to compare: if unequal, then replace error code packet header 2, and replace packet header, execution in step 4 with frame head data or error code flag data with header data with error code head 2; If equate, then enter step 3;
Step 3: replace frame head with current header data, recover nearest 3 header data of wrapping respectively with error code packet header 1, error code packet header 2 data, they are new frame data;
Step 4: if new data is arranged, take off the bag data, continue repeating step 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610016925 CN100527851C (en) | 2006-06-07 | 2006-06-07 | Error code recognition and processing method of compression image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610016925 CN100527851C (en) | 2006-06-07 | 2006-06-07 | Error code recognition and processing method of compression image |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101087431A CN101087431A (en) | 2007-12-12 |
CN100527851C true CN100527851C (en) | 2009-08-12 |
Family
ID=38938136
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610016925 Expired - Fee Related CN100527851C (en) | 2006-06-07 | 2006-06-07 | Error code recognition and processing method of compression image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100527851C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103974080B (en) * | 2014-05-13 | 2017-04-12 | 华中科技大学 | Transmission error code correction method for image prediction compression coding |
CN111010575B (en) * | 2019-12-17 | 2022-08-02 | 北京数码视讯科技股份有限公司 | Code stream fault tolerance method and device and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5376969A (en) * | 1993-11-15 | 1994-12-27 | Rca Thomson Licensing Corporation | Method and apparatus for conveying compressed video data over a noisy communication channel |
US5847840A (en) * | 1991-10-21 | 1998-12-08 | Canon Kabushiki Kaisha | Image transmitting apparatus |
US20030174895A1 (en) * | 2002-03-14 | 2003-09-18 | Winbond Electronics Corp. | Method and apparatus for decoding compressed image data and capable of preventing error propagation |
-
2006
- 2006-06-07 CN CN 200610016925 patent/CN100527851C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5847840A (en) * | 1991-10-21 | 1998-12-08 | Canon Kabushiki Kaisha | Image transmitting apparatus |
US5376969A (en) * | 1993-11-15 | 1994-12-27 | Rca Thomson Licensing Corporation | Method and apparatus for conveying compressed video data over a noisy communication channel |
US20030174895A1 (en) * | 2002-03-14 | 2003-09-18 | Winbond Electronics Corp. | Method and apparatus for decoding compressed image data and capable of preventing error propagation |
Also Published As
Publication number | Publication date |
---|---|
CN101087431A (en) | 2007-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103532668A (en) | Method for ensuring integrity and correctness of TCP (transmission control protocol) communication data | |
CN102118293B (en) | Method for compressing and storing communication messages | |
CN112187936B (en) | Vehicle data processing method, device, equipment, storage medium and vehicle | |
CN110704356A (en) | Universal serial port data analyzing method | |
CN107959549B (en) | Label signal decoding method, label decoding device and label reader | |
CN107071451B (en) | A kind of Larger Dynamic real-time decompression system based on variable input traffic | |
CN100527851C (en) | Error code recognition and processing method of compression image | |
CN109274636B (en) | Data safety transmission method and device, system and train thereof | |
CN109728879B (en) | Synchronous error correction method for serial burst access application layer SLIP protocol message | |
CN105469783A (en) | Audis identification method and device | |
CN112073272B (en) | Method and device for analyzing rail transit data based on index matching | |
US9819968B2 (en) | Method and apparatus for error detection in CABAC | |
CN106354636A (en) | Method and device for code testing | |
JP5250505B2 (en) | Mobile communication device test system and test method | |
CN103746827A (en) | Method and system for automatic parameter identification in IEC101/104 protocol analysis | |
CN104270155A (en) | Manchester code stream reception and anti-interference analysis method | |
CN114826384B (en) | Method, device, equipment and medium for estimating remote sensing satellite data error rate | |
CN113824724B (en) | Method and device for judging tampered sensor data of intelligent substation and storage medium | |
CN102353814A (en) | Method for detecting output signal failure of wind direction sensor | |
CN112235221B (en) | BPSK signal decoding method and device | |
CN103745003A (en) | HTML fragment detection method | |
CN112637139A (en) | Voice transmission processing method and device based on Internet of things and computer equipment | |
CN102737184A (en) | Method for safely displaying user-defined information | |
CN109309670B (en) | Data stream decoding method and system, electronic device and computer readable storage medium | |
CN116506326B (en) | Sub-thread data receiving method, data monitoring method, upper computer and robot |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090812 Termination date: 20110607 |