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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com