WO2021196234A1 - 一种视频编码、解码方法、设备及存储介质 - Google Patents
一种视频编码、解码方法、设备及存储介质 Download PDFInfo
- Publication number
- WO2021196234A1 WO2021196234A1 PCT/CN2020/083371 CN2020083371W WO2021196234A1 WO 2021196234 A1 WO2021196234 A1 WO 2021196234A1 CN 2020083371 W CN2020083371 W CN 2020083371W WO 2021196234 A1 WO2021196234 A1 WO 2021196234A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- alf
- chrominance
- code stream
- filter
- chrominance components
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/117—Filters, e.g. for pre-processing or post-processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/13—Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/14—Coding unit complexity, e.g. amount of activity or edge presence estimation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/174—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/186—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/189—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
- H04N19/196—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
- H04N19/82—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
Definitions
- the present invention relates to the technical field of video coding, and in particular to a video coding and decoding method, equipment and storage medium.
- Adaptive Loop Filter is one of the important technologies for video coding and decoding. This technology filters the reconstructed image at the decoding end by encoding filter coefficients, reduces compression distortion in the decoded image, and provides high-quality prediction reference images for subsequent codec images, thereby further improving compression efficiency.
- each chromaticity component of the image corresponds to a filter control switch, and each chromaticity component of the image is controlled by a filter control switch.
- This combines the filter control switches of each chromaticity component into one
- the method affects the consistency and readability of each chrominance component during the encoding process, thereby affecting the efficiency and flexibility of video encoding. Therefore, how to better improve the efficiency and flexibility of video coding has become the focus of research.
- the embodiments of the present invention provide a video encoding and decoding method, device and storage medium, which simplify the process of writing syntax elements of an encoder and reading syntax elements of a decoder, and improve the flexibility and efficiency of video encoding/decoding.
- an embodiment of the present invention provides a video encoding method, including:
- the color components including two chrominance components
- an embodiment of the present invention provides a video decoding method, including:
- an embodiment of the present invention provides another video encoding method, including:
- the color components including two chrominance components
- a first identifier is used in the syntax element at the image block level in the code stream to indicate whether the chrominance component is ALF is used for filtering, and when the first identifier indicates that the chrominance component is filtered using ALF, the second identifier is used to indicate the ALF filter used by the chrominance component.
- an embodiment of the present invention provides another video decoding method, including:
- each chrominance component of the current image block determines whether to use ALF to filter the reconstruction block of the chrominance component according to the first identifier corresponding to the chrominance component, and when it is determined to be adopted, according to the second The identification determines that the corresponding ALF filter filters the reconstructed block of the chrominance component.
- an embodiment of the present invention provides a video encoding device, including: a memory and a processor;
- the memory is used to store programs
- the processor is used to call the program, and when the program is executed, it is used to perform the following operations:
- the color components including two chrominance components
- an embodiment of the present invention provides a video decoding device, including: a memory and a processor;
- the memory is used to store programs
- the processor is used to call the program, and when the program is executed, it is used to perform the following operations:
- an embodiment of the present invention provides another video encoding device, including: a memory and a processor;
- the memory is used to store programs
- the processor is used to call the program, and when the program is executed, it is used to perform the following operations:
- the color components including two chrominance components
- a first identifier is used in the syntax element at the image block level in the code stream to indicate whether the chrominance component is ALF is used for filtering, and when the first identifier indicates that the chrominance component is filtered using ALF, the second identifier is used to indicate the ALF filter used by the chrominance component.
- an embodiment of the present invention provides another video decoding device, including: a memory and a processor;
- the memory is used to store programs
- the processor is used to call the program, and when the program is executed, it is used to perform the following operations:
- each chrominance component of the current image block determines whether to use ALF to filter the reconstruction block of the chrominance component according to the first identifier corresponding to the chrominance component, and when it is determined to be adopted, according to the second The identification determines that the corresponding ALF filter filters the reconstructed block of the chrominance component.
- an embodiment of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned first and third aspects are implemented.
- the embodiment of the present invention obtains the color components of the image sequence, and filters the reconstruction blocks of at least part of the color components of the image sequence using adaptive loop filtering technology to generate a code stream of the image sequence, wherein the code stream For the two chrominance components of the color components, different identifiers are used in the image-level syntax elements to indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF respectively.
- the process of writing syntax elements of the encoder and reading the syntax elements of the decoder can be simplified, and the flexibility and efficiency of video encoding/decoding can be improved.
- Figure 1 is a schematic diagram of a Wiener filter principle
- Figure 2 is a schematic diagram of an adaptive loop filter shape
- Figure 3 is a schematic flow diagram of a cross-component adaptive loop filtering
- Fig. 4 is a schematic diagram of a filter shape of cross-component adaptive loop filtering
- FIG. 5 is a schematic flowchart of a video encoding method provided by an embodiment of the present invention.
- FIG. 6 is a schematic flowchart of a video decoding method provided by an embodiment of the present invention.
- FIG. 7 is a schematic flowchart of another video encoding method provided by an embodiment of the present invention.
- FIG. 8 is a schematic flowchart of another video decoding method provided by an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of a video encoding device provided by an embodiment of the present invention.
- Figure 10 is a schematic structural diagram of a video decoding device provided by an embodiment of the present invention.
- Figure 11 is a schematic structural diagram of another video encoding device provided by an embodiment of the present invention.
- Fig. 12 is a schematic structural diagram of another video decoding device provided by an embodiment of the present invention.
- the video encoding method proposed in the embodiment of the present invention can be applied to a video encoding device, and the video encoding device can be set on a smart terminal (such as a mobile phone, a tablet computer, etc.).
- a smart terminal such as a mobile phone, a tablet computer, etc.
- the embodiments of the present invention can be applied to aircraft (such as drones).
- the embodiments of the present invention can also be applied to other movable platforms (such as unmanned ships, unmanned vehicles). , Robots, etc.), the embodiment of the present invention does not make specific limitations.
- the present invention is used in the adaptive loop filter technology ALF (Adaptive loop filter) of the in-loop filter (In-loop filter) in the Versatile Video Coding (VVC) of the video coding standard, and is mainly aimed at the adaptive loop filter.
- ALF Adaptive loop filter
- VVC Versatile Video Coding
- Channel filtering technology and cross-component adaptive loop filtering technology are optimized to remove redundancy and make the design more reasonable.
- the main application form is compliance with the international video coding standard H.264, high-efficiency video Encoding (High Efficiency Video Coding, HEVC) and China AVS2 standard and other codecs can be used to improve the quality of compressed video, which is of great significance for the compression processing of broadcast television, video conference, network video and other videos.
- Loop filtering is a key part of the video coding and decoding framework. It is mainly used to reduce compression distortions such as blocking effects and ringing effects generated in the coding process.
- there are three loop filtering techniques namely deblocking filtering, adaptive sample compensation filtering, and adaptive loop filtering.
- Deblocking filtering and adaptive sample compensation filtering follow the method in HEVC.
- the deblocking filter is used for the boundary between the prediction unit and the transform unit, and the low-pass filter obtained by training is used to perform nonlinear weighting of the boundary pixels, thereby reducing the blocking effect.
- the adaptive sample compensation filter classifies the pixels in the image block, and then adds the same compensation value to each type of pixel to make the reconstructed image closer to the original image, thereby suppressing the ringing effect.
- the adaptive loop filter is a Wiener filter, which is mainly used to minimize the mean square error between the original image and the reconstructed image.
- the adaptive loop filter is an optimal filter in the mean square sense calculated based on the original signal and the encoded distortion signal. It is essentially a Wiener filter, as shown in Figure 1, which is a Wiener filter. Schematic diagram of filtering principle, as shown in Figure 1, X is the original signal, e is the noise or distortion, and Y is the distorted signal. Is the filtered signal.
- the weighted average of surrounding pixels is used to obtain the result after filtering of the current point.
- Figure 2 is a kind of Schematic diagram of adaptive loop filter shape. As shown in Figure 2, it includes a 5x5 diamond and a 7x7 diamond.
- the filtering process is obtained by using the weighted average of all the position points in Figure 2, and the filter coefficient is the weight of each point.
- the final filtering process is the cumulative sum of the product of each point in Figure 2 and its corresponding filter coefficient. Among them, the points used in this process are all points in the reconstructed frame obtained before ALF.
- CCALF adjusts the chrominance component by using the value of the luminance component to improve the quality of the chrominance component.
- CCALF is a linear ALF.
- CCALF only processes the chrominance component and does not modify the value of the luminance component.
- CCALF uses the luminance component before ALF to filter the chrominance component after ALF, and CCALF uses the luminance component and the chrominance component to jointly calculate the filter coefficient, and uses the calculated filter coefficient to filter the chrominance component.
- the overall flow chart of CCALF filtering is shown in Figure 3.
- Figure 3 is a schematic diagram of a cross-component adaptive loop filtering process. First, ALF is used to filter the luminance Luma, chrominance Cb and Cr of the image, and CCALF is further used to filter the image.
- Filter the chroma Cb and Cr of the image and then determine the filtered chroma according to the result of filtering the chroma Cb and Cr of the image using CCALF and the result of filtering the chroma Cb and Cr of the image using ALF Cb and Cr.
- the shape of the CCALF filter is shown in Fig. 4, which is a schematic diagram of the filter shape of cross-component adaptive loop filtering.
- the shape of the CCALF filter can be a 3x4 diamond.
- a total of 8 coefficients, assuming that the location of 2 is the current Cb or Cr component pixel, the weighted average of 7 points around 2 can be used to obtain the filtered result of the pixel at 2 location.
- the same identifier is used for both chrominance components in the code stream of the generated image sequence to indicate whether the corresponding chrominance component is filtered by ALF.
- the same identifier is used in the image-level syntax element for the two chrominance components in the code stream to indicate whether the two chrominance components are filtered by ALF.
- the same identifier ph_alf_chroma_idc is used in the image-level syntax elements for the two chrominance components in the bitstream to indicate whether the two chrominance components are filtered by ALF, where ph_alf_chroma_idc is 0, indicating that Cb and The two chrominance components of Cr are not filtered by ALF; ph_alf_chroma_idc is 1 indicating that the Cb chrominance component is filtered by ALF, and the Cr chrominance component is not filtered by ALF; ph_alf_chroma_idc is 2 indicating that the Cb chrominance component is not filtered by ALF , And Cr chroma components are filtered by ALF; ph_alf_chroma_i
- the same identifier is used in the image-level syntax element for the two chrominance components in the code stream to indicate whether the two chrominance components are filtered by ALF.
- slice_alf_chroma_idc is used in the image-level syntax elements for the two chrominance components in the bitstream to indicate whether the two chrominance components are filtered by ALF, where slice_alf_chroma_idc is 0, indicating that Cb and The two chrominance components of Cr are not filtered by ALF; slice_alf_chroma_idc is 1 indicating that the Cb chrominance component is filtered by ALF, and the chrominance component of Cr is not filtered by ALF; slice_alf_chroma_idc is 2 indicating that the Cb chrominance component is not filtered by ALF , And Cr chroma components are filtered by ALF; slice_alf_chroma_idc is 3,
- alf_ctb_cc_cb_idc is used to indicate whether the chrominance component Cb is filtered by CCALF
- alf_ctb_cc_cr_idc is used to indicate the chrominance component Cr. Whether to use CCALF for filtering.
- alf_ctb_cc_cb_idc if alf_ctb_cc_cb_idc is 0, it indicates that the Cb chrominance component is not filtered by CCALF, and if alf_ctb_cc_cb_idc is greater than 0, it indicates that the Cb chrominance component is filtered by CCALF.
- the embodiment of the present invention deletes the unified logo used by each chroma component in traditional ALF, re-designs the syntax element, and sets a different logo for each chroma component in ALF to indicate whether the corresponding chroma component is
- ALF for filtering is beneficial to simplify the process of writing syntax elements of the encoder and reading the syntax elements of the decoder, and improve the flexibility and efficiency of video encoding/decoding.
- the embodiment of the present invention deletes ph_alf_chroma_idc, and uses ph_alf_cb_enabled_flag to indicate whether the Cb chrominance component is filtered by ALF, and ph_alf_cr_enabled_flag is used to indicate that the Cr chrominance component is filtered by ALF.
- the embodiment of the present invention deletes slice_alf_chroma_idc, and uses slice_alf_cb_enabled_flag to indicate whether the Cb chrominance component is filtered by ALF, and slice_alf_cr_enabled_flag is used to indicate whether the Cr chrominance component is filtered by ALF. .
- the embodiment of the present invention uses two flags alf_ctb_cc_cb_flag and alf_ctb_cc_cb_idx for the Cb chrominance component to indicate whether the Cb chrominance component is filtered by CCALF, where the alf_ctb_cc_cb_flag flag indicates Cb Whether the chrominance component adopts CCALF, if so, the alf_ctb_cc_cb_idx flag is further used to indicate the index of the CCALF filter used by the Cb chrominance component; similarly, the embodiment of the present invention uses two flags alf_ctb_cc_cr_flag and alf_ctb_cc_cr_idx for the Cr chrominance component.
- the alf_ctb_cc_cr_flag flag indicates whether the Cr chrominance component uses CCALF, and if so, the alf_ctb_cc_cr_idx flag is further used to indicate the index of the CCALF filter used by the Cr chrominance component.
- FIG. 5 is a schematic flowchart of a video encoding method according to an embodiment of the present invention.
- the method can be applied to a video encoding device, wherein the video encoding device can be set on an intelligent terminal.
- the method of the embodiment of the present invention includes the following steps.
- S501 Acquire color components of an image sequence, where the color components include two chrominance components.
- the video encoding device may obtain the color components of the image sequence, and the color components include two chrominance components.
- the two chrominance components include two chrominance components, Cb and Cr.
- S502 Filter the reconstructed blocks of the color components of at least part of the images of the image sequence using an adaptive loop filter technology.
- the video encoding device may use adaptive loop filtering technology to filter the reconstruction blocks of the color components of at least part of the image sequence.
- the video encoding device may obtain the reconstruction blocks of the color components of at least part of the image sequence. And determine the filter coefficient of each pixel in the reconstruction block, and use the filter coefficient of each pixel as a weight, and calculate the product of the pixel value of each pixel and its corresponding filter coefficient. Accumulate to get the filtered result.
- the filter coefficients are determined by classifying pixels and determined according to the types of pixels, where pixels of the same category correspond to the same set of filter coefficients, taking the 5x5 diamond in Figure 2 as an example, There are a total of 7 filter coefficients C0 to C6 in the reconstruction block, and the pixels corresponding to the same filter coefficient belong to the same type.
- the existing example classification method as an example, only the luminance Y component is classified in the prior art.
- the chrominance U and V components are not classified.
- the Y component can be divided into 25 categories, and the U and V components are only one category, which means that for a frame of image, the Y component can have up to 25
- each 4x4 block is classified according to the Laplacian direction:
- C represents the category of the pixel block
- I the result of sub-classification after classification
- D represents the direction
- the calculation method of the direction D is as follows:
- (i,j) represents the coordinate position of the current 4x4 block in the entire image
- R(k,l) represents the pixel value at the (k,l) position in the 4x4 block
- V k,l represents the 4x4 block located in ( i,j) the Laplacian gradient of the pixel in the vertical direction
- H k,l represents the Laplacian gradient of the pixel in the (i,j) coordinate in the 4x4 block in the horizontal direction
- D1 k,l Represents the Laplacian gradient of pixels located at (i,j) coordinates in the 4x4 block at 135 degrees
- D2 k,l represents the Laplacian gradient of pixels located at (i,j) coordinates in the 4x4 block at 45 degrees
- G v represents the Laplacian gradient of the 4x4 block in the vertical direction
- g h represents the Laplacian gradient of the 4x4 block in the horizontal direction
- g d1 represents the Laplacian gradient of the 4x
- D is set to 0; if and Then D is set to 1; if and Then D is set to 2; if and D is set to 3; if and Then D is set to 4; t 1 and t 2 represent preset thresholds.
- the calculation method is as follows:
- S503 Generate a code stream of the image sequence, where different identifiers are used in the image-level syntax elements for the two chrominance components in the code stream to respectively indicate whether the corresponding chrominance components adopt an adaptive loop
- the filter ALF performs filtering.
- the video encoding device may generate the code stream of the image sequence, wherein the two chrominance components in the code stream use different identifiers in the image-level syntax elements to indicate the corresponding colors. Whether the degree component is filtered by the adaptive loop filter ALF.
- ph_alf_cb_enabled_flag may be used as a flag in the image-level syntax element of the chrominance component Cb in the code stream, which is used to indicate whether the chrominance component Cb is filtered by the adaptive loop filter ALF.
- ph_alf_cr_enabled_flag may be used as a flag in the image-level syntax element of the chrominance component Cr in the code stream, which is used to indicate whether the chrominance component Cr is filtered by the adaptive loop filter ALF.
- the two chrominance components in the code stream adopt different identifiers in the syntax elements of the slice-level slice to respectively indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF. .
- slice_alf_cb_enabled_flag may be used as a flag for the chrominance component Cb in the slice-level syntax element in the code stream to indicate whether the chrominance component Cb is filtered by the adaptive loop filter ALF.
- slice_alf_cr_enabled_flag may be used as a flag for the chrominance component Cr in the slice-level syntax element in the code stream to indicate whether the chrominance component Cr is filtered by the adaptive loop filter ALF.
- a first identifier is used in the syntax element at the image block level in the code stream to indicate the chrominance component Whether to use ALF for filtering, and when the first indicator indicates that the chrominance component is used for filtering, the second indicator is used to indicate the ALF filter used by the chrominance component.
- the ALF filter is a cross-component adaptive loop filter CCALF filter.
- the image block level is a coding tree unit (coding tree unit, CTU) level, where one coding tree unit CTU includes one luminance Luma coding tree block (CTB), two Chroma coding tree block CTB and syntax elements.
- alf_ctb_cc_cb_flag may be used as the first flag in the syntax element of the image block level for the chrominance component Cb in the code stream, which is used to indicate whether the chrominance component Cb is filtered by the adaptive loop filter CCALF. If the adaptive loop filter CCALF is used for filtering, alf_ctb_cc_cb__idx is further used as the second identifier to identify the index of the CCALF filter used by the chrominance component Cb.
- alf_ctb_cc_cr_flag may be used as the first flag in the syntax element of the image block level for the chrominance component Cr in the bitstream, which is used to indicate whether the chrominance component Cr is filtered by the adaptive loop filter CCALF. If the adaptive loop filter CCALF is used for filtering, alf_ctb_cc_cr__idx is further used as the second identifier to identify the index of the CCALF filter used by the chrominance component Cr. In some embodiments, the second identifier is calculated based on the first identifier. In some embodiments, when it is determined that the chrominance component is filtered by using CCALF in the syntax element at the image block level, it can be filtered according to The difference between the first identification and 1 determines the second identification.
- the video encoding device may obtain the color components of the image sequence including two chrominance components, and filter the reconstruction blocks of the color components of at least part of the image sequence of the image sequence using adaptive loop filtering technology, and Generate the code stream of the image sequence, wherein the two chrominance components in the code stream use different identifiers in the image-level syntax elements to respectively indicate whether the corresponding chrominance components use an adaptive loop filter ALF performs filtering.
- different identifiers can be used when performing ALF filtering to simplify the process of writing syntax elements of the encoder, and improve the efficiency and flexibility of video encoding.
- FIG. 6 is a schematic flowchart of a video decoding method according to an embodiment of the present invention.
- the method can be applied to a video decoding device, where the video decoding device can be set on a smart terminal (such as a mobile phone, a tablet computer, etc.).
- a smart terminal such as a mobile phone, a tablet computer, etc.
- the method of the embodiment of the present invention includes the following steps.
- S601 Obtain a code stream of an image sequence, where the images in the image sequence include two chrominance components, and the two chrominance components in the code stream use different identifiers in image-level syntax elements. Indicates whether the corresponding chrominance component is filtered using ALF.
- the video decoding device can obtain a code stream of an image sequence, wherein the image in the image sequence includes two chrominance components, and the two chrominance components in the code stream are Different identifiers are used in the syntax elements to respectively indicate whether the corresponding chrominance components are filtered using ALF.
- the two chrominance components in the stripe-level syntax elements in the codestream use different identifiers to respectively indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF.
- a first identifier is used in the syntax element at the image block level in the code stream to indicate the chrominance component Whether to use ALF for filtering, and when the first indicator indicates that the chrominance component is used for filtering, the second indicator is used to indicate the ALF filter used by the chrominance component.
- the ALF filter is a cross-component adaptive loop filter CCALF filter.
- the image block level is a coding tree unit CTU level.
- S602 Analyze the identifiers corresponding to the two chrominance components of the current image from the code stream.
- the video decoding device can parse the identifiers corresponding to the two chrominance components of the current image from the code stream.
- the video decoding device may analyze the first identifiers corresponding to the two chrominance components of the current image from the code stream in a contextual manner; Analyze the second identifiers corresponding to the two chrominance components of the current image in the stream.
- S603 Determine, according to the identifiers respectively corresponding to the two chrominance components, whether to use ALF to filter the reconstruction blocks of the two chrominance components of the current image.
- the video decoding device may determine whether to use ALF to filter the reconstruction blocks of the two chrominance components of the current image according to the identifiers respectively corresponding to the two chrominance components.
- the video decoding device can obtain a code stream of an image sequence, wherein the image in the image sequence includes two chrominance components, and the two chrominance components in the code stream are Different identifiers are used in the syntax elements to indicate whether the corresponding chrominance components are filtered by ALF, and the corresponding identifiers of the two chrominance components of the current image are parsed from the code stream, so that according to the two chrominance components The respective corresponding identifiers determine whether to use ALF to filter the reconstruction blocks of the two chrominance components of the current image.
- different identifiers can be used when performing ALF filtering to simplify the process of reading syntax elements of the decoder, and improve the efficiency and flexibility of video decoding.
- FIG. 7 is a schematic flowchart of another video encoding method according to an embodiment of the present invention.
- the method can be applied to a video encoding device, where the video decoding device can be set on a smart terminal (such as a mobile phone, a tablet computer, etc.).
- a smart terminal such as a mobile phone, a tablet computer, etc.
- the method of the embodiment of the present invention includes the following steps.
- S701 Acquire color components of an image sequence, where the color components include two chrominance components.
- the video encoding device may obtain the color components of the image sequence, and the color components include two chrominance components.
- S702 Use ALF to filter the reconstruction blocks of the color components of at least part of the images in the image sequence.
- the video encoding device may use ALF to filter the reconstruction blocks of the color components of at least part of the images in the image sequence.
- the implementation process of the video encoding device using ALF to filter the reconstruction blocks of the color components of at least part of the images in the image sequence is as described above, and will not be repeated here.
- S703 Generate a code stream of the image sequence, where, for each chroma component of the two chroma components, a first identifier is used in the syntax element at the image block level in the code stream to indicate the chroma Whether the component is filtered by ALF, and when the first flag indicates that the chrominance component is filtered by ALF, the second flag is used to indicate the ALF filter used by the chrominance component.
- the video encoding device may generate the code stream of the image sequence, wherein, for each chroma component of the two chroma components, the code stream adopts the syntax element at the image block level
- the first indicator indicates whether the chrominance component is filtered by ALF, and when the first indicator indicates that the chrominance component is filtered by ALF, the second indicator is used to indicate the ALF filter used by the chrominance component .
- the ALF filter includes a CCALF filter.
- the image block level is a coding tree unit CTU level.
- the first identifier is encoded in a contextual manner; and/or, the second identifier is encoded in a truncated unary code manner.
- different identifiers are used in the image-level syntax elements for the two chrominance components in the bitstream to indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF respectively.
- the two chrominance components in the stripe-level syntax elements in the codestream use different identifiers to respectively indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF.
- the video encoding device can obtain the color components of the image sequence including two chrominance components, and use ALF to filter the reconstruction blocks of the color components of at least part of the images in the image sequence to generate the image sequence
- a first identifier is used in the image block-level syntax element in the code stream to indicate whether the chrominance component is filtered by ALF
- the second indicator is used to indicate the ALF filter used by the chrominance component.
- FIG. 8 is a schematic flowchart of another video decoding method provided by an embodiment of the present invention.
- the method can be applied to a video decoding device, where the video decoding device can be set on a smart terminal (such as a mobile phone, a tablet computer, etc.).
- the method of the embodiment of the present invention includes the following steps.
- S801 Obtain a code stream of an image sequence, where the image in the image sequence includes two chrominance components. For each chrominance component of the two chrominance components, the code stream is at the image block level.
- the syntax element uses the first identifier to indicate whether the chrominance component is filtered by ALF, and uses the second identifier to indicate the ALF filter used by the chrominance component.
- the video decoding device may obtain the code stream of the image sequence, wherein the image in the image sequence includes two chrominance components, and for each chrominance component of the two chrominance components, the In the code stream, the first identifier is used in the syntax element at the image block level to indicate whether the chrominance component is filtered by ALF, and the second identifier is used to indicate the ALF filter used by the chrominance component.
- the ALF filter is a cross-component adaptive loop filtering CCALF filter
- the image block level is a coding tree unit CTU level.
- different identifiers are used in the image-level syntax elements for the two chrominance components in the bitstream to indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF respectively.
- the two chrominance components in the stripe-level syntax elements in the codestream use different identifiers to respectively indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF.
- S802 Analyze the first identifier and the second identifier corresponding to the two chrominance components of the current image from the code stream.
- the video decoding device may parse the first identifier and the second identifier respectively corresponding to the two chrominance components of the current image from the code stream.
- the video decoding device can analyze the first identifiers corresponding to the two chrominance components of the current image from the code stream in a contextual manner; Analyze the second identifiers respectively corresponding to the two chrominance components of the current image.
- S803 For each chrominance component of the current image block, determine whether to use ALF to filter the reconstruction block of the chrominance component according to the first identifier corresponding to the chrominance component, and when it is determined to be adopted, according to the The second identifier determines that the corresponding ALF filter filters the reconstruction block of the chrominance component.
- the video decoding device may determine whether to use ALF to filter the reconstructed block of the chrominance component according to the first identifier corresponding to the chrominance component for each chrominance component of the current image block, When it is determined to be adopted, a corresponding ALF filter is determined according to the second identifier to filter the reconstruction block of the chrominance component.
- the video decoding device may obtain the code stream of the image sequence, wherein the image in the image sequence includes two chrominance components, and for each chrominance component of the two chrominance components, the In the code stream, the first identifier is used in the syntax elements at the image block level to indicate whether the chrominance component is filtered by ALF, and the second identifier is used to indicate the ALF filter used by the chrominance component, and the code
- the first identifier and the second identifier corresponding to the two chrominance components of the current image are analyzed in the stream, and for each chrominance component of the current image block, according to the first chrominance component corresponding to the first identifier and the second identifier.
- the identifier determines whether to use ALF to filter the reconstruction block of the chrominance component, and when it is determined to be adopted, a corresponding ALF filter is determined according to the second identifier to filter the reconstruction block of the chrominance component.
- the first identifier and the second identifier can be used when performing CCALF filtering to simplify the process of reading syntax elements of the decoder, and improve the efficiency and flexibility of video decoding.
- FIG. 9 is a schematic structural diagram of a video encoding device according to an embodiment of the present invention.
- the video encoding device includes a memory 901, a processor 902, and a data interface 903.
- the memory 901 may include a volatile memory (volatile memory); the memory 901 may also include a non-volatile memory (non-volatile memory); the memory 901 may also include a combination of the foregoing types of memories.
- the processor 902 may be a central processing unit (CPU).
- the processor 902 may further include a hardware video encoding device.
- the foregoing hardware video encoding device may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. Specifically, for example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
- ASIC application-specific integrated circuit
- PLD programmable logic device
- FPGA field-programmable gate array
- the memory 901 is used to store a program, and when the program is executed, the processor 902 can call the program stored in the memory 901 to perform the following steps:
- the color components including two chrominance components
- different identifiers are used in the syntax elements of the stripe level for the two chrominance components to respectively indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF.
- a first identifier is used in the syntax element at the image block level in the code stream to indicate whether the chrominance component adopts ALF Performing filtering, and when the first identifier indicates that the chrominance component is filtered using ALF, a second identifier is used to indicate the ALF filter used by the chrominance component.
- the ALF filter is a cross-component adaptive loop filter CCALF filter.
- the image block level is a coding tree unit CTU level.
- the first identifier is encoded in a contextual manner; and/or,
- the second identifier is encoded by truncating the unary code.
- the video encoding device may obtain the color components of the image sequence including two chrominance components, and filter the reconstruction blocks of the color components of at least part of the image sequence of the image sequence using adaptive loop filtering technology, and Generate the code stream of the image sequence, wherein the two chrominance components in the code stream use different identifiers in the image-level syntax elements to respectively indicate whether the corresponding chrominance components use an adaptive loop filter ALF performs filtering.
- different identifiers can be used when performing ALF filtering to simplify the process of writing syntax elements of the encoder, and improve the efficiency and flexibility of video encoding.
- FIG. 10 is a schematic structural diagram of a video decoding device according to an embodiment of the present invention.
- the video decoding device includes: a memory 1001, a processor 1002, and a data interface 1003.
- the memory 1001 may include a volatile memory (volatile memory); the memory 1001 may also include a non-volatile memory (non-volatile memory); the memory 1001 may also include a combination of the foregoing types of memories.
- the processor 1002 may be a central processing unit (CPU).
- the processor 1002 may further include a hardware video decoding device.
- the foregoing hardware video decoding device may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. Specifically, for example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
- ASIC application-specific integrated circuit
- PLD programmable logic device
- FPGA field-programmable gate array
- the memory 1001 is used to store a program, and when the program is executed, the processor 1002 can call the program stored in the memory 1001 to perform the following steps:
- different identifiers are used in the syntax elements of the stripe level for the two chrominance components to respectively indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF.
- a first identifier is used in the syntax element at the image block level in the code stream to indicate whether the chrominance component adopts ALF Performing filtering, and when the first identifier indicates that the chrominance component is filtered using ALF, a second identifier is used to indicate the ALF filter used by the chrominance component.
- the ALF filter is a cross-component adaptive loop filter CCALF filter.
- the processor 1002 parses the identifiers corresponding to the two chrominance components of the current image from the code stream, it is specifically configured to:
- the second identifier corresponding to the two chrominance components of the current image is analyzed from the code stream in a truncated unary code manner.
- the image block level is a coding tree unit CTU level.
- the video decoding device can obtain a code stream of an image sequence, wherein the image in the image sequence includes two chrominance components, and the two chrominance components in the code stream are Different identifiers are used in the syntax elements to indicate whether the corresponding chrominance components are filtered by ALF, and the corresponding identifiers of the two chrominance components of the current image are parsed from the code stream, so that according to the two chrominance components The respective corresponding identifiers determine whether to use ALF to filter the reconstruction blocks of the two chrominance components of the current image.
- different identifiers can be used when performing ALF filtering to simplify the process of reading syntax elements of the decoder, and improve the efficiency and flexibility of video decoding.
- FIG. 11 is a schematic structural diagram of another video encoding device according to an embodiment of the present invention.
- the video encoding device includes: a memory 1101, a processor 1102, and a data interface 1103.
- the memory 1101 may include a volatile memory (volatile memory); the memory 1101 may also include a non-volatile memory (non-volatile memory); the memory 1101 may also include a combination of the foregoing types of memories.
- the processor 1102 may be a central processing unit (CPU).
- the processor 1102 may further include a hardware video encoding device.
- the foregoing hardware video encoding device may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. Specifically, for example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
- ASIC application-specific integrated circuit
- PLD programmable logic device
- FPGA field-programmable gate array
- the memory 1101 is used to store a program, and when the program is executed, the processor 1102 can call the program stored in the memory 1101 to perform the following steps:
- the color components including two chrominance components
- a first identifier is used in the syntax element at the image block level in the code stream to indicate whether the chrominance component is ALF is used for filtering, and when the first identifier indicates that the chrominance component is filtered using ALF, the second identifier is used to indicate the ALF filter used by the chrominance component.
- the ALF filter is a cross-component adaptive loop filter CCALF filter.
- the image block level is a coding tree unit CTU level.
- the first identifier is encoded in a contextual manner; and/or,
- the second identifier is encoded by truncating the unary code.
- different identifiers are used in the image-level syntax elements for the two chrominance components to respectively indicate whether the corresponding chrominance components are filtered using an adaptive loop filter ALF.
- different identifiers are used in the syntax elements of the stripe level for the two chrominance components to respectively indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF.
- the video encoding device can obtain the color components of the image sequence including two chrominance components, and use ALF to filter the reconstruction blocks of the color components of at least part of the images in the image sequence to generate the image sequence
- a first identifier is used in the image block-level syntax element in the code stream to indicate whether the chrominance component is filtered by ALF
- the second indicator is used to indicate the ALF filter used by the chrominance component.
- FIG. 12 is a schematic structural diagram of another video decoding device according to an embodiment of the present invention.
- the video decoding device includes: a memory 1201, a processor 1202, and a data interface 1203.
- the memory 1201 may include a volatile memory (volatile memory); the memory 1201 may also include a non-volatile memory (non-volatile memory); the memory 1201 may also include a combination of the foregoing types of memories.
- the processor 1202 may be a central processing unit (CPU).
- the processor 1202 may further include a hardware video decoding device.
- the foregoing hardware video decoding device may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. Specifically, for example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), or any combination thereof.
- ASIC application-specific integrated circuit
- PLD programmable logic device
- FPGA field-programmable gate array
- the memory 1201 is used to store a program, and when the program is executed, the processor 1002 can call the program stored in the memory 1201 to perform the following steps:
- each chrominance component of the current image block determines whether to use ALF to filter the reconstruction block of the chrominance component according to the first identifier corresponding to the chrominance component, and when it is determined to be adopted, according to the second The identification determines that the corresponding ALF filter filters the reconstructed block of the chrominance component.
- the ALF filter is a cross-component adaptive loop filter CCALF filter.
- the image block level is a coding tree unit CTU level.
- the processor 1002 parses the first identifier and the second identifier respectively corresponding to the two chrominance components of the current image from the code stream, it is specifically configured to:
- the second identifier corresponding to the two chrominance components of the current image is analyzed from the code stream in a truncated unary code manner.
- different identifiers are used in the image-level syntax elements for the two chrominance components to respectively indicate whether the corresponding chrominance components are filtered using an adaptive loop filter ALF.
- different identifiers are used in the syntax elements of the stripe level for the two chrominance components to respectively indicate whether the corresponding chrominance components are filtered by the adaptive loop filter ALF.
- the video decoding device may determine whether to use ALF to filter the reconstructed block of the chrominance component according to the first identifier corresponding to the chrominance component for each chrominance component of the current image block, When it is determined to be adopted, a corresponding ALF filter is determined according to the second identifier to filter the reconstruction block of the chrominance component.
- a computer-readable storage medium stores a computer program.
- the embodiment of the present invention is The described video encoding method can also implement the video decoding method described in Figure 6 or Figure 8 of the embodiment of the present invention, and can also implement the video encoding device corresponding to the embodiment of the present invention described in Figure 9 or Figure 11, or The video decoding device that implements the corresponding embodiment of the present invention described in FIG. 10 or FIG. 12 will not be repeated here.
- the computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or memory of the device.
- the computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a Smart Media Card (SMC), or a Secure Digital (SD) card. , Flash Card, etc.
- the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device.
- the computer-readable storage medium is used to store the computer program and other programs and data required by the device.
- the computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
- the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
- the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (49)
- 一种视频编码方法,其特征在于,包括:获取图像序列的颜色分量,所述颜色分量包括两个色度分量;对所述图像序列至少部分图像的颜色分量的重建块采用自适应环路滤波技术进行滤波;生成所述图像序列的码流,其中,所述码流中对所述两个色度分量在图像级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求1所述的方法,其特征在于,所述码流中对所述两个色度分量在条带级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求1所述的方法,其特征在于,所述码流中,对所述两个色度分量的每一个色度分量,所述码流中在图像块级的语法元素中采用第一标识指示所述色度分量是否采用ALF进行滤波,以及在所述第一标识指示所述色度分量采用ALF进行滤波时,采用第二标识指示所述色度分量所采用的ALF滤波器。
- 根据权利要求3所述的方法,其特征在于,所述ALF滤波器为跨分量自适应环路滤波CCALF滤波器。
- 根据权利要求3所述的方法,其特征在于,所述图像块级为编码树单元CTU级。
- 根据权利要求3所述的方法,其特征在于,所述第一标识是采用上下文的方式进行编码的;和/或,所述第二标识是采用截断一元码的方式进行编码的。
- 一种视频解码方法,其特征在于,包括:获取图像序列的码流,其中,所述图像序列中的图像包括两个色度分量,所述码流中对所述两个色度分量在图像级的语法元素中采用不同的标识分别指示对应的色度分量是否采用ALF进行滤波;从所述码流中解析当前图像的两个色度分量分别对应的标识;根据所述两个色度分量分别对应的标识确定是否采用ALF对所述当前图像的两个色度分量的重建块进行滤波。
- 根据权利要求7所述的方法,其特征在于,所述码流中对所述两个色度分量在条带级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求7所述的方法,其特征在于,所述码流中,对所述两个色度分量的每一个色度分量,所述码流中在图像块级的语法元素中采用第一标识指示所述色度分量是否采用ALF进行滤波,以及在所述第一标识指示所述色度分量采用ALF进行滤波时,采用第二标识指示所述色度分量所采用的ALF滤波器。
- 根据权利要求9所述的方法,其特征在于,所述ALF滤波器为跨分量自适应环路滤波CCALF滤波器。
- 根据权利要求9所述的方法,其特征在于,所述从所述码流中解析当前图像的两个色度分量分别对应的标识,包括:采用上下文的方式从所述码流中解析当前图像的两个色度分量分别对应的第一标识;和/或,采用截断一元码的方式从所述码流中解析当前图像的两个色度分量分别对应的第二标识。
- 根据权利要求9所述的方法,其特征在于,所述图像块级为编码树单元CTU级。
- 一种视频编码方法,其特征在于,包括:获取图像序列的颜色分量,所述颜色分量包括两个色度分量;对所述图像序列中至少部分图像的颜色分量的重建块采用ALF进行滤波;生成所述图像序列的码流,其中,对所述两个色度分量的每一个色度分量,所述码流中在图像块级的语法元素中采用第一标识指示所述色度分量是否采用ALF进行滤波,以及在所述第一标识指示所述色度分量采用ALF进行滤波时,采用第二标识指示所述色度分量所采用的ALF滤波器。
- 根据权利要求13所述的方法,其特征在于,所述ALF滤波器为跨分量自适应环路滤波CCALF滤波器。
- 根据权利要求13所述的方法,其特征在于,所述图像块级为编码树单元CTU级。
- 根据权利要求13所述的方法,其特征在于,所述第一标识是采用上下文的方式进行编码的;和/或,所述第二标识是采用截断一元码的方式进行编码的。
- 根据权利要求13所述的方法,其特征在于,所述码流中对所述两个色度分量在图像级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求13所述的方法,其特征在于,所述码流中对所述两个色度分量在条带级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 一种视频解码方法,其特征在于,包括:获取图像序列的码流,其中,所述图像序列中的图像包括两个色度分量, 对所述两个色度分量的每一个色度分量,所述码流中在图像块级的语法元素中采用第一标识指示所述色度分量是否采用ALF进行滤波,以及采用第二标识指示所述色度分量所采用的ALF滤波器;从所述码流中解析当前图像的两个色度分量分别对应的所述第一标识和所述第二标识;对当前图像块的每一个色度分量,根据所述色度分量对应的所述第一标识确定是否采用ALF对所述色度分量的重建块进行滤波,当确定采用时,根据所述第二标识确定对应的ALF滤波器对所述色度分量的重建块进行滤波。
- 根据权利要求19所述的方法,其特征在于,所述ALF滤波器为跨分量自适应环路滤波CCALF滤波器。
- 根据权利要求19所述的方法,其特征在于,所述图像块级为编码树单元CTU级。
- 根据权利要求19所述的方法,其特征在于,所述从所述码流中解析当前图像的两个色度分量分别对应的所述第一标识和所述第二标识,包括:采用上下文的方式从所述码流中解析当前图像的两个色度分量分别对应的第一标识;以及,采用截断一元码的方式从所述码流中解析当前图像的两个色度分量分别对应的第二标识。
- 根据权利要求19所述的方法,其特征在于,所述码流中对所述两个色度分量在图像级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求19所述的方法,其特征在于,所述码流中对所述两个色度分量在条带级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 一种视频编码设备,其特征在于,包括存储器和处理器;所述存储器,用于存储程序;所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操作:获取图像序列的颜色分量,所述颜色分量包括两个色度分量;对所述图像序列至少部分图像的颜色分量的重建块采用自适应环路滤波技术进行滤波;生成所述图像序列的码流,其中,所述码流中对所述两个色度分量在图像级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求25所述的设备,其特征在于,所述码流中对所述两个色度分量在条带级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求25所述的设备,其特征在于,所述码流中,对所述两个色度分量的每一个色度分量,所述码流中在图像块级的语法元素中采用第一标识指示所述色度分量是否采用ALF进行滤波,以及在所述第一标识指示所述色度分量采用ALF进行滤波时,采用第二标识指示所述色度分量所采用的ALF滤波器。
- 根据权利要求27所述的设备,其特征在于,所述ALF滤波器为跨分量自适应环路滤波CCALF滤波器。
- 根据权利要求27所述的设备,其特征在于,所述图像块级为编码树单元CTU级。
- 根据权利要求27所述的设备,其特征在于,所述第一标识是采用上下文的方式进行编码的;和/或,所述第二标识是采用截断一元码的方式进行编码的。
- 一种视频解码设备,其特征在于,包括存储器和处理器;所述存储器,用于存储程序;所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操作:获取图像序列的码流,其中,所述图像序列中的图像包括两个色度分量,所述码流中对所述两个色度分量在图像级的语法元素中采用不同的标识分别指示对应的色度分量是否采用ALF进行滤波;从所述码流中解析当前图像的两个色度分量分别对应的标识;根据所述两个色度分量分别对应的标识确定是否采用ALF对所述当前图像的两个色度分量的重建块进行滤波。
- 根据权利要求31所述的设备,其特征在于,所述码流中对所述两个色度分量在条带级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求31所述的设备,其特征在于,所述码流中,对所述两个色度分量的每一个色度分量,所述码流中在图像块级的语法元素中采用第一标识指示所述色度分量是否采用ALF进行滤波,以及在所述第一标识指示所述色度分量采用ALF进行滤波时,采用第二标识指示所述色度分量所采用的ALF滤波器。
- 根据权利要求33所述的设备,其特征在于,所述ALF滤波器为跨分量自适应环路滤波CCALF滤波器。
- 根据权利要求33所述的设备,其特征在于,所述处理器从所述码流中解析当前图像的两个色度分量分别对应的标识时,具体用于:采用上下文的方式从所述码流中解析当前图像的两个色度分量分别对应的第一标识;和/或,采用截断一元码的方式从所述码流中解析当前图像的两个色度分量分别 对应的第二标识。
- 根据权利要求33所述的设备,其特征在于,所述图像块级为编码树单元CTU级。
- 一种视频编码设备,其特征在于,包括存储器和处理器;所述存储器,用于存储程序;所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操作:获取图像序列的颜色分量,所述颜色分量包括两个色度分量;对所述图像序列中至少部分图像的颜色分量的重建块采用ALF进行滤波;生成所述图像序列的码流,其中,对所述两个色度分量的每一个色度分量,所述码流中在图像块级的语法元素中采用第一标识指示所述色度分量是否采用ALF进行滤波,以及在所述第一标识指示所述色度分量采用ALF进行滤波时,采用第二标识指示所述色度分量所采用的ALF滤波器。
- 根据权利要求37所述的设备,其特征在于,所述ALF滤波器为跨分量自适应环路滤波CCALF滤波器。
- 根据权利要求37所述的设备,其特征在于,所述图像块级为编码树单元CTU级。
- 根据权利要求37所述的设备,其特征在于,所述第一标识是采用上下文的方式进行编码的;和/或,所述第二标识是采用截断一元码的方式进行编码的。
- 根据权利要求37所述的设备,其特征在于,所述码流中对所述两个色度分量在图像级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求37所述的设备,其特征在于,所述码流中对所述两个色度分量在条带级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 一种视频解码设备,其特征在于,包括存储器和处理器;所述存储器,用于存储程序;所述处理器,用于调用所述程序,当所述程序被执行时,用于执行以下操作:获取图像序列的码流,其中,所述图像序列中的图像包括两个色度分量,对所述两个色度分量的每一个色度分量,所述码流中在图像块级的语法元素中采用第一标识指示所述色度分量是否采用ALF进行滤波,以及采用第二标识指示所述色度分量所采用的ALF滤波器;从所述码流中解析当前图像的两个色度分量分别对应的所述第一标识和所述第二标识;对当前图像块的每一个色度分量,根据所述色度分量对应的所述第一标识确定是否采用ALF对所述色度分量的重建块进行滤波,当确定采用时,根据所述第二标识确定对应的ALF滤波器对所述色度分量的重建块进行滤波。
- 根据权利要求43所述的设备,其特征在于,所述ALF滤波器为跨分量自适应环路滤波CCALF滤波器。
- 根据权利要求43所述的设备,其特征在于,所述图像块级为编码树单元CTU级。
- 根据权利要求43所述的设备,其特征在于,所述处理器从所述码流中解析当前图像的两个色度分量分别对应的所述第一标识和所述第二标识时,具体用于:采用上下文的方式从所述码流中解析当前图像的两个色度分量分别对应的第一标识;以及,采用截断一元码的方式从所述码流中解析当前图像的两个色度分量分别对应的第二标识。
- 根据权利要求43所述的设备,其特征在于,所述码流中对所述两个色度分量在图像级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 根据权利要求43所述的设备,其特征在于,所述码流中对所述两个色度分量在条带级的语法元素中采用不同的标识分别指示对应的色度分量是否采用自适应环路滤波器ALF进行滤波。
- 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至24任一项所述方法。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202080005555.9A CN114097236A (zh) | 2020-04-03 | 2020-04-03 | 一种视频编码、解码方法、设备及存储介质 |
JP2022555902A JP7517780B2 (ja) | 2020-04-03 | 2020-04-03 | 映像符号化・復号の方法、記録媒体及びプログラム |
EP20929001.4A EP4131970A4 (en) | 2020-04-03 | 2020-04-03 | VIDEO CODING AND DECODING METHOD AND DEVICE, AND STORAGE MEDIA |
KR1020227032401A KR20220137999A (ko) | 2020-04-03 | 2020-04-03 | 비디오 인코딩, 디코딩 방법, 장치 및 저장 매체 |
PCT/CN2020/083371 WO2021196234A1 (zh) | 2020-04-03 | 2020-04-03 | 一种视频编码、解码方法、设备及存储介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/083371 WO2021196234A1 (zh) | 2020-04-03 | 2020-04-03 | 一种视频编码、解码方法、设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021196234A1 true WO2021196234A1 (zh) | 2021-10-07 |
Family
ID=77927557
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/083371 WO2021196234A1 (zh) | 2020-04-03 | 2020-04-03 | 一种视频编码、解码方法、设备及存储介质 |
Country Status (5)
Country | Link |
---|---|
EP (1) | EP4131970A4 (zh) |
JP (1) | JP7517780B2 (zh) |
KR (1) | KR20220137999A (zh) |
CN (1) | CN114097236A (zh) |
WO (1) | WO2021196234A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113709504A (zh) * | 2021-10-27 | 2021-11-26 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及可读存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140010278A1 (en) * | 2012-07-09 | 2014-01-09 | Motorola Mobility Llc | Method and apparatus for coding adaptive-loop filter coefficients |
CN103891293A (zh) * | 2011-10-21 | 2014-06-25 | 高通股份有限公司 | 用于色度分量的自适应环路滤波 |
CN104735450A (zh) * | 2015-02-26 | 2015-06-24 | 北京大学 | 一种在视频编解码中进行自适应环路滤波的方法及装置 |
CN105120271A (zh) * | 2011-04-21 | 2015-12-02 | 联发科技股份有限公司 | 视频编解码方法与装置 |
WO2019194647A1 (ko) * | 2018-04-06 | 2019-10-10 | 가온미디어 주식회사 | 필터 정보 기반의 적응적 루프 필터링 방법, 그를 이용한 영상 부호화 및 복호화 방법 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA3164388A1 (en) | 2020-01-10 | 2021-07-15 | Minwoo Park | Video decoding method and apparatus for obtaining quantization parameter, and video encoding method and apparatus for transmitting quantization parameter |
-
2020
- 2020-04-03 JP JP2022555902A patent/JP7517780B2/ja active Active
- 2020-04-03 EP EP20929001.4A patent/EP4131970A4/en active Pending
- 2020-04-03 KR KR1020227032401A patent/KR20220137999A/ko active Search and Examination
- 2020-04-03 CN CN202080005555.9A patent/CN114097236A/zh active Pending
- 2020-04-03 WO PCT/CN2020/083371 patent/WO2021196234A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105120271A (zh) * | 2011-04-21 | 2015-12-02 | 联发科技股份有限公司 | 视频编解码方法与装置 |
CN103891293A (zh) * | 2011-10-21 | 2014-06-25 | 高通股份有限公司 | 用于色度分量的自适应环路滤波 |
US20140010278A1 (en) * | 2012-07-09 | 2014-01-09 | Motorola Mobility Llc | Method and apparatus for coding adaptive-loop filter coefficients |
CN104735450A (zh) * | 2015-02-26 | 2015-06-24 | 北京大学 | 一种在视频编解码中进行自适应环路滤波的方法及装置 |
WO2019194647A1 (ko) * | 2018-04-06 | 2019-10-10 | 가온미디어 주식회사 | 필터 정보 기반의 적응적 루프 필터링 방법, 그를 이용한 영상 부호화 및 복호화 방법 |
Non-Patent Citations (2)
Title |
---|
F. CHEN (HIKVISION), L. XU, L. WANG (HIKVISION): "CE5-related: On high level syntax of CC-ALF", 17. JVET MEETING; 20200107 - 20200117; BRUSSELS; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), no. JVET-Q0382 ; m51977, 1 January 2020 (2020-01-01), XP030223376 * |
See also references of EP4131970A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113709504A (zh) * | 2021-10-27 | 2021-11-26 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及可读存储介质 |
CN113709504B (zh) * | 2021-10-27 | 2022-02-15 | 深圳传音控股股份有限公司 | 图像处理方法、智能终端及可读存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN114097236A (zh) | 2022-02-25 |
JP7517780B2 (ja) | 2024-07-17 |
JP2023528124A (ja) | 2023-07-04 |
EP4131970A4 (en) | 2023-03-29 |
KR20220137999A (ko) | 2022-10-12 |
EP4131970A1 (en) | 2023-02-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11595667B2 (en) | Constraints on locations of reference blocks for intra block copy prediction | |
JP7291846B2 (ja) | 適応ループフィルタリングのためのサンプル決定 | |
CN114339221B (zh) | 用于视频编解码的基于卷积神经网络的滤波器 | |
CN115767107A (zh) | 视频处理中的非线性自适应环路滤波 | |
CN109842799B (zh) | 颜色分量的帧内预测方法、装置及计算机设备 | |
CN113678462A (zh) | 自适应环路滤波器中的裁剪参数推导 | |
CN114390288A (zh) | 在视频编解码中使用神经网络滤波 | |
JP2023110010A (ja) | 適応ループフィルタリングにおけるサンプルパディング | |
CN104303506A (zh) | 自适应采样点偏移信息的编解码装置及方法 | |
CN113785576B (zh) | 编解码视频中的二次变换的使用 | |
JP2017508415A (ja) | 画像符号化/復号方法及び装置 | |
CN111327904B (zh) | 图像重建方法和装置 | |
CN113228686B (zh) | 用于视频译码中去块效应滤波器的装置和方法 | |
CN112400323B (zh) | 图像编码器、图像解码器、以及对应方法 | |
CN117596414A (zh) | 视频处理方法及装置 | |
WO2023065891A1 (zh) | 多媒体数据处理方法、装置、设备、计算机可读存储介质及计算机程序产品 | |
CN115695787A (zh) | 基于神经网络的视频编解码中的分割信息 | |
CN115836527A (zh) | 编码器、解码器及用于自适应环路滤波的对应方法 | |
WO2022218385A1 (en) | Unified neural network filter model | |
WO2022166462A1 (zh) | 编码、解码方法和相关设备 | |
WO2021196234A1 (zh) | 一种视频编码、解码方法、设备及存储介质 | |
CN116456083A (zh) | 解码预测方法、装置及计算机存储介质 | |
US20230120657A1 (en) | Method and device for video encoding and decoding and storage medium | |
CN114846789A (zh) | 用于指示条带的图像分割信息的解码器及对应方法 | |
CN108989820B (zh) | 各阶段采用各自相应色度采样格式的数据压缩方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20929001 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2022555902 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20227032401 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2020929001 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |