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

Image coding method, image decoding method and device

An image coding and image technology, which is applied in the field of image processing, can solve problems such as changes in image compression ratio, low encryption security, and impact on image quality, and achieve the effect of small changes in image compression ratio and high encryption security

Active Publication Date: 2012-10-10
重庆市夔门科技服务有限公司
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to provide an image encoding method, image decoding method and device, aiming to solve the problem of image quality in non-sensitive areas being affected due to the use of existing technologies to encrypt and compress images. The ratio has changed greatly, and the encryption security is not high

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
  • Image coding method, image decoding method and device
  • Image coding method, image decoding method and device
  • Image coding method, image decoding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] figure 1 The implementation flow of the image coding method provided by the first embodiment of the present invention is shown, and the details are as follows:

[0036] In step S101, the original image is decomposed into a plurality of minimum coding units MCU.

[0037] In step S102, the quantized DCT coefficients of each MCU are obtained according to the DCT transform and quantization algorithm.

[0038] Wherein, the MCU (Minimum Coding Unit, the smallest coding unit in a JPEG image) is an 8*8 area block, and the quantized DCT coefficients are 64-bit quantized DCT coefficients.

[0039] In the embodiment of the present invention, the preset sensitive area in the original image is the area specified by the user in advance and needs to be encrypted. For any image that can be transformed by DCT (Discrete Cosine Transform, Discrete Cosine Transform), when the image is compressed into a JPEG (Joint Photographic Experts Group, Joint Photographic Experts Group) compressed b...

Embodiment 2

[0070] Image 6 The structure of the image encoding device provided by the second embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0071] The image coding device can be applied to all DCT-based image compression or video compression formats, and can also be used in image editors with image encryption, compression processing functions, etc., and can be software running in these image editors The unit can also be integrated into these image editors as an independent pendant. The image encoding device includes an MCU decomposition unit 61, a transformation and quantization unit 62, an encryption and identification unit 63, and an encoding unit 64, wherein:

[0072] The MCU decomposing unit 61 is configured to decompose the original image of the preset sensitive area into multiple minimum coding units MCU.

[0073] The transformation and quantization unit 62 is conf...

Embodiment 3

[0092] Figure 7 The implementation flow of the image decoding method provided by the third embodiment of the present invention is shown, and the details are as follows:

[0093] In step S701, the encrypted and compressed image is decoded to obtain DCT coefficients of each minimum coding unit MCU.

[0094] In the specific implementation process, for any encrypted and compressed JPEG image processed by the image coding method provided by the embodiment of the present invention, when it is necessary to obtain the original image corresponding to the encrypted and compressed JPEG image, it is also necessary to first The encrypted and compressed JPEG image is decoded to obtain DCT coefficients corresponding to each minimum coding unit MCU.

[0095] In step S702, when it is determined that any MCU contains a preset region identifier, remove the preset region identifier from the DCT coefficients corresponding to the any MCU, and decrypt the DCT coefficients of the MCU after removing...

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 is suitable for the technical field of image processing and provides an image coding method, and an image decoding method and device. The image coding method comprises the following steps: decomposing an original image into a plurality of MCUs (Minimum Coding Units); obtaining a quantization DCT (Discrete Cosine Transform) coefficient of each MCU according to a DCT and quantization algorithm; when any MCU is judged to contain a sensitive area, encrypting the quantization DCT coefficient of the MCU and adding a default area identification into the encrypted quantization DCT coefficient to update the quantization DCT coefficient of the MCU as an identified and encrypted quantization DCT coefficient; and carrying out coding compression on the quantization DCT coefficient of each MCU and generating an encrypted and compressed image. The image coding method, and the image decoding method and device have the benefit that only the quantization DCT coefficient of each MCU containing the sensitive area is encrypted and is added with the area identification, so that the quality of an image in a non-sensitive area is not affected, and the encrypted image can keep higher compression ratio, so that the encryption security is also improved.

Description

technical field [0001] The invention belongs to the technical field of image processing, and in particular relates to an image encoding method, an image decoding method and a device. Background technique [0002] At present, the rise of the Internet, especially social networks, allows people to freely upload and share pictures anytime and anywhere. However, there is a lack of effective protection methods for sensitive areas in images, such as the protection of sensitive areas such as faces, trademarks, and text. . After using the existing technology to encrypt the sensitive area of ​​the image, the image quality of the non-sensitive area is often affected, the compression ratio of the encrypted image also changes greatly, and there are unauthorized users who can easily obtain the location of the encrypted sensitive area Information in sensitive areas is easy to leak, and it also makes it impossible to accurately locate and recover encrypted sensitive areas at the decryption...

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): H04N21/234H04N21/2347H04N21/44H04N21/4405
Inventor 廉士国
Owner 重庆市夔门科技服务有限公司
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