CN101742327A - Video encoding and decoding methods and systems, and region description method and device - Google Patents

Video encoding and decoding methods and systems, and region description method and device Download PDF

Info

Publication number
CN101742327A
CN101742327A CN 200810226481 CN200810226481A CN101742327A CN 101742327 A CN101742327 A CN 101742327A CN 200810226481 CN200810226481 CN 200810226481 CN 200810226481 A CN200810226481 A CN 200810226481A CN 101742327 A CN101742327 A CN 101742327A
Authority
CN
China
Prior art keywords
macro block
polygonal region
pixel
summit
coordinate
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
Application number
CN 200810226481
Other languages
Chinese (zh)
Other versions
CN101742327B (en
Inventor
王浩
邱嵩
杨晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mid Star Technology Ltd By Share Ltd
Vimicro Corp
Original Assignee
Vimicro Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vimicro Corp filed Critical Vimicro Corp
Priority to CN 200810226481 priority Critical patent/CN101742327B/en
Publication of CN101742327A publication Critical patent/CN101742327A/en
Application granted granted Critical
Publication of CN101742327B publication Critical patent/CN101742327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a video encoding method, a video decoding method, a video encoding system, a video decoding system and a region description method in video encoding and decoding. Description information of each polygonal region in a video image only comprises the number of apexes and vertex coordinates of a polygon instead of the region number of each macro block in the region, so transmission bandwidth of code stream can be saved compared with the traditional exhaustive description method, in particular for a video image with a large size and a large number of macro blocks, more remarkable effect of saving the transmission bandwidth of the code stream is achieved.

Description

Video coding-decoding method and system and region description method and device
Technical field
The present invention relates to video coding and decoding technology, particularly the region description method in method for video coding, video encoding/decoding method, video coding system, video decoding system and the coding and decoding video.
Background technology
In existing video monitoring system, after the video image that the video coding end can photograph headend equipment carries out encoding process, transfer to the video decode end again and decode.
Consider in the video image that headend equipment photographs that have only the subregion to embody the required crucial scene of video monitoring usually, therefore, the user can select this subregion as important area by mouse action in the video image that headend equipment photographs.After this, the video coding end is when carrying out encoding process to video image, can identify important area according to the input information of mouse action, and important area is different from the special processing of other normal areas, for example variable mass coding, variable resolution coding, variable code rate coding or adopt different error protections or recovery are with the picture quality that guarantees this subregion or make this subregion have other effects; Correspondingly, the video decode end carries out the contrary of above-mentioned special processing to the important area that has embodied crucial scene and handles when carrying out decoding processing.
Wherein, no matter be important area or normal areas, video coding end and video decode end all are unit with the macro block when carrying out the encoding and decoding processing, therefore, which macro block belongs to important area, which macro block belongs to normal areas for video coding end and video decode end can identify, need the video coding end before coding, to set up each regional descriptor in advance, promptly describe the information that comprises which macro block in each zone.
Provide multiple region description mode in the existing video encoding and decoding standard, with standard H.264 is example, and adoptable region description mode has: adopt Run-Length Coding run-length mode, gridiron pattern mode, rectangular mode, with adopt the area peripheral edge expansion or dwindle the sequential scanning video image Box-out mode, raster scan (Raster-scan) mode, adopt Wipe mode, the exhaustive mode of scan line after the first scan columns.
In the practical application, each zone that marks off in the video image may be irregular polygonal region, for example concave polygon, convex polygon or contain in the polygonal region of ring, and in the existing various region description mode, have only exhaustive description can realize description to this polygonal region.
Yet, exhaustive description needs the video coding end all to formulate affiliated zone number for each macro block, before coding, carry out the mapping of macro block then,, again the macro block that belongs to important area is different from the special processing of normal areas to identify all macro blocks that belong to important area to the zone.After this, to all formulate affiliated zone number as each regional descriptor for each macro block, with transmission of video images after the encoding process to the video decode end, so that the video decode end is in when decoding, can identifies in the video image after the encoding process according to descriptor and belong to each macro block of important area and carry out contrary the processing.
Thus, for larger-size video image, the number of its macro block is also many, and formulating affiliated zone number for each macro block in the descriptor will increase the required transmission bandwidth of code stream.For example, for the video image of resolution 720 * 576 sizes, then need to mark its affiliated zone number for (720/16) * (576/16)=1620 macro block.
Summary of the invention
In view of this, the invention provides region description method and device in a kind of method for video coding, video encoding/decoding method, video coding system, video decoding system and the coding and decoding video, can describe polygonal region and save the transmission bandwidth of code stream.
A kind of method for video coding provided by the invention comprises:
Set up the descriptor of polygonal region, described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
According to the macro block that is covered by described polygonal region in the described descriptor identification video image;
When coding, the macro block that is covered by described polygonal region in the video image is carried out first handle, other macro blocks in the video image are carried out second handle.
A kind of video encoding/decoding method provided by the invention comprises:
Obtain the descriptor of the polygonal region of setting up in advance at the video coding end, described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
According to the macro block that is covered by described polygonal region in the described descriptor identification video image;
In when decoding, the macro block that is covered by described polygonal region in the video image is carried out the 3rd processing, other macro blocks in the video image are carried out the reason everywhere.
In above-mentioned coding method or coding/decoding method:
The coordinate on described summit is: according to the macro block position of raster scan order arrangement.
Described identification is comprised by the macro block that described polygonal region covers:
A1, calculate the macro block of edge line segment process between the macro block on per two expression summits in the polygonal region respectively;
The macro block of the edge line segment process that a2, the macro block that will represent the summit and step a1 calculate is labeled as the edge macro block;
A3, in video image, scan according to raster scan order, the edge macro block that scanning is obtained and in being scanned up to polygonal region the time all macro blocks between two edge macro blocks be defined as the macro block that covered by polygon.
The coordinate on described summit is: the coordinate of place, summit pixel.
Described identification is comprised by the macro block that described polygonal region covers:
B1, calculate the pixel of edge line segment process between the pixel on per two expression summits in the polygonal region respectively;
The pixel of the edge line segment process that b2, the pixel that will represent the summit and step a1 calculate is labeled as edge pixel;
B3, in video image, scan according to raster scan order, the edge pixel that scanning is obtained and in being scanned up to polygonal region the time all pixels between two edge pixels be defined as the pixel that covered by polygon;
B4, the pixel quantity that will be covered by described polygonal region are greater than all macro blocks of predetermined threshold value or exist at least one pixel by all macro blocks that described polygonal region covers, and are defined as the macro block that is covered by described polygonal region.
A kind of video coding system provided by the invention comprises:
The region description unit is used to set up the descriptor of polygonal region, and described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
The macroblock map unit is used for the macro block that is covered by described polygonal region according to described descriptor identification video image;
Coding processing unit is used for the macro block that is covered by described polygonal region in the video image being carried out first handling when coding, other macro blocks in the video image is carried out second handle.
A kind of video decoding system provided by the invention comprises:
The region description unit is used to obtain the descriptor of the polygonal region of setting up in advance at the video coding end, and described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
The macroblock map unit is used for the macro block that is covered by described polygonal region according to described descriptor identification video image;
Codec processing unit is used in when decoding the macro block that is covered by described polygonal region in the video image being carried out the 3rd processing, and other macro blocks in the video image are carried out the reason everywhere.
In above-mentioned coded system or decode system:
The coordinate on described summit is: according to the macro block position of raster scan order arrangement.
Described macroblock map unit comprises:
The edge macro block is determined subelement, is used for calculating respectively the macro block of the edge line segment process between the macro block on per two the expression summits of polygonal region;
Edge macro block mark subelement, be used for will the expression summit macro block and the macro block of the edge line segment process that calculates be labeled as the edge macro block;
Cover macro block scanning subelement, be used for scanning at video image according to raster scan order, the edge macro block that scanning is obtained and in being scanned up to polygonal region the time all macro blocks between two edge macro blocks be defined as the macro block that covered by polygon.
The coordinate on described summit is: the coordinate of place, summit pixel.
Described macroblock map unit comprises:
Edge pixel is determined subelement, is used for calculating respectively the pixel of the edge line segment process between the pixel on per two the expression summits of polygonal region;
Edge pixel mark subelement, be used for will the expression summit pixel and the pixel of the edge line segment process that calculates be labeled as edge pixel;
Cover the picture element scan subelement, be used for scanning at video image according to raster scan order, the edge pixel that scanning is obtained and in being scanned up to polygonal region the time all pixels between two edge pixels be defined as the pixel that covered by polygon;
Cover the macro block judgment sub-unit, be used for the pixel quantity that to be covered by polygonal region greater than all macro blocks of predetermined threshold value or exist at least one pixel, be defined as the macro block that is covered by polygonal region by the macro block that described polygonal region covers.
A kind of region description method provided by the invention comprises:
Receive the polygon vertex coordinate of input;
Set up the descriptor of described polygonal region, described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit; Wherein, according to described descriptor, the macro block that can before carrying out encoding and decoding, be covered by described polygonal region in the identification video image.
The coordinate on described summit is according to the macro block position of raster scan order arrangement or the coordinate of place, summit pixel.
A kind of region description device provided by the invention comprises:
Information input unit is used to receive the polygon vertex coordinate of input;
Information is set up the unit, is used to set up the descriptor of described polygonal region, and described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit; Wherein, according to described descriptor, the macro block that can before carrying out encoding and decoding, be covered by described polygonal region in the identification video image.
The coordinate on described summit is according to the macro block position of raster scan order arrangement or the coordinate of place, summit pixel.
As seen from the above technical solution, in the present invention, the descriptor of each polygonal region in the video image only comprise polygonal summit quantity and polygonal apex coordinate rather than should the zone in each macro block under zone number, thereby, can save the transmission bandwidth of code stream than existing exhaustive description.Especially big for size, comprise the more video image of number of macroblocks, the effect that can save the code stream transmission bandwidth is more remarkable.
Description of drawings
Fig. 1 is the exemplary process diagram of method for video coding in the embodiment of the invention;
Fig. 2 is the exemplary process diagram of video encoding/decoding method in the embodiment of the invention;
Fig. 3 is the exemplary block diagram of video coding system in the embodiment of the invention;
Fig. 4 is the exemplary block diagram of video decoding system in the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Fig. 1 is the exemplary process diagram of method for video coding in the embodiment of the invention.As shown in Figure 1, the method for video coding in the present embodiment is carried out by the video coding end, specifically comprises:
Step 100, the apex coordinate of polygonal region in receiver, video image and this video image.
In this step, the apex coordinate of the polygonal region of reception can be to import according to the mode according to mouse action in the prior art.
Step 101 is set up the descriptor of polygonal region, and this descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit.Described herein summit is meant the point that intersect on any both sides in the polygon.
In this step, the coordinate on summit can adopt the coordinate of macro-block level, be the coordinate of the macro block position at place, summit for this summit, macro block position as herein described can be expressed as macro block place row and column and be according to the raster scan order setting, suppose to have in the video image 4 * 4 macro blocks, then the macro-block level coordinate of the 1st macro block of the 2nd row is that the macro-block level coordinate of (2,1), the 3rd macro block of the 3rd row is (3,3); The coordinate on summit can also be the coordinate of Pixel-level, the i.e. coordinate of the pixel of position, summit in video image.
Step 102 is according to the descriptor that step 101 is set up, the macro block that is covered by polygonal region in the identification video image.
This step is actual to be to have replaced the mapping process from the macro block to the zone in the prior art.
In this step, be the situation of the macro block position of arranging according to raster scan order for apex coordinate, concrete processing procedure can for:
A1, utilize the scan conversion method of existing any straightway, calculate the macro block of the edge line segment process between the macro block on per two expression summits in the polygonal region respectively;
A2, utilize existing any edge labelling method, the macro block that will the expression summit and the macro block of the edge line segment process that step a1 calculates are labeled as the edge macro block;
A3, utilize existing any polygonal scan conversion method, scan in video image according to raster scan order, the edge macro block that scanning is obtained and in being scanned up to polygonal region the time all macro blocks between two edge macro blocks be defined as the macro block that covered by polygon.
Wherein, in step a3, can set in advance the variable whether an expression is positioned at polygonal region, the value of this variable can be positioned at " very " of polygonal region and expression in expression and be positioned between " vacation " polygonal region outside and overturn, and before the scanning beginning, the initial value of this variable begins the scanning back for expression is positioned at polygonal region outer " vacation ":
All be positioned at its below or all be positioned at its top if scan the macro block on expression summit and the other end of two edge line segments under this macro block, will represent that then the macro block on summit is defined as the macro block that is covered by polygon and keeps the value of variable constant;
Lay respectively at its below and top if scan the other end of two edge line segments under the expression macro block on summit and this macro block, the value that the macro block that then will represent the summit is defined as the macro block that is covered by polygon and variable is set is overturn;
If scan the edge line segment the macro block of process, then this macro block is defined as the macro block that is covered by polygon and the value upset of variable is set;
If scan except that expression macro block on summit and edge line segment other macro blocks the macro block of process, and the current value of variable be " very ", the value that then this macro block is defined as the macro block that covered by polygon and maintenance variable is constant.
In this step, be the situation of the coordinate of place, summit pixel for the coordinate on summit, concrete processing procedure can comprise:
B1, utilize the scan conversion method of existing any straightway, calculate the pixel of the edge line segment process between the pixel on per two expression summits in the polygonal region respectively;
B2, utilize existing any edge labelling method, the pixel that will the expression summit and the pixel of the edge line segment process that step a1 calculates are labeled as edge pixel;
B3, utilize existing any polygonal scan conversion method, scan in video image according to raster scan order, the edge pixel that scanning is obtained and in being scanned up to polygonal region the time all pixels between two edge pixels be defined as the pixel that covered by polygon;
B4, the pixel quantity that will be covered by described polygonal region are greater than all macro blocks of predetermined threshold value or exist at least one pixel by all macro blocks that described polygonal region covers, and are defined as the macro block that is covered by described polygonal region.
Wherein, the concrete principle of step b3 and above-mentioned steps a3 are basic identical.Specifically, in step b3, also can set in advance the variable whether an expression is positioned at polygonal region, the value of this variable can be positioned at " very " of polygonal region and expression in expression and be positioned between " vacation " polygonal region outside and overturn, and before the scanning beginning, the initial value of this variable begins the scanning back for expression is positioned at polygonal region outer " vacation ":
All be positioned at its below or all be positioned at its top if scan the pixel on expression summit and the other end of two edge line segments under this pixel, will represent that then the pixel on summit is defined as the pixel that is covered by polygon and keeps the value of variable constant;
Lay respectively at its below and top if scan the other end of two edge line segments under the expression pixel on summit and this pixel, the value that the pixel that then will represent the summit is defined as the pixel that is covered by polygon and variable is set is overturn;
If scan the edge line segment the pixel of process, then this pixel is defined as the pixel that is covered by polygon and the value upset of variable is set;
If scan except that expression pixel on summit and edge line segment other pixels the pixel of process, and the current value of variable be " very ", the value that then this pixel is defined as the pixel that covered by polygon and maintenance variable is constant.
Step 103, in when coding, the macro block that the polygonal region that is expressed important area in the video image is covered carries out first to be handled, and other macro blocks of normal areas in the video image is carried out second handle.
In this step; second processing is meant normal video coding processing; and first processing; then can comprise second and handle and for example error protection or recovery wait other processing that can improve picture quality, also can other can improve the encoding process of picture quality in order to be different from the second for example variable mass coding of handling, variable resolution coding, variable code rate coding etc.Certainly, different as long as first processing and second is handled, then the two can be respectively any processing.
So far, this flow process finishes.
In the above-mentioned flow process, step 101 and step 102 have promptly constituted the region description method in the present embodiment.
In addition, the video decode end belongs to each macro block of important area and carries out contrary the processing in order to identify according to the descriptor that above-mentioned steps 101 is set up in the video image after the encoding process, after above-mentioned flow process, the descriptor of can also be further step 101 being set up is carried on the predeterminated position in the code stream that video image constituted behind the coding, and is sent to the video decode end, decodes for the video decode end.Wherein, predeterminated position described here can be the position that the header etc. of for example video image is consulted in advance arbitrarily and known by the coding and decoding video end.
Fig. 2 is the exemplary process diagram of video encoding/decoding method in the embodiment of the invention, and as shown in Figure 2, the video encoding/decoding method in the present embodiment is carried out by the video decode end, specifically comprises:
Step 201 is obtained the descriptor of the polygonal region of setting up in advance at the video coding end, and descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit.
The coordinate on the summit in this step can be the coordinate of macro-block level, also can be the coordinate of Pixel-level, and identical with in as shown in Figure 1 the method for video coding do not repeat them here.
Step 202, the macro block that is covered by polygonal region in the descriptor identification video image that obtains according to step 201.
Concrete processing procedure in this step is identical with the basic principle of step 102 in the method for video coding, does not repeat them here.
Step 203, in when decoding, the macro block that the polygonal region that is expressed important area in the video image is covered carries out the 3rd processing, and other macro blocks in the video image are carried out the reason everywhere.
In this step, the 3rd is treated to contrary processing that first described in the method for video coding handled, the everywhere reason then be the contrary processing that second described in the method for video coding handled.
It more than is explanation to method for video coding, video encoding/decoding method and region description method in the present embodiment.Below, again video coding system, video decoding system and region description device in the present embodiment are elaborated.
Fig. 3 is the exemplary block diagram of video coding system in the embodiment of the invention.As shown in Figure 3, the video coding system in the present embodiment comprises:
Region description unit 301 is used for the apex coordinate of receiver, video image and this video image polygonal region; Set up the descriptor of polygonal region, described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
Macroblock map unit 302 is used for the macro block that is covered by described polygonal region according to described descriptor identification video image;
Coding processing unit 303 is used for the macro block that is covered by described polygonal region in the video image being carried out first handling when coding, other macro blocks in the video image is carried out second handle.
In said system, region description unit 301 can promptly constitute the region description device in the present embodiment, and this device can specifically comprise (not shown among Fig. 3) independently as a device:
Information is imported subelement, is used for receiving video image and this video image polygon vertex coordinate of input;
Information is set up subelement, is used to set up the descriptor of described polygonal region, and described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit; Wherein, according to described descriptor, the macro block that can before carrying out encoding and decoding, be covered by described polygonal region in the identification video image.
In the practical application, the coordinate on the related summit of video coding system can be the coordinate of macro-block level in the present embodiment, can be the coordinate of Pixel-level, apex coordinate described herein identical with described in the method for video coding as shown in Figure 1 do not repeat them here yet.
For the apex coordinate of macro-block level, macroblock map unit 302 can specifically comprise (not shown among Fig. 3):
The edge macro block is determined subelement, is used for calculating respectively the macro block of the edge line segment process between the macro block on per two the expression summits of polygonal region;
Edge macro block mark subelement, be used for will the expression summit macro block and the macro block of the edge line segment process that calculates be labeled as the edge macro block;
Cover macro block scanning subelement, be used for scanning at video image according to raster scan order, the edge macro block that scanning is obtained and in being scanned up to polygonal region the time all macro blocks between two edge macro blocks be defined as the macro block that covered by polygon.
For the apex coordinate of Pixel-level, macroblock map unit 302 can specifically comprise (not shown among Fig. 3):
Edge pixel is determined subelement, is used for calculating respectively the pixel of the edge line segment process between the pixel on per two the expression summits of polygonal region;
Edge pixel mark subelement, be used for will the expression summit pixel and the pixel of the edge line segment process that calculates be labeled as edge pixel;
Cover the picture element scan subelement, be used for scanning at video image according to raster scan order, the edge pixel that scanning is obtained and in being scanned up to polygonal region the time all pixels between two edge pixels be defined as the pixel that covered by polygon;
Cover the macro block judgment sub-unit, be used for the pixel quantity that to be covered by polygonal region greater than all macro blocks of predetermined threshold value or exist at least one pixel, be defined as the macro block that is covered by polygonal region by the macro block that described polygonal region covers.
In addition, in the present embodiment, the video decode end belongs to each macro block of important area and carries out contrary the processing in order to identify according to the descriptor that region description unit 301 is set up in the video image after the encoding process, the descriptor that coding processing unit 303 can also be further set up region description unit 301 is carried on the predeterminated position in the code stream that video image constituted behind the coding, and is sent to the video decode end, decodes for the video decode end.Wherein, predeterminated position described here can be the position that the header etc. of for example video image is consulted in advance arbitrarily and known by the coding and decoding video end.
Fig. 4 is the exemplary block diagram of video decoding system in the embodiment of the invention.As shown in Figure 4, the video decoding system in the present embodiment comprises:
Information acquisition unit 401 is used to obtain the descriptor of the polygonal region of setting up in advance at the video coding end, and described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
Macroblock map unit 402 is used for the macro block that is covered by described polygonal region according to described descriptor identification video image;
Codec processing unit 403 is used in when decoding the macro block that is covered by described polygonal region in the video image being carried out the 3rd processing, and other macro blocks in the video image are carried out the reason everywhere.
Wherein, the first contrary processing of handling that the 3rd is treated in the video coding system is carried out, then the second contrary processing of handling of reason everywhere for being carried out in the video coding system.
In the practical application, the coordinate on the related summit of video decoding system can be the coordinate of macro-block level in the present embodiment, can be the coordinate of Pixel-level, apex coordinate described herein identical with described in the method for video coding as shown in Figure 1 do not repeat them here yet.
And for the apex coordinate of macro-block level and the apex coordinate of Pixel-level, macroblock map unit 402 can have identical structure with the macroblock map unit 302 in as shown in Figure 3 the video coding system, does not repeat them here.
As seen from the above-described embodiment, the descriptor of each polygonal region in the video image only comprise polygonal summit quantity and polygonal apex coordinate rather than should the zone in each macro block under zone number, thereby, can save the transmission bandwidth of code stream than existing exhaustive description.Especially big for size, comprise the more video image of number of macroblocks, the effect that can save the code stream transmission bandwidth is more remarkable.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. a method for video coding is characterized in that, this method comprises:
Set up the descriptor of polygonal region, described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
According to the macro block that is covered by described polygonal region in the described descriptor identification video image;
When coding, the macro block that is covered by described polygonal region in the video image is carried out first handle, other macro blocks in the video image are carried out second handle.
2. a respective rights requires the video encoding/decoding method of 1 described method for video coding, it is characterized in that this method comprises:
Obtain the descriptor of the polygonal region of setting up in advance at the video coding end, described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
According to the macro block that is covered by described polygonal region in the described descriptor identification video image;
In when decoding, the macro block that is covered by described polygonal region in the video image is carried out the 3rd processing, other macro blocks in the video image are carried out the reason everywhere.
3. method as claimed in claim 1 or 2 is characterized in that, the coordinate on described summit is: according to the macro block position of raster scan order arrangement.
4. method as claimed in claim 3 is characterized in that, described identification is comprised by the macro block that described polygonal region covers:
A1, calculate the macro block of edge line segment process between the macro block on per two expression summits in the polygonal region respectively;
The macro block of the edge line segment process that a2, the macro block that will represent the summit and step a1 calculate is labeled as the edge macro block;
A3, in video image, scan according to raster scan order, the edge macro block that scanning is obtained and in being scanned up to polygonal region the time all macro blocks between two edge macro blocks be defined as the macro block that covered by polygon.
5. method as claimed in claim 1 or 2 is characterized in that, the coordinate on described summit is: the coordinate of place, summit pixel.
6. method as claimed in claim 5 is characterized in that, described identification is comprised by the macro block that described polygonal region covers:
B1, calculate the pixel of edge line segment process between the pixel on per two expression summits in the polygonal region respectively;
The pixel of the edge line segment process that b2, the pixel that will represent the summit and step b1 calculate is labeled as edge pixel;
B3, in video image, scan according to raster scan order, the edge pixel that scanning is obtained and in being scanned up to polygonal region the time all pixels between two edge pixels be defined as the pixel that covered by polygon;
B4, the pixel quantity that will be covered by described polygonal region are greater than all macro blocks of predetermined threshold value or exist at least one pixel by all macro blocks that described polygonal region covers, and are defined as the macro block that is covered by described polygonal region.
7. a video coding system is characterized in that, this system comprises:
The region description unit is used to set up the descriptor of polygonal region, and described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
The macroblock map unit is used for the macro block that is covered by described polygonal region according to described descriptor identification video image;
Coding processing unit is used for the macro block that is covered by described polygonal region in the video image being carried out first handling when coding, other macro blocks in the video image is carried out second handle.
8. a correspondence is characterized in that as the video decoding system of video coding system as described in the claim 7 this system comprises:
The region description unit is used to obtain the descriptor of the polygonal region of setting up in advance at the video coding end, and described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit;
The macroblock map unit is used for the macro block that is covered by described polygonal region according to described descriptor identification video image;
Codec processing unit is used in when decoding the macro block that is covered by described polygonal region in the video image being carried out the 3rd processing, and other macro blocks in the video image are carried out the reason everywhere.
9. as claim 7 or 8 described systems, it is characterized in that the coordinate on described summit is: according to the macro block position of raster scan order arrangement.
10. system as claimed in claim 9 is characterized in that, described macroblock map unit comprises:
The edge macro block is determined subelement, is used for calculating respectively the macro block of the edge line segment process between the macro block on per two the expression summits of polygonal region;
Edge macro block mark subelement, be used for will the expression summit macro block and the macro block of the edge line segment process that calculates be labeled as the edge macro block;
Cover macro block scanning subelement, be used for scanning at video image according to raster scan order, the edge macro block that scanning is obtained and in being scanned up to polygonal region the time all macro blocks between two edge macro blocks be defined as the macro block that covered by polygon.
11. as claim 7 or 8 described systems, it is characterized in that the coordinate on described summit is: the coordinate of place, summit pixel.
12. system as claimed in claim 11 is characterized in that, described macroblock map unit comprises:
Edge pixel is determined subelement, is used for calculating respectively the pixel of the edge line segment process between the pixel on per two the expression summits of polygonal region;
Edge pixel mark subelement, be used for will the expression summit pixel and the pixel of the edge line segment process that calculates be labeled as edge pixel;
Cover the picture element scan subelement, be used for scanning at video image according to raster scan order, the edge pixel that scanning is obtained and in being scanned up to polygonal region the time all pixels between two edge pixels be defined as the pixel that covered by polygon;
Cover the macro block judgment sub-unit, be used for the pixel quantity that to be covered by polygonal region greater than all macro blocks of predetermined threshold value or exist at least one pixel, be defined as the macro block that is covered by polygonal region by the macro block that described polygonal region covers.
13. a region description method is characterized in that, this method comprises:
Receive the polygon vertex coordinate of input;
Set up the descriptor of described polygonal region, described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit; Wherein, according to described descriptor, the macro block that can before carrying out encoding and decoding, be covered by described polygonal region in the identification video image.
14. region description method as claimed in claim 13 is characterized in that, the coordinate on described summit is according to the macro block position of raster scan order arrangement or the coordinate of place, summit pixel.
15. a region description device is characterized in that, this device comprises:
Information input unit is used to receive the polygon vertex coordinate of input;
Information is set up the unit, is used to set up the descriptor of described polygonal region, and described descriptor comprises the number of vertices of this polygonal region and the coordinate on each summit; Wherein, according to described descriptor, the macro block that can before carrying out encoding and decoding, be covered by described polygonal region in the identification video image.
16. region description device as claimed in claim 15 is characterized in that, the coordinate on described summit is according to the macro block position of raster scan order arrangement or the coordinate of place, summit pixel.
CN 200810226481 2008-11-12 2008-11-12 Video encoding and decoding methods and systems, and region description method and device Active CN101742327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810226481 CN101742327B (en) 2008-11-12 2008-11-12 Video encoding and decoding methods and systems, and region description method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810226481 CN101742327B (en) 2008-11-12 2008-11-12 Video encoding and decoding methods and systems, and region description method and device

Publications (2)

Publication Number Publication Date
CN101742327A true CN101742327A (en) 2010-06-16
CN101742327B CN101742327B (en) 2012-11-28

Family

ID=42465098

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810226481 Active CN101742327B (en) 2008-11-12 2008-11-12 Video encoding and decoding methods and systems, and region description method and device

Country Status (1)

Country Link
CN (1) CN101742327B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106105199A (en) * 2014-03-05 2016-11-09 Lg 电子株式会社 The method of coding/decoding image and device thereof based on polygonal element
WO2019127484A1 (en) * 2017-12-29 2019-07-04 深圳市大疆创新科技有限公司 Video coding method, video decoding method, and related device
CN110166789A (en) * 2019-05-15 2019-08-23 上海哔哩哔哩科技有限公司 Monitor method, computer equipment and the readable storage medium storing program for executing of net cast sensitive information
WO2020211021A1 (en) * 2019-04-17 2020-10-22 京东方科技集团股份有限公司 Image processing method and device, data transmission method and device, and storage medium
CN112954269A (en) * 2021-01-08 2021-06-11 鹏城实验室 Node collaborative selection method for large-scale visual computing system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244009B (en) * 2014-08-26 2017-07-07 南京邮电大学 Bit rate control method in a kind of distributed video coding

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217652B (en) * 2007-12-26 2010-09-29 武汉大学 An image information recording and extracting method in the process of the encoding and decoding of video images
CN101262604A (en) * 2008-04-23 2008-09-10 哈尔滨工程大学 A telescopic video coding method for optimized transmission of interested area
CN101282479B (en) * 2008-05-06 2011-01-19 武汉大学 Method for encoding and decoding airspace with adjustable resolution based on interesting area

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106105199A (en) * 2014-03-05 2016-11-09 Lg 电子株式会社 The method of coding/decoding image and device thereof based on polygonal element
US10516884B2 (en) 2014-03-05 2019-12-24 Lg Electronics Inc. Method for encoding/decoding image on basis of polygon unit and apparatus therefor
CN106105199B (en) * 2014-03-05 2020-01-07 Lg 电子株式会社 Method and apparatus for encoding/decoding image based on polygon unit
WO2019127484A1 (en) * 2017-12-29 2019-07-04 深圳市大疆创新科技有限公司 Video coding method, video decoding method, and related device
WO2020211021A1 (en) * 2019-04-17 2020-10-22 京东方科技集团股份有限公司 Image processing method and device, data transmission method and device, and storage medium
US11336906B2 (en) 2019-04-17 2022-05-17 Boe Technology Group Co., Ltd. Image processing method and device for image, data transmission method and device, and storage medium compression by combining rectangular regions of binarized images
CN110166789A (en) * 2019-05-15 2019-08-23 上海哔哩哔哩科技有限公司 Monitor method, computer equipment and the readable storage medium storing program for executing of net cast sensitive information
CN110166789B (en) * 2019-05-15 2021-10-22 上海哔哩哔哩科技有限公司 Method for monitoring video live broadcast sensitive information, computer equipment and readable storage medium
CN112954269A (en) * 2021-01-08 2021-06-11 鹏城实验室 Node collaborative selection method for large-scale visual computing system
CN112954269B (en) * 2021-01-08 2023-06-06 鹏城实验室 Node collaborative selection method for large-scale visual computing system

Also Published As

Publication number Publication date
CN101742327B (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN101742327B (en) Video encoding and decoding methods and systems, and region description method and device
CA2540575C (en) Digital video signature apparatus and methods for use with video program identification systems
CN100581238C (en) System and method for video error concealment
EP1292150A2 (en) Image data providing system
KR102082327B1 (en) A system comprising a video camera and a client device and a method performed by the same
US10051272B2 (en) Coding structure
WO2020001210A1 (en) Method and apparatus for encoding image, method and apparatus for decoding image, electronic device, and system
CN106550240A (en) A kind of bandwidth conservation method and system
WO2005022923A3 (en) Method and apparatus for minimizing number of reference pictures used for inter-coding
CN101707714B (en) Image processing method and device of multi-picture video session
CN1122422C (en) Process and device for coding images according to MPEG standard
CN106534853B (en) Light field image compression method based on mixed sweep sequence
CN101155302A (en) Video coding and decoding device and method based on image block data rotating and transforming
CN102055968B (en) Method, system and device for restoring lost video data in multi view point video
CN1953502A (en) Image data processing apparatus and method using error diffusion
US20120281757A1 (en) Scene change detection for video transmission system
US20120281756A1 (en) Complexity change detection for video transmission system
JP2004504782A (en) Alternate block order for better prediction
WO2002062072A8 (en) Method for post-processing decoded video image, using diagonal pixels
CN104853208B (en) A kind of method for video coding and device
CN107222743B (en) Image processing method, device and system
CN101765018B (en) Method and apparatus for color depth transformation and image transmission thereafter
JPH1051783A (en) Method and device for deciding optimum search grid
CN104869410A (en) VNC image transmission data processing method
CN106157213A (en) A kind of medical video image live broadcasting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171221

Address after: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Co-patentee after: Vimicro Electronics Co., Ltd.

Patentee after: Zhongxing Technology Co., Ltd.

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 15 Floor

Co-patentee before: Vimicro Electronics Co., Ltd.

Patentee before: Beijing Vimicro Corporation

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Co-patentee after: Vimicro Electronics Co., Ltd.

Patentee after: Mid Star Technology Limited by Share Ltd

Address before: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Co-patentee before: Vimicro Electronics Co., Ltd.

Patentee before: Zhongxing Technology Co., Ltd.

CP01 Change in the name or title of a patent holder