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

A codec method and device

A technology of encoding method and decoding method, applied in image enhancement, image analysis, instrument and other directions, can solve the problem of unable to hide area recovery and so on

Active Publication Date: 2020-04-03
ZHEJIANG DAHUA TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a codec method and device to solve the problem in the prior art that the hidden area cannot be restored when needed

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
  • A codec method and device
  • A codec method and device
  • A codec method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] figure 1 A schematic diagram of an encoding process provided by an embodiment of the present invention, the process includes the following steps:

[0079] S101: Obtain position information of a region to be hidden in an image.

[0080] The encoding method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be a PC, a personal computer, or an image acquisition device, as long as the electronic device includes an encoding terminal.

[0081] For the image to be coded, the electronic device can acquire the area to be hidden in the image, and the area to be hidden can be a face area, a motor vehicle area, a license plate area, and the like. The number of regions to be hidden may be one or multiple, and in this embodiment of the present invention, the number of regions to be hidden is not limited. According to needs, the area to be hidden can also be customized. For example, a certain face area in the image c...

Embodiment 2

[0100] In order to facilitate decoding of the code stream by the decoding end, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, after each first code stream is obtained, the method further includes:

[0101] According to the encoding sequence of each encoding block, each first code stream is sorted.

[0102] When an electronic device encodes each coding block in an image, there is a sequence. For example, the first coding block in the first line of the image is encoded first, and finally the last coding block in the last line of the image is encoded. coding. In the embodiment of the present invention, after each first code stream is obtained, each first code stream is sorted according to the encoding sequence of each coding block. In this way, during subsequent decoding, only the sorted streams need to be decoded in sequence.

Embodiment 3

[0104] On the basis of the above embodiments, in the embodiment of the present invention, the location information of the area to be hidden includes:

[0105] Vertex coordinate information of the smallest circumscribed rectangular area of ​​the area to be hidden; or

[0106] The mask map of the area to be hidden.

[0107] In the embodiment of the present invention, the position information of the region to be hidden includes the coordinate information of the vertices of the smallest circumscribed rectangular region of the region to be hidden, for example, the vertices of the smallest circumscribed rectangular region of the region to be hidden are A, B, C, D respectively. The coordinate information of the four vertices are A(x1, y1), B(x2, y2), C(x3, y3), D(x4, y4).

[0108] Or the location information of the region to be hidden includes a mask image of the region to be hidden. The mask map of the area to be hidden can represent any irregular area, no matter what the shape of...

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 discloses an encoding / decoding method and device. The encoding method disclosed by the embodiment of the invention comprises the following steps: acquiring data in a reserved field for an advanced-permission user, thereby acquiring each second code stream, each third code stream, and corresponding channel numbers and encoding types; performing decoding processing on each second codestream and each third code stream to obtain first prediction information and first residual information of each encoding block; performing decoding processing on each encoding block based on the firstprediction information and the first residual information of each encoding block, thereby obtaining the decoded to-be-hidden region image; performing the decoding processing on each encoded first code stream to obtain the decoded non-to-be-hidden region image; and integrating the decoded to-be-hidden region image and the decoded non-to-be-hidden region image to obtain a recovered original image.Through the encoding / decoding method disclosed by the invention, the recovery of the to-be-hidden region is realized.

Description

technical field [0001] The present invention relates to the technical field of encoding and decoding, in particular to an encoding and decoding method and device. Background technique [0002] With the development of economy and society, the security and privacy requirements of multimedia are becoming more and more prominent. In order to achieve the security and privacy of media, we usually need to protect the key face area and license plate area in images or videos in various ways. The main The purpose is that when others play the video, they cannot observe the content that the user expects to hide according to the image video obtained by video decoding, and at the same time ensure that the non-hidden content can be viewed clearly. [0003] The existing region hidden coding scheme mainly includes the following steps: (1) decode the I frame and P frame of the video to obtain the intra prediction mode of the I frame block and the motion vector of the P frame block respectivel...

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): H04N19/176G06T5/50
CPCG06T5/50G06T2207/20221H04N19/176
Inventor 林聚财殷俊
Owner ZHEJIANG DAHUA TECH CO LTD