Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Compression method and device and decompression method and device for image with transparency

A transparent image, with transparency technology, applied in the field of image processing, can solve the problem of not supporting transparency, unable to apply image compression with transparency, etc., to achieve the effect of improving the compression rate and the compression effect

Active Publication Date: 2014-01-22
GUILIN LIGANG NETWORK TECH
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing popular lossy image compression algorithms usually do not support transparency, which makes suc

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Compression method and device and decompression method and device for image with transparency
  • Compression method and device and decompression method and device for image with transparency
  • Compression method and device and decompression method and device for image with transparency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0030] figure 1 It is a flowchart of a method for compressing an image with transparency in an embodiment of the present invention. like figure 1 As shown, in this embodiment, the flow of the image compression method with transparency may include the following steps:

[0031] Step S101, obtaining the image data of the original four channels A, R, G, and B of the image with transparency;

[0032] Step S102, the image data of the three channels R, G, and B are respectively premultiplied with the image data of the A channel. The formula for premultiplication is: RGB=RGB*A / MAX(A), where MAX(A) refers to A the maximum value of the channel data;

[0033] Step S103, save the R, G, and B three-channel image data obtaine...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a compression method and device and a decompression method and device for an image with transparency. A compression method for the image with transparency comprises the steps of obtaining the image data of original channels A, R, G and B of the image with transparency; respectively pre-multiplying the image data of the channels R, G and B by the image data of the channel A, wherein a pre-multiplying formula is RGB=RGB*A/MAX (A), MAX (A) denotes the maximum value of the data of the channel A; saving the image data of the channels R, G and B obtained through pre-multiplication as a first nontransparent image and saving the image data of the channel A as a second nontransparent image, wherein a formula for the image data of the channel A is R=G=B=A; respectively compressing the first nontransparent image and the second nontransparent image by adopting a nontransparent image lossy compression algorithm. The compression method and device for the image with transparency provided by the invention have the advantage that the compression ratio of the image with transparency is improved.

Description

technical field [0001] The invention relates to the field of image processing, in particular to a method and device for compressing images with transparency, and a method and device for decompressing them. Background technique [0002] Image compression in multimedia applications requires a higher compression rate, so image compression in multimedia applications usually uses a lossy compression method. The characteristics of lossy compression are: 1. The compressed image is not exactly the same as the original image; 2. The compression rate is much higher than that of lossless compression. Existing popular lossy image compression algorithms usually do not support transparency, which makes such popular lossy image compression algorithms unable to be applied to compression of images with transparency. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a method and device for compressing images with transparency, and ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04N19/00H04N19/85
Inventor 杨潇黄剑李炽安钟柱亮
Owner GUILIN LIGANG NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products