CN109640089A - Image coding/decoding method and device - Google Patents
Image coding/decoding method and device Download PDFInfo
- Publication number
- CN109640089A CN109640089A CN201811301184.XA CN201811301184A CN109640089A CN 109640089 A CN109640089 A CN 109640089A CN 201811301184 A CN201811301184 A CN 201811301184A CN 109640089 A CN109640089 A CN 109640089A
- Authority
- CN
- China
- Prior art keywords
- region
- image
- coded
- frame
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The disclosure provides a kind of image coding/decoding method and device, is related to image data processing technology field, and the former frame or front cross frame for being able to solve inter-reference Technical Reference current image frame are for encoding compression, when picture changes greatly, the problem of compression effectiveness difference.The specific technical proposal is: obtaining target image frame, target image frame is picture frame to be encoded;Target image frame is divided at least one image-region;Each image-region at least one image-region and at least one reference zone are matched, and determine the coded reference region of each image-region;Image is carried out to each image-region according to the coded reference region of each image-region to encode to obtain the coded data of target image frame.The disclosure is used for image data encoding and decoding.
Description
Technical field
This disclosure relates to image data processing technology field more particularly to image coding/decoding method and device.
Background technique
Durings image transmitting, image storage etc., usually compression of images first is carried out to image, compression of images is data
The application of compress technique on the digital image, it is therefore an objective to reduce the redundancy in image data, reduce the data of image data
Amount, so as to store and transmit data more efficient for format.
In the related technology, image data is compressed using inter-reference technology.For example, when coding current image frame,
Compare current image frame and reference frame, for the part same or similar with reference frame, need to only mark the position of identical data
, do not need to encode, the part different with reference frame encoded, achieve the purpose that reduce data volume with this.But
The former frame or front cross frame of inter-reference Technical Reference current image frame are for encoding compression, when picture changes greatly, pressure
Contracting effect is poor.
Summary of the invention
The embodiment of the present disclosure provides a kind of image coding/decoding method and device, and it is current to be able to solve inter-reference Technical Reference
The former frame or front cross frame of picture frame are for encoding compression, when picture changes greatly, the problem of compression effectiveness difference.The skill
Art scheme is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of image encoding method is provided, which is characterized in that this method packet
It includes:
Target image frame is obtained, target image frame is picture frame to be encoded;
Target image frame is divided at least one image-region;
Each image-region at least one image-region and at least one reference zone are matched, and determined every
The coded reference region of one image-region;
Image is carried out to each image-region according to the coded reference region of each image-region to encode to obtain target
The coded data of picture frame.
Target image frame is divided into multiple images region, different image-regions is compiled according to different reference zones
Code, because storing the reference zone under multiple and different scenes, under various scenes, can realize good compression effectiveness,
Reduce data volume.
In one embodiment, by each image-region at least one image-region and at least one reference zone into
Row matching, and determine the coded reference region of each image-region, comprising:
The characteristic value in n-th image region is calculated according to preset matching algorithm, n is the integer in [1, N], and N is at least one
The quantity of a image-region, N are the integer more than or equal to 1;
Within a preset range by the difference of characteristic value at least one reference zone and the characteristic value in n-th image region
Reference zone is determined as the coded reference region in n-th image region.
In one embodiment, by each image-region at least one image-region and at least one reference zone into
Row matching, and determine the coded reference region of each image-region, comprising:
N-th image region and at least one reference zone are compared, n is the integer in [1, N], and N is at least one
The quantity of a image-region, N are the integer more than or equal to 1;
It will be determined as n-th image in the most reference zone of corresponding position same macro quantity with n-th image region
The coded reference region in region.
In one embodiment, figure is carried out to each image-region according to the coded reference region of each image-region
As coding obtains the coded data of target image frame, comprising:
Macro block identical with the coded reference region corresponding position in n-th image region in n-th image region is increased
Reference encoder label, n are the integer in [1, N], and N is the quantity of at least one image-region, and N is the integer more than or equal to 1;
The coded reference region different macro block of corresponding position in n-th image region with n-th image region is pressed
It is encoded according to pre-arranged code algorithm.
In one embodiment, this method further include:
According to the coded reference Area generation reference information of each determining image-region, reference information is used to indicate often
The coded reference region of one image-region;
The coded data of target image frame and reference information are transmitted to picture decoding apparatus.
In one embodiment, this method further include:
It is updated according to coded reference region of the target image frame to each image-region.
According to the second aspect of an embodiment of the present disclosure, a kind of picture decoding method is provided, this method comprises:
The coded data and reference information of target image frame are obtained, the coded data of target image frame includes at least one figure
As the coded data in region, reference information is used to indicate the coded reference area of each image-region at least one image-region
Domain;
The coded reference region of each image-region is determined according to reference information;
Image decoding is carried out to each image-region according to the coded reference region of each image-region and obtains target
The decoding data of picture frame.
According to the third aspect of an embodiment of the present disclosure, a kind of picture coding device is provided, comprising: obtain module, region mould
Block, matching module and coding module;
Wherein, module is obtained, target image frame is obtained, target image frame is picture frame to be encoded;
Target image frame is divided at least one image-region by regions module;
Matching module, by each image-region at least one image-region and the progress of at least one reference zone
Match, and determines the coded reference region of each image-region;
Coding module carries out image coding to each image-region according to the coded reference region of each image-region
Obtain the coded data of target image frame.
In one embodiment, matching module includes computing unit and the first determination unit;
Computing unit, for calculating the characteristic value in n-th image region according to preset matching algorithm, n is whole in [1, N]
Number, N are the quantity of at least one image-region, and N is the integer more than or equal to 1;
First determination unit, for by the characteristic value in characteristic value at least one reference zone and n-th image region
The reference zone of difference within a preset range is determined as the coded reference region in n-th image region.
In one embodiment, matching module includes comparison unit and the second determination unit;
Comparison unit, for comparing n-th image region and at least one reference zone, n is whole in [1, N]
Number, N are the quantity of at least one image-region, and N is the integer more than or equal to 1;
Second determination unit, for by the reference area most in corresponding position same macro quantity with n-th image region
Domain is determined as the coded reference region in n-th image region.
In one embodiment, coding module includes marking unit and algorithm unit;
Marking unit, for by the coded reference region corresponding position phase in n-th image region with n-th image region
With macro block increase reference encoder label, n be [1, N] in integer, N be at least one image-region quantity, N be greater than or
Integer equal to 1;
Algorithm unit, for by n-th image region with the coded reference region corresponding position in n-th image region not
Identical macro block is encoded according to pre-arranged code algorithm.
In one embodiment, picture coding device further includes the reference module and sending module;
The reference module, for the coded reference Area generation reference information according to each determining image-region, reference
Information is used to indicate the coded reference region of each image-region;
Sending module, for the coded data of target image frame and reference information to be transmitted to picture decoding apparatus.
According to a fourth aspect of embodiments of the present disclosure, a kind of picture decoding apparatus is provided, comprising: obtain module, matching mould
Block and decoder module;
Wherein, module is obtained, for obtaining the coded data and reference information of target image frame, the coding of target image frame
Data include the coded data of at least one image-region, and reference information is used to indicate each figure at least one image-region
As the coded reference region in region;
Matching module, for determining the coded reference region of each image-region according to reference information;
Decoder module, for carrying out image to each image-region according to the coded reference region of each image-region
Decoding obtains the decoding data of target image frame.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart for image encoding method that the embodiment of the present disclosure provides;
Fig. 2 is the schematic diagram that a kind of image-region that the embodiment of the present disclosure provides divides effect;
Fig. 3 is the schematic diagram for the image-region matching effect that the embodiment of the present disclosure provides;
Fig. 4 is a kind of flow chart for picture decoding method that the embodiment of the present disclosure provides;
Fig. 5 is a kind of structure chart for picture coding device that the embodiment of the present disclosure provides;
Fig. 6 is a kind of structure chart for picture coding device that the embodiment of the present disclosure provides;
Fig. 7 is a kind of structure chart for picture coding device that the embodiment of the present disclosure provides;
Fig. 8 is a kind of structure chart for picture coding device that the embodiment of the present disclosure provides;
Fig. 9 is a kind of structure chart for picture coding device that the embodiment of the present disclosure provides;
Figure 10 is a kind of structure chart for picture decoding apparatus that the embodiment of the present disclosure provides.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The embodiment of the present disclosure provides a kind of image encoding method, as shown in Figure 1, Fig. 1 is one that the embodiment of the present disclosure provides
The flow chart of kind of image encoding method, the image encoding method the following steps are included:
101, target image frame is obtained.
Target image frame is picture frame to be encoded.Target image frame includes at least one macro block, and a macro block includes extremely
A few pixel.Target image frame can be an individual picture frame, be also possible to any one picture frame in video data,
The disclosure to this with no restriction.
102, target image frame is divided at least one image-region.
One image-region may include at least one macro block, for example, an image-region is a macro block;For another example, one
A image-region is a picture frame.
When dividing image-region to target image frame, it can be divided according to same size, it can also be according to different big
It is small to be divided.Herein, it enumerates two examples to be illustrated, as shown in Fig. 2, Fig. 2 is a kind of figure that the embodiment of the present disclosure provides
As the schematic diagram of region division effect.
In first example, target image frame includes 8 × 8 macro blocks, includes 4 × 4 macro blocks with an image-region
It is divided, target image frame is divided into 4 image-regions, as shown in the part a in Fig. 2;
In second example, target image frame includes 8 × 8 macro blocks, and the specification of image-region includes 4 × 4 and 2 × 2
Two kinds, then target image frame can be divided according to the picture material of target image frame, as shown in the part b in Fig. 2, by mesh
Logo image frame is divided into 44 × 4 image-regions, and 4 × 4, upper right corner macro block is divided into 42 × 2 image-regions, and one
7 image-regions are marked off altogether.
Certainly, only exemplary illustration herein, about the specification size of image-region, can there are many, the disclosure is to this
With no restriction.
103, each image-region at least one image-region and at least one reference zone are matched, and really
The coded reference region of each fixed image-region.
It should be noted that at least one reference zone can be stored in advance, reference zone can be according in scene, image
The Type division of appearance, reference zone can be same size, be also possible to different size of.
For example, reference zone can be same size, a reference zone may include the macro block of identical quantity, one
Macro block may include multiple pixels, for example, a macro block includes 8 × 8 pixels, also may include 16 × 16 pixels, or
The pixel of other specification quantity.
For another example, reference zone can be different size of, can divide reference zone according to the size of reference zone
Class, for example, reference zone is divided into three classes according to the number of macroblocks that reference zone includes, first kind reference zone includes 16 macro
Block, the second class reference zone include 64 macro blocks, and third class reference zone includes 256 macro blocks;It is carried out to target image frame
When image-region divides, it must be divided according to the size of these three types of reference zones, by the image-region of division, according to corresponding
Size is matched with reference zone, for example, target image frame is divided into 10 image-regions, wherein 4 image-regions be 4 ×
4 sizes, this 4 image-regions and first kind reference zone are matched;3 image-regions are 8 × 8 sizes, this 3 figures
As region and the second class reference zone are matched;There are also 3 image-regions be 16 × 16 sizes, this 3 image-regions and
Third class reference zone is matched.
Certainly, the above only exemplary illustration, does not represent the disclosure and is confined to this.
Each image-region at least one image-region is matched with reference zone, is with object region
Example, object region is any one image-region at least one image-region, and referring to shown in Fig. 3, Fig. 3 is disclosure reality
The schematic diagram of one image-region matching effect of example offer is provided;In Fig. 3, reference zone list includes reference zone number, reference
Area data and reference zone data address, herein, image coding side and consistent, the Fig. 3 of the reference zone at image decoding end number
In, the column of the list leftmost side one are reference zone numbers, and Fig. 3 shows M reference zone, and M is the integer greater than 2, certainly, herein
Only exemplary illustration;Object-image region numeric field data and reference zone data are compared, determine the volume of object region
Code reference zone.Herein, two kinds of application scenarios being enumerated to how to determine that coded reference region is illustrated, certainly, being herein
Exemplary illustration does not represent the disclosure and is confined to this.
In the first application scenarios, by each image-region at least one image-region and at least one reference area
Domain is matched, and determines the coded reference region of each image-region, comprising:
The characteristic value in n-th image region is calculated according to preset matching algorithm, n is the integer in [1, N], and N is at least one
The quantity of a image-region, N are the integer more than or equal to 1;
Within a preset range by the difference of characteristic value at least one reference zone and the characteristic value in n-th image region
Reference zone is determined as the coded reference region in n-th image region.
It should be noted that the characteristic value of at least one reference zone be it is pre-stored, for example, reference zone list
In, reference zone data may include reference zone characteristic value.Preset matching algorithm can there are many, for example, a Hash (English:
Hash) algorithm, pHash algorithm, dHash algorithm or other algorithms.
In second of application scenarios, by each image-region at least one image-region and at least one reference area
Domain is matched, and determines the coded reference region of each image-region, comprising:
N-th image region and at least one reference zone are compared, n is the integer in [1, N], and N is at least one
The quantity of a image-region, N are the integer more than or equal to 1;
It will be determined as n-th image in the most reference zone of corresponding position same macro quantity with n-th image region
The coded reference region in region.
For example, an image-region includes 8 × 8 macro blocks, the macro block of the 1st row the 1st of n-th image region column, with reference
The 1st row the 1st of region column macro block be corresponding position macro block, with macro block image-region or reference zone line number and columns
Indicate its position.
In the disclosure, if the quantity of two macro block corresponding position same pixels is more than presetted pixel quantity, it is determined that
Two macro blocks are same macro.For example, a macro block includes 16 × 16 pixels, the pixel of the 1st row the 1st of macro block A column, with macro block
The pixel of the 1st row the 1st of B column is the pixel of corresponding position.How to determine that two pixels are identical can also be there are many mode, example
Such as, the pixel value of two pixels it is identical can be determined that for two pixels it is identical;For another example, the difference of the component of two each colors of pixel
Value all within a preset range, then determines that two pixels are identical.Certainly, only exemplary illustration herein, does not represent disclosure office
It is limited to this.
104, image is carried out to each image-region according to the coded reference region of each image-region to encode to obtain
The coded data of target image frame.
In one embodiment, figure is carried out to each image-region according to the coded reference region of each image-region
As coding obtains the coded data of target image frame, comprising:
Macro block identical with the coded reference region corresponding position in n-th image region in n-th image region is increased
Reference encoder label, n are the integer in [1, N], and N is the quantity of at least one image-region, and N is the integer more than or equal to 1;
The coded reference region different macro block of corresponding position in n-th image region with n-th image region is pressed
It is encoded according to pre-arranged code algorithm.
For example, for a target macroblock in n-th image region, target macroblock is any one macro block, if should
Target macroblock is identical as the macro block of coded reference region corresponding position in n-th image region, then increases target macroblock and refer to
Coded markings indicate that the target macroblock does not need coding transmission, and decoding end is directly according to the label of the target macroblock corresponding
The data of coded reference region acquisition target macroblock;If the coded reference area of the target macroblock and n-th image region
The macro block of domain corresponding position is different, can increase target macroblock absolute coding label, indicate that the macro block is calculated according to pre-arranged code
Method is encoded, and decoding end is decoded according to default decoding algorithm.
The coded data of target image frame may include the coded data of at least one image-region, wherein for a mesh
Logo image region, object region is any one image-region in target image frame, herein, only with object region
For be illustrated, the coded data of object region may include the coded markings of each macro block in object region
(reference encoder label or absolute coding label) further includes that the macro block passes through pre-arranged code algorithm with absolute coding label
Data after coding.
In one embodiment, this method further include:
According to the coded reference Area generation reference information of each determining image-region, reference information is used to indicate often
The coded reference region of one image-region;
The coded data of target image frame and reference information are transmitted to picture decoding apparatus.
It should be noted that the coded data and reference information of target image frame can generate a data stream transmitting together
To picture decoding apparatus.
In one embodiment, this method further include:
It is updated according to coded reference region of the target image frame to each image-region, wherein ginseng
Examine the data that information includes updated reference zone.
For example, reference zone includes A, B, C, D, E, F six, target image frame includes 4 image-regions, 4 image districts
The coded reference region in domain is respectively A, B, C, D, then after encoding to target image frame, according to the 4 of target image frame image districts
Domain is updated reference zone A, B, C, D, and the data of updated reference zone A, B, C and D are included in reference information
It is sent to picture decoding apparatus.
The image encoding method that the embodiment of the present disclosure provides, is divided into multiple images region for target image frame, different
Image-region is encoded according to different reference zones, because the reference zone under multiple and different scenes is stored, various
Under scene, good compression effectiveness can be realized, reduce data volume.
Image encoding method described in the corresponding embodiment of above-mentioned Fig. 1 is corresponded to, the embodiment of the present disclosure provides a kind of figure
As coding/decoding method, referring to shown in Fig. 4, Fig. 4 is a kind of flow chart for picture decoding method that the embodiment of the present disclosure provides, this implementation
Example provide picture decoding method the following steps are included:
401, the coded data and reference information of target image frame are obtained.
The coded data of target image frame includes the coded data of at least one image-region, reference information be used to indicate to
The coded reference region of each image-region in a few image-region.
In one example, the coded data and reference information of target image frame are obtained, comprising:
Receive the coded data and reference information of the target image frame that picture coding device is sent.
402, the coded reference region of each image-region is determined according to reference information.
The coding of each image-region of determination with reference to described in step 103 in the corresponding embodiment of above-mentioned Fig. 1 is joined
The mode in examination district domain, step 402 can determine coded reference region according to the same or similar mode, and details are not described herein again.
403, image decoding is carried out to each image-region according to the coded reference region of each image-region to obtain
The decoding data of target image frame.
The coding mode in conjunction with described in the step 104 of image encoding method in the corresponding embodiment of Fig. 1, herein, with
It is illustrated for one macro block decoding:
By taking the target macroblock in object region as an example, object region is any one image in target image frame
Region, target macroblock are any one macro blocks in object region.If target macroblock is marked with absolute coding, basis
Default decoding algorithm is decoded the coded data of target macroblock;If target macroblock is marked with reference encoder, by mesh
The data of macro block corresponding with target macroblock position extract in the coded reference region in logo image region.
The picture decoding method that the embodiment of the present disclosure provides, is divided into multiple images region for target image frame, different
Image-region is decoded according to different reference zones, because the reference zone under multiple and different scenes is stored, various
Under scene, good compression effectiveness can be realized, reduce data volume.
Image encoding method described in corresponding embodiment referring to Fig.1, the embodiment of the present disclosure provide a kind of image volume
Code device, as shown in figure 5, the picture coding device 50 includes: to obtain module 501, regions module 502, matching module 503 and compile
Code module 504;
Wherein, module 501 is obtained, target image frame is obtained, target image frame is picture frame to be encoded;
Target image frame is divided at least one image-region by regions module 502;
Matching module 503 carries out each image-region at least one image-region and at least one reference zone
Matching, and determine the coded reference region of each image-region;
Coding module 504 carries out image to each image-region according to the coded reference region of each image-region
Coding obtains the coded data of target image frame.
In one embodiment, as shown in fig. 6, matching module 503 includes computing unit 5031 and the first determination unit
5032;
Computing unit 5031, for calculating the characteristic value in n-th image region according to preset matching algorithm, n is in [1, N]
Integer, N is the quantity of at least one image-region, and N is integer more than or equal to 1;
First determination unit 5032, for by the feature of characteristic value and n-th image region at least one reference zone
The reference zone of the difference of value within a preset range is determined as the coded reference region in n-th image region.
In one embodiment, as shown in fig. 7, matching module 503 includes comparison unit 5033 and the second determination unit
5034;
Comparison unit 5033, for comparing n-th image region and at least one reference zone, n is in [1, N]
Integer, N is the quantity of at least one image-region, and N is integer more than or equal to 1;
Second determination unit 5034, for by the ginseng most in corresponding position same macro quantity with n-th image region
Examination district domain is determined as the coded reference region in n-th image region.
In one embodiment, as shown in figure 8, coding module 504 includes marking unit 5041 and algorithm unit 5042;
Marking unit 5041, for by position corresponding with the coded reference region in n-th image region in n-th image region
It sets identical macro block and increases reference encoder label, n is the integer in [1, N], and N is the quantity of at least one image-region, and N is big
In or equal to 1 integer;
Algorithm unit 5042, for by position corresponding with the coded reference region in n-th image region in n-th image region
Different macro block is set to be encoded according to pre-arranged code algorithm.
In one embodiment, as shown in figure 9, picture coding device 50 further includes the reference module 505 and sending module
506;
The reference module 505, for the coded reference Area generation reference information according to each determining image-region, ginseng
Examine the coded reference region that information is used to indicate each image-region;
Sending module 506, for the coded data of target image frame and reference information to be transmitted to picture decoding apparatus.
The picture coding device that the embodiment of the present disclosure provides, is divided into multiple images region for target image frame, different
Image-region is encoded according to different reference zones, because the reference zone under multiple and different scenes is stored, various
Under scene, good compression effectiveness can be realized, reduce data volume.
According to a fourth aspect of embodiments of the present disclosure, a kind of picture decoding apparatus is provided, as shown in Figure 10, the image decoding
Device 100 includes: to obtain module 1001, matching module 1002 and decoder module 1003;
Wherein, module 1001, for obtaining the coded data and reference information of target image frame, target image frame are obtained
Coded data includes the coded data of at least one image-region, and reference information is used to indicate each at least one image-region
The coded reference region of a image-region;
Matching module 1002, for determining the coded reference region of each image-region according to reference information;
Decoder module 1003, for being carried out according to the coded reference region of each image-region to each image-region
Image decoding obtains the decoding data of target image frame.
The picture decoding apparatus that the embodiment of the present disclosure provides, is divided into multiple images region for target image frame, different
Image-region is decoded according to different reference zones, because the reference zone under multiple and different scenes is stored, various
Under scene, good compression effectiveness can be realized, reduce data volume.
Based on being retouched in image encoding method described in the corresponding embodiment of above-mentioned Fig. 1 and the corresponding embodiment of Fig. 4
The picture decoding method stated, the embodiment of the present disclosure also provide a kind of computer readable storage medium, for example, non-transitory computer
Readable storage medium storing program for executing can be read-only memory (English: Read Only Memory, ROM), random access memory (English:
Random Access Memory, RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..It is stored on the storage medium
There is computer instruction, for executing method described in the corresponding embodiment of above-mentioned Fig. 1 and Fig. 4, details are not described herein again.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
Claims (12)
1. a kind of image encoding method, which is characterized in that the described method includes:
Target image frame is obtained, the target image frame is picture frame to be encoded;
The target image frame is divided at least one image-region;
Each image-region at least one described image-region and at least one reference zone are matched, and determined every
The coded reference region of one image-region;
Image is carried out to each image-region according to the coded reference region of each image-region to encode to obtain the target
The coded data of picture frame.
2. the method according to claim 1, wherein by each image district at least one described image-region
Domain and at least one reference zone are matched, and determine the coded reference region of each image-region, comprising:
The characteristic value in n-th image region is calculated according to preset matching algorithm, n is the integer in [1, N], and N is described at least one
The quantity of a image-region, N are the integer more than or equal to 1;
By the difference of characteristic value at least one described reference zone and the characteristic value in the n-th image region in preset range
Interior reference zone is determined as the coded reference region in the n-th image region.
3. the method according to claim 1, wherein by each image district at least one described image-region
Domain and at least one reference zone are matched, and determine the coded reference region of each image-region, comprising:
N-th image region and at least one described reference zone are compared, n is the integer in [1, N], N be it is described extremely
The quantity of a few image-region, N are the integer more than or equal to 1;
It will be determined as described n-th with the n-th image region in the most reference zone of corresponding position same macro quantity
The coded reference region of image-region.
4. the method according to claim 1, wherein according to the coded reference region of each image-region to every
One image-region carries out image and encodes to obtain the coded data of the target image frame, comprising:
Macro block identical with the coded reference region corresponding position in the n-th image region in n-th image region is increased
Reference encoder label, n are the integer in [1, N], and N is the quantity of at least one image-region, and N is more than or equal to 1
Integer;
It will be different macro with the coded reference region corresponding position in the n-th image region in the n-th image region
Block is encoded according to pre-arranged code algorithm.
5. method according to claim 1-4, which is characterized in that the method also includes:
According to the coded reference Area generation reference information of each determining image-region, the reference information is used to indicate institute
State the coded reference region of each image-region;
The coded data of the target image frame and the reference information are transmitted to picture decoding apparatus.
6. a kind of picture decoding method, which is characterized in that the described method includes:
The coded data and reference information of target image frame are obtained, the coded data of the target image frame includes at least one figure
As the coded data in region, the reference information is used to indicate the volume of each image-region at least one described image-region
Code reference zone;
The coded reference region of each image-region is determined according to the reference information;
Image decoding is carried out to each image-region according to the coded reference region of each image-region and obtains the target
The decoding data of picture frame.
7. a kind of picture coding device characterized by comprising obtain module, regions module, matching module and coding module;
Wherein, the acquisition module, obtains target image frame, and the target image frame is picture frame to be encoded;
The target image frame is divided at least one image-region by the regions module;
The matching module carries out each image-region and at least one reference zone at least one described image-region
Matching, and determine the coded reference region of each image-region;
The coding module carries out image coding to each image-region according to the coded reference region of each image-region
Obtain the coded data of the target image frame.
8. device according to claim 7, which is characterized in that the matching module includes that computing unit and first determine list
Member;
The computing unit, for calculating the characteristic value in n-th image region according to preset matching algorithm, n is whole in [1, N]
Number, N are the quantity of at least one image-region, and N is the integer more than or equal to 1;
First determination unit, for by characteristic value at least one described reference zone and the n-th image region
The reference zone of the difference of characteristic value within a preset range is determined as the coded reference region in the n-th image region.
9. device according to claim 7, which is characterized in that the matching module includes that comparison unit and second determine list
Member;
The comparison unit, for comparing n-th image region and at least one described reference zone, n is in [1, N]
Integer, N is the quantity of at least one image-region, and N is the integer more than or equal to 1;
Second determination unit, for by the ginseng most in corresponding position same macro quantity with the n-th image region
Examination district domain is determined as the coded reference region in the n-th image region.
10. device according to claim 7, which is characterized in that the coding module includes marking unit and algorithm unit;
The marking unit, for by position corresponding with the coded reference region in the n-th image region in n-th image region
It sets identical macro block and increases reference encoder label, n is the integer in [1, N], and N is the quantity of at least one image-region, N
For the integer more than or equal to 1;
The algorithm unit, for by the coded reference region pair in the n-th image region with the n-th image region
The different macro block in position is answered to be encoded according to pre-arranged code algorithm.
11. according to the described in any item devices of claim 7-10, which is characterized in that described image code device further includes reference
Module and sending module;
The reference module, it is described for the coded reference Area generation reference information according to each determining image-region
Reference information is used to indicate the coded reference region of each image-region;
The sending module, for the coded data of the target image frame and the reference information to be transmitted to image decoding dress
It sets.
12. a kind of picture decoding apparatus characterized by comprising obtain module, matching module and decoder module;
Wherein, the acquisition module, for obtaining the coded data and reference information of target image frame, the target image frame
Coded data includes the coded data of at least one image-region, and the reference information is used to indicate at least one described image district
The coded reference region of each image-region in domain;
The matching module, for determining the coded reference region of each image-region according to the reference information;
The decoder module, for carrying out image to each image-region according to the coded reference region of each image-region
Decoding obtains the decoding data of the target image frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811301184.XA CN109640089B (en) | 2018-11-02 | 2018-11-02 | Image coding and decoding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811301184.XA CN109640089B (en) | 2018-11-02 | 2018-11-02 | Image coding and decoding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109640089A true CN109640089A (en) | 2019-04-16 |
CN109640089B CN109640089B (en) | 2023-03-24 |
Family
ID=66067244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811301184.XA Active CN109640089B (en) | 2018-11-02 | 2018-11-02 | Image coding and decoding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109640089B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111083481A (en) * | 2019-11-15 | 2020-04-28 | 西安万像电子科技有限公司 | Image coding method and device |
CN111447451A (en) * | 2020-03-23 | 2020-07-24 | 西安万像电子科技有限公司 | Image coding and decoding method and device |
CN111953981A (en) * | 2020-08-25 | 2020-11-17 | 西安万像电子科技有限公司 | Encoding method and device, and decoding method and device |
CN111988615A (en) * | 2020-08-13 | 2020-11-24 | 北京达佳互联信息技术有限公司 | Decoding method, decoding device, electronic equipment and storage medium |
CN114501029A (en) * | 2022-01-12 | 2022-05-13 | 深圳市洲明科技股份有限公司 | Image encoding method, image decoding method, image encoding apparatus, image decoding apparatus, computer device, and storage medium |
WO2024098715A1 (en) * | 2022-11-11 | 2024-05-16 | 苏州元脑智能科技有限公司 | Video compression method and system for baseboard management control chip, and related components |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262606A (en) * | 2008-01-16 | 2008-09-10 | 宁波大学 | A processing method for multi-view point video |
CN101873500A (en) * | 2009-04-24 | 2010-10-27 | 华为技术有限公司 | Interframe prediction encoding method, interframe prediction decoding method and equipment |
CN103079072A (en) * | 2013-01-15 | 2013-05-01 | 清华大学 | Inter-frame prediction method, encoding equipment and decoding equipment |
JP2015002512A (en) * | 2013-06-18 | 2015-01-05 | 三菱電機株式会社 | Image encoding device and image encoding method |
CN106231214A (en) * | 2016-08-11 | 2016-12-14 | 复旦大学 | High-speed cmos sensor image based on adjustable macro block approximation lossless compression method |
CN106375769A (en) * | 2016-08-31 | 2017-02-01 | 苏睿 | Image feature search method and device |
CN106507106A (en) * | 2016-11-08 | 2017-03-15 | 中国科学技术大学 | Video interprediction encoding method based on reference plate |
-
2018
- 2018-11-02 CN CN201811301184.XA patent/CN109640089B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262606A (en) * | 2008-01-16 | 2008-09-10 | 宁波大学 | A processing method for multi-view point video |
CN101873500A (en) * | 2009-04-24 | 2010-10-27 | 华为技术有限公司 | Interframe prediction encoding method, interframe prediction decoding method and equipment |
CN103079072A (en) * | 2013-01-15 | 2013-05-01 | 清华大学 | Inter-frame prediction method, encoding equipment and decoding equipment |
JP2015002512A (en) * | 2013-06-18 | 2015-01-05 | 三菱電機株式会社 | Image encoding device and image encoding method |
CN106231214A (en) * | 2016-08-11 | 2016-12-14 | 复旦大学 | High-speed cmos sensor image based on adjustable macro block approximation lossless compression method |
CN106375769A (en) * | 2016-08-31 | 2017-02-01 | 苏睿 | Image feature search method and device |
CN106507106A (en) * | 2016-11-08 | 2017-03-15 | 中国科学技术大学 | Video interprediction encoding method based on reference plate |
Non-Patent Citations (2)
Title |
---|
XUE LI: "Prediction unit depth selection based on statistic distribution for HEVC intra coding", 《2014 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA AND EXPO WORKSHOPS (ICMEW)》 * |
张涛: "视频压缩中的高效帧内编码技术研究", 《中国博士学位论文全文数据库》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111083481A (en) * | 2019-11-15 | 2020-04-28 | 西安万像电子科技有限公司 | Image coding method and device |
CN111447451A (en) * | 2020-03-23 | 2020-07-24 | 西安万像电子科技有限公司 | Image coding and decoding method and device |
CN111988615A (en) * | 2020-08-13 | 2020-11-24 | 北京达佳互联信息技术有限公司 | Decoding method, decoding device, electronic equipment and storage medium |
CN111988615B (en) * | 2020-08-13 | 2023-08-22 | 北京达佳互联信息技术有限公司 | Decoding method, decoding device, electronic equipment and storage medium |
CN111953981A (en) * | 2020-08-25 | 2020-11-17 | 西安万像电子科技有限公司 | Encoding method and device, and decoding method and device |
CN111953981B (en) * | 2020-08-25 | 2023-11-28 | 西安万像电子科技有限公司 | Encoding method and device, decoding method and device |
CN114501029A (en) * | 2022-01-12 | 2022-05-13 | 深圳市洲明科技股份有限公司 | Image encoding method, image decoding method, image encoding apparatus, image decoding apparatus, computer device, and storage medium |
CN114501029B (en) * | 2022-01-12 | 2023-06-06 | 深圳市洲明科技股份有限公司 | Image encoding method, image decoding method, image encoding device, image decoding device, computer device, and storage medium |
WO2024098715A1 (en) * | 2022-11-11 | 2024-05-16 | 苏州元脑智能科技有限公司 | Video compression method and system for baseboard management control chip, and related components |
Also Published As
Publication number | Publication date |
---|---|
CN109640089B (en) | 2023-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109640089A (en) | Image coding/decoding method and device | |
Sneyers et al. | FLIF: Free lossless image format based on MANIAC compression | |
US10249019B2 (en) | Method and apparatus for mapping omnidirectional image to a layout output format | |
CN112219398B (en) | Method and apparatus for depth coding and decoding | |
CN109417642B (en) | Video bitstream generation method and apparatus for high resolution video stream | |
US10904570B2 (en) | Method for encoding/decoding synchronized multi-view video by using spatial layout information and apparatus of the same | |
JP2022504344A (en) | Methods and Devices for Encoding and Reconstructing Point Cloud Missing Points | |
CN109922344B (en) | Techniques for encoding, decoding, and representing high dynamic range images | |
CN101350929B (en) | Enhanced compression in representing non-frame-edge blocks of image frames | |
EP2559270B1 (en) | Method and apparatus for generating and playing animation message | |
CN104081414A (en) | Systems and methods for encoding and decoding light field image files | |
CN105144729A (en) | Transmitting display management metadata over HDMI | |
CN1672432B (en) | Method for encoding a digital video signal and apparatus | |
EP3434021B1 (en) | Method, apparatus and stream of formatting an immersive video for legacy and immersive rendering devices | |
CN102308582B (en) | Method for the segmentation encoding of an image | |
US11659206B2 (en) | Video encoding method with syntax element signaling of guard band configuration of projection-based frame and associated video decoding method and apparatus | |
US20200267385A1 (en) | Method for processing synchronised image, and apparatus therefor | |
WO2019034131A1 (en) | Method and apparatus for reducing artifacts in projection-based frame | |
CN106791829B (en) | Method and equipment for establishing virtual reference frame | |
CN114270863A (en) | Method and device for coding and decoding stereoscopic video | |
CN113037947A (en) | Method for coding spatial information in continuous dynamic image | |
EP3152907B1 (en) | System and method for video processing | |
CN112887729B (en) | Image coding and decoding method and device | |
CN109168007B (en) | Method for calibrating focus and image transmission thereof | |
RU2803766C2 (en) | Method and device for encoding/reconstruction of point cloud attributes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |