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

A method for automatically selecting image compression quality and compressing images

A technology of compression quality and automatic selection, applied in the electronic field, can solve problems such as inability to realize personalized settings, and achieve the effect of reducing manual participation, reducing size, and reducing storage space

Inactive Publication Date: 2018-07-17
GUANGZHOU IKE IMAGE TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For a portrait photo in the distant view, you can choose the compression quality as 91, and the compressed file will be 1 / 4 of the original file. Now the method of setting the compression quality is artificially set (for example, PhotoShop can set the compression of jpeg pictures Quality), it is necessary to manually judge the compressible quality of photos. For batch pictures, personalized settings cannot be realized

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] A method for automatically selecting picture compression quality and compressing pictures, characterized by comprising the following steps:

[0026] A. Establish a picture feature database: the database stores picture features, and each picture feature has a corresponding compression quality, and the compression quality is between 80-98; the specific establishment method includes the following steps:

[0027] a. Collect pictures in different scenarios;

[0028] b. Extract and analyze the color histogram, color moment, color distribution map and / or image texture complexity level of each picture;

[0029] c. Generate a compressed picture between the compression quality of 80-98, and compare the compressed picture with the original picture manually to obtain a compression quality that cannot be distinguished from the original picture with the naked eye;

[0030] d. Save the original image, the extracted image features and the corresponding compression quality to form a database.

[0...

Embodiment 2

[0035] This embodiment is similar to Embodiment 1. Further, the method of establishing a picture feature database in step A further includes the step e. Feedback according to the picture processing situation, and continuously increase and optimize the database.

Embodiment 3

[0037] This embodiment is similar to embodiment 1 or embodiment 2, and further includes step E and step F, where step E is manual processing: if the quality of the picture is not satisfied, the compression quality is manually modified to obtain the one that meets the visual requirements Picture; where step F is database optimization: the original picture of the picture whose compression quality has been manually adjusted, the extracted picture features, and the corresponding compression quality are added to the database to enrich and optimize the database.

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 the technical field of electronics and more particularly relates to a method for automatically selecting the image compression quality and compressing an image. The method is characterized by comprising the following steps of A, establishing an image feature database for storing image features, wherein each image feature corresponds to a corresponding compression quality; B, preparing a pre-compressed image: preparing one or more pre-compressed images, extracting and analyzing the image feature of each pre-compressed image; C, searching the compression quality: comparing the image feature of each pre-compressed image with image features stored in the database, and respectively searching an image feature that is closest to the image feature of each pre-compressed image in the database; D, compressing images: according to searched image features, compressing each pre-compressed image according to the corresponding compression quality, and storing the compressed image. According to the technical scheme of the invention, the method can automatically select the compression quality, so that the manual participation is reduced. Meanwhile, the requirement on the specialized knowledge and the experience of a user is reduced.

Description

Technical field [0001] The present invention relates to the field of electronic technology, and more specifically to a method for automatically selecting picture compression quality and compressing pictures. Background technique [0002] The compression mentioned here does not change the size of the picture and the number of pixels, but only changes the size of the picture file by adjusting the compression quality. Compression ratio = (file size of the original image / file size of the compressed image), the compression quality ranges from 0---100. The compression here usually refers to the compression of jpeg pictures, and can also be applied to pictures in other formats with the same principle as jpeg. For a general picture original image (source mobile phone camera, digital camera) compression quality is 99, compression quality 97 is 1 / 2 of the original image file size, compression quality 94 can be 1 / 3 of the original image file size, compression quality 91 is 1 / 4 of the orig...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T9/00G06F17/30
CPCG06F16/583G06T9/00
Inventor 李赛健陈振华
Owner GUANGZHOU IKE IMAGE TECH CO LTD
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