PNG (Portable Network Graphic) image compression method
A compression method and picture technology, applied in image communication, television, electrical components, etc., can solve problems such as enlargement, and achieve the effect of high compression rate and good processing performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] In order to allow those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described below in conjunction with the accompanying drawings.
[0017] Such as figure 1 Shown, the present invention discloses a kind of compression method of PNG image, comprises the following steps:
[0018] (1) Read the original image, and convert the RGB color space of the original image to the HSV color space.
[0019] For each pixel of the image, let (r, g, b) be the red, green and blue pixel values of the pixel in the RGB space, and the values are real numbers between 0 and 255. Let max=max(r,g,b), min=min(r,g,b). Then the corresponding (h, s, v) values in HSV space are:
[0020] ,
[0021] ,
[0022] .
[0023] (2) Use the pixel data of the image obtained in step (1) to set the palette through the octree method: (a) First create a node with only the root node 0 and initialize it; (b) Divide th...
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