CN110087083A - The selection method of prediction mode for chroma, image processing equipment and storage equipment in frame - Google Patents

The selection method of prediction mode for chroma, image processing equipment and storage equipment in frame Download PDF

Info

Publication number
CN110087083A
CN110087083A CN201910185729.3A CN201910185729A CN110087083A CN 110087083 A CN110087083 A CN 110087083A CN 201910185729 A CN201910185729 A CN 201910185729A CN 110087083 A CN110087083 A CN 110087083A
Authority
CN
China
Prior art keywords
mode
prediction mode
chroma
alternative patterns
candidate list
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
CN201910185729.3A
Other languages
Chinese (zh)
Other versions
CN110087083B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202111257619.7A priority Critical patent/CN114025169A/en
Priority to CN201910185729.3A priority patent/CN110087083B/en
Priority to CN202111266404.1A priority patent/CN114040205A/en
Publication of CN110087083A publication Critical patent/CN110087083A/en
Priority to EP19902107.2A priority patent/EP3881535A4/en
Priority to PCT/CN2019/126515 priority patent/WO2020135206A1/en
Priority to US17/349,844 priority patent/US11659170B2/en
Application granted granted Critical
Publication of CN110087083B publication Critical patent/CN110087083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/186Methods 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 a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/103Selection of coding mode or of prediction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

It includes a variety of prediction mode for chroma in the candidate list that this application discloses the selection method of prediction mode for chroma, image processing equipment and storage equipment in a kind of frame this method comprises: constructing the candidate list of prediction mode for chroma;Select the part luma prediction mode of the corresponding luminance block of current chroma block as alternative patterns;Utilize at least one prediction mode for chroma in alternative patterns replacement candidate list;Optimum prediction mode is selected from replaced candidate list, to carry out colorimetric prediction to current chroma block using optimum prediction mode.By the above-mentioned means, the application is able to ascend compression rates.

Description

The selection method of prediction mode for chroma, image processing equipment and storage equipment in frame
Technical field
This application involves technical field of image processing, more particularly to the selection method of prediction mode for chroma in a kind of frame, Image processing equipment and storage equipment.
Background technique
In video coding system, mainly there are several big modules such as prediction, change quantization, entropy coding.Prediction module can be divided into frame Interior prediction and inter-prediction are to eliminate spatial redundancy information and temporal redundancy information respectively.Intra prediction is a kind of utilization Come the method for eliminating spatial redundancy, intra prediction includes luma prediction and colorimetric prediction for strong correlation between adjacent pixels, wherein Colorimetric prediction and luma prediction all have a variety of prediction modes.Size after video frame compression is selected in an encoding process with encoder The prediction mode selected and its residual error of generation are related, and residual error is smaller, and the code stream of generation is also smaller.It is best for the selection of each chrominance block Prediction mode, its predicted value can be allowed closer with original pixels, make residual sum Video coding distortion minimize, to reach To the purpose for reducing video code rate.
However, existing and luminance block in the candidate modes that existing coloration optimum prediction mode selection course uses Texture trend does not have the prediction mode of strong correlation, has ignored the texture correlation of coloration and luminance block, and encoder selection is such A possibility that mode, is usually smaller, this, which will lead to encoder, can not select the prediction mode of other luminance patterns strong correlations as time Lectotype eventually leads to compression rates decline.
Summary of the invention
The application is mainly solving the technical problems that provide the selection method of prediction mode for chroma, image procossing in a kind of frame Equipment and storage equipment, are able to ascend compression rates.
In order to solve the above technical problems, the technical solution that the application uses is: providing colorimetric prediction mould in a kind of frame The selection method of formula, comprising: construct the candidate list of prediction mode for chroma, include a variety of colorimetric prediction moulds in the candidate list Formula;Select the part luma prediction mode of the corresponding luminance block of current chroma block as alternative patterns;It is replaced using alternative patterns At least one prediction mode for chroma in candidate list;Optimum prediction mode is selected from replaced candidate list, to utilize Optimum prediction mode carries out colorimetric prediction to current chroma block.
In order to solve the above technical problems, another technical solution that the application uses is: a kind of image processing equipment is provided, It include: telecommunication circuit interconnected and processor;Telecommunication circuit is for obtaining current chroma block;Processor is for executing instruction To realize method as described above.
In order to solve the above technical problems, another technical solution that the application uses is: a kind of storage equipment is provided, it is internal It is stored with instruction, the instruction is for executing to realize method as described above.
The beneficial effect of the application is: being in contrast to the prior art, in embodiments herein, includes by building The candidate list of a variety of prediction mode for chroma selects the part luma prediction mode of the corresponding luminance block of current chroma block as replacing Mold changing formula, and using at least one prediction mode for chroma in alternative patterns replacement candidate list, finally from replaced candidate Optimum prediction mode is selected in list, to carry out colorimetric prediction to current chroma block using optimum prediction mode.Pass through above-mentioned side Formula, the application can be improved the texture trend for the prediction mode for chroma and corresponding luminance block for including in replaced candidate list Correlation, thus improve encoder select with the prediction mode of the texture trend strong correlation of luminance block as optimum prediction mode Probability, and then enable to predicted value closer with original pixels, so that residual sum Video coding distortion reduction, is finally reached Promote the purpose of compression rates.
Detailed description of the invention
Fig. 1 is the flow diagram of the selection method first embodiment of prediction mode for chroma in a kind of frame of the application;
Fig. 2 is the partition structure schematic diagram of chrominance block with corresponding luminance block;
Fig. 3 is the flow diagram of the selection method second embodiment of prediction mode for chroma in a kind of frame of the application;
Fig. 4 is the positional structure schematic diagram for the encoding block for including in the corresponding luminance block of current chroma block;
Fig. 5 is the idiographic flow schematic diagram of step S131 in Fig. 3;
Fig. 6 is the flow diagram of the selection method 3rd embodiment of prediction mode for chroma in a kind of frame of the application;
Fig. 7 is a kind of structural schematic diagram of one embodiment of image processing equipment of the application;
Fig. 8 is a kind of structural schematic diagram for storing one embodiment of equipment of the application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is only a part of the embodiment of the application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Since video image data amount is bigger, it usually needs after carrying out coding compression to it, then is transmitted or stored, Data after coding are referred to as video code flow.It is limited by hardware and other conditions, as limited storage space, transmission bandwidth are limited Deng coded system always wants to that video code flow size can be allowed to minimize.
In Video coding, the most frequently used colour coding method has YUV, RGB etc..Method YUV color-coded in the application For be illustrated.Wherein, Y indicates brightness, that is, the gray value of image;U and V (i.e. Cb and Cr) indicates coloration, effect It is description image color and saturation degree.Video coding is exactly to encode to several color components (such as Y, Cb, Cr) data.
As shown in Figure 1, the selection method first embodiment of prediction mode for chroma includes: in a kind of frame of the application
S11: the candidate list of prediction mode for chroma is constructed.
The prediction mode for chroma of intra prediction may include Planar (plane) mode, DC (direct current) mode, angle prediction Mode, above-mentioned prediction mode can use digital representation, wherein 0 is Planar mode, 1 is DC mode, and 2~N indicates that angle is pre- Survey mode.Prediction mode for chroma further includes LM (Cross-component linear model prediction, across group in frame Part Linear Model for Prediction) mode, LM_L across the component Linear Model for Prediction of reference (only use left) mode, LM_T (only use Across the component Linear Model for Prediction of top reference) and DM (Derived mode, exported schema) etc..Wherein, angle prediction mode In include vertically and horizontally two kinds of default modes, vertically and horizontally its specific angle number may in different agreement for both of which It is different.For example, including 2~No. 34 33 kinds of prediction modes in angle prediction mode in H.265 standard, 10 be level angle mould Formula, 26 be vertical angle mode;And in H.266 standard, angle prediction mode then includes 2~No. 66 65 kinds of prediction modes, and 18 It is vertical angle mode for level angle mode, 50.
It include a variety of prediction mode for chroma in the candidate list in the present embodiment.For example, may include in the candidate list Planar, vertical, level, DC, LM_L, LM_T, LM and DM totally 8 kinds of modes.Wherein, as DM and Planar, vertical, horizontal, DC When any of four kinds of default modes mode is identical, mode identical with DM is replaced by L mode in above-mentioned default mode.The L Mode is the maximum angle prediction mode of angle prediction mode number in certain coding standard, such as H.265 in standard, L mode It is 34;And H.266 in standard, L mode 66.Certainly, in other embodiments, which also may include other colorations Prediction mode, such as angle prediction mode 20 also may include prediction mode more or less.
S12: select the part luma prediction mode of the corresponding luminance block of current chroma block as alternative patterns.
When luminance block and chrominance block independently encode, when needing to carry out colorimetric prediction to current chroma block, correspond to The luminance block of position has usually been completed to encode, at this point it is possible to obtain the luma prediction mould of the corresponding luminance block of current chroma block Formula.
Specifically, in an application examples, as shown in Fig. 2, bright in the division of the chrominance block in U or V plane and Y plane The division mode for spending block may be different, but the position of the luminance block on the corresponding Y plane of chrominance block in U or V plane is identical.Example Such as, in U or V plane upper left corner 64*64 chrominance block, the luminance block of 64*64 on same corresponding Y plane, wherein chrominance block and bright The pixel that degree block includes may be zoomed in or out according to the oversampling ratio equal proportion of YUV plane.Such as in Fig. 2, YUV plane Oversampling ratio relationship is 4:1:1, then the luminance block 202 on the corresponding Y plane of the chrominance block 201 in U or V plane, what the two included Pixel quantity is also proportional.
It include multiple encoding blocks 2021 in the luminance block 202 of 201 corresponding position of current chroma block with continued reference to Fig. 2, it can be with The corresponding luma prediction modes of selected section encoding block 2021 from multiple encoding blocks 2021, as alternative patterns.For example, selection The corresponding luma prediction modes of encoding block 2021a where 202 central point CR of luminance block are as alternative patterns.
Certainly, in other embodiments, the luma prediction of the encoding block of other positions can also be selected according to actual needs The luma prediction modes etc. of encoding block where mode, such as selection upper left corner TL and/or upper right corner TR.
S13: at least one prediction mode for chroma in alternative patterns replacement candidate list is utilized.
Specifically, in an application examples, when may include in the candidate list Planar, vertical, level, DC, LM_L, LM_T, LM and DM totally 8 kinds of modes when, wherein vertically, the texture trend of horizontal, this 3 kinds of default modes of DC and luminance block not Strong correlation, encoder select in this 3 kinds of modes it is any as best prediction mode for chroma a possibility that it is not high.Therefore, Preferably, the prediction mode for chroma being replaced is at least one of vertical, horizontal and three kinds of default modes of DC mode, Ke Yizeng Influence of the texture paging to model selection between strong chrominance block and luminance block, effectively improves and selects the general of more excellent prediction mode for chroma Rate further promotes the compression ratio of intraframe coding to carry out more accurate prediction to chrominance block.Wherein, replace it is any or Which kind default mode can be selected arbitrarily, and the order of replacement can also arbitrarily sort.For example, selecting 3 kinds of alternative patterns Afterwards, one in vertical, level and three kinds of default modes of DC mode can be only replaced, two, can also all be replaced.
In the present embodiment, when in candidate list including at least one of vertical, horizontal and three kinds of default modes of DC mode, It is preferred that replacing above-mentioned default mode, naturally it is also possible to replace other prediction mode for chroma such as Planar, LM_L using alternative patterns And LM_T.
S14: selecting optimum prediction mode from replaced candidate list, to utilize optimum prediction mode to current chroma Block carries out colorimetric prediction.
Specifically, by generation can be distorted by calculating the rate of each prediction mode for chroma in replaced candidate list Valence selects optimum prediction mode of the smallest prediction mode for chroma of rate distortion costs as current chroma block, i.e., using best Prediction mode carries out colorimetric prediction to current chroma block.
In the present embodiment, by using the candidate column of part luma prediction mode replacement of the corresponding luminance block of current chroma block At least one prediction mode for chroma in table, can be improved the prediction mode for chroma that includes in replaced candidate list with it is corresponding Luminance block texture trend correlation, more fully reflect the texture trend of entire luminance block, so as to improve compile Code device selects and probability of the prediction mode of the texture trend strong correlation of luminance block as optimum prediction mode, and then enables to Predicted value is closer with original pixels, reduces the distortion of residual sum Video coding, is finally reached the purpose for promoting compression rates.
As shown in figure 3, the selection method second embodiment of prediction mode for chroma is implemented first in a kind of frame of the application On the basis of example, further limiting step S12 includes:
S121: the luma prediction modes of N number of encoding block of the different location in luminance block are obtained.
Wherein, when selecting the encoding block of different location, encoding block can be randomly selected, also can choose certain special bits The encoding block set.Preferably, N number of encoding block of the different location include positioned at luminance block corner location at encoding block and In encoding block at the center position for the sub- luminance block that the angle point of luminance block and the central point of luminance block are itself angle point At least partly, the distribution of the center position of above-mentioned corner location and sub- luminance block is more uniform and more representative, favorably In getting suitable luma prediction modes.
Specifically, as shown in fig.4, all optional encoding blocks include being located at 40 4 angle points of luminance block in luminance block 40 Position TL (upper left angle point), BL (lower-left angle point), TR (upper right angle point), encoding block 401a~401d at BR (bottom right angle point), And with sub- luminance block 402a that angle point TL, BL, TR, BR of luminance block 40 and the central point CR of luminance block 40 are itself angle point~ Encoding block at the position central point TL1, BL1, TR1, BR1 of 402d (4 sub- luminance blocks that dotted line frame marks off in such as Fig. 4) 403a~403d, totally 8, therefore 1≤N≤8.According to actual needs, can be selected from above-mentioned 8 encoding blocks one of them or The corresponding luma prediction modes of multiple encoding blocks, such as directly select all corresponding luma prediction modes of 8 encoding blocks.
S122: select M mode for meeting default screening rule in luma prediction modes as alternative patterns.
Wherein, since mode to be replaced is up to Planar, vertical, level, DC, LM_L and LM_T six, 1 ≤ M≤6 and M≤N.
When in candidate list including DM, the default screening rule be when DM is not Planar mode, it is selected to replace Mold changing formula cannot be Planar mode or DM, when DM and Planar mode phase simultaneously as Planar mode can be replaced with angle Degree mode L, selected alternative patterns cannot be DM mode at this time;And no matter whether DM is Planar mode, it is selected Alternative patterns can not be identical as selected alternative patterns.
It specifically, in the above-described embodiments, can be random from the luma prediction modes for meeting above-mentioned default screening rule Select M luma prediction modes as alternative patterns, it can also be according to certain condition from meeting the bright of above-mentioned default screening rule Select M luma prediction modes as alternative patterns in degree prediction mode.
Optionally, it in an application examples, can sequentially be selected from the luma prediction modes according to preset order rule Meet the preceding M mode of default screening rule as alternative patterns.
Wherein, which is according to the position of the corresponding encoding block of luma prediction modes with side from the inside to surface Formula, from left to right mode and/or mode is selected from top to bottom.
Specifically, as shown in connection with fig. 4, N=8, M=3, DM are not equal to any one default mode, 3 kinds of modes being replaced It, can be first in a manner of from the inside to surface, from left to right mode and these three modes of mode from top to bottom when for vertical, horizontal and DC Any one mode or combinations thereof is ranked up 8 luma prediction modes, obtains the luma prediction for meeting preset order rule The sequence of mode, including but not limited to following several sequences:
Ⅰ.TL1->BL1->TR1->BR1->TL->BL->TR->BR
Ⅱ.TL1->TR1->BL1->BR1->TL->TR->BL->BR
Ⅲ.TL1->TL->TR1->TR->BL1->BL->BR1->BR
Ⅳ.TL1->TL->BL1->BL->TR1->TR->BR1->BR
Ⅴ.TL1->TL->TR1->TR->BL1->BR1->BL->BR
Ⅵ.TL1->BL1->TL->BL->TR1->BR1->TR->BR
It is then possible to meet the preceding M mode of default screening rule from any one of above-mentioned sequence sequence sequentially selection As alternative patterns.For example, 8 luma prediction modes sequentially obtained in said sequence I be Planar, DC, 3,3,4,5, hang down Directly, horizontal;Preceding 3 modes for then meeting default screening rule are DC, 3 and 4, and above three mode is used as alternative patterns, so After can use that the alternative patterns of alternative patterns DC, 3 and 4 are vertical, horizontal and DC.But DC is identical with the DC in candidate list, then waits The DC in list is selected to be not replaced.Final replacement result is 3,4 and DC, and replaced prediction mode for chroma candidate list is Planar, 3,4, DC, LM_L, LM_T, LM and DM.
Optionally, in another application examples, each brightness in the luma prediction modes acquired in counting can also be passed through The frequency of occurrence of prediction mode, M mode for then selecting frequency of occurrence most is as alternative patterns.Wherein, when there is mode to go out When occurrence number is identical, any mode can choose.
Specifically, as shown in connection with fig. 4, N=8, M=6, DM are equal to Planar mode, and 6 kinds of modes being replaced are L, hang down Directly, when level, DC, LM_L and LM_T, from the luma prediction of TL1, BL1, TR1, BR1 and TL, BL, TR, BR totally 8 position acquisitions Mode is respectively Planar, 3,3,4,4,4,6, DC, then meet default screening rule and the most mode of frequency of occurrence there was only 4, 3,6 and DC tetra-, then M=4,4,3,6 and DC of alternative patterns.Then, random using 4,3,6 and DC of the alternative patterns or press According to default replacement sequence replacement L, vertical, level, DC, LM_L and LM_T.Final replacement result be 4,3,6, DC, LM_L and LM_T, then final replaced prediction mode candidate list is 4,3,6, DC, LM_L, LM_T, LM and DM.
In the present embodiment also on the basis of first embodiment, define that step S13 includes:
S131: M kind is replaced one by one using M alternative patterns and is replaced mode.
Wherein, it is the prediction mode for chroma that M kind can be replaced in candidate list that M kind, which is replaced mode, can be determined in advance Justice needs the M kind being replaced to be replaced the replacement sequence of mode, can also be replaced at random.Note that if Planar not It is replaced by L, then Planar cannot be replaced.
Specifically, in an application examples, the replacement sequence for the mode of being replaced can be preset, such as 3 kinds are replaced The replacement sequence of mode is set as first vertical, rear horizontal, last DC.When obtaining alternative patterns, 3 kinds of replacement moulds may be got Formula, can use 3 kinds of alternative patterns at this time and replaces 3 kinds one by one by replacement sequence and be replaced mode.When obtaining alternative patterns, 1 kind or 2 kinds of alternative patterns may also be only got, can use a kind of the acquisition or 2 kinds of alternative patterns at this time by replacement sequence It replaces first 2 kinds one by one and is replaced mode.Certainly, it when not presetting replacement sequence, can also carry out in either order Replacement.
Optionally, in order not to repeat to replace candidate pattern, while making do not occur identical mode in candidate list, in benefit When replacing the prediction mode for chroma in candidate list with alternative patterns, if having selected alternative patterns is the mould for including in candidate list Formula, then without replacement.Specifically, as shown in figure 5, step S131 includes:
S1311: judge in M alternative patterns with the presence or absence of alternative patterns identical with the mode for including in candidate list.
Alternative patterns identical with the mode for including in candidate list if it exists, then follow the steps S1312, otherwise execute step Rapid S1313.
S1312: retain the identical mode in candidate list, and using remaining alternative patterns to remaining in candidate list The mode that is replaced replaced one by one.
S1313: the M kind in candidate list is replaced one by one using M alternative patterns and is replaced mode.
Wherein, the prediction mode for chroma for including in candidate list is different two-by-two, and the mode that is replaced is can be in candidate list The prediction mode for chroma being replaced, therefore, the mode for including in remaining alternative patterns and candidate list are different.
Specifically, in an application examples, using in alternative patterns replacement candidate list be replaced mode (it is horizontal, Vertically, DC mode) when, it is found that there are the mode DC for including in candidate list in the 3 kinds of alternative patterns DC, 8 and 4 chosen, at this point, Retain the identical DC mode in candidate list, i.e. the DC mode without replacement, and using remaining with wrapped in candidate list Remaining in the different alternative patterns 8 and 4 pair candidate list of mode that be replaced contained is replaced mode (horizontal and vertical mode) It is replaced one by one, i.e., horizontal and vertical mode is replaced with into 8 and 4 respectively.If choose 3 kinds of alternative patterns 4,8 and 11 in The mode for including in candidate list is all different, then only needs to replace 3 kinds in candidate list one by one using 3 kinds of alternative patterns It is replaced mode.Certainly, in other application example, the mode of being replaced can also include Planar, LM_L and LM_T, when replacing It, can random from replaceable mode or selection M kind progress in order when mold changing formula quantity (M kind) is less than replaceable mode sum Replacement.
In the present embodiment, pass through the part luma prediction mode replacement default mould using the corresponding luminance block of current chroma block At least one in formula, it is possible to reduce the mode in candidate list with luminance block texture trend without strong correlation, enhancing chrominance block with Influence of the texture paging to model selection between luminance block, effectively improves the probability for selecting more excellent prediction mode for chroma, thus right Chrominance block carries out more accurate prediction, further promotes the compression ratio of intraframe coding.
As shown in fig. 6, the selection method second embodiment of prediction mode for chroma is implemented first in a kind of frame of the application On the basis of example or second embodiment, further limiting step S14 includes:
S141: first mode subset is determined from replaced candidate list.
Wherein, first mode subset includes the prediction mode for chroma replaced through alternative patterns.The first mode subset be from The mode subset that selected section prediction mode for chroma forms in candidate list.
It specifically,, can when the prediction mode in candidate list including DM, LM and 6 kinds through replacing in an application examples To select T kind to form the first mode subset, 2≤T≤6 from 6 kinds of prediction modes through replacing.
S142: corresponding first rate distortion costs of each prediction mode for chroma in first mode subset are calculated separately.
Wherein, which can use SATD (the Sum of Absolute of low complex degree Transformed Difference, Hadamard transform algorithm) value.
S143: the relatively small part prediction mode for chroma of the first rate distortion costs in reservation first mode subset, and with It excludes remaining prediction mode for chroma other than first mode subset and forms second mode subset.
Wherein, the number K of the part prediction mode for chroma of reservation can be arranged according to actual needs, 1≤K < T.The exclusion It is the remaining color removed in candidate list other than first mode subset in remaining prediction mode for chroma other than first mode subset Spend prediction mode.
Specifically, in above application examples, it is corresponding to calculate separately each prediction mode for chroma in first mode subset After SATD value, the maximum T-K prediction mode for chroma of SATD value can be removed, it is pre- to retain the relatively small K coloration of SATD value Survey mode, together with prediction mode for chroma LM and DM remaining in candidate list, total K+2 kind prediction mode for chroma, composition second Mode subset.
S144: corresponding second rate distortion costs of each prediction mode for chroma in second mode subset are calculated separately.
Wherein, computational complexity of the computational complexity of the first rate distortion costs less than the second rate distortion costs.For example, adopting With the higher SSE of complexity (Sum of Squares for Error, error term quadratic sum) obtain distortion (i.e. original image and Gap between reconstruction image), and further seek rate distortion costs.
S145: select the smallest prediction mode for chroma of the second rate distortion costs as optimum prediction mode.
Specifically, it in above application examples, is utilized respectively K+2 prediction mode for chroma in second mode subset and predicts to obtain After the predicted value of current chroma block, after obtaining distortion using SSE, corresponding rate distortion costs are calculated, it can obtain each color Corresponding second rate distortion costs of prediction mode are spent, then select the smallest prediction mode for chroma of the second rate distortion costs as working as The optimum prediction mode of preceding chrominance block, to carry out colorimetric prediction to current chroma block using the optimum prediction mode.
In the present embodiment, using in the part luma prediction mode replacement candidate list of the corresponding luminance block of current chroma block At least one prediction mode for chroma, can be improved the prediction mode for chroma that includes in replaced candidate list with it is corresponding bright The correlation of the texture trend of block is spent, to improve prediction mode work of the encoder selection with the texture trend strong correlation of luminance block For the probability of optimum prediction mode, and then enable to predicted value closer with original pixels, so that residual sum Video coding loses Proper subtraction is few, is finally reached the purpose for promoting compression rates;Simultaneously using lower first rate distortion costs of complexity first to the One mode subset carries out roughing, then recycles higher second rate distortion costs of complexity to carry out second mode subset thin Choosing, it is possible to reduce the calculation amount of prediction mode for chroma selection course improves coding rate.
As shown in fig. 7, image processing equipment 70 includes: mutually to interconnect in a kind of one embodiment of image processing equipment of the application The telecommunication circuit 701 and processor 702 connect.
Wherein, which can be the setting with image processing function such as video camera, mobile phone or computer It is standby.
The telecommunication circuit 701 may include antenna, input/output interface etc., for obtaining current chroma block or to be encoded Image data.
Processor 702 can also be known as CPU (Central Processing Unit, central processing unit).Processor 702 may be a kind of IC chip, the processing capacity with signal.Processor 702 can also be general processor, number Signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable logic devices Part, discrete gate or transistor logic, discrete hardware components.General processor can be microprocessor or the processor It is also possible to any conventional processor etc..
The processor is used to execute instruction to realize the selection method first such as prediction mode for chroma in a kind of frame of the application The method provided by any embodiment or its combination not conflicted into 3rd embodiment.
In the present embodiment, which can also include the other components such as memory 703, display 704.
As shown in figure 8, storage 80 storage inside of equipment has processor that can transport in a kind of one embodiment of storage equipment of the application Capable instruction 801, the instruction 801 is for executing to realize the selection method first such as prediction mode for chroma in a kind of frame of the application The method provided by any embodiment or its combination not conflicted into 3rd embodiment.
The storage equipment 80 is USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), magnetic or disk etc. can store the medium of program instruction, Huo Zheye It can be the server for being stored with the program instruction, which can be sent to the program instruction of storage other equipment operation, Or it can also be with the program instruction of the self-operating storage.
In one embodiment, storage equipment 80 can be memory as shown in the figure.
In several embodiments provided herein, it should be understood that disclosed method and apparatus can pass through it Its mode is realized.For example, device embodiments described above are only schematical, for example, stroke of module or unit Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be through some interfaces, the INDIRECT COUPLING of device or unit Or communication connection, it can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can select some or all of unit therein according to the actual needs to realize the mesh of present embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute each implementation of the application The all or part of the steps of methods.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various It can store the medium of program code.
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the patents of the application, all to utilize this Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field similarly includes in the scope of patent protection of the application.

Claims (12)

1. the selection method of prediction mode for chroma in a kind of frame characterized by comprising
The candidate list of prediction mode for chroma is constructed, includes a variety of prediction mode for chroma in the candidate list;
Select the part luma prediction mode of the corresponding luminance block of current chroma block as alternative patterns;
Prediction mode for chroma described at least one of described candidate list is replaced using the alternative patterns;
Optimum prediction mode is selected from the replaced candidate list, to utilize the optimum prediction mode to described current Chrominance block carries out colorimetric prediction.
2. the method according to claim 1, wherein the prediction mode for chroma being replaced be plane mode, Vertical mode, DC mode, only uses across component Linear Model for Prediction mode and only use top that left refers at horizontal pattern At least one of across component six kinds of modes of Linear Model for Prediction mode of reference.
3. according to the method described in claim 2, it is characterized in that,
The part luma prediction mode for selecting the corresponding luminance block of current chroma block includes: as the step of alternative patterns
Obtain the luma prediction modes of N number of encoding block of the different location in the luminance block;
Select M mode for meeting default screening rule in the luma prediction modes as the alternative patterns;
Described the step of replacing prediction mode for chroma described at least one of described candidate list using the alternative patterns, wraps It includes:
The prediction mode for chroma being replaced described in M kind is replaced one by one using the M alternative patterns;
Wherein, 1≤M≤6 and M≤N.
4. according to the method described in claim 3, it is characterized in that, N number of encoding block of the different location includes positioned at described Encoding block at the corner location of luminance block and with the angle point of the luminance block and the central point of the luminance block for itself angle In encoding block at the center position of the sub- luminance block of point at least partly.
5. described default according to the method described in claim 3, it is characterized in that, include exported schema in the candidate list Screening rule is when the exported schema and plane mode difference, and the selected alternative patterns cannot be with the plane mould Formula or the exported schema are identical, and when the exported schema is identical as plane mode, the alternative patterns cannot be led with described Mode is identical out;And the selected alternative patterns cannot be identical as selected alternative patterns.
6. according to the method described in claim 3, it is characterized in that, meeting default sieve in the selection luma prediction modes Choosing rule M mode include: as the step of alternative patterns
According to preset order rule, sequentially selection meets the preceding M mould of the default screening rule from the luma prediction modes Formula is as the alternative patterns.
7. according to the method described in claim 6, it is characterized in that, the preset order rule is according to the luma prediction mould The position of the corresponding encoding block of formula is in a manner of from the inside to surface, from left to right mode and/or mode is selected from top to bottom.
8. according to the method described in claim 3, it is characterized in that, meeting default sieve in the selection luma prediction modes Choosing rule M mode include: as the step of alternative patterns
The frequency of occurrence of each luma prediction modes in the acquired luma prediction modes of statistics;
M mode for selecting frequency of occurrence most is as the alternative patterns.
9. according to the described in any item methods of claim 3-8, which is characterized in that described to utilize the M alternative patterns one by one Replacing the prediction mode for chroma being replaced described in M kind includes:
Judge in the M alternative patterns with the presence or absence of identical with the prediction mode for chroma for including in the candidate list Alternative patterns;
Alternative patterns identical with the prediction mode for chroma for including in the candidate list if it exists, the then candidate list It is middle to retain the identical prediction mode for chroma, and using remaining described alternative patterns to remaining institute in the candidate list The prediction mode for chroma being replaced is stated to be replaced one by one.
10. method according to claim 1-8, which is characterized in that described from the replaced candidate list Middle selection optimum prediction mode includes:
First mode subset is determined from the replaced candidate list, wherein the first mode subset includes replacing described in warp The prediction mode for chroma of mold changing formula replacement;
Calculate separately corresponding first rate distortion costs of each prediction mode for chroma in the first mode subset;
Retain the first rate distortion costs relatively small part prediction mode for chroma described in the first mode subset, and Second mode subset is formed with remaining the described prediction mode for chroma excluded other than the first mode subset;
Calculate separately corresponding second rate distortion costs of each prediction mode for chroma in the second mode subset;
Select the smallest prediction mode for chroma of the second rate distortion costs as the optimum prediction mode;
Wherein, the computational complexity of first rate distortion costs is less than the computational complexity of second rate distortion costs.
11. a kind of image processing equipment characterized by comprising telecommunication circuit interconnected and processor;
The telecommunication circuit is for obtaining current chroma block;
The processor is for executing instruction to realize such as the described in any item methods of claim 1-10.
12. a kind of storage equipment, storage inside have instruction, which is characterized in that described instruction is for executing to realize that right such as is wanted Seek the described in any item methods of 1-10.
CN201910185729.3A 2018-12-29 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus Active CN110087083B (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN202111257619.7A CN114025169A (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus
CN201910185729.3A CN110087083B (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus
CN202111266404.1A CN114040205A (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus
EP19902107.2A EP3881535A4 (en) 2018-12-29 2019-12-19 Systems and methods for intra prediction
PCT/CN2019/126515 WO2020135206A1 (en) 2018-12-29 2019-12-19 Systems and methods for intra prediction
US17/349,844 US11659170B2 (en) 2018-12-29 2021-06-16 Systems and methods for intra prediction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910185729.3A CN110087083B (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN202111266404.1A Division CN114040205A (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus
CN202111257619.7A Division CN114025169A (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus

Publications (2)

Publication Number Publication Date
CN110087083A true CN110087083A (en) 2019-08-02
CN110087083B CN110087083B (en) 2022-06-07

Family

ID=67413159

Family Applications (3)

Application Number Title Priority Date Filing Date
CN201910185729.3A Active CN110087083B (en) 2018-12-29 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus
CN202111266404.1A Pending CN114040205A (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus
CN202111257619.7A Pending CN114025169A (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus

Family Applications After (2)

Application Number Title Priority Date Filing Date
CN202111266404.1A Pending CN114040205A (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus
CN202111257619.7A Pending CN114025169A (en) 2019-03-12 2019-03-12 Method for selecting intra chroma prediction mode, image processing apparatus, and storage apparatus

Country Status (1)

Country Link
CN (3) CN110087083B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602491A (en) * 2019-08-30 2019-12-20 中国科学院深圳先进技术研究院 Intra-frame chroma prediction method, device and equipment and video coding and decoding system
CN110719467A (en) * 2019-09-18 2020-01-21 浙江大华技术股份有限公司 Prediction method of chrominance block, encoder and storage medium
CN110913215A (en) * 2019-12-03 2020-03-24 北京数码视讯软件技术发展有限公司 Method and device for selecting prediction mode and readable storage medium
WO2020135206A1 (en) * 2018-12-29 2020-07-02 Zhejiang Dahua Technology Co., Ltd. Systems and methods for intra prediction
WO2021238540A1 (en) * 2020-05-29 2021-12-02 Oppo广东移动通信有限公司 Image encoding method, image decoding method, and related apparatuses
CN114189688A (en) * 2020-09-14 2022-03-15 四川大学 Chrominance component prediction method based on luminance template matching

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857768A (en) * 2011-07-01 2013-01-02 华为技术有限公司 Equipment and method for determining chromaticity prediction mode candidate set
CN103338371A (en) * 2013-06-07 2013-10-02 东华理工大学 Fast and efficient video coding intra mode determining method
WO2018035130A1 (en) * 2016-08-15 2018-02-22 Qualcomm Incorporated Intra video coding using a decoupled tree structure
CN109451306A (en) * 2019-01-16 2019-03-08 北京数码视讯软件技术发展有限公司 Selection method, device and the electronic equipment of the optimum prediction mode of chromatic component

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857768A (en) * 2011-07-01 2013-01-02 华为技术有限公司 Equipment and method for determining chromaticity prediction mode candidate set
CN103338371A (en) * 2013-06-07 2013-10-02 东华理工大学 Fast and efficient video coding intra mode determining method
WO2018035130A1 (en) * 2016-08-15 2018-02-22 Qualcomm Incorporated Intra video coding using a decoupled tree structure
CN109451306A (en) * 2019-01-16 2019-03-08 北京数码视讯软件技术发展有限公司 Selection method, device and the electronic equipment of the optimum prediction mode of chromatic component

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020135206A1 (en) * 2018-12-29 2020-07-02 Zhejiang Dahua Technology Co., Ltd. Systems and methods for intra prediction
US11659170B2 (en) 2018-12-29 2023-05-23 Zhejiang Dahua Technology Co., Ltd. Systems and methods for intra prediction
CN110602491A (en) * 2019-08-30 2019-12-20 中国科学院深圳先进技术研究院 Intra-frame chroma prediction method, device and equipment and video coding and decoding system
CN110602491B (en) * 2019-08-30 2022-07-19 中国科学院深圳先进技术研究院 Intra-frame chroma prediction method, device and equipment and video coding and decoding system
CN110719467A (en) * 2019-09-18 2020-01-21 浙江大华技术股份有限公司 Prediction method of chrominance block, encoder and storage medium
CN110719467B (en) * 2019-09-18 2022-04-19 浙江大华技术股份有限公司 Prediction method of chrominance block, encoder and storage medium
CN110913215A (en) * 2019-12-03 2020-03-24 北京数码视讯软件技术发展有限公司 Method and device for selecting prediction mode and readable storage medium
CN110913215B (en) * 2019-12-03 2022-04-12 北京数码视讯软件技术发展有限公司 Method and device for selecting prediction mode and readable storage medium
WO2021238540A1 (en) * 2020-05-29 2021-12-02 Oppo广东移动通信有限公司 Image encoding method, image decoding method, and related apparatuses
CN114189688A (en) * 2020-09-14 2022-03-15 四川大学 Chrominance component prediction method based on luminance template matching

Also Published As

Publication number Publication date
CN110087083B (en) 2022-06-07
CN114025169A (en) 2022-02-08
CN114040205A (en) 2022-02-11

Similar Documents

Publication Publication Date Title
CN110087083A (en) The selection method of prediction mode for chroma, image processing equipment and storage equipment in frame
CN105704491B (en) Image encoding method, decoding method, encoding device, and decoding device
CN103460699B (en) Loop circuit filtering method and its equipment
CN107197264B (en) The method of decoding video signal
EP2039171B1 (en) Weighted prediction for video coding
CN109417633A (en) Method and apparatus for encoding/decoding video signal
CN105491376B (en) Image coding and decoding method and device
KR101946598B1 (en) Image coding and decoding method and device
CN106170092A (en) Fast encoding method for lossless coding
CN113784124B (en) Block matching encoding and decoding method for fine division using multi-shape sub-blocks
CN110446044A (en) Linear Model for Prediction method, apparatus, encoder and storage device
CN109819250B (en) Method and system for transforming multi-core full combination mode
CN109845263A (en) Apparatus for video encoding and method
CN107852497A (en) It is used for the method and device of the advanced infra-frame prediction of chromatic component in video and image coding and decoding
CN107810637A (en) Method and apparatus for handling vision signal
GB2498550A (en) A method of processing image components for coding using image sample subsets comprising samples selected from neighbouring borders of first and second image
KR102185371B1 (en) Coding method and device, decoding method and device
CN110495173A (en) For executing the image processing method of the processing of coding tree unit and coding unit, using the image decoding of this method and coding method and its device
CN108777794A (en) The coding method of image and device, storage medium, electronic device
CN110557638A (en) communication network switching method and system for inspection unmanned aerial vehicle
CN108347602A (en) Method and apparatus for lossless compression video data
CN103581682A (en) Fast mode decision algorithm for HEVC intra-frame coding and application thereof
CN110213595B (en) Intra-frame prediction based encoding method, image processing apparatus, and storage device
CN110495175A (en) Image processing method for being handled the motion information for parallel processing, method and apparatus for the method for being decoded and encoding using the image processing method
US20230262211A1 (en) Encoding and decoding method and apparatus, and device therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant