Bill image compression method based on JPEG (joint photographic experts group) compression principle
An image compression and ticket-like technology, applied in the field of image processing, can solve problems such as low compression ratio
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0017] In the bill image compression technology based on JPEG compression, according to the characteristics of the scanned electronic bill image, we preprocess the bill image to increase redundancy, and then use the newly proposed quantization table to perform JPEG compression operation. There are two main steps in the method of ticket image compression:
[0018] 1. Image preprocessing. Specific steps are as follows:
[0019] 1) First perform color space conversion on the original bill image I, from the RGB channel to the YCbCr channel, respectively Y, Cb, Cr, the formula is as follows:
[0020] Y = 0.299 R + 0.587 G + 0.114 B
[0021] Cb = - 0.1687 R - 0.3313 G + 0.5 B + 128
[0022] Cr = 0.5 R - 0.4187 G - 0.0813 B + 128
[0023] 2) Divide the three matrices of Y, Cb, and Cr into blocks, each 8*8 block is one block, if it is less than 8*8, it is counted as one block.
[0024] 3) Calculate the variance of the pixel values of each block of the three matrices Y, Cb, and...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More