Unlock instant, AI-driven research and patent intelligence for your innovation.

Picture compression method and apparatus, device and storage medium

A compression method and picture technology, which can be used in image communication, digital video signal modification, electrical components, etc., to solve problems such as photo clarity and quality degradation

Inactive Publication Date: 2019-04-16
SHENZHEN HIVE BOX TECHNOLOGY CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that the prior art has the following defects: the sharpness and quality of the compressed photos are greatly reduced

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
  • Picture compression method and apparatus, device and storage medium
  • Picture compression method and apparatus, device and storage medium
  • Picture compression method and apparatus, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] figure 1 It is a flow chart of a picture compression method provided by Embodiment 1 of the present invention. The method of this embodiment can be executed by a picture compression device, which can be realized by hardware and / or software, and can generally be integrated in a computer. The method of this embodiment specifically includes:

[0048] S110. Obtain size information of the image to be processed.

[0049] In this embodiment, the picture to be processed may specifically be a picture in any format, such as a picture in jpg format, a picture in bmp format, and a picture in png format. The size information specifically refers to information used to represent the height and width of the image to be processed, and typically may be the total number of rows and columns of pixels in the image to be processed.

[0050] S120. Determine a compression ratio according to the size information and the target compression size.

[0051] In this embodiment, the target compres...

Embodiment 2

[0064] figure 2 It is a flow chart of a picture compression method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. In this embodiment, a method for determining a specific compression ratio and a specific implementation of a method for obtaining compressed pixel information are given.

[0065] Correspondingly, the method in this embodiment specifically includes:

[0066] S210. Acquire size information of the image to be processed.

[0067] S220. Divide the height dimension in the target compression size by the height dimension in the size information to obtain a height compression ratio.

[0068] In this embodiment, the compression ratio is determined through steps 220 to 240 . First, the height compression ratio is determined through this step 220, wherein the height compression ratio may specifically be equal to dividing the height dimension in the target compression size by the height dimension in...

Embodiment 3

[0086] image 3 It is a flow chart of a picture compression method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. In this embodiment, a method for determining a specific compression ratio and a specific implementation of a method for obtaining compressed pixel information are given.

[0087] Correspondingly, the method in this embodiment specifically includes:

[0088] S310. Obtain size information of the image to be processed.

[0089] S320. Divide the height dimension in the target compression size by the height dimension in the size information to obtain a height compression ratio in the compression ratio.

[0090] In this embodiment, when the picture to be processed is compressed, the compression ratios in the height direction and the width direction are different, so the compression ratio includes two values, one is the width compression ratio. One is the high compression ratio. First, the hei...

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 embodiment of the invention discloses a picture compression method and apparatus, a device and a storage medium. The method comprises the following steps: acquiring size information of a to-be-processed picture; determining a compression ratio according to the size information and a target compression size; acquiring compression pixel information from the to-be-processed picture according to acompressed pixel acquisition interval corresponding to the compression ratio; and acquiring a compressed picture of the to-be-processed picture according to the compression pixel information. By adoption of the technical scheme provided by the embodiment of the invention, the technical defects that the definition and the quality of the compressed picture are seriously degraded in the prior art are solved, and the compressed picture with good definition and quality are obtained quickly and conveniently.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of picture compression, and in particular, to a picture compression method, device, device, and storage medium. Background technique [0002] With the development of image acquisition equipment, its shooting performance is getting better and better, and the quality of the photos taken is getting higher and higher. Correspondingly, the storage capacity required for photos is also increasing. At the same time, with the continuous increase in the number of photos As it grows, the storage capacity occupied by photos will also increase. At this time, image compression technology came into being to reduce the storage space occupied by photos. [0003] Currently, the commonly used compression method is generally based on the size, that is, the photo is compressed based on the storage capacity required for the compressed photo. [0004] In the process of realizing the present invention, the i...

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 Applications(China)
IPC IPC(8): H04N19/172H04N19/42
CPCH04N19/172H04N19/42
Inventor 熊雷
Owner SHENZHEN HIVE BOX TECHNOLOGY CO LTD