CN109996074A - Picture coding device, picture decoding apparatus and electronic equipment - Google Patents
Picture coding device, picture decoding apparatus and electronic equipment Download PDFInfo
- Publication number
- CN109996074A CN109996074A CN201711472030.2A CN201711472030A CN109996074A CN 109996074 A CN109996074 A CN 109996074A CN 201711472030 A CN201711472030 A CN 201711472030A CN 109996074 A CN109996074 A CN 109996074A
- Authority
- CN
- China
- Prior art keywords
- pixel
- model
- weight
- pixel block
- current pixel
- 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.)
- Pending
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/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
-
- 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/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
-
- 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/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The embodiment of the present application provides a kind of picture coding device, picture decoding apparatus and electronic equipment.The picture coding device includes: first selecting unit, it is when current pixel block is part image model outstanding, from the archetype and multiple first improved models of plane mode, select the model for carrying out Video coding, wherein, part image model outstanding refers to that the pixel value of the pixel of the presumptive area of the current pixel block is higher than predetermined threshold or lower than predetermined threshold;Coding unit, it is according to selected model, the pixel value of each pixel in the current pixel block is arranged in pixel value based on reference pixel, to be encoded to the current pixel block, wherein, in each first improved model, to the region except the presumptive area and the presumptive area, encoded using different models.According to the application, compression ratio when plane mode is coded and decoded is improved.
Description
Technical field
This application involves information technology field more particularly to a kind of picture coding device, picture decoding apparatus and electronics are set
It is standby.
Background technique
Mode (inter mode) and block internal schema (intra mode) between Video coding includes block, wherein mould between block
Formula is that the pixel value of adjacent pixel blocks is predicted according to the pixel value of current pixel block, to be encoded to adjacent pixel blocks,
Block internal schema is according to the pixel value of the pixel value prediction of the reference pixel around the current pixel block current pixel block, thus right
Current pixel block is encoded.Block internal schema may include angle mode (Angle mode), average value mode (DC mode) and
Plane mode (Planar mode).
Before being encoded according to block internal schema, encoder can traverse all modes in block internal schema, to pick out
Optimal mode is encoded.In decoding end, decoder use mode identical with encoder is decoded.
It should be noted that the above description of the technical background be intended merely to it is convenient to the technical solution of the application carry out it is clear,
Complete explanation, and facilitate the understanding of those skilled in the art and illustrate.Cannot merely because these schemes the application's
Background technology part is expounded and thinks that above-mentioned technical proposal is known to those skilled in the art.
Summary of the invention
The inventors of the present application found that plane mode only has a kind of computation model, it is difficult to right in existing piece of internal schema
Different current pixel blocks is all effectively encoded or is decoded, for example, being part image model outstanding in current pixel block
When, the pixel value of the partial region of current pixel block is higher than predetermined threshold or is lower than predetermined threshold, the pixel value of the partial region
It can more reflect the feature of image, therefore, significance level is higher than other regions, and current plane mode is directed to the current picture
Each region of plain block is encoded or is decoded using same computation model, does not embody the importance of different zones
Difference, it is difficult to which the current pixel block is effectively encoded or decoded.
The embodiment of the present application provides a kind of video coding apparatus, video decoder and electronic equipment, prominent for part
Image model, introduce and the encoding model that is encoded of different models used to different zones, improve plane mode progress
Compression ratio when coding.
According to the embodiment of the present application in a first aspect, providing a kind of picture coding device, which includes:
One selecting unit, when current pixel block is part image model outstanding, from the archetype of plane mode and multiple
In first improved model, the model for carrying out Video coding is selected, wherein the part image model outstanding refers to described
The pixel value of the pixel of the presumptive area of current pixel block is higher than predetermined threshold or is lower than predetermined threshold;Coding unit, basis
Selected model, the pixel value of each pixel in the current pixel block is arranged in the pixel value based on reference pixel, to described
Current pixel block is encoded, wherein in each first improved model, to the presumptive area and the presumptive area it
Outer region is encoded using different models.
According to the second aspect of the embodiment of the present application, a kind of picture decoding apparatus is provided, which includes:
Second selecting unit, when current pixel block is part image model outstanding, from plane mode (planar
Mode it in archetype (original planar) and multiple first improved models), selects decoded for carrying out video
Model, wherein the part image model outstanding refers to that the pixel value of the pixel of the presumptive area of the current pixel block is high
In predetermined threshold or it is lower than predetermined threshold;Decoding unit, according to selected model, the calculated for pixel values based on reference pixel
The pixel value of each pixel in the current pixel block, to be decoded to the current pixel block, wherein change each described first
In progressive die type, to the region except the presumptive area and the presumptive area, encoded using different models.
According to the third aspect of the embodiment of the present application, provide a kind of electronic equipment, the code device including first aspect and
/ or second aspect decoding apparatus.
The beneficial effects of the present application are as follows: it is directed to part image model outstanding, by introducing to different zones using not
With the encoding model that model is encoded, compression ratio when plane mode is coded and decoded is improved.
Referring to following description and accompanying drawings, only certain exemplary embodiments of this invention is disclosed in detail, specifies original of the invention
Reason can be in a manner of adopted.It should be understood that embodiments of the present invention are not so limited in range.In appended power
In the range of the spirit and terms that benefit requires, embodiments of the present invention include many changes, modifications and are equal.
The feature for describing and/or showing for a kind of embodiment can be in a manner of same or similar one or more
It uses in a other embodiment, is combined with the feature in other embodiment, or the feature in substitution other embodiment.
It should be emphasized that term "comprises/comprising" refers to the presence of feature, one integral piece, step or component when using herein, but simultaneously
It is not excluded for the presence or additional of one or more other features, one integral piece, step or component.
Detailed description of the invention
Included attached drawing is used to provide to be further understood from the embodiment of the present invention, and which constitute one of specification
Point, for illustrating embodiments of the present invention, and come together to illustrate the principle of the present invention with verbal description.Under it should be evident that
Attached drawing in the description of face is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying wound
Under the premise of the property made is laborious, it is also possible to obtain other drawings based on these drawings.In the accompanying drawings:
Fig. 1 is a schematic diagram of the picture coding device of the embodiment of the present application 1;
Fig. 2 is a schematic diagram of the part image model outstanding of the embodiment of the present application 1;
Fig. 3 is another schematic diagram of the part image model outstanding of the embodiment of the present application 1;
Fig. 4 is the current pixel block of the embodiment of the present application 1 and the schematic diagram of reference pixel block;
Fig. 5 is a schematic diagram of the decoding apparatus of the embodiment of the present application 2;
Fig. 6 is a composition schematic diagram of the electronic equipment of the embodiment of the present application 3;
Fig. 7 is a schematic diagram of the coding method of the embodiment of the present application 4;
Fig. 8 is a schematic diagram of the coding/decoding method of the embodiment of the present application 5.
Specific embodiment
Referring to attached drawing, by following specification, aforementioned and other feature of the invention be will be apparent.In specification
In attached drawing, only certain exemplary embodiments of this invention is specifically disclosed, which show the portions that can wherein use principle of the invention
Divide embodiment, it will thus be appreciated that the present invention is not limited to described embodiments, on the contrary, the present invention includes falling into appended power
Whole modifications, modification and equivalent in the range of benefit requirement.
Embodiment 1
The embodiment of the present application 1 provides a kind of picture coding device, which can be based on the picture of reference pixel
The pixel value of each pixel in the current pixel block of element value setting video image.
Fig. 1 is a schematic diagram of the picture coding device of the present embodiment, and picture coding device 100 as shown in Figure 1 includes:
First selecting unit 101, coding unit 102.
In the present embodiment, first selecting unit 101 is when current pixel block is part image model outstanding, from plane
In the archetype (original planar mode) of mode (planar mode) and multiple first improved models, selection
For carrying out the model of Video coding, wherein part image model outstanding refers to the presumptive area of the current pixel block
The pixel value of pixel is higher than predetermined threshold or is lower than predetermined threshold;Coding unit 102 is selected according to first selecting unit 101
Model, the pixel value of each pixel in current pixel block is arranged in the pixel value based on reference pixel, to compile to current pixel block
Code.
In the present embodiment, in each first improved model, to the region except presumptive area and presumptive area, using not
Same model is encoded.
According to the present embodiment, for part image model outstanding, introduces and different zones are carried out using different models
The encoding model of coding improves compression ratio when plane mode is encoded.
Fig. 2 is a schematic diagram of the part image model outstanding of the present embodiment, as shown in Fig. 2, current pixel block
The pixel value of 200 presumptive area 201 can be higher than predetermined threshold, and in current pixel block 200, presumptive area 201 is than other
Region is more prominent.
Fig. 3 is another schematic diagram of the part image model outstanding of the present embodiment, as shown in figure 3, current pixel block
The pixel value of 300 presumptive area 301 can be lower than predetermined threshold, and in current pixel block 300, presumptive area 301 is than other
Region is more prominent.
In the present embodiment, in Fig. 2 or image model shown in Fig. 3, presumptive area 201 or 301 is more than other regions
It is prominent, therefore, it can more reflect the characteristics of image of current pixel block 200 or 300.
In each first improved model of the present embodiment, to the region except presumptive area and presumptive area, using difference
Model encoded, more targeted coding can be carried out to the presumptive area in current pixel, plane mould can be improved
Compression ratio when formula is encoded.
Wherein, in each first improved model, for the presumptive area of current pixel block, using the second improved model into
Row decoding, for the region except the presumptive area of current pixel block, is decoded using the archetype, second improvement
Model is different from the archetype.
In the following, being illustrated to the second improved model and archetype.
In the present embodiment, the second improved model can have multiple, also, each second improved model and archetype it
Between and each second improved model between, the first weight is unequal and/or the second weight is unequal and/or third weight not
Equal and/or the 4th weight is unequal.
Wherein, the first weight is the weight of the pixel value of each pixel of the first reference pixel group on the upside of current pixel block;
Second weight is the weight of the pixel value of each pixel of the second reference pixel group on the left of current pixel block;Third weight is first
The weight of the pixel value of third reference pixel (far right) on the right side of reference pixel group;4th weight is the second reference pixel
The weight of the pixel value of the 4th reference pixel (left column) of group downside.
In the model of areal model respectively extended, the first weight is unequal between different models and/or second weighs
It is worth that unequal and/or third weight is unequal and/or the 4th weight is unequal, for example, the first weight is 1 or 2, the second power
Value is 1 or 2, and third weight is 0 or 1, and the 4th weight is 0 or 1.
Table 1 is a list of each weight of archetype and the second improved model.
Table 1:
In upper table 1, the first weight can be expressed as tw, and the second weight can be expressed as lw, and third weight can indicate
For fw, the 4th weight can be expressed as dw.
The above is only the numerical value for illustrating each weight, the present embodiment is not limited to this, and the numerical value of each weight can be it
It is worth, in addition, the quantity of model can also further increase.
In upper table 1, the model that pattern number is 1 indicates that archetype, the model that pattern number is 2-8 indicate each second
Improved model.
Fig. 4 is the schematic diagram of current pixel block and reference pixel block.Work as shown in figure 4, the first reference pixel group 401 is located at
The upside of preceding pixel block 400, the second reference pixel group 402 are located at the left side of current pixel block 401, and third pixel 403 is located at the
The right side of one reference pixel group 401, the 4th reference pixel 404 are located at the lower section of the second reference pixel group 402, current pixel block
The pixel value of each pixel is unknown in 400.
In the present embodiment, in each second model, according to the pixel value of pixel, second in the first reference pixel group 401
In reference pixel group 402 in the pixel value of the pixel value of pixel, the pixel value of third pixel 403 and the 4th pixel 404 extremely
Few one, to calculate the pixel value of each pixel in current pixel block 400.
For example, the pixel value of each pixel in current pixel block 400 can be calculated using following formula (1):
Wherein, the width of current pixel block 400 is W, that is, W pixel is highly H, that is, H pixel;Current pixel block
The coordinate of pixel M is (x, y) in 400, wherein the position of the pixel 400a in the upper left corner is (0,0);Val (A) is the second pixel
In group 402, there is the pixel value of the pixel A of identical y-coordinate with pixel M;Val (B) is in the first pixel group 401, with pixel M
The pixel value of pixel B with identical x coordinate;Val (C) is the value gone out according to the calculated for pixel values of third pixel 403, such as
Val (C) can be equal to the pixel value of third pixel, alternatively, val (C) can be equal to 15% etc. of the pixel value of third pixel;
Val (D) is the value that the calculated for pixel values of the 4th pixel 204 goes out, such as val (D) can be equal to the pixel value of the 4th pixel, or
Person, val (D) can be equal to 15% etc. of the pixel value of the 4th pixel.
In above formula (1), tw, fw, lw and dw are unequal, that is, tw, fw, lw and dw are not equal to 1 simultaneously, and formula (1) indicates
Each second improved model;
In above formula (1), if tw=1, fw=1, lw=1, and dw=1, then, formula (1) becomes following formula (2), formula
(2) archetype is indicated:
In the present embodiment, combination or model 1 and the model 3 of model 1 and model 2 can be used in each first improved model
Combination or model 1 and model 4 combination model 1 and model 5 combination or model 1 and model 6 combination or model
1 and model 7 combination or model 1 and the combination of model 8 etc..
In the present embodiment, using each first improved model be arranged such as Fig. 2 or Fig. 3 current pixel block 200 or
In 300 when the pixel value of each pixel, above formula (1) can be used the pixel value of each pixel in presumptive area 201 or 301 is arranged,
The pixel value of each pixel in other regions of current pixel block 200 is set using above formula (2).
In the present embodiment, first selecting unit 101 can traverse each model between block in mode, each in block internal schema
Model, determining has the encoding model of optimal RD-cost, wherein each model in block internal schema includes: the mould in angle mode
The model of multiple extensions of type, the model in average value mode and plane mode (for example, each model listed by table 1).Its
In, the concrete mode of traversal can refer to the prior art.
Coding unit 102 can use the selected model of first selecting unit 101, to each in current pixel block 200
Pixel is encoded, wherein when the model of selection is some in multiple first improved models, can use above formula (1)
The pixel value of each pixel in presumptive area is set, and the pixel value of each pixel in other regions is set using above formula (2).When
It, can be using the pixel value of each pixel in above formula (2) setting current pixel block when the model of selection is archetype.
In the present embodiment, picture coding device further include: judging unit 103.Judging unit 103 is according to reference pixel
Judge whether current pixel block belongs to part image model outstanding.
For example, in current pixel block, when the picture of the corresponding upside reference pixel of the pixel of continuous a predetermined level is exceeded
Plain value is both greater than first threshold and the pixel value of downside reference pixel is both greater than second threshold, alternatively, upside reference pixel
When the pixel value that pixel value is both less than third threshold value and downside reference pixel is both less than four threshold values, judging unit 03 will work as
Preceding pixel block is judged as part image model outstanding;Moreover, it is judged that unit 103 can also be by the continuous a predetermined level is exceeded
The presumptive area as current pixel block of pixel.
In the present embodiment, code device 100 can also include the first instruction information generating unit 104.First instruction letter
Generation unit 104 is ceased for generating the first instruction information, which is used to indicate selected by first selecting unit 101
The model selected.For example, the first instruction information generating unit 104 can generate the first instruction information according to pattern number.This
One instruction information can be sent to decoding unit, decoding unit when receiving the first instruction information, can according to this
One instruction information selects decoded model, is decoded.
In addition, code device 100 can also include second indication information generation unit (not shown).Second indication information
For generation unit for generating second indication information, which is used to indicate the first judging unit 103 for current picture
Plain block whether be part image model outstanding judging result.The second indication information can be sent to decoding unit, solution
Code unit can judge whether current pixel block is part when receiving the second indication information according to the second indication information
Image model outstanding.
According to the present embodiment, for part image model outstanding, introduces and different zones are carried out using different models
The encoding model of coding improves compression ratio when plane mode is encoded.
Embodiment 2
The embodiment of the present application 2 provides a kind of picture decoding apparatus, the pixel value prediction current pixel block based on reference pixel
The pixel value of interior each pixel.
Fig. 5 is a schematic diagram of the decoding apparatus of embodiment 2, as shown in figure 5, picture decoding apparatus 500 includes: second
Selecting unit 501 and decoding unit 502.
Second selecting unit 501 is when current pixel block is part image model outstanding, from plane mode (planar
Mode it in archetype (original planar) and multiple first improved models), selects decoded for carrying out video
Model, wherein the part image model outstanding refers to that the pixel value of the pixel of the presumptive area of the current pixel block is high
In predetermined threshold or it is lower than predetermined threshold;Decoding unit 502 is according to the selected model of the second selecting unit 501, based on reference
The pixel value of each pixel in current pixel block described in the calculated for pixel values of pixel, to be decoded to the current pixel block.
In the present embodiment, model used by decoding apparatus 500 is identical as model used in code device, about this
The explanation of first improved model and archetype in embodiment, can be with reference implementation example 1, and this embodiment is not repeated.
In the present embodiment, decoding apparatus 500 can also have second judgment unit 503, and second judgment unit 503 is used
To judge whether current pixel block is part image model outstanding.The judgment method of second judgment unit 503 can be with first
The judgment method of judging unit 103 is identical.In addition, second judgment unit 503 can also according to the second indication information received,
Judge whether current pixel block is part image model outstanding.
In the present embodiment, decoding apparatus 500 can also include instruction information receiving unit 504.The instruction information receives
Unit 504 is for receiving the first instruction information, wherein the second selecting unit 501 can select phase according to the first instruction information
The model answered is decoded.In addition, instruction information receiving unit 504 can also receive second indication information, the second judgement as a result,
Unit 503 can judge whether current pixel block is part image model outstanding according to the second indication information received.
According to the present embodiment, for part image model outstanding, introduces and different zones are carried out using different models
Decoded decoded model improves compression ratio when plane mode is decoded.
Embodiment 3
The embodiment of the present application 3 provides a kind of electronic equipment, and the electronic equipment includes: coding dress as described in Example 1
At least one of set with decoding apparatus as described in example 2.
For example, the electronic equipment has code device described in embodiment 1, the code device is to acquired in the electronic equipment
Video image encoded;Alternatively, the electronic equipment has decoding apparatus as described in example 2, the decoding apparatus is to the electricity
Data after encoding acquired in sub- equipment to video image are decoded;Alternatively, the electronic equipment has 1 institute of embodiment
The code device stated and decoding apparatus as described in example 2, the code device is to video image acquired in the electronic equipment
It is encoded, which is decoded the data after encoding acquired in the electronic equipment to video image, example
Such as, which can be decoded the data after the code device encodes video image.
Fig. 6 is a composition schematic diagram of the electronic equipment of the embodiment of the present application 3.As shown in fig. 6, electronic equipment 600 can
To include: central processing unit (CPU) 601 and memory 602;Memory 602 is coupled to central processing unit 601.The wherein storage
Device 602 can store various data, for example, the data of the various models for image coding and decoding;In addition, also storage for into
Row image coding or decoded program, and the program is executed under the control of central processing unit 601.
In one embodiment, image coding or decoding apparatus in function can be integrated into central processing unit 601
In.
Wherein, central processing unit 601 can be configured as:
When current pixel block is part image model outstanding, from the archetype of plane mode (planar mode)
In (original planar) and multiple first improved models, the model for carrying out Video coding is selected, wherein described
Part image model outstanding refers to that the pixel value of the presumptive area of the current pixel block is higher than predetermined threshold or lower than predetermined
Threshold value;According to selected model, the pixel value of each pixel in the current pixel block is arranged in the pixel value based on reference pixel,
To be encoded to the current pixel block, wherein in each first improved model, to the presumptive area and described pre-
Determine the region except region, is encoded using different models.
Wherein, it in each first improved model, for the presumptive area of current pixel block, is improved using second
Each second improved model in model is decoded, and second improved model is different from the archetype;For current picture
Region except the presumptive area of plain block, is decoded using the archetype.
Wherein, central processing unit 601 can be additionally configured to: between second improved model and the archetype,
And between the second different improved models, the first weight is unequal and/or the second weight is unequal and/or third weight not
Equal and/or the 4th weight is unequal, wherein first weight is the first reference pixel group on the upside of current pixel block
The weight of the pixel value of each pixel, second weight are the pictures of each pixel of the second reference pixel group on the left of current pixel block
The weight of element value, the third weight is the power of the third reference pixel (far right) on the right side of the first reference pixel group
Value, the 4th weight is the weight of the 4th reference pixel (left column) on the downside of the second reference pixel group.
Wherein, central processing unit 601 can be additionally configured to: judge whether current pixel block belongs to portion according to reference pixel
Divide image model outstanding.
Wherein, central processing unit 601 can be additionally configured to: in current pixel block, when continuous a predetermined level is exceeded
The pixel value of the corresponding upside reference pixel of pixel be both greater than first threshold and the pixel value of downside reference pixel is both greater than
Second threshold, alternatively, the pixel value of upside reference pixel is both less than third threshold value and the pixel value of downside reference pixel is all small
When four threshold values, current pixel block is judged as part image model outstanding by first judging unit, also, by the company
Central area of the pixel of continuous a predetermined level is exceeded as current pixel block.
Wherein, central processing unit 601 can be additionally configured to: generate the first instruction information, the first instruction information is used
In the instruction selected model of first selecting unit.
In the present embodiment, central processing unit 601 can be configured as:
When current pixel block is part image model outstanding, from the archetype of plane mode (planar mode)
In (original planar) and multiple first improved models, select for carrying out the decoded model of video, wherein described
Part image model outstanding refers to that the pixel value of the pixel of the presumptive area of the current pixel block is higher than predetermined threshold or low
In predetermined threshold;According to selected model, each pixel in current pixel block described in the calculated for pixel values based on reference pixel
Pixel value, to be decoded to the current pixel block, wherein in each first improved model, to the presumptive area
With the region except the presumptive area, encoded using different models.
In addition, as shown in fig. 6, electronic equipment 600 can also include: input-output unit 603 and display unit 604 etc.;
Wherein, similarly to the prior art, details are not described herein again for the function of above-mentioned component.It is worth noting that, electronic equipment 600 is not yet
It is to have to include all components shown in Fig. 6;In addition, electronic equipment 600 can also include the portion being not shown in Fig. 6
Part can refer to the prior art.
Embodiment 4
The embodiment of the present application 4 provides a kind of coding method, corresponding with the code device of embodiment 1.
Fig. 7 is a schematic diagram of the coding method of the present embodiment, as shown in fig. 7, coding method includes:
Step 701, when current pixel block is part image model outstanding, from the archetype of plane mode and more
In a first improved model, the model for carrying out Video coding is selected, wherein in each first improved model, to institute
The region except presumptive area and the presumptive area is stated, is encoded using different models;
Step 702, according to selected model, each picture in the current pixel block is arranged in pixel value based on reference pixel
The pixel value of element, to be encoded to the current pixel block.
As shown in fig. 7, this method further include:
Step 703 judges whether current pixel block belongs to part image model outstanding according to reference pixel.
As shown in fig. 7, this method further include:
Step 704 generates the first instruction information, and the first instruction information is used to indicate selected model.
It, can be with reference implementation example 1 to the explanation of corresponding units about the explanation of each step.
According to the present embodiment, for part image model outstanding, introduces and different zones are carried out using different models
The encoding model of coding improves compression ratio when plane mode is encoded.
Embodiment 5
The embodiment of the present application 5 provides a kind of coding/decoding method, corresponding with the decoding apparatus of embodiment 2.
Fig. 8 is a schematic diagram of the coding/decoding method of the present embodiment, as shown in figure 8, coding/decoding method includes:
Step 801, when current pixel block is part image model outstanding, from the archetype of plane mode and more
In a first improved model, select for carrying out the decoded model of video, wherein in each first improved model, to institute
The region except presumptive area and the presumptive area is stated, is encoded using different models;
Step 802, according to selected model, each picture in current pixel block described in the calculated for pixel values based on reference pixel
The pixel value of element, to be decoded to the current pixel block.
As shown in figure 8, this method further include:
Step 803 judges whether current pixel block is part image model outstanding.
As shown in figure 8, this method further include:
Step 804, reception are used to indicate the first instruction information of selected model and/or whether indicate current pixel block
For the second indication information of part image model outstanding.
Also, the first instruction information that step 801 can be received according to step 804, selects for carrying out video image
Decoded model.The second indication information that step 803 can be received according to step 804 judges whether current pixel block is portion
Divide image model outstanding.
It, can be with reference implementation example 2 to the explanation of corresponding units about the explanation of above steps.
According to the present embodiment, for part image model outstanding, introduces and different zones are carried out using different models
Decoded decoded model improves compression ratio when plane mode is decoded.
The embodiment of the present application also provides a kind of computer-readable program, wherein when in picture coding device, image decoding dress
Set or electronic equipment in execute described program when, described program makes picture coding device, picture decoding apparatus or electronic equipment
Execute picture decoding method described in image encoding method and/or embodiment 5 as described in example 4.
The embodiment of the present application also provides a kind of storage medium for being stored with computer-readable program, wherein the storage is situated between
Matter stores above-mentioned computer-readable program, and the computer-readable program makes picture coding device, picture decoding apparatus or electricity
Sub- equipment executes picture decoding method described in image encoding method and/or embodiment 5 as described in example 4.
In conjunction with the embodiment of the present invention describe picture coding device, picture decoding apparatus can be embodied directly in hardware, by
Manage software module that device executes or both combination.For example, one or more of Fig. 1, functional block diagram shown in 5 and/or function
One or more combinations of energy block diagram, both can correspond to each software module of computer program process, can also correspond to
Each hardware module.These software modules can correspond respectively to each step shown in embodiment 2.These hardware module examples
Such as these software modules are solidified using field programmable gate array (FPGA) and are realized.
Software module can be located at RAM memory, flash memory, ROM memory, eprom memory, EEPROM memory, post
Storage, hard disk, mobile disk, CD-ROM or any other form known in the art storage medium.One kind can be deposited
Storage media is coupled to processor, to enable a processor to from the read information, and can be written to the storage medium
Information;Or the storage medium can be the component part of processor.Pocessor and storage media can be located in ASIC.This is soft
Part module can store in a memory in the mobile terminal, also can store in the storage card that can be inserted into mobile terminal.For example,
If electronic equipment can be deposited using the MEGA-SIM card of larger capacity or the flash memory device of large capacity, the software module
Storage is in the flash memory device of the MEGA-SIM card or large capacity.
It, can for one or more combinations of one or more of Fig. 1,5 functional block diagrams described and/or functional block diagram
To be embodied as general processor, the digital signal processor (DSP), specific integrated circuit for executing function described herein
(ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete
Hardware component or it is any appropriately combined.One or more of functional block diagram for Fig. 1 description and/or functional block diagram
One or more combinations, be also implemented as calculating the combinations of equipment, for example, the combination of DSP and microprocessor, multiple micro- places
Reason device communicates the one or more microprocessors or any other this configuration combined with DSP.
Combine specific embodiment that the application is described above, it will be appreciated by those skilled in the art that this
A little descriptions are all exemplary, and are not the limitation to the application protection scope.Those skilled in the art can be according to the application
Principle various variants and modifications are made to the application, these variants and modifications are also within the scope of application.
Claims (10)
1. a kind of picture coding device, the picture coding device include:
First selecting unit, when current pixel block is part image model outstanding, from the archetype of plane mode with
And in multiple first improved models, the model for carrying out Video coding is selected, wherein the part image model outstanding is
Refer to that the pixel value of the pixel of the presumptive area of the current pixel block is higher than predetermined threshold or lower than predetermined threshold;
Coding unit, according to selected model, each picture in the current pixel block is arranged in the pixel value based on reference pixel
The pixel value of element, to be encoded to the current pixel block,
Wherein, in each first improved model, to the region except the presumptive area and the presumptive area, using not
Same model is encoded.
2. picture coding device as described in claim 1, wherein in each first improved model,
It for the presumptive area of current pixel block, is decoded using the second improved model, second improved model is not
It is same as the archetype;
For the region except the presumptive area of current pixel block, it is decoded using the archetype.
3. picture coding device as claimed in claim 2, wherein
Between second improved model and the archetype and between the second different improved models, the first weight is not
Equal and/or the second weight is unequal and/or third weight is unequal and/or the 4th weight is unequal, wherein
First weight is the weight of the pixel value of each pixel of the first reference pixel group on the upside of current pixel block,
Second weight is the weight of the pixel value of each pixel of the second reference pixel group on the left of current pixel block,
The third weight is the weight of the third reference pixel on the right side of the first reference pixel group,
4th weight is the weight of the 4th reference pixel on the downside of the second reference pixel group.
4. picture coding device as described in claim 1, wherein the picture coding device further includes,
First judging unit judges whether current pixel block belongs to part image model outstanding according to reference pixel.
5. picture coding device as claimed in claim 4, wherein
In current pixel block, when the pixel value of the corresponding upside reference pixel of the pixel of continuous a predetermined level is exceeded is both greater than
The pixel value of first threshold and downside reference pixel is both greater than second threshold, alternatively, the pixel value of upside reference pixel is all small
When the pixel value of third threshold value and downside reference pixel is both less than four threshold values,
Current pixel block is judged as part image model outstanding by first judging unit,
Also, using the pixel of the continuous a predetermined level is exceeded as the central area of current pixel block.
6. picture coding device as described in claim 1, wherein described image code device further include:
First instruction information generating unit, is used to generate the first instruction information, and the first instruction information is used to indicate described
The selected model of first selecting unit.
7. a kind of picture decoding apparatus, the picture decoding apparatus include:
Second selecting unit, when current pixel block is part image model outstanding, from the archetype of plane mode with
And in multiple first improved models, select for carrying out the decoded model of video, wherein the part image model outstanding is
Refer to that the pixel value of the pixel of the presumptive area of the current pixel block is higher than predetermined threshold or lower than predetermined threshold;
Decoding unit, according to selected model, each picture in current pixel block described in the calculated for pixel values based on reference pixel
The pixel value of element, to be decoded to the current pixel block,
Wherein, in each first improved model, to the region except the presumptive area and the presumptive area, using not
Same model is encoded.
8. picture decoding apparatus as claimed in claim 7, wherein in each first improved model,
It for the presumptive area of current pixel block, is decoded using the second improved model, second improved model is not
It is same as the archetype,
For the region except the presumptive area of current pixel block, it is decoded using the archetype.
9. picture decoding apparatus as claimed in claim 8, wherein
Between second improved model and the archetype and between the second different improved models, the first weight is not
Equal and/or the second weight is unequal and/or third weight is unequal and/or the 4th weight is unequal, wherein
First weight is the weight of the pixel value of each pixel of the first reference pixel group on the upside of current pixel block,
Second weight is the weight of the pixel value of each pixel of the second reference pixel group on the left of current pixel block,
The third weight is the weight of the third reference pixel on the right side of the first reference pixel group,
4th weight is the weight of the 4th reference pixel on the downside of the second reference pixel group.
10. a kind of electronic equipment has such as picture coding device of any of claims 1-6, and/or as right is wanted
Seek picture coding device described in any one of 7-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711472030.2A CN109996074A (en) | 2017-12-29 | 2017-12-29 | Picture coding device, picture decoding apparatus and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711472030.2A CN109996074A (en) | 2017-12-29 | 2017-12-29 | Picture coding device, picture decoding apparatus and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109996074A true CN109996074A (en) | 2019-07-09 |
Family
ID=67109335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711472030.2A Pending CN109996074A (en) | 2017-12-29 | 2017-12-29 | Picture coding device, picture decoding apparatus and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109996074A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6476811B1 (en) * | 1999-09-01 | 2002-11-05 | Ati International, Srl | Method and apparatus for compressing parameter values for pixels in a display frame |
CN101321283A (en) * | 2007-06-10 | 2008-12-10 | 华为技术有限公司 | Encoding/decoding method and device compatible with different block transformation |
CN101325714A (en) * | 2007-06-13 | 2008-12-17 | 华为技术有限公司 | Method and apparatus for processing transformation data, method and apparatus for encoding and decoding |
CN101867818A (en) * | 2008-06-06 | 2010-10-20 | 浙江大学 | Selection method and device of macroblock mode |
CN102006481A (en) * | 2010-12-17 | 2011-04-06 | 武汉大学 | Fast intra prediction mode selection method based on block features |
US20110311153A1 (en) * | 2008-03-27 | 2011-12-22 | Texas Instruments Incorporated | Reduced calculations in determining intra-prediction type method and system |
US20130129237A1 (en) * | 2009-12-01 | 2013-05-23 | Alex Chungku Yie | Method and apparatus for encoding/decoding high resolution images |
CN103428501A (en) * | 2013-09-08 | 2013-12-04 | 张新安 | AVS intra-frame prediction mode fast selection algorithm |
US20150350640A1 (en) * | 2012-06-25 | 2015-12-03 | Industry-University Cooperation Foundation Hanyang University | Video encoding and decoding method |
WO2016048186A1 (en) * | 2014-09-24 | 2016-03-31 | Закрытое акционерное общество "Элекард наноДевайсез" | Rapid selection of spatial prediction mode in hevc coding system |
US20170366807A1 (en) * | 2014-12-08 | 2017-12-21 | Thomson Licensing | Coding of intra modes |
-
2017
- 2017-12-29 CN CN201711472030.2A patent/CN109996074A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6476811B1 (en) * | 1999-09-01 | 2002-11-05 | Ati International, Srl | Method and apparatus for compressing parameter values for pixels in a display frame |
CN101321283A (en) * | 2007-06-10 | 2008-12-10 | 华为技术有限公司 | Encoding/decoding method and device compatible with different block transformation |
CN101325714A (en) * | 2007-06-13 | 2008-12-17 | 华为技术有限公司 | Method and apparatus for processing transformation data, method and apparatus for encoding and decoding |
US20110311153A1 (en) * | 2008-03-27 | 2011-12-22 | Texas Instruments Incorporated | Reduced calculations in determining intra-prediction type method and system |
CN101867818A (en) * | 2008-06-06 | 2010-10-20 | 浙江大学 | Selection method and device of macroblock mode |
US20130129237A1 (en) * | 2009-12-01 | 2013-05-23 | Alex Chungku Yie | Method and apparatus for encoding/decoding high resolution images |
CN102006481A (en) * | 2010-12-17 | 2011-04-06 | 武汉大学 | Fast intra prediction mode selection method based on block features |
US20150350640A1 (en) * | 2012-06-25 | 2015-12-03 | Industry-University Cooperation Foundation Hanyang University | Video encoding and decoding method |
CN103428501A (en) * | 2013-09-08 | 2013-12-04 | 张新安 | AVS intra-frame prediction mode fast selection algorithm |
WO2016048186A1 (en) * | 2014-09-24 | 2016-03-31 | Закрытое акционерное общество "Элекард наноДевайсез" | Rapid selection of spatial prediction mode in hevc coding system |
US20170366807A1 (en) * | 2014-12-08 | 2017-12-21 | Thomson Licensing | Coding of intra modes |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105163116B (en) | The method and apparatus of image prediction | |
US11917140B2 (en) | Selection of an extended intra prediction mode | |
TWI619382B (en) | Apparatus of decoding image | |
WO2016065873A1 (en) | Image prediction method and related device | |
CN102823244B (en) | Video encoding and decoding method and apparatus | |
CN102611884B (en) | Image encoding and decoding method and encoding and decoding device | |
CN103237216B (en) | The decoding method and coding and decoding device of depth image | |
WO2017005146A1 (en) | Video encoding and decoding method and device | |
CN102611880B (en) | Encoding method and device for marking geometric classification mode of image block | |
CN107046645A (en) | Image coding/decoding method and device | |
CN101621694B (en) | Motion estimation method, motion estimation system and display terminal | |
CN106170093B (en) | Intra-frame prediction performance improving coding method | |
CN103369315B (en) | The coding of the intra prediction mode of chromatic component, coding/decoding method, equipment and system | |
US11758175B2 (en) | Image encoding/decoding method and apparatus | |
CN105426883A (en) | Video classified rapid identification method and device | |
CN102215395B (en) | Video coding and decoding method and device | |
CN108419082A (en) | A kind of method for estimating and device | |
CN110324668B (en) | Transform method in image block coding, inverse transform method and device in decoding | |
CN109996074A (en) | Picture coding device, picture decoding apparatus and electronic equipment | |
CN108259918B (en) | Coding unit mode decision method and device | |
CN110557621B (en) | Parameter acquisition method, pixel point pair selection method and related equipment | |
CN115334308B (en) | Learning model-oriented coding decision processing method, device and equipment | |
CN110475116A (en) | A kind of motion vector deriving method, device and electronic equipment | |
CN113691811A (en) | Coding block dividing method, device, system and storage medium | |
CN110166774B (en) | Intra-frame prediction method, video encoding method, video processing apparatus, and storage medium |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190709 |
|
WD01 | Invention patent application deemed withdrawn after publication |