Image compression method and device

An image compression, image technology, applied in the field of image processing, can solve the problem of compression method can not be compressed, and achieve the effect of good storage or transmission effect
CN112118446BActive Publication Date: 2022-04-26HANGZHOU HIKVISION DIGITAL TECH

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Patents(China)
Current Assignee / Owner
HANGZHOU HIKVISION DIGITAL TECH
Publication Date
2022-04-26

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present application provides an image compression method, the method includes: obtaining the ROI area from the original image, compressing the non-ROI area in the original image according to the first compression level, and dividing the compressed non-ROI area and the non-ROI area in the original image The area outside is determined as the first image; the first image is compressed according to the second compression level to obtain the second image; if the difference between the second image size M and the preset target value N is not within the preset range, then according to M and N Select the compression level to be adjusted from the first compression level and the second compression level and adjust the selected compression level. Compress the non-ROI area with the first compression level to reduce the size of the non-ROI area while retaining the clarity of the ROI area, and then compress the entire image with the second compression level to obtain an image size that meets the requirements. By dynamically adjusting the compression level, the compressed image size is always kept within the required range.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the technical field of image processing, in particular to an image compression method and device. Background technique

[0002] In the traffic monitoring industry, in order to save storage space and improve data transmission efficiency, it is a key step before storage and transmission to compress and encode the original image collected by the surveillance camera to reduce the image size (the storage space occupied by the image).

[0003] At present, the collected original images are only stored and transmitted after being compressed and encoded with a fixed compression rate. However, this compression method is suitable for fixed scenes. For surveillance scenes with dynamically changing targets (such as vehicles, people, etc.) The size of the image varies greatly. If the original image is always compressed and encoded with a fixed compression rate, the size of the stored and transmitted image will also vary greatly, t...

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