Image data encoding and decoding

By adopting CABAC and parallel decoding technology in the video data compression and decompression system, combined with the selective use of intra-image prediction and inter-image prediction modes, the problems of low coding efficiency and high computational complexity in the existing technology are solved, and high efficiency is achieved. Video data processing and fast decoding.

CN112740673BActive Publication Date: 2024-09-03SONY GROUP CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201980062453.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-09-24
Filing Date
2019-08-27
Publication Date
2024-09-03
Estimated Expiration
2039-08-27

AI Technical Summary

Technical Problem

Existing video data compression and decompression systems have problems such as low coding efficiency, large data volume, and high computational complexity when dealing with high-efficiency video coding and joint exploration models. Especially when decoding high bit rates and high-quality videos, it is difficult to Decode worst-case frames in time.

Method used

Context-adaptive binary arithmetic coding (CABAC) technology and parallel decoding operations are adopted to improve coding efficiency and decoding by selectively using intra-image prediction and inter-image prediction modes, limiting the use of reference samples, and optimizing the structure and decoding order of coding units. Decoding speed.

Benefits of technology

It improves video encoding efficiency, reduces the amount of encoding output data, and reduces the processing capacity requirements of the decoder. It can decode high bit rate and high-quality video frames in a timely manner, improving the overall performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112740673B_ABST
    Figure CN112740673B_ABST
Patent Text Reader

Abstract

An image encoding device comprises: a selector configured to select a prediction operation for predicting samples of a current region of a current image relative to one or more reference samples in a set of reference samples from a set of candidate prediction operations, at least some of the candidate prediction operations defining a prediction direction between the current sample to be predicted and a set of reference samples in the same image as an intra-image prediction operation; and an intra-image predictor configured to derive prediction samples of the current image region from reference samples of the same image in response to a selection of the intra-image prediction operation selected by the selector for the current image region; wherein: the current region includes at least a subset of a current coding tree unit (CTU) in a CTU array; the set of reference samples is arranged at one or more predetermined sides of the current image region relative to the current image region; and the selector is configured to prohibit selection of a prediction operation for the current region, for which at least some of the reference samples at the one or more predetermined sides of the current image region are arranged in a CTU other than the current CTU.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to image data encoding and decoding. Background Art

[0002] The "background" description provided herein is intended to generally present the context of the present disclosure. The work of the presently named inventors to the extent described in this background section, as well as certain aspects of this description that may not qualify as prior art at the time of filing, are neither explicitly nor implicitly admitted as prior art against the present disclosure.

[0003] There are several video data compression and decompression systems that involve generating prediction samples and encoding so-called residual data representing the difference between the prediction data and the input data.

[0004] Some standards and draft standards definitions, such as the so-called High Efficiency Video Coding (HEVC) standard or the Joint Exploration Model (JEM) or Future Video Coding (FVC) proposals, are applicable to the encoding and decoding systems of the present disclosure. Summary of the invention

[0005] One aspect of the present disclosure is defined by claim 1 .

[0006] Further individual aspects and features are defined in the dependent claims.

[0007] It is to be understood that both the foregoing general description and the following detailed description are exemplary and not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] The present disclosure will be better understood, and a more complete appreciation of the present disclosure and many of its attendant advantages will be readily obtained, by reference to the following detailed description of embodiments when considered in conjunction with the accompanying drawings, in which:

[0009] Figure 1 Schematically illustrates an audio / video (A / V) data transmission and reception system using video data compression and decompression;

[0010] Figure 2 A video display system using video data decompression is schematically shown;

[0011] Figure 3 Schematically illustrates an audio / video storage system using video data compression and decompression;

[0012] FIG4a schematically illustrates a video camera using video data compression;

[0013] FIG4 b schematically illustrates an exemplary camera in more detail;

[0014] FIG4c schematically shows another exemplary camera;

[0015] Figures 4d and 4e schematically illustrate a data carrier;

[0016] Figure 5 Provides a schematic overview of video data compression and decompression apparatus;

[0017] Figure 6 The generation of a prediction image is schematically shown;

[0018] Figure 7 A maximum coding unit (CTU) is schematically shown;

[0019] Figure 8 A set of four coding units (CUs) is schematically shown;

[0020] Fig. 9 and Fig.10 Schematically shows Figure 8 A coding unit that is subdivided into smaller coding units;

[0021] Fig.11 The correlation between CTUs is schematically shown;

[0022] Figure 12 to Figure 14 Schematically showing the corresponding decoding order of CTU;

[0023] Fig.15 Schematically shows Figure 6 Variations of the arrangement;

[0024] Fig.16 The decoding order of CTU is schematically shown;

[0025] Fig.17 Schematically illustrating a parallel encoding and / or decoding device;

[0026] Fig.18 is a schematic flow chart illustrating a method; and

[0027] Fig.19 The data signals are schematically shown. DETAILED DESCRIPTION

[0028] Referring now to the accompanying drawings, there is provided Figure 1 4e to provide a schematic diagram of an apparatus or system utilizing the compression and / or decompression apparatus described below in conjunction with the embodiments.

[0029] All data compression and / or decompression devices to be described below may be implemented in hardware, software running on a general-purpose data processing device (such as a general-purpose computer), programmable hardware (such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA)), or a combination of these. Where an embodiment is implemented by software and / or firmware, it will be understood that such software and / or firmware, and non-transitory machine-readable data storage media through which such software and / or firmware is stored or otherwise provided, are considered embodiments.

[0030] Figure 1 An audio / video data transmission and reception system using video data compression and decompression is schematically shown.

[0031] An input audio / video signal 10 is provided to a video data compression device 20 which compresses at least the video component of the audio / video signal 10 for transmission along a transmission path 30 such as a cable, optical fiber, wireless link, etc. The compressed signal is processed by a decompression device 40 to provide an output audio / video signal 50. For the return path, a compression device 60 compresses the audio / video signal for transmission along the transmission path 30 to a decompression device 70.

[0032] Therefore, compression device 20 and decompression device 70 may form one node of the transmission link. Decompression device 40 and decompression device 60 may form another node of the transmission link. Of course, in the case where the transmission link is unidirectional, only one of these nodes requires a compression device and the other node only requires a decompression device.

[0033] Figure 2 A video display system using video data decompression is schematically shown. Specifically, a compressed audio / video signal 100 is processed by a decompression device 110 to provide a decompressed signal that can be displayed on a display 120. The decompression device 110 can be implemented as an integral part of the display 120, for example, provided in the same housing as the display device. Alternatively, the decompression device 110 can be provided as (for example) a so-called set-top box (STB), noting that the expression "set-top" does not mean that the box is required to be placed in any particular direction or position relative to the display 120; it is only a term used in the art to indicate a device that can be connected to a display as a peripheral device.

[0034] Figure 3An audio / video storage system using video data compression and decompression is schematically shown. An input audio / video signal 130 is provided to a compression device 140, which generates a compressed signal for storage by a storage device 150 such as a magnetic disk device, an optical disk device, a magnetic tape device, a solid-state storage device (such as a semiconductor memory) or other storage device. For playback, the compressed data is read from the storage device 150 and passed to a decompression device 160 for decompression to provide an output audio / video signal 170.

[0035] It shall be understood that a compressed or encoded signal and a storage medium or data carrier storing the signal are regarded as embodiments. Reference is made to Figures 4d and 4e described below.

[0036] FIG4a schematically illustrates a video camera using video data compression. In FIG4a, an image capture device 180 (such as a charge coupled device (CCD) image sensor and associated control and readout electronics) generates a video signal that is passed to a compression device 190. A microphone (or microphones) 200 generates an audio signal for passing to the compression device 190. The compression device 190 generates a compressed audio / video signal 210 (generally shown as schematic stage 220) to be stored and / or transmitted.

[0037] The techniques to be described below relate primarily to video data compression. It will be appreciated that many prior art techniques may be used for audio data compression in conjunction with the video data compression techniques to be described to generate a compressed audio / video signal. Thus, audio data compression will not be discussed separately. It will also be appreciated that the data rates associated with video data (particularly broadcast quality video data) are typically much higher than the data rates associated with audio data (whether compressed or uncompressed). Thus, it should be appreciated that uncompressed audio data may accompany compressed video data to form a compressed audio / video signal. It will further be appreciated that although the present example ( Figure 1 4e) relates to audio / video data, but the techniques described below can be used for systems that only process (that is, compress, decompress, store, display and / or transmit) video data. That is, embodiments can be applied to video data compression without having any associated audio data processing at all.

[0038] FIG4 b schematically shows an example camera arrangement 183 in more detail. Those features collectively numbered as FIG4 a will not be described further. FIG4 b is an example of the camera of FIG4 a (in the case where the unit 220 of FIG4 a provides storage capabilities), wherein the compressed data is first buffered by a buffer 221 and then stored in a storage medium 222 such as a magnetic disk, an optical disk, a flash memory, a so-called solid state disk drive (SSD) or the like. Note that the arrangement of FIG4 b can be implemented as a single (physical) unit 182.

[0039] FIG4c schematically shows another exemplary camera, in which, instead of the memory arrangement of FIG4b, a network interface 223 is provided to allow the compressed data to be transferred to another unit (not shown). The network interface 223 may also allow the camera to receive input data, such as control data. Note that the arrangement of FIG4b may be implemented as a single (physical) unit 183.

[0040] Figures 4d and 4e schematically illustrate data carriers, for example used as storage media 222 and carrying compressed data that has been compressed according to the compression techniques described in this application. Figure 4d shows a schematic example of a removable non-volatile storage medium 225 implemented as a solid-state memory such as flash memory. Figure 4e shows a schematic example of a removable non-volatile storage medium 226 implemented as a disk medium such as an optical disk.

[0041] Figure 5 A schematic overview of a video data compression and decompression apparatus is provided.

[0042] Successive images of the input video signal 300 are provided to an adder 310 and an image predictor 320. Figure 6 The image predictor 320 is described in more detail. The adder 310 actually performs a subtraction (negative addition) operation, in that it receives the input video signal 300 on the "+" input and the output of the image predictor 320 on the "-" input, thereby subtracting the predicted image from the input image. The result is a so-called residual image signal 330 representing the difference between the actual image and the projected image.

[0043] One reason for generating a residual image signal is as follows. The data encoding technique to be described, that is, the technique to be applied to the residual image signal, tends to work more efficiently when there is less "energy" in the image to be encoded. Here, the term "efficiently" refers to generating a small amount of encoded data; for a particular level of image quality, it is desirable (and considered "efficient") to generate as little data as possible. References to "energy" in the residual image refer to the amount of information contained in the residual image. If the predicted image is the same as the actual image, then the difference between the two (that is, the residual image) will contain zero information (zero energy) and will be very easy to encode into a small amount of encoded data. In general, if the prediction process can be made to work properly, it is expected that the residual image data will contain less information (less energy) than the input image and will therefore be easier to encode into a small amount of encoded data.

[0044] The residual image data 330 is provided to a transform unit 340 which generates a discrete cosine transform (DCT) representation of the residual image data. DCT techniques are known per se and will not be described in detail here.

[0045] Note that in some embodiments, a discrete sine transform (DST) is used instead of a DCT. In other embodiments, no transform may be used. This may be done selectively so that the transform stage is actually bypassed, for example under the control of a "transform-skip" command or mode.

[0046] That is, the output of transform unit 340 (a set of transform coefficients for each transform block of image data) is provided to quantizer 350. Various quantization techniques are known in the art of video data compression, ranging from simple multiplication by a quantization scale factor to the application of complex lookup tables under the control of a quantization parameter. The overall purpose is twofold. First, the quantization process reduces the number of possible values ​​for the transform data. Second, the quantization process can increase the probability that the value of the transform data is zero. Both of these can allow the entropy encoding process to work more efficiently in generating a small amount of compressed video data.

[0047] Controller 345 controls the operation of transform unit 340 and quantizer 350 (and their respective inverse units) according to techniques discussed further below. Note that controller 345 may also control Figure 5 other aspects of the operation of the device, and actually controls Figure 6 operation of the device.

[0048] A data scanning process is applied by scanning unit 360. The purpose of the scanning process is to reorder the quantized transform data so as to collect together as many non-zero quantized transform coefficients as possible, and of course therefore collect together as many zero-valued coefficients as possible. These features may allow so-called run-length encoding or similar techniques to be applied efficiently. Thus, the scanning process involves selecting coefficients from the quantized transform data, in particular from a block of coefficients corresponding to a block of transformed and quantized image data, according to a "scanning order" so that (a) all coefficients are selected at once as part of the scan, and (b) the scan tends to provide the desired reordering. One exemplary scanning order that may tend to give useful results is a so-called zigzag scanning order.

[0049] The scanned coefficients are then passed to an entropy encoder (EE) 370. Again, various types of entropy coding may be used. Two examples are variations of the so-called CABAC (context adaptive binary arithmetic coding) system and variations of the so-called CAVLC (context adaptive variable length coding) system. In general, CABAC is considered to provide better efficiency, and in some studies it has been shown that the amount of encoded output data is reduced by 10% to 20% for comparable image quality compared to CAVLC. However, CAVLC is considered to represent a much lower complexity (in terms of its implementation) than CABAC.

[0050] Note that the scanning process and the entropy encoding process are shown as separate processes, but in practice the two can be combined or processed together. That is, the data can be read into the entropy encoder (or processed by the entropy encoder) in the scanning order. Corresponding considerations apply to the corresponding inverse process.

[0051] The output of the entropy encoder 370 provides a compressed, output video signal 380 together with additional data defining, for example, the manner in which the predictor 320 generated the predicted picture.

[0052] However, because the operation of the predictor 320 itself depends on a decompressed version of the compressed output data, a return path is also provided.

[0053] The reason for this feature is as follows. At an appropriate stage in the decompression process, a decompressed version of the residual data is generated. This decompressed residual data must be added to the predicted image to generate the output image (because the original residual data is the difference between the input image and the predicted image). In order to make the process similar between the compression side and the decompression side, the predicted image generated by the predictor 320 should be the same during the compression process and during the decompression process. Of course, when decompressing, the device does not have access to the original input image, but only to the decompressed image. Therefore, when compressing, the predictor 320 bases its prediction (at least for inter-image coding) on ​​the decompressed version of the compressed image.

[0054] The entropy encoding process performed by the entropy encoder 370 is considered "lossless", that is, it can be reversed to obtain data that is exactly the same as the data that was first provided to the entropy encoder 370. Therefore, the return path can be implemented before the entropy encoding stage. In fact, the scanning process performed by the scanning unit 360 is also considered lossless, but in this embodiment, the return path 390 is from the output of the quantizer 350 to the input of the complementary inverse quantizer 420.

[0055] In general, the entropy decoder 410, the inverse scan unit 400, the inverse quantizer 420, and the inverse transform unit 430 provide the respective inverse functions of the entropy encoder 370, the scan unit 360, the quantizer 350, and the transform unit 340. Now, the discussion continues with the compression process; the process of decompressing the input compressed video signal corresponds to the return path of the compression process, and thus the decoding apparatus or method corresponds to the features or operations of the decoding path of the encoder described herein.

[0056] During compression, the scanned coefficients are passed from quantizer 350 through return path 390 to inverse quantizer 420, which performs the inverse operation of scanning unit 360. Inverse quantization and inverse transform processes are performed by units 420 and 430 to generate a compressed-decompressed residual image signal 440.

[0057] At adder 450, the image signal 440 is added to the output of the predictor 320 to generate a reconstructed output image 460. This forms one input to the image predictor 320.

[0058] Turning now to the process applied to the received compressed video signal 470, the signal is provided to the entropy decoder 410 and from there to the chain of inverse scan unit 400, inverse quantizer 420 and inverse transform unit 430 and then added to the output of the image predictor 320 by the adder 450. In short, the output 460 of the adder 450 forms the output decompressed video signal 480. In practice, further filtering may be applied before the output signal.

[0059] Figure 6 Schematically shown in the controller 345 (which itself is in Figure 6 The predicted image is generated under the control of the image predictor 320 (not shown), and specifically operates the image predictor 320.

[0060] There are two basic prediction modes: so-called intra-picture prediction and so-called inter-picture or motion compensated (MC) prediction.

[0061] Intra-image prediction predicts the contents of a block of an image based on data from within the same image. This corresponds to so-called I-frame coding in other video compression techniques. In contrast to I-frame coding, where the entire image is intra-coded, in this embodiment, intra-coding versus inter-coding may be chosen on a block-by-block basis, but in other embodiments, the choice is still made on a picture-by-picture basis.

[0062] Motion compensated prediction exploits motion information which attempts to define the source of the image detail to be encoded in the current image in another adjacent or nearby image. Thus, in an ideal example, the contents of a block of image data in the predicted image can be encoded very simply as a reference (motion vector) pointing to a corresponding block at the same or slightly different position in the adjacent image.

[0063] Back to Figure 6, two picture prediction arrangements (corresponding to intra-picture prediction and inter-picture prediction) are shown, the results of which are selected by the multiplexer 500 under the control of the mode signal 510 to provide blocks of predicted pictures to be provided to the adders 310 and 450. The choice is made according to which choice gives the lowest "energy" (which, as discussed above, can be considered as the information content required to be encoded), and the choice is signaled to the encoder in the encoded output data stream. In this context, the picture energy can be detected, for example, by performing a trial subtraction of a region of two versions of the predicted picture from the input picture, squaring each pixel value of the difference picture, summing the squared values, and identifying which of the two versions produces the lower mean square value of the difference picture associated with the picture region.

[0064] In an intra-coding system, the actual prediction is performed based on the image blocks received as part of the signal 460, that is, the prediction is based on the coded-decoded image blocks so that exactly the same prediction can be performed at the decompression device. However, the intra-mode selector 520 may derive data from the input video signal 300 to control the operation of the intra-image predictor 530.

[0065] For inter-image prediction, a motion compensated (MC) predictor 540 uses motion information such as motion vectors derived from the input video signal 300 by a motion estimator 550. The motion compensated predictor 540 applies these motion vectors to a processed version of the reconstructed image 460 to generate inter-image predicted blocks.

[0066] The processing applied to signal 460 will now be described. First, filter unit 560 filters the signal. This involves applying a "deblocking" filter to remove or at least tend to reduce the effects of block-based processing and subsequent operations performed by transform unit 340. In addition, an adaptive loop filter is applied using coefficients derived by processing reconstructed signal 460 and input video signal 300. An adaptive loop filter is a type of filter that uses known techniques to apply adaptive filter coefficients to the data to be filtered. That is, the filter coefficients can vary depending on various factors. Data defining which filter coefficients are used is included as part of the encoded output data stream.

[0067] The filtered output from the filter unit 560 actually forms the output video signal 480. It is also buffered in one or more image memories 570; the storage of consecutive images is a requirement for the motion compensated prediction process, in particular the generation of motion vectors. In order to save storage requirements, the images stored in the image memories 570 can be saved in compressed form and then decompressed for the generation of motion vectors. For this particular purpose, any known compression / decompression system can be used. The stored images are passed to the interpolation filter 580, which generates a higher resolution version of the stored images; in this example, intermediate samples (sub-samples) are generated so that the resolution of the interpolated images output by the interpolation filter 580 is 8 times the resolution of the images stored in the image memory 570 (in each dimension). The interpolated images are passed as input to the motion estimator 550 and also to the motion compensated predictor 540.

[0068] In an embodiment, another optional stage is provided which multiplies the data values ​​of the input video signal by a factor of four (effectively only shifting the data values ​​left by two bits) using a multiplier 600, and applies a corresponding frequency division operation (right shift by two bits) at the output of the device using a frequency divider or right phase shifter 610. Thus, the left and right shifts change the data purely for the internal operation of the device. This measure can provide higher computational accuracy within the device, as the effects of any data rounding errors are reduced.

[0069] The manner in which the image is segmented for compression processing will now be described. At a basic level, the image to be compressed is viewed as an array of blocks of samples. For the purposes of this discussion, the largest such block considered is the so-called Coding Tree Unit (CTU) 700 ( Figure 7 ), which in this example represents a square array of 64x64 samples. Here, the discussion refers to luma samples. Depending on the chroma mode, such as 4:4:4, 4:2:2, 4:2:0, or 4:4:4:4 (GBR plus key data), there are different numbers of corresponding chroma samples corresponding to a luma block.

[0070] In general, recursive subdivision of CTUs allows an input picture to be partitioned such that both block sizes and block coding parameters (such as prediction or residual coding modes) can be set according to specific characteristics of the image to be encoded.

[0071] A CTU may be subdivided into so-called coding units (CUs). Coding units may be square or rectangular and have a size between a minimum size (smaller than a CTU) and the full size of a CTU 700. Coding units may be arranged in a tree structure so that the following may occur: Figure 8 The first subdivision shown gives a coding unit 710 of 32x32 samples; subsequent subdivisions can then be made on a selective basis to give some coding units 720 of 16x16 samples ( Fig. 9 ) and potentially some coding units 730 of 8x8 samples ( Fig.10 ). In general, the process can provide a content-adaptive coding tree structure for CU blocks, each CU block can be as large as a CTU or as small as 8x8 samples. The output video data is encoded based on the coding unit structure.

[0072] A CU may also represent the smallest subdivision used for prediction and transform, such that a CU is also used as a prediction unit (PU) and a transform unit (TU), or in other examples, different or further subdivisions into PUs and / or TUs may be made.

[0073] At least part of the entropy encoding operation performed by the entropy encoder 370 may utilize the so-called CABAC (context adaptive binary arithmetic coding) technique. The CABAC context modeling and encoding process is described in more detail in "Draft high efficiency video coding (HEVC) version 2, combined format range extensions (RExt), scalability (SHVC), and multi-view (MV-HEVC) extensions", JCTVC-R1013_v6, Draft ISO / IEC 23008-HEVC; 201x (E) 2014-10-01.

[0074] An important feature of the CABAC system is that a particular CABAC bitstream must be decoded by a single decoder. That is, the CABAC data of a particular individual bitstream is inherently serialized, since each coded value depends on previously coded values, and cannot be processed in parallel by multiple decoders. However, when decoding video at extremely high operating points (e.g., high bit rates and / or high quality, such as professional quality), the CABAC throughput requirements make it difficult to implement an entropy decoder that can decode the worst-case frames in a timely manner. In view of these and other similar throughput constraints, parallel operation of data processing systems such as HEVC video decoders has been proposed.

[0075] Various problems arise when parallel decoder operation is contemplated. As mentioned above, a particular bitstream should be decoded by a corresponding decoder. Techniques for meeting these requirements will now be described.

[0076] refer to Fig.11, the CTUs are encoded in CTU order from top left to bottom right of the image. Obviously, this is only an exemplary order and a different order may be used, but here, the order of relevance in an intra-image prediction arrangement is shown, and a particular transform unit (TU) 1100 predicted using reference samples 1110 above and to the left of the TU 1100 may need to use reference samples from one or more neighboring and previously encoded (and decoded) CTUs. Fig.11 In the example of , the TU 1100 at the upper edge of the CTU 1120 relies on reference to samples from neighboring CTUs 1130, 1140. Similarly, if the TU is at the extreme left edge of the CTU, the TU may rely on reference samples from the CTU to the left of the current CTU. This provides an example of a set of reference samples arranged above and to the left of the current image region relative to the current image region. In the example, the set of reference samples includes one or more linear arrays of reference samples arranged relative to the current region, and the intra-image predictor is configured to derive the predicted samples based on the reference samples of the one or more linear arrays pointed by the prediction direction.

[0077] This potential correlation between CTUs is Fig.12 Here, the top left CTU 1200 is decoded first, followed by the CTU 1210 immediately to the right of CTU 1200. Afterwards, the next CTU 1220 in the top row may be decoded, but also considering Fig.11 The first CTU 1230 of the second row can be decoded by using the type of correlation shown in FIG. The decoding can be performed CTU by CTU in the manner of Fig.12 The numbers drawn within each box (representing the corresponding CTU) are performed in the order indicated. Fig.12 From the numbers indicating the decoding order in , it can be seen that this arrangement can be referred to as a so-called wavefront system, where decoding of each row can begin as soon as the two left CTUs of the row above have been completed.

[0078] With regard to so-called wavefront systems, any advantage they bring tends to decrease as the CTU size increases. Furthermore, the parallelism of the wavefront arrangement depends only on the height of the picture, not the width. Specifically, the parallelism provided by this system therefore tends to increase with the square root of the number of pixels, rather than with the number of pixels itself.

[0079] about Fig.13 , shows a different exemplary arrangement, in which restrictions on intra-image prediction are included, such that the use of reference samples from neighboring CTUs is completely prohibited. This means that no CTU depends on any other CTU from the perspective of intra-image prediction. This leads to Fig.131300, where all CTUs 1300 can potentially be decoded in parallel. This arrangement only affects the TUs at the top and / or left of the CTU, so that for larger CTUs, the impact is reduced because the proportion of the TUs at the top and / or left will be lower for larger CTUs. In this arrangement, all CTUs can be decoded in parallel, although as mentioned, all parallel encoding is not required, but there is simply no correlation between them to prevent such decoding. However, by preventing these neighboring reference samples, there will be a potential loss of coding efficiency, at least for the top / left TUs of the CTU, because reference samples that may be related to valid prediction in any way are not allowed to be used.

[0080] Fig.13 This discussion provides examples in which a prediction mode selector is configured to prohibit selection of a prediction operation of a current region for which at least some reference samples are arranged in a CTU above the current CTU.

[0081] In another alternative arrangement, the above restrictions are modified so that reference samples from CTUs to the left of the current CTU can be used for intra-image prediction, but reference samples above and to the right of the current CTU cannot be used. This results in Fig.14 , where decoding can be performed column by column between CTUs 1400. Again, with Fig.12 In comparison, there is a potential increase in parallelism in decoding, but a potential decrease in coding efficiency since reference samples (which might otherwise be correlated) are not used.

[0082] Fig.14 This discussion provides an example in which a prediction mode selector is configured to prohibit selection of a prediction operation of a current region for which at least some reference samples are arranged in a CTU to the left of the current CTU.

[0083] For example, in an arrangement in which the prediction mode selector is configured to prohibit selection of a prediction operation for a current region, at least some of the reference samples are arranged in a CTU above a current CTU or in a CTU to the left of the current CTU, and use of upper and left reference samples from other CTUs may be prohibited.

[0084] Fig.15 Schematically shows Figure 6 Variants of the arrangement of , in particular concerning the way of choosing between intra-image prediction and inter-image prediction.

[0085] The coding efficiency detector 1500 operates to make a basic choice between intra-image prediction and inter-image prediction using conventional techniques (e.g., by detecting one or more metrics indicating the amount of coded data that would occur if each candidate technique were used and selecting a candidate technique):

[0086] • inter-picture prediction using the currently selected motion vector chosen by the motion estimator 550; or

[0087] Intra-image prediction using the mode currently selected by the intra-mode selector 520.

[0088] However, as part of the functionality of the predictive operation selector, other circuits or modules 1510, 1520 are provided.

[0089] Specifically, the reference sample encoding detector 1510 detects the type of encoding used for the reference samples required for the currently selected intra mode in response to the currently selected prediction mode from the intra mode selector 520, at least when the reference samples (or at least some of the reference samples) applicable to the mode are located in the adjacent CTU. If these reference samples in the adjacent CTU are intra-coded, then for the current TU, the mode controller 1520 prohibits (or in some instances prevents) the use of the intra mode temporarily selected by the intra selector 520, and forces the use of inter-image coding. In an alternative arrangement, intra-image coding may still be allowed, but a different intra-image mode may be enabled, which is a mode that does not use reference samples from the adjacent CTU. In other words, when (for example) the upper row is not available, the restriction does not prevent the use of (for example) 45 degree prediction. In these exemplary cases, the top row of reference samples may be replaced by other values ​​that can be derived from the left row of reference samples. Or in another arrangement, a dc mode or a plane mode may be used instead.

[0090] The mode controller 1520 may also act as a generator configured to generate indicator data 1521 that is provided to an image data decoder (eg, as part of or otherwise associated with an encoded data stream) indicating the prediction mode selected by the selector.

[0091] Therefore, if the neighboring CTU samples are themselves obtained by inter-image coding (which do not have the same correlation ranking within a particular image), then the neighboring CTU samples can be used as reference. This represents a restriction in intra prediction, such that the use of neighboring reference samples that are themselves intra-predicted is not allowed when they come from neighboring CTUs. Therefore, this allows the intra prediction process to be performed in parallel at the CTU level, because there is no correlation for other intra-predicted blocks outside the current CTU. In contrast to the other techniques discussed above, the loss of coding efficiency can also be reduced because more reference data, such as neighboring inter-prediction samples, are potentially available.

[0092] This provides the following examples: prohibiting the selection of an intra-image prediction operation for the current region, for which at least some of the reference samples on one or more predetermined sides of the current image region are arranged in a CTU other than the current CTU, and these reference samples are generated using the intra-image prediction mode; and allowing the selection of an intra-image prediction operation for the current region, for which at least some of the reference samples on one or more predetermined sides of the current image region are arranged in a CTU other than the current CTU, and these reference samples are generated using the inter-image prediction mode.

[0093] When operating according to these principles and potentially using Fig.15 When the device Figure 5 The device provides an image encoding device ( Figure 5 ), the image encoding device comprises: a selector ( Fig.15 ), configured to select a prediction operation from a set of candidate prediction operations for predicting samples of a current region of a current image relative to one or more reference samples in a set of reference samples, at least some of the candidate prediction operations defining a prediction direction between the current sample to be predicted and a set of reference samples in the same image as an intra-image prediction operation; and an intra-image predictor 530, configured to derive prediction samples of the current image region from reference samples of the same image in response to selecting the intra-image prediction operation of the current image region by a selector; wherein: the current region includes at least a subset of a current coding tree unit (CTU) in a CTU array; the set of reference samples is arranged at one or more predetermined sides of the current image region relative to the current image region; and the selector is configured to prohibit selection of a prediction operation for the current region, for which at least some of the reference samples at one or more predetermined sides of the current image region are arranged in a CTU other than the current CTU.

[0094] Return to reference Figure 6, in an instance where the current image is an image in an image sequence; the apparatus may include an inter-image predictor 540 configured to predict samples of the current image region relative to a reference image region of another reference image in the image sequence based on a direction vector indicating a spatial displacement of the reference image region from the current image region. Here, the set of candidate prediction operations may include an inter-image prediction operation.

[0095] Fig.16 Schematically shows the use of Fig.15 1600 illustrates a potential decoding order of CTUs encoded by the technique, showing that all CTUs 1600 can potentially be encoded or decoded in parallel.

[0096] Fig.17 A parallel encoding and / or decoding apparatus operating in accordance with any of the limitations discussed above is schematically shown, wherein input data (image data to be encoded in the case of an encoder or encoded image data to be decoded in the case of a decoder) is demultiplexed by a demultiplexer 1705 to a plurality of encoder and / or decoder units 1700 for parallel encoding or decoding, and the results are multiplexed by a multiplexer 1710 back into an output signal (encoded data in the case of an encoder or decoded data in the case of a decoder).

[0097] The interaction between the techniques discussed above and the so-called "constrained intra" technique will now be discussed. Constrained intra mode is provided within standards and recommendations to allow, for example, periodic refreshing of an image, even though an entire intra-coded image (an "I-frame" in MPEG terminology) is not provided. In constrained intra mode, at least parts of an image are constrained so that these parts can be derived only from other samples that have themselves been intra-image coded or encoded using an intra-block copy process. In this way, constrained intra mode prevents (e.g., over the course of several images) erroneous data from previously processed images from being propagated into subsequent images by means of inter-image processing. Thus, in constrained intra mode, the source block containing the reference samples for the current block must itself have been intra-image coded and / or encoded using an intra-block copy process.

[0098] However, constrained intra operations do not concern CTU boundaries.Constrained intra rules (when applicable) apply equally to all blocks in a CTU.

[0099] Fig.15 The present techniques involve suppressing the use of intra modes where reference samples span CTUs, but do not necessarily impose a requirement to use inter-image coding for these blocks. Therefore, constrained intra modes of operation may still be used in combination with these techniques.

[0100] Fig.18is a schematic flow chart showing an image encoding method, the image encoding method comprising:

[0101] selecting (at step 1800) from a set of candidate prediction operations a prediction operation for predicting a sample of a current region of a current picture relative to one or more reference samples of a set of reference samples, at least some of the candidate prediction operations defining a prediction direction between the current sample to be predicted and a set of reference samples in the same picture as an intra-picture prediction operation; and

[0102] In response to selection of an intra-image prediction operation for the current image region, predicting (at step 1810) samples of the current image region from reference samples of the same image;

[0103] in:

[0104] The current region includes at least a subset of a current CTU in a coding tree unit CTU array;

[0105] arranging the set of reference samples at one or more predetermined sides of the current image region relative to the current image region; and

[0106] The selecting step comprises prohibiting the selection of a prediction operation of the current region, for which at least some reference samples of one or more predetermined sides of the current image region are arranged in a CTU other than the current CTU.

[0107] Data Signal

[0108] It should be understood that the data signals generated by the above-discussed variants of the encoding apparatus and the storage or transmission medium carrying such signals are considered to represent embodiments of the present disclosure. Fig.19 Schematically showing the Fig.18 The method of generating a data signal of coded data includes consecutive data parts 1900 ... 1930 each representing a CTU and each decodable without reference to data parts representing different CTUs. The data parts 1900 ... 1930 are schematically represented one after another, but it should be understood that this does not mean that they are generated continuously or need to be generated continuously, and such representation does not mean that they are transmitted continuously or need to be stored continuously.

[0109] To the extent that embodiments of the present disclosure have been described as being implemented at least in part by a data processing apparatus controlled by software, it will be understood that non-transitory machine-readable media, such as optical disks, magnetic disks, semiconductor memories, etc., carrying such software are also considered to represent embodiments of the present disclosure.

[0110] It will be apparent that numerous modifications and variations of the present disclosure are possible in light of the above teachings.It is therefore to be understood that within the scope of the appended claims, the present technology may be practiced otherwise than as specifically described herein.

[0111] For example, although the above discussion relates to an image decoder (having four partial decoders), the system can be extended, for example so that two (or more) image decoders (e.g., previewing two or more video streams in a non-linear editor) can share resources among eight partial decoders, etc.

[0112] Further corresponding features of the present disclosure are defined by the following numbered clauses:

[0113] 1. An image encoding device, comprising:

[0114] a selector configured to select, from a set of candidate prediction operations, a prediction operation for predicting a sample of a current region of a current image relative to one or more reference samples of a set of reference samples, at least some of the candidate prediction operations defining a prediction direction between the current sample to be predicted and a set of reference samples in the same image as an intra-image prediction operation; and

[0115] an intra-image predictor configured to derive prediction samples of the current image region from reference samples of the same image in response to a selection by the selector of an intra-image prediction operation for the current image region;

[0116] in:

[0117] The current region includes at least a subset of a current CTU in a coding tree unit CTU array;

[0118] relative to the current image region, arranging the set of reference samples on one or more predetermined sides of the current image region; and

[0119] The selector is configured to prohibit selection of a prediction operation of the current region, for which at least some of the reference samples at one or more predetermined sides of the current image region are arranged in a CTU other than the current CTU.

[0120] 2. An apparatus according to clause 1, wherein the set of reference samples is arranged above and to the left of the current image region relative to the current image region.

[0121] 3. An apparatus according to clause 2, wherein the selector is configured to prohibit selection of a prediction operation of the current region for which at least some reference samples are arranged in a CTU above the current CTU.

[0122] 4. An apparatus according to clause 2, wherein the selector is configured to prohibit selection of a prediction operation for the current region for which at least some reference samples are arranged in a CTU to the left of the current CTU.

[0123] 5. An apparatus according to clause 2, wherein the selector is configured to prohibit selection of a prediction operation for the current region for which at least some reference samples are arranged in a CTU above the current CTU or in a CTU to the left of the current CTU.

[0124] 6. A device according to any of the preceding clauses,

[0125] Wherein, the current image is an image in the image sequence;

[0126] The apparatus comprises an inter-image predictor configured to predict samples of a current image region relative to a reference image region of another reference image in the image sequence based on a direction vector indicating a spatial displacement of the reference image region from the current image region.

[0127] 7. An apparatus according to clause 6, wherein the set of candidate prediction operations comprises inter-image prediction operations.

[0128] 8. An apparatus according to clause 7, wherein the selector is configured to:

[0129] prohibiting selection of an intra-image prediction operation of the current region, for which at least some of the reference samples at one or more predetermined sides of the current image region are arranged in a CTU other than the current CTU and the reference samples are generated using an intra-image prediction mode; and

[0130] An intra-image prediction operation for a current region is allowed to be selected, for which at least some of the reference samples at one or more predetermined sides of the current image region are arranged in a CTU other than the current CTU, and these reference samples are generated using an inter-image prediction mode.

[0131] 9. An apparatus according to any of the preceding clauses, wherein for at least some candidate prediction operations:

[0132] The set of reference samples comprises one or more linear arrays of reference samples arranged relative to the current region, and the intra-image predictor is configured to derive prediction samples from the one or more linear arrays of reference samples pointed to by the prediction direction.

[0133] 10. Apparatus according to any preceding clause, comprising: a generator configured to generate indicator data for providing to an image data decoder, indicating the prediction mode selected by the selector.

[0134] 11. A video storage, capture, transmission or reception device comprising a device according to any one of the preceding clauses.

[0135] 12. An image encoding method, comprising:

[0136] selecting, from a set of candidate prediction operations, a prediction operation for predicting a sample of a current region of a current picture relative to one or more reference samples of a set of reference samples, at least some of the candidate prediction operations defining a prediction direction between the current sample to be predicted and a set of reference samples in the same picture as an intra-picture prediction operation; and

[0137] In response to selection of an intra-image prediction operation selected for the current image region, predicting samples of the current image region from reference samples of the same image;

[0138] in:

[0139] The current region includes at least a subset of a current CTU in a coding tree unit CTU array;

[0140] arranging the set of reference samples at one or more predetermined sides of the current image region relative to the current image region; and

[0141] The selecting step comprises prohibiting the selection of a prediction operation of the current region for which at least some reference samples of one or more predetermined sides of the current image region are arranged in a CTU other than the current CTU.

[0142] 13. Computer software which, when executed by a computer, causes the computer to perform the method according to clause 12.

[0143] 14. A machine-readable non-transitory storage medium storing the software according to clause 13.

[0144] 15. A data signal comprising coded data generated according to the method of clause 13, the coded data comprising consecutive data portions each representing a CTU and each being decodable without reference to data portions representing different CTUs.

Claims

1. An image encoding device, comprising: a selector configured to select, from a set of candidate prediction operations, a prediction operation for predicting a sample of a current region of a current image in a sequence of images relative to one or more reference samples in a set of reference samples, at least some of the candidate prediction operations defining a prediction direction between the current sample to be predicted and a set of reference samples in the same image as an intra-image prediction operation; an intra-image predictor configured to derive prediction samples of the current image region from reference samples of the same image in response to selection of the intra-image prediction operation of the current image region by the selector; as well as an inter-image predictor configured to predict samples of the current image region relative to a reference image region of another reference image in the image sequence based on a direction vector indicating a spatial displacement of the reference image region from the current image region; in: The current region includes at least a subset of a current CTU in a coding tree unit CTU array; relative to the current image region, arranging the set of reference samples on one or more predetermined sides of the current image region; The set of candidate prediction operations includes inter-image prediction operations; and The selector is configured as: prohibiting selection of an intra-image prediction operation of the current region, for which at least some of the reference samples at one or more of the predetermined sides of the current image region are arranged in a CTU other than the current CTU, and the reference samples are generated using an intra-image prediction mode; and Allowing selection of an intra-image prediction operation of the current area, for which at least some of the reference samples at one or more of the predetermined sides of the current image area are arranged in a CTU other than the current CTU, and these reference samples are generated using an inter-image prediction mode.

2. The device according to claim 1, wherein: The set of reference samples is arranged above and on the left side of the current image area relative to the current image area.

3. The device according to claim 1, wherein: For at least some of the candidate prediction operations: The set of reference samples comprises one or more linear arrays of reference samples arranged relative to the current region, and the intra-image predictor is configured to derive prediction samples from the one or more linear arrays of reference samples pointed to by the prediction direction.

4. The device according to claim 1, comprising: A generator is configured to generate indicator data indicating the prediction mode selected by the selector for supplying to an image data decoder.

5. A video storage device, comprising the device according to claim 1.

6. A video capturing device comprising the device according to claim 1.

7. A video transmission device, comprising the device according to claim 1.

8. A video receiving device, comprising the device according to claim 1.

9. An image encoding method, comprising: selecting, from a set of candidate prediction operations, a prediction operation for predicting a sample of a current region of a current picture in a sequence of pictures relative to one or more reference samples in a set of reference samples, at least some of the candidate prediction operations defining a prediction direction between the current sample to be predicted and a set of reference samples in the same picture as an intra-picture prediction operation; In response to selection of an intra-image prediction operation selected for the current image region, predicting samples of the current image region from reference samples of the same image; as well as predicting samples of the current image region relative to a reference image region of another reference image in the image sequence based on a direction vector indicating a spatial displacement of a reference image region from the current image region; in: The current region includes at least a subset of a current CTU in a coding tree unit CTU array; relative to the current image region, arranging the set of reference samples on one or more predetermined sides of the current image region; The set of candidate prediction operations includes inter-image prediction operations; and The selection steps include: prohibiting selection of an intra-image prediction operation of the current region, for which at least some of the reference samples at one or more of the predetermined sides of the current image region are arranged in a CTU other than the current CTU, and the reference samples are generated using an intra-image prediction mode; and Allowing selection of an intra-image prediction operation of the current area, for which at least some of the reference samples at one or more of the predetermined sides of the current image area are arranged in a CTU other than the current CTU, and these reference samples are generated using an inter-image prediction mode.

10. A machine-readable non-transitory storage medium storing software which, when executed by a computer, causes the computer to perform the method according to claim 9.

Citation Information

Patent Citations

  • Method of Intra Block Copy Search and Compensation Range

    US20170094271A1

  • Video encoding / decoding method and device, and recording medium having bitstream stored therein

    WO2018052224A1