Image lossless compression and image decompressing method
A lossless compression and image decoding technology, applied in image communication, television, electrical components, etc., it can solve the problems of poor color image processing effect, complex coding algorithm, large amount of calculation, etc., to achieve the best processing effect and simple coding algorithm , the effect of a small amount of calculation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Based on the above ideas, the method for image lossless compression in Embodiment 1 of the present invention specifically includes the following steps:
[0030] Step A: starting from the first row, logically exclusive OR the original pixel values of the Nth row and the N+1th row in two adjacent rows of the original image data, to obtain the XOR pixel value of the N+1th row;
[0031] Step B: Perform run-length encoding on the XOR pixel value of row N+1, and add an XOR flag in the packet header before transmitting;
[0032] The XOR flag is a flag indicating that 1 indicates that the result is the run-length encoding of the original pixel value after XOR, and 0 indicates that the result is the run-length encoding of the non-XOR original pixel value.
[0033] Step C: repeating the step A and step B, repeatedly performing logical exclusive OR on the original pixel value of the original image data until the end of the Mth row;
[0034] By performing a run-length encoding o...
Embodiment 2
[0054] The image lossless compression method in Embodiment 2 of the present invention specifically includes the following steps:
[0055] Step A': starting from the first row, logically exclusive OR the original pixel values of the Nth row and the N+1th row in two adjacent rows of the original image data, to obtain the XOR pixel value of the N+1th row;
[0056] Step B': perform run-length coding on the XOR pixel value of row N+1 and the original pixel value of the row, and calculate the compression ratio respectively;
[0057]The compression ratio refers to the ratio of the amount of image data before compression to the amount of image data after compression.
[0058] Step C': compare the compression ratio of the run-length coding of the XOR pixel value of row N+1 with the compression ratio of the run-length coding of the original pixel value of this row, and add Transmit after XOR flag.
[0059] The XOR flag can be represented by a flag bit, 1 means that the result is run...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com