The image or
video processing method and apparatus include: receiving input data associated with a current picture or a current slice in the current picture; determining whether the current picture is a
monochrome picture, conditionally transmitting or
parsing chroma deblocking parameters, depending on whether the current picture is a
monochrome picture; and encoding or decoding the current picture or the current slice. When the current picture is not a
monochrome picture, the chroma deblocking parameters are used in a deblocking filtering operation applied to the chroma components of the current picture or the current slice. A
syntax element is used to indicate the acquisition of the chroma deblocking parameters, and, based on the value of the
syntax element, the chroma deblocking parameters are allowed to be explicitly transmitted in a
syntax structure or parsed from a syntax structure, or the chroma deblocking parameters are implicitly inferred.