WO2025137147A1 - Method, apparatus, and medium for visual data processing - Google Patents
Method, apparatus, and medium for visual data processing Download PDFInfo
- Publication number
- WO2025137147A1 WO2025137147A1 PCT/US2024/060832 US2024060832W WO2025137147A1 WO 2025137147 A1 WO2025137147 A1 WO 2025137147A1 US 2024060832 W US2024060832 W US 2024060832W WO 2025137147 A1 WO2025137147 A1 WO 2025137147A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- regions
- codestream
- region
- residual
- samples
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/119—Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- 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/172—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 picture, frame or field
Definitions
- Embodiments of the present disclosure relates generally to visual data processing techniques, and more particularly, to neural network-based visual data coding.
- BACKGROUND [0002] The past decade has witnessed the rapid development of deep learning in a variety of areas, especially in computer vision and image processing. Neural network was invented originally with the interdisciplinary research of neuroscience and mathematics. It has shown strong capabilities in the context of non-linear transform and classification. Neural network- based image/video compression technology has gained significant progress during the past half decade.
- the method comprises: performing a conversion between visual data and a codestream of the visual data with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region.
- the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region.
- an apparatus for visual data processing comprises a processor and a non-transitory memory with instructions thereon.
- a non-transitory computer-readable storage medium is proposed.
- the non-transitory computer-readable storage medium stores instructions that cause a processor to perform a method in accordance with the first aspect of the present disclosure.
- another non-transitory computer-readable recording medium is proposed.
- the non-transitory computer-readable recording medium stores a codestream of visual data which is generated by a method performed by an apparatus for visual data processing.
- the method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region.
- NN neural network
- Fig. 1A illustrates a block diagram that illustrates an example visual data coding system, in accordance with some embodiments of the present disclosure
- Fig. 1B is a schematic diagram illustrating an example transform coding scheme
- 2 F1245807PCT [0014]
- Fig.2 illustrates example latent representations of an image;
- Fig. 1A illustrates a block diagram that illustrates an example visual data coding system, in accordance with some embodiments of the present disclosure
- Fig. 1B is a schematic diagram illustrating an example transform coding scheme
- 2 F1245807PCT [0014]
- Fig.2 illustrates example latent representations of an image
- FIG. 3 is a schematic diagram illustrating an example autoencoder implementing a hyperprior model
- Fig. 4 is a schematic diagram illustrating an example combined model configured to jointly optimize a context model along with a hyperprior and the autoencoder
- Fig.5 illustrates an example encoding process
- Fig.6 illustrates an example decoding process
- Fig.7 illustrates an example decoding process according to some embodiments of the present disclosure
- FIG. 8 illustrates an example learning-based image codec architecture
- Fig.9 illustrates an example synthesis transform for learning based image coding
- Fig.10 illustrates an example leaky Rectified Linear Unit (ReLU) activation function
- Fig. 11 illustrates an example ReLU activation function
- Fig.12 illustrates latent tiles in synthesis transform
- Fig.13 illustrates a bitstream layout
- Fig. 14 illustrates an example decoder structure
- Fig. 15 illustrates an example hyper scale decoder
- Fig. 16 illustrates an example hyper decoder
- FIG. 17 illustrates a diagram of an example multistage context modelling (MCM) structure
- MCM multistage context modelling
- Fig. 18 illustrates an example implementation of primary component guided adaptive up-sampling filter
- Fig. 19 illustrates two example partition patterns, wherein equipartitioned regions shown on the left, and shifted regions shown on the right
- Figs. 20A-20C illustrate three example alignment schemes
- Fig.21 illustrates latent tiles in synthesis transform
- Fig.22 illustrates an example bitstream layout
- Fig. 23 illustrates an example decoder structure
- Fig.24 illustrates an example hyper scale decoder
- Fig. 25 illustrates an example hyper decoder
- Fig.26 illustrates a diagram of an example MCM structure
- Fig. 27 illustrates an example implementation of primary component guided adaptive up-sampling filter
- Fig. 28 illustrates a flowchart of a method for visual data processing in accordance 3 F1245807PCT with embodiments of the present disclosure
- Fig. 29 illustrates a block diagram of a computing device in which various embodiments of the present disclosure can be implemented.
- the same or similar reference numerals usually refer to the same or similar elements.
- the visual data coding system 100 may include a source device 110 and a destination device 120.
- the source device 110 can be also referred to as a visual data encoding device, and the destination device 120 can be also referred to as a visual data decoding device.
- the source device 110 can be configured to generate encoded visual data and the destination device 120 can be configured to decode the encoded visual data generated by the source device 110.
- the source device 110 may include a visual data source 112, a visual data encoder 114, and an input/output (I/O) interface 116.
- the visual data source 112 may include a source such as a visual data capture device.
- the visual data capture device examples include, but are not limited to, an interface to receive visual data from a visual data provider, a computer graphics system for generating visual data, and/or a combination thereof.
- the visual data may comprise one or more pictures of a video or one or more images.
- the visual data encoder 114 encodes the visual data from the visual data source 112 to generate a bitstream.
- the bitstream may include a sequence of bits that form a coded representation of the visual data.
- the bitstream may include coded pictures and associated visual data.
- the coded picture is a coded representation of a picture.
- the associated visual data may include sequence parameter sets, picture parameter sets, and other syntax structures.
- the I/O interface 116 may include a modulator/demodulator and/or a transmitter.
- the encoded visual data may be transmitted directly to destination device 120 via the I/O interface 116 through the network 130A.
- the encoded visual data may also be stored onto a storage medium/server 130B for access by destination device 120.
- the destination device 120 may include an I/O interface 126, a visual data decoder 124, and a display device 122.
- the I/O interface 126 may include a receiver and/or a modem.
- the I/O interface 126 may acquire encoded visual data from the source device 110 or the storage medium/server 130B.
- the visual data decoder 124 may decode the encoded visual data.
- the display device 122 may display the decoded visual data to a user.
- the display device 122 may be integrated with the destination device 120, or may be external to the destination device 120 which is configured to interface with an external display device.
- 5 F1245807PCT The visual data encoder 114 and the visual data decoder 124 may operate according to a visual data coding standard, such as video coding standard or still picture coding standard and other current and/or further standards.
- a visual data coding standard such as video coding standard or still picture coding standard and other current and/or further standards.
- visual data processing encompasses visual data coding or compression, visual data decoding or decompression and visual data transcoding in which visual data are represented from one compressed format into another compressed format or at a different compressed bitrate.
- NN neural network
- This disclosure is related to neural network (NN)-based image and video coding. Specifically, it is related to support of regional accessibility, wherein regional accessibility refers to the capability of correctly decoding only a regional part of an image (also referred to as a picture) or a video.
- the ideas may be applied individually or in various combinations, for image and/or video coding methods and specifications. 2.
- Neural network was invented originally with the interdisciplinary research of neuroscience and mathematics. It has shown strong capabilities in the context of non-linear transform and classification. Neural network-based image/video compression technology has gained significant progress during the past half decade. It is reported that the latest neural network- based image compression algorithm achieves comparable R-D performance with Versatile Video Coding (VVC), the latest video coding standard developed by Joint Video Experts Team (JVET) with experts from MPEG and VCEG.
- VVC Versatile Video Coding
- JVET Joint Video Experts Team
- Image/video compression usually refers to the computing technology that compresses image/video into binary code to facilitate storage and transmission.
- the binary codes may or may not support losslessly reconstructing the original image/video, termed lossless compression and lossy compression.
- lossless compression and lossy compression Most of the efforts are devoted to lossy compression since lossless reconstruction is not necessary in most scenarios.
- image/video compression algorithms is evaluated from two aspects, i.e. compression ratio and reconstruction quality.
- Compression ratio is directly related to the number of binary codes, the less the better; Reconstruction quality is measured by comparing the reconstructed image/video with the original image/video, the higher the better.
- Image/video compression techniques can be divided into two branches, the classical video coding methods and the neural-network-based video compression methods.
- Classical video coding schemes adopt transform-based solutions, in which researchers have exploited statistical dependency in the latent variables (e.g., DCT or wavelet coefficients) by carefully hand- engineering entropy codes modeling the dependencies in the quantized regime.
- Neural network- based video compression is in two flavors, neural network-based coding tools and end-to-end neural network-based video compression.
- the former is embedded into existing classical video codecs as coding tools and only serves as part of the framework, while the latter is a separate framework developed based on neural networks without depending on classical video codecs.
- a series of classical video coding standards have been developed to accommodate the increasing visual content.
- the international standardization organizations ISO/IEC has two expert groups namely Joint Photographic Experts Group (JPEG) and Moving Picture Experts Group (MPEG), and ITU-T also has its own Video Coding Experts Group (VCEG) which is for standardization of image/video coding technology.
- JPEG Joint Photographic Experts Group
- MPEG Moving Picture Experts Group
- VCEG Video Coding Experts Group
- the influential video coding standards published by these organizations include JPEG, JPEG 2000, H.262, H.264/AVC and H.265/HEVC.
- VVC Versatile Video Coding
- Neural networks also known as artificial neural networks (ANN) are the computational models used in machine learning technology which are usually composed of multiple processing layers and each layer is composed of multiple simple but non-linear basic computational units.
- ANN artificial neural networks
- One benefit of such deep networks is believed to be the capacity for processing data with multiple levels of abstraction and converting data into different kinds of representations. Note that these representations are not manually designed; instead, the deep network including the processing layers is learned from massive data using a general machine learning procedure.
- Deep learning eliminates the necessity of handcrafted representations, and thus is regarded useful especially for processing natively unstructured data, such as acoustic and visual signal, whilst processing such data has been a longstanding difficulty in the artificial intelligence field.
- pixel probability modeling i.e., pixel probability modeling and auto-encoder. The former one belongs to the predictive coding strategy, while the latter one is the transform-based solution. Sometimes, these two methods are combined together in literature. 1.3.1 Pixel probability modeling According to Shannon’s information theory, the optimal method for lossless coding can reach the minimal coding rate ⁇ log ⁇ ⁇ ( ⁇ ) where ⁇ ( ⁇ ) is the probability of symbol ⁇ .
- ⁇ ( ⁇ ) arithmetic coding ensures that the coding rate to be as close as possible to its theoretical limit ⁇ log ⁇ ⁇ ( ⁇ ) without considering the rounding error. Therefore, the remaining problem is to how to determine the probability, which is however very challenging for natural image/video due to the curse of dimensionality.
- ⁇ ( ⁇ ) one way to model ⁇ ( ⁇ ) is to predict pixel probabilities one by one in a raster scan order based on previous observations, where ⁇ is an image. where ⁇ and ⁇ are the height and width of the image, respectively. The previous observation is also known as the context of the current pixel.
- ⁇ ( ⁇ ) ⁇ ( ⁇ ) ⁇ ( ⁇
- the current G sample may be coded according to previously coded pixels and the current R sample, while for coding the current B sample, the previously coded pixels and the current R and G samples may also be taken into consideration.
- Neural networks were originally introduced for computer vision tasks and have been proven to be effective in regression and classification problems. Therefore, it has been proposed using neural networks to estimate the probability of ⁇ ( ⁇ ) given its context ⁇ , ⁇ , ... , ⁇ . Most of the methods directly model the probability distribution in the pixel domain. Some researchers also attempt to model the probability distribution as a conditional one upon explicit or latent representations.
- the additional condition can be image label information or high-level representations.
- 1.3.2 Auto-encoder originates from the well-known work proposed by Hinton and Salakhutdinov. The method is trained for dimensionality reduction and consists of two parts: encoding and decoding. The encoding part converts the high-dimension input signal to low-dimension representations, typically with reduced spatial size but a greater number of channels. The decoding part attempts to recover the high-dimension input from the low-dimension representation.
- Fig.1B illustrates a typical transform coding scheme.
- the original image x is transformed by the analysis network g ⁇ to achieve the latent representation y.
- the latent representation y is quantized and compressed into bits.
- the number of bits R is used to measure the coding rate.
- the quantized latent representation y ⁇ is then inversely transformed by a synthesis network g ⁇ to obtain the reconstructed image x ⁇ .
- the distortion is calculated in a perceptual space by transforming x and x ⁇ with the function g ⁇ . It is intuitive to apply auto-encoder network to lossy image compression.
- the prototype auto-encoder for image compression is in Fig. 1B, which can be regarded as a transform coding strategy.
- ⁇ is discrete-valued, it can be losslessly compressed using entropy coding techniques such as arithmetic coding and transmitted as a sequence of bits.
- entropy coding techniques such as arithmetic coding
- ⁇ there are significant spatial dependencies among the elements of ⁇ ⁇ . Notably, their scales (middle right image) appear to be coupled spatially.
- An additional set of random variables ⁇ can be introduced to capture the spatial dependencies and to further reduce the redundancies.
- the image compression network is depicted in Fig.3.
- the left hand of the models is the encoder ⁇ ⁇ and decoder ⁇ ⁇ (explained in section 2.3.2).
- the right-hand side is the additional hyper encoder h ⁇ and hyper decoder h ⁇ networks that are used to obtain ⁇ .
- the encoder subjects the input image x to ⁇ ⁇ , yielding the responses ⁇ with spatially varying standard deviations.
- the responses ⁇ are fed into h ⁇ , summarizing the distribution of standard deviations in ⁇ .
- ⁇ is then quantized ( ⁇ ), compressed, and transmitted as side information.
- the encoder uses the quantized vector ⁇ to estimate ⁇ , the 10 F1245807PCT spatial distribution of standard deviations, and uses it to compress and transmit the quantized image representation ⁇ ⁇ .
- the decoder first recovers ⁇ from the compressed signal.
- Fig. 2 Left: an image from the Kodak dataset. Middle left: visualization of a latent representation y of that image. Middle right: standard deviations ⁇ of the latent.
- FIG. 3 illustrates Network architecture of a autoencoder implementing the hyperprior model.
- the left side shows an image autoencoder network, the right side corresponds to the hyperprior subnetwork.
- the analysis and synthesis transforms are denoted as ⁇ ⁇ and ⁇ ⁇ .
- Q represents quantization
- AE, AD represent arithmetic encoder and arithmetic decoder, respectively.
- the hyperprior model consists of two subnetworks, hyper encoder (denoted with h ⁇ ) and hyper decoder (denoted with h ⁇ ).
- the hyper prior model generates a quantized hyper latent ( ⁇ ) which comprises information about the probability distribution of the samples of the quantized latent ⁇ ⁇ . ⁇ is included in the bitsteam and transmitted to the receiver (decoder) along with ⁇ ⁇ . 1.3.4 Context model Although the hyper prior model improves the modelling of the probability distribution of the quantized latent ⁇ ⁇ , additional improvement can be obtained by utilizing an autoregressive model that predicts quantized latents from their causal context (Context Model).
- Context Model an autoregressive model that predicts quantized latents from their causal context
- auto-regressive means that the output of a process is later used as input to it. For example the context model subnetwork generates one sample of a latent, which is later used as input to obtain the next sample. Fig.
- FIG. 4 is a schematic diagram illustrating an example combined model configured to jointly optimize a context model along with a hyperprior and the autoencoder.
- Table 1 illustrates meaning of different symbols.
- a joint architecture can be utilized where both hyper prior model subnetwork (hyper encoder and hyper decoder) and a context model subnetwork are utilized.
- the hyper prior and the context model are combined to learn a probabilistic model over quantized latents ⁇ , which is then used for entropy coding. As depicted in Fig.
- the outputs of context subnetwork and hyper decoder subnetwork are combined by the subnetwork called Entropy Parameters, which generates the mean ⁇ and scale (or variance) ⁇ parameters for a Gaussian probability model.
- the gaussian probability model is then used to encode the samples of the quantized latents into bitstream with the help of the arithmetic encoder (AE) module.
- AE arithmetic encoder
- the gaussian probability model is utilized to obtain the quantized latents ⁇ ⁇ from the bitstream by arithmetic decoder (AD) module.
- Fig 4 illustrates the combined model jointly optimizes an autoregressive component that estimates the probability distributions of latents from their causal context (Context Model) along with a hyperprior and the underlying autoencoder.
- Real-valued latent representations are quantized (Q) to create quantized latents ( ⁇ ) and quantized hyper-latents ( ⁇ ), which are compressed into a bitstream using an arithmetic encoder (AE) and decompressed by an arithmetic decoder (AD).
- AE arithmetic encoder
- AD arithmetic decoder
- the highlighted region corresponds to the components that are executed by the receiver (i.e. a decoder) to recover an image from a compressed bitstream.
- the latent samples are modeled as gaussian distribution or gaussian mixture models (not limited to).
- the context model and hyper prior are jointly used to estimate the probability distribution of the latent samples. Since a gaussian distribution can be defined by a mean and a variance (aka sigma or scale), the joint model is used to estimate the mean and variance (denoted as ⁇ and ⁇ ). 1.3.5 Gained variational autoencoders (G-VAE) Typically, neural network-based image/video compression methodologies need to train multiple models to adapt to different rates. Gained variational autoencoders (G-VAE) is the variational 12 F1245807PCT autoencoder with a pair of gain units , which is designed to achieve continuously variable rate adaptation using a single model.
- a pair of gain units include a gain matrix ⁇ ⁇ ⁇ and an inverse gain matrix, where ⁇ is the number of gain vectors.
- gain matrix is similar to the quantization table in JPEG by controlling the quantization loss based on the characteristics of different channels.
- each channel is multiplied with the corresponding value in a gain vector.
- ⁇ ⁇ ⁇ ⁇
- interpolation is used between vectors. Given two pairs of gain vectors ⁇ ⁇ , ⁇ ⁇ ⁇ and ⁇ ⁇ , ⁇ ⁇ ⁇ ⁇ , the interpolated gain vector can be obtained via the following equations.
- ⁇ ⁇ ⁇ is an interpolation coefficient, which controls the corresponding bit rate of the generated gain vector pair. Since ⁇ is a real number, an arbitrary bit rate between the given two gain vector pairs can be achieved.
- the fig 4. corresponds to the state of the art compression method. In this section and the next, the encoding and decoding processes will be described separately.
- the Fig. 5 depicts the encoding process.
- the input image is first processed with an encoder subnetwork.
- the encoder transforms the input image into a transformed representation called latent, denoted by ⁇ .
- ⁇ is then input to a quantizer block, denoted by Q, to obtain the quantized 13 F1245807PCT latent ( ⁇ ).
- ⁇ ⁇ is then converted to a bitstream (bits1) using an arithmetic encoding module (denoted AE).
- BD-rate Bjontegaard delta- rate
- the luma component of the image is processed by the subnetwoks “Synthesis”, “Prediction fusion”, “Mask Conv”, “Hyper Decoder”, “Hyper scale decoder” etc.
- the chroma components are processed by the subnetworks: “Synthesis UV”, “Prediction fusion UV”, “Mask Conv UV”, “Hyper Decoder UV”, “Hyper scale decoder UV” etc.
- a benefit of the above separate processing is that the computational complexity of the processing 17 F1245807PCT of an image is reduced by application of separate processing. Typically in neural network based image and video decoding, the computational complexity is proportional to the square of the number of feature maps.
- the factorized entropy model is used to decode the quantized latents for luma and chroma, i.e., ⁇ and ⁇ ⁇ in Fig.7. 2.
- the probability parameters (e.g. variance) generated by the second network are used to generate a quantized residual latent by performing the arithmetic decoding process.
- the quantized residual latent is inversely gained with the inverse gain unit (iGain) as shown i n orange color in Fig. 7.
- the outputs of the inverse gain units are denoted as ⁇ and ⁇ for luma and chroma components, respectively. 4 .
- For the luma component the following steps are performed in a loop until all elements of ⁇ ⁇ are obtained: a.
- a first subnetwork is used to estimate a mean value parameter of a quantized latent ( ⁇ ), using the already obtained samples of ⁇ ⁇ . b .
- the quantized residual latent ⁇ and the mean value are used to obtain the next element of ⁇ ⁇ . 5.
- a synthesis transform can be applied to obtain the reconstructed image.
- step 4 and 5 are the same but with a separate set of networks.
- the decoded luma component is used as additional information to obtain the chroma component.
- the Inter Channel Correlation Information filter sub-network (ICCI) is used for chroma component restoration.
- the luma is fed into the ICCI sub- network as additional information to assist the chroma component decoding.
- Adaptive color transform (ACT) is performed after the luma and chroma components are reconstructed.
- the module named ICCI is a neural-network based postprocessing module.
- the example embodiments of the present disclosure are not limited to the UCCI subnetwork, any other neural 18 F1245807PCT network based postprocessing module might also be used.
- An exemplary implementation of some example embodiments of the present disclosure is depicted in Fig. 7 (the decoding process).
- the framework comprises two branches for luma and chroma components respectively. In each of the branch, the first subnetwork comprises the context, prediction and optionally the hyper decoder modules.
- the second network comprises the hyper scale decoder module.
- the quantized hyper latent are ⁇ ⁇ ⁇ and ⁇ ⁇ ⁇ ⁇ .
- the arithmetic decoding process generates the quantized residual latents, which are further fed into the iGain units to obtain the gained quantized residual latents ⁇ and ⁇ .
- a recursive prediction operation is performed to obtain the latent ⁇ ⁇ and ⁇ ⁇ .
- the following steps describe how to obtain the samples of latent ⁇ ⁇ [: , ⁇ , ⁇ ], and the chroma component is processed in the same way but with different networks. 1.
- An autoregressive context module is used to generate first input of a prediction module u sing the samples ⁇ ⁇ [: , ⁇ , ⁇ ] where the (m, n) pair are the indices of the samples of the latent that are already obtained.
- the second input of the prediction module is obtained by using a hyper decoder and a quantized hyper latent ⁇ ⁇ . 3 .
- the prediction module uses the first input and the second input, the prediction module generates the mean value ⁇ [: , ⁇ , ⁇ ]. 4.
- Whether to and/or how to apply at least one method disclosed in the document may be signaled from the encoder to the decoder, e.g. in the bitstream. Alternatively, whether to and/or how to apply at least one method disclosed in the document may be determined by the decoder based on coding information, such as dimensions, color format, etc.
- the modules named MS1, MS2 or MS3+O might be included in the processing flow. The said modules might perform an operation to their input by multiplying the input with a scalar or adding an adding an additive component to the input to obtain the output. The scalar or the additive component that are used by the said modules might be indicated in a bitstream.
- the module named RD or the module named AD in Fig.7 might be an entropy decoding module. It might be a range decoder or an arithmetic decoder or the like.
- the example embodiments of the present disclosure described herein are not limited to the specific combination of the units exemplified in Fig.7. Some of the modules might be missing and some 19 F1245807PCT of the modules might be displaced in processing order. Also additional modules might be included. For example: 1.
- the ICCI module might be removed. In that case the output of the Synthesis module and the Synthesis UV module might be combined by means of another module, that might be based on neural networks. 2.
- One or more of the modules named MS1, MS2 or MS3+O might be removed.
- the core of the proposed solution is not affected by the removing of one or more of the said scaling and adding modules.
- FIG. 7 other operations that are performed during the processing of the luma and chroma components are also indicated using the star symbol. These processes are denoted as MS1, MS2, MS3+O.
- These processing might be, but not limited to, adaptive quantization, latent sample scaling, and latent sample offsetting operations.
- an adaptive quantization process might correspond to scaling of a sample with multiplier before the prediction process, wherein the multiplier is predefined or whose value is indicated in the bitstream.
- the latent scaling process might correspond to the process where a sample is scaled with a multiplier after the prediction process, wherein the value of the multiplier is either predefined or indicated in the bitstream.
- the offsetting operation might correspond to adding an additive element to the sample, again wherein the value of the additive element might be indicated in the bitstream or inferred or predetermined.
- Another operation might be tiling operation, wherein samples are first tiled (grouped) into overlapping or non-overlapping regions, wherein each region is processed independently. For example the samples corresponding to the luma component might be divided into tiles with a tile height of 20 samples, whereas the chroma components might be divided into tiles with a tile height of 10 samples for processing.
- Another operation might be application of wavefront parallel processing. In wavefront parallel processing, a number of samples might be processed in parallel, and the amount of samples that can be processed in parallel might be indicated by a control parameter.
- the said control parameter might be indicated in the bitstream, be inferred, or can be predetermined.
- the number of samples that can be processed in parallel might be different, hence different indicators can be signalled in the bitstream to control the operation of luma and chrome processing separately.
- the vertical arrows (with arrowhead pointing downwards) indicate data flow related to secondary color components coding. Vertical arrows show data exchange between primary and secondary components pipelines.
- the input signal to be encoded is notated as ⁇ , latent space tensor in bottleneck of variational auto- encoder is ⁇ .
- Subscript “Y” indicates primary component
- subscript “UV” is used for concatenated secondary components, there are chroma components.
- Fig.8 illustrates learning-based image codec architecture. First the input image that has RGB color format is converted to primary (Y) and secondary components(UV). The primary component ⁇ is coded independently from secondary components ⁇ and the coded picture size is equal to input/decoded picture size.
- the secondary components are coded conditionally, using ⁇ as auxiliary information from primary component for encoding ⁇ and using ⁇ as a latent tensor with auxiliary information from primary component for decoding ⁇ ⁇ reconstruction.
- the codec structure for primary component and secondary components are almost identical except the number of channels, size of the channels and the several entropy models for transforming latent tensor to bitstream, therefore primary and secondary latent tensor will generate two different bitstream based on two different entropy models.
- ⁇ ⁇ Prior to the encoding ⁇ ⁇ , ⁇ ⁇ goes through a module which adjusts the sample location by down- sampling (marked as “s ⁇ ” on Fig.1), this essentially means that coded picture size for secondary component is different from the coded picture size for primary component.
- the size of auxiliary input tensor in conditional coding is adjusted in order the encoder receives primary and secondary components tensor with the same picture size.
- the secondary component is rescaled to the original picture size with a neural-network based upsampling filter module (“NN-color filter s ⁇ ” on Fig. 1), which outputs secondary components up-sampled with factor ⁇ .
- a neural-network based upsampling filter module (“NN-color filter s ⁇ ” on Fig. 1)
- ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ are the reconstructed outputs corresponding to the primary and secondary components.
- ⁇ ⁇ , ⁇ ⁇ are converted back to RGB color format.
- FIG.9 illustrates synthesis transform example for learning based image coding.
- the example synthesis transform above includes a sequence of 4 convolutions with up-sampling with stride of 2.
- the synthesis transform sub-Net is depicted on Fig.9.
- the size of the tensor in different parts of synthesis transform before cropping layer is the diagram on Fig.9.
- the scale factor might be 2 for example, wherein the secondary component is downsampled by a factor of 2.
- the operation of the cropping layers depend on the output size H,W and the depth of the cropping layer.
- the depth of the left-most cropping layer in Fig. 9 is equal to 0.
- the output of this cropping layer must be equal to H, W (the output size), if the size of the input of this cropping layer is greater than H or W in horizontal or vertical dimension respectively, cropping needs to be performed in that dimension.
- the second cropping layer counting from left to right has a depth of 1.
- the operation of cropping layers are controlled by the output size H,W. In one example if H and W are both equal to 16, then the cropping layers do not perform any cropping. On the other hand if H and W are both equal to 17, then all 4 cropping layers are going to perform cropping.
- the bitwise shift operator can be represented using the function ⁇ h ⁇ ( ⁇ , ⁇ ) , where n is an integer number.
- n is greater than 0, it corresponds to right-shift operator (>>), which moves the bits of of the input to the right, and the left-shift operator ( ⁇ ), which moves the bits to the left.
- the output of the bitshift operation is an integer value.
- the floor() function might be added to the definition.
- Floor( x ) is equal to the largest integer less than or equal to x.
- the “//” operator or the integer division operator It is an operation that comprises division and truncation of the result toward zero. For example, 7 / 4 and ⁇ 7 / ⁇ 4 are truncated to 1 and ⁇ 7 / 4 and 7 / ⁇ 4 are truncated to ⁇ 1.
- x >> y Arithmetic right shift of a two's complement integer representation of x by y binary digits. This function is defined only for non-negative integer values of y.
- bits shifted into the most significant bits (MSBs) as a result of the right shift have a value equal to the MSB of x prior to the shift operation.
- MSBs most significant bits
- x ⁇ y Arithmetic left shift of a two's complement integer representation of x by y binary digits. This function is defined only for non-negative integer values of y.
- Bits shifted into the least significant bits (LSBs) as a result of the left shift have a value equal to 0. 1.10
- Convolution operation The convolution is a fairly simple operation at heart: you start with a kernel, which is simply a small matrix of weights.
- This kernel “slides” over the input data, performing an elementwise multiplication with the part of the input it is currently on, and then summing up the results into a single output pixel.
- the convolution operation might comprise a “bias”, which is added to the output of the elementwise multiplication operation.
- the convolution operation might be described by the following mathematical formula.
- An output out1 can be obtained as: wherein w1 are the multiplication factors, K1 is called a bias (an additive term) and ⁇ ⁇ is the k th input, and N is the kernel size in one direction and P is the kernel size in another direction.
- the convolution layer might consist of convolution operations wherein more than one output might be generated.
- the output is equal to a*y.
- the a is typically (not limited to) a value that is smaller than 1 and greater than 0. Since the multiplier a is smaller than 1, it can be implemented either as a multiplication with a non-integer number, or with a division operation. The multiplier a might be called the negative slope of the leaky relu function. 1.12 Relu activation function The relu activation function is depicted in Fig.11. According to the function, if the input is a positive value, the output is equal to the input. If the input (y) is a negative value, the output is equal to 0. 1.13
- the JPEG AI image coding standard The existing design utilizes some NN-based image coding methods described mentioned above.
- padding layer padding layer is denoted as ⁇ ( ⁇ , ⁇ , ⁇ , ⁇ ) , where ⁇ , ⁇ are height and width of tensor – input to Analysis transform, ⁇ ⁇ is stride of proceeding convolution, ⁇ is depth of convolution layer in deep learnable encoder.
- padding is performed by replication.
- Cropping layer cropping layer is denoted as ⁇ ( ⁇ , ⁇ , ⁇ , ⁇ ), where ⁇ , ⁇ are height and width of tensor – output to Synthesis transform, ⁇ ⁇ is stride of proceeding transposed convolution, ⁇ is depth of convolution layer in deep learnable reconstruction process.
- Table 2 Tensor size parameters for primary and secondary components decoding. Table 3 Supported combinations of output picture format and scaling factors 3.
- Latent space tiles decoding can be enabled for each component independently by flags signalled in picture header (section 9.3). If tile_enable_Luma or tile_enable_Choma is true then corresponsing component is decoded unsing latent tiling process illustrated on Fig.12. The number and location of tiles are determined by values tile size ⁇ ⁇ (equal to tile_size_Luma for primary component and tile_size_Chroma for secondary component ) and tile overlap ⁇ ⁇ (tile_ overlap _Luma for primary component tile_ overlap_Chroma for secondary component ) signalled in picture header (section 9.3).
- Code stream layout Code stream structure is depicted in Fig.13.
- the code stream is composed of six parts with byte boundary, which are: 1. SOC - Start Of Codestream marker; 2. PIH (Picture Header marker) followed by picture header (section 9.3); 3. TOH (Tools Header marker) followed by tools information (section 9.3.1.1); 4. SOQ (start of Quality map marker) followed by code stream; 5. SOZ (Start of Z-stream marker) followed codestream of hyper tensor z, including ⁇ ⁇ ( " ⁇ ⁇ " in Fig. 14, which illustrates a general JPEG AI decoder structure) and ⁇ (" ⁇ ⁇ " in Fig. 14); 6.
- bit_s_ver is one bit value which defines s_ver which is used for align coding subsampling mode of the secodary component and subsampling mode in output picture format in vertical direction as defined in Table 3. Usage of s_ver is descried in section 7.6 If bit_c_ver is not present in bit-stream then s_ver is equal to 1.
- tile_enable_Luma and tile_enable_Chroma are enable flags for tiling of primary and secondary components.
- tile_size_Luma and tile_size_Chroma are size of tiles for primary and secondary components.
- tile_overlap_Luma and tile_overlap_Luma are sizes of tiles overlapping areas for primary and secondary components.
- cube_group_flag is 1-bit unsigned integer.
- cube_luma_flag is 1D array of size ((h ⁇ , ⁇ + 7) ⁇ 3) ⁇ (( ⁇ , ⁇ + 7) ⁇ 3) , which contains cube flags for primary component.
- 1 indicates Skip Mode is applied to one cube of residual tensor of primary component ⁇ ⁇ .
- 0 indicates Skip Mode is disable for one cube of residual tensor of primary component ⁇ ⁇ .
- cube_chroma_flag is 1D array of size ((h ⁇ , ⁇ + 7) ⁇ 3) ⁇ (( ⁇ , ⁇ + 7) ⁇ 3) , which contains cube flags for secondary component.
- 1 indicates Skip Mode is applied to one cube of residual tensor of secondary component ⁇ ⁇ .
- Quality map information decoder The input of this process is – Codestream for quality_map; – Indicators for sigma tables which are decoded in picture header: o quality_map_entropy_index_y for primary component. o quality_map_entropy_index_uv for secondary component.
- the output of this process is – quality_map_delta _Y is an array of size [ ⁇ , h ⁇ ] with information used for deriving scaling factor (section 12.2) for primary component residual tensor.
- quality_map_delta _UV is an array of size [ ⁇ , h ⁇ ] with information used for deriving scaling factor (section 12.2) for secondary component residual tensor.
- H ere sizes [ ⁇ , h ⁇ ] and [ ⁇ , h ⁇ ] are defined in Table 2.
- q_primary_sigma_Idx is a 1D array of size h ⁇ ⁇ ⁇ , and each element in this array is equal to q_sigma_Idx[quality_map_entropy_index_y], where the q_sigma_Idx[k] is derived according to Table 4.
- q _secondary_sigma_Idx is a 1D array of size h ⁇ ⁇ ⁇ , and each element in this array is equal to q_sigma_Idx[quality_map_entropy_index_uv].
- q _primary is a 1D array of size h ⁇ ⁇ ⁇
- 32 F1245807PCT q_secondary is a 1D array of size h ⁇ ⁇ ⁇
- ⁇ ⁇ , ⁇ ⁇ , h ⁇ are defined in Table 2.
- the input of hyper scale decoder is ⁇ ⁇ [ ⁇ ,h ⁇ , ⁇ ⁇ ] reconstructed hyper tensor, ⁇ sizes of input/output tensor ⁇ ⁇ , ⁇ ⁇ , ⁇ operation point indicator ⁇ , ⁇ model parameters for Hyper Scale Decoder Net defined by pair ( ⁇ , ⁇ ), all multiplier parameters in those models are 8-bits integer.
- the output of hyper scale decoder is standard deviation logarithm tensor ⁇ ⁇ [ ⁇ ,h ⁇ , ⁇ ⁇ ] with integer values in a range defined in section 0. Sizes of those tensors for primary and secondary components are listed in Table 2.
- Hyper scale decoder starts with quantized convolution kernel size 1 ⁇ 1 , stride 1, followed by rectified linear unit. Then there is a stride 1 quantized convolution with kernel size 3 ⁇ 3 , followed by rectified linear unit. The next stride 1 quantized convolution (kernel size 1 ⁇ 1) increases the number of channels to 16 ⁇ . It is followed by pixel shuffle (stride 4), which brings number of channels back to ⁇ .
- the cropping layer (stride 4, depth 5) ensures the size of output tensor is [ ⁇ , h ⁇ , ⁇ ].
- the process concluded with abs operation.
- Model with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in ⁇ oper_point>/model_ ⁇ MID>/ ⁇ COMP>/hyper_scale_decoder.onnx, where ⁇ oper_point> is “base” or “high”, ⁇ MID> is an integer from 0 to 5, ⁇ COMP> is “primary” or “secondary”.
- (11.2) Hyper Decoder The learning-based hyper decoder consists of two independent pipe-lines with identical 36 F1245807PCT neural network architecture, except input size and number of channels.
- the input of this process is ⁇ ⁇ [ ⁇ , h ⁇ , ⁇ ] reconstructed hyper latent tensor, ⁇ model parameters for Hyper Decoder Net defined by ( ⁇ ) , ⁇ operation point indicator ⁇ .
- Hyper decoder process is depicted in Fig.16. Hyper decoder starts stride 1 convolution with kernel size 1 ⁇ 1, followed by inverse convolution (stride 2, kernel size 4 ⁇ 4), cropping layer (depth 6) and leacky rectified linear unit.
- Next step is stride 1 convolution with kernel size 3 ⁇ 3, followed by inverse convolution (stride 2, kernel size 4 ⁇ 4), cropping layer (depth 5) and leacky rectified linear unit. Number of channels kep un- changed till this point (equal to number of channels ⁇ of input tensor).
- Hyper decoder concluded by stride 1 convolution with kernel size 3 ⁇ 3 which increases number of channels to 2 ⁇ for high operation point and keeps number fo channes unchanged for base operation point followed by leacky rectified linear unit.
- Model with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in ⁇ oper_point>/model_ ⁇ MID>/ ⁇ COMP>/hyper_decoder.onnx, where ⁇ oper_point> is “base” or “high”, ⁇ MID> is an integer from 0 to 5, ⁇ COMP> is “primary” or “secondary”. 17.
- ⁇ up-shuffle (11.5.2) M 2 and cropping layer (depth 5, stride 2) ⁇ [4 ⁇ , h ⁇ , ⁇ ] to ⁇ ′[ ⁇ ,h ⁇ , ⁇ ].
- ⁇ up-shuffle (11.5.2) M 2 and cropping layer (depth 5, stride 2) ⁇ [4 ⁇ , h ⁇ , ⁇ ] to ⁇ [ ⁇ , h ⁇ , ⁇ ] (to be further used in LSBS process 13.4.2).
- Multi-stage context modelling process is depicted in Fig.17. This is a recurrent process: later stages uses previously obtained elements of output tensor as an input. Data flow which corresponds usage of previous stages output is marked with arrows in Fig.17.
- a JPEG marker is placed at the beginning of coded bits for each region. ii. In one example, for a region, a JPEG marker is placed at the beginning of each type (hyper tensor, primary component residual, or secondary component residual) of coded bits. iii. In another example, for a region, a JPEG marker is placed at the beginning the hyper tensor coded bits, but not at the beginning of the coded bits of the other types (i.e., primary component residual and secondary component residual). d.
- a first number of regions is applied on the hyper tensor coded bits, a second number of regions is applied on the primary component residual coded bits, and a third number of eregions is applied on the secondary component residual coded bits, and the numbers may satisfy: i. It may be required that the first number should be equal to the second number. ii. It may be required that the first number should be equal to the third number. iii. It may be required that the second number should be equal to the third number. iv.
- a single indication may be signaled to indicate the number of regions. 1. The first number, and/or the second number and/or the third number may be set equal to the signaled number of regions, without being signaled individually.
- NN-based image and/or video coding methods apply: a. Enable partitioning a picture into multiple vertically-split regions. i. E.g. the number of vertical splits is indicated. 45 F1245807PCT ii. In one example, the number of vertical splits minus 1 is signalled. iii. In one example, the number of vertical splits is signalled and the value is constrained to be greater than 0. b. Enable partitioning a picture into multiple horizontally-and-vertically-split regions. i. E.g. the number of vertical splits and/or the number of horizontal splits are indicated. ii.
- the number of vertical splits minus 1 and the number of horizontal splits minus 1 are signalled. iii. In one example, the number of vertical splits and the number of horizonal splits are signalled and the values are both constrained to be greater than 0. c. Additionally, the maximum number of vertically-split and/or horizontally-split regions is constrained. i. In one example, the maximum number of regions is equal to a positive integer N, which may depend on the profile and level. d. Additionally, the position of vertically-split and/or horizontally-split regions is constrained. i.
- the upper-left luma position of a region shall be located at (2 ⁇ X, 2 ⁇ Y) relative to the upper-left luma position of the picture, where X and Y are non-negative integers. 1. In one example, both X and Y are equal to 4. 2. In one example, both X and Y are equal to 5. 3. In one example, both X and Y are equal to 6. e.
- the minimal number of luma samples and/or chroma samples contained in one region is constrained. i. In one example, the number of luma samples in one region shall be no smaller than 2. ii. In one example, the number of luma samples in one region shall be no smaller than 4. iii.
- the number of luma samples in one region shall be no smaller than 16. iv. In one example, the number of luma samples in one region shall be no smaller than 64. f. Alternatively, the maximum number of luma samples and/or chroma samples contained in one region is constrained. 46 F1245807PCT i. In one example, the number of luma samples in one region shall be smaller than a positive integer N, which may depend on the profile and level.)
- an indication of regional access capability is signalled in a bitstream coded by an NN-based coder, e.g., to an NN-based decoder such as a JPEG-AI decoder, e.g., in the picture header. a.
- the indication indicates that it is possible to decode a region independently from other regions. i. In one example, the indication may indicate that it is possible to decode each region independently from other regions. b. In one example, the indication indicates that it is possible to correctly decode a region independently from other regions. i. In one example, the indication may indicate that it is possible to correctly decode each region independently from other regions. c. In one example, when it indicated that regional access is enabled, one or more of the following constraints are imposed: i. Each luma or chroma sample on a region boundary shall also be on a tile boundary. ii. Each tile is a subset of a region.
- tile width is less than or equal to region width
- tile height is less than or equal to region height.
- Tiles for luma and for chroma are aligned. This implies that (tile_size_Luma_ver+ ⁇ ⁇ -1)/ ⁇ ⁇ shall be equal to tile_size_Chroma_ver, a nd (tile_size_Luma_hor+ ⁇ -1)/ ⁇ shall be equal to tile_size_Chroma_hor. )
- an indication is signalled for a region to indicate whether the entire region can be correctly decoded independently from other regions.
- the padding amount might be determined according to the modulo of the region size. 3.
- the padding might be repetitive padding or padding with a constant value. ii. Additionally or alternatively, the region size might be multiple of M samples. 1.
- the M might be of the form 2 N , wherein N might be a non-negative integer. 2.
- the M might be 64, or 128, or 256. 3.
- all of the regions that are not at the right or bottom image boundary might be restricted to have a size that is multiple of M. 4.
- no padding might be necessary for processing of the said region. Since padding requires extra processing, restricting the region sizes to be multiple of 64 eliminates the extra processing. a.
- the padding operation might be necessary only at the regions that coincide with right or bottom image boundary. 48 F1245807PCT b.
- the padding operation might be performed in a way to make the region size multiple of 64.
- the following might be performed. a.
- the process of entropy decoding of a region might be performed independently from other regions.
- the process of sample prediction of latent tensor reconstruction of a region might be performed independently from other regions.
- the process of filtering of a region might be performed independently from other regions.
- the filtering process might comprise a convolution operation. ii.
- the convolution process might comprise padding (repetitive padding or padding with a constant), if the convolution process requires samples outside of a region. iii.
- the convolution process might be restricted to use samples inside of a region. iv.
- the convolution process might be implemented as cross-correlation process.
- the process of tensor reconstruction of a region might be performed independently from other regions. i.
- a bitstream might be decoded according to an order, wherein all samples corresponding to a region might be decoded before decoding of any samples corresponding to another region. 1.
- a hyper latent (or a hyper tensor substream) of a region might be decoded first, 2.
- a primary residual stream of a region might be decoded secondly, and 3.
- Any of the above mentioned processed might comprise a neural network that might be applied to process a region independently from other regions.
- the said neural network might be a hyper decoder or a hyper scale decoder or alike.
- the output of the neural network might be standard deviation logarithm tensor, standard deviation tensor or alike.
- the output of the neural network might be prediction tensor, explicit prediction tensor or alike.
- the said neural network might be performed multiple times on each of the regions in decoding of an image.
- a cropping might be applied during or at the end of the processing with the neural network, wherein the cropping among is determined according to the region size. 1.
- Cropping might be applied only if a region shares a boundary with the bottom or right boundary of an image. 2. Cropping might not be applied if a region does not share any boundary with the bottom or right boundary of an image.
- a lossless decoder (arithmetic decoder, asymmetric numeral systems or alike) might be applied to obtain the residuals corresponding to a region independently of other regions.
- the probability parameters of a region might be obtained independently of other regions.
- Probability parameters e.g. sigma parameters, gaussian sigma parameters etc.
- corresponding to a region might be used to decode the samples of only one region and not used to obtain (i.e. decode) the samples of a second region.
- the sample prediction of latent sample prediction process might comprise a multi- state context model process.
- the coordinates of a region e.g. vertical coordinate, horizontal coordinate
- the size of a region might be determined according to image size and a depth parameter.
- Vertical coordinate of a region might be obtained according to 50 F1245807PCT i*VerRegionSize/2 d .
- Horizontal coordinate of a region might be obtained according to i*HorRegionSize/2 d .
- I and j are the indices of the region
- img_width, img_height are the width and height of the image
- “d” is the depth of the tensor.
- a neural network used to process the regions might comprise multiple processing layers, each one processing an input tensor and outputting an output tensor.
- the depth parameters might correspond to the position of a tensor output.
- a first bitstream coded with at least one NN may be processed to get a second bitstream and the second bitstream may be decoded.
- a sub-stream denoted as the second bitstream may be extracted from the first bitstream, and the sub-stream may be decoded.
- the sub-stream may be a subset of the first bitstream. 1.
- the sub-stream may be a modified subset of the first bitstream. ii.
- a sub-stream may correspond to a region in the picture corresponding to the first bitstream.
- whether and/or how the first bitstream is processed to generate the second bitstream may be indicated in the first and/or second bitstream.
- data corresponding to a region might be removed and/or extracted from the bitstream.
- the data might be a substream, a bitstream, a syntax element or like.
- the data might comprise quality map information, a residual data, luma residual data, chroma residual data, a hyper latent data, residual latent data or alike.
- An indication might be included in the bitstream to indicate data corresponding to which region is present (or absent) in a bitstream. i.
- the indication might be an index. 51 F1245807PCT 1.
- the indication might indicate a region index or a substream index. 2.
- the indication might be a list of indices, wherein each entry of the list might indicate the regions that are removed from the bitstream. 3.
- the indication might be a list of indices, wherein each entry of the list might indicate the regions that are present in the bitstream. ii.
- the indication might be a flag. 1. The flag might indicate if a region is present in the bitstream or absent in the bitstream. iii. The indication might indicate the number of regions that are present or absent in the bitstream. 1.
- the indication might indicate the number of regions in a vertical dimension or a horizontal dimension that are present or absent in a bitstream. 2.
- the indication might be num_present_hor_splits_minus1 or num_present_ver_splits_minus1. 3.
- the indication might indicate total number of regions present or absent in the bitstream.
- An indication might be included in the bitstream to indicate if data corresponding to a region is present (or absent) in a bitstream.
- the data might comprise information related to; 1. part of a region. 2. residual information of a region. 3. hyper latent information of a region. 4. Quality map information of a region ii.
- a first indication might be included in the bistream to indicate the size of the data. 1.
- the first indication might indicate the number of bits or number of bytes. 2.
- the first indication might be coded using predictive coding. 3.
- the first indication might be z_stream_size, q_stream_size, r_primary_stream_size, or r_secondary_stream_size as exemplified in embodiment 1 or 2.
- An indication might be included in the bitstream to indicate if all regions are included in the bitstream or if a region is removed and/or extracted from the bitstream.
- the indication might be a flag. ii.
- the indication might be a region_set_exracted_flag flag. iii. If the value of the indication is true (or false), a second indication might be included in the bitstream to indicate: 1. number of regions that are removed (or present). 2. The indices of regions that are removed or present. 3.
- Samples corresponding to a neighbor region of the said independent region are not used in the processing of at least one processing module.
- 53 F1245807PCT The processing module might be a hyper decoder, a hyper scale decoder, a sample prediction module, a latent prediction module, an MCM (multi-stage-context) module, an entropy decoding module or a synthesis transform module, etc. 2.
- the input of the processing module is set to comprise only the samples corresponding to said independent region.
- the output of the processing module is assigned to the said independent region. ii. Samples corresponding to none of the neighbor regions of the said independent region are used in the processing of at least one processing module. c. If a region is indicated to be decoded dependently: i.
- An independent region cannot be removed from the bitstream if a dependent region is present in the bitstream that requires samples from the said independent region.
- a sample corresponding to an independent region or a dependent region might be used in the processing of a dependent region.
- the bitstream corresponding to a region might be encoded/decoded using an entropy coder in parallel.
- a data corresponding to a region might be coded/decoded using an entropy coder/decoder in parallel.
- the data might comprise information related to; 1. part of a region. 2. residual information of a region. 3. hyper latent information of a region. 4. Quality map information of a region. b.
- the indication might be same for different data types.
- the above mentioned parallel processing units e.g. number of threads
- the parallel processing units e.g. number of threads
- the maximum number of parallel processing units might be determined based on: i.
- a profile indication ii.
- a picture size indication iii.
- the maximum number or maximum size or minimum size of a region might be determined based on: a. A profile indication, b. A picture size indication.
- the regions might be centrally aligned, equipartitioned or shifted.
- An indication might be included in the bitstream to indicate that region coordinates are shifted.
- the regions might be equipartitioned. E.g. the regions might have same size except for the right or bottom boundary. i. An example is depicted in Fig.19 on the left. The 4 regions (except for the regions at the right and bottom boundary have equal sizes).
- the regions might be shifted. Compared to the equipartitioned case, the regions might be shifted to: i. Extend the size of the regions on the left and/or top boundary, and/or ii. Reduce the size of the regions at the right and/or bottom boundary.
- iii An example is depicted in Fig.19 on the right. d.
- the processing areas corresponding to a region might be centrally aligned or shifted; i.
- the tensor used as input to a first 56 F1245807PCT processing module might be centrally aligned with the tensor used as input to a second processing module.
- ii During the processing of a region the tensor used as input to a first processing module might be shifted with respect to the tensor used as input to a second processing module.
- Figs. 20A-20C which illustrate three example alignment schemes.
- Fig.20A illustrates a scheme with centrally aligned processing areas corresponding to a region
- Fig. 20B illustrates an example of shifted areas
- Fig. 20C illustrates a further example of shifted areas.
- the processing of a synthesis transform might be performed according to centrally aligned regions. And at least one processing unit is performed using non-aligned (e.g. shifted) regions.
- the processing of a synthesis transform might be performed according to centrally aligned regions.
- at least one processing unit is performed using either the centrally aligned or non-aligned (e.g. shifted) regions.
- the at least one processing unit might be one or more of the following: 1. Hyper decoder, 2.
- the determination of if centrally aligned regions are used or not is determined based on an indication. 1.
- the indication might be included in a bitstream. 2.
- the indication might be inferred based on one or more of the following: a. Picture size, b. profile indication, c. level indication, d. etc. )
- the correspondence between an index of a sub-stream and a region in the original picture may depend on at least one signaled indication.
- the location (such as the coordinate of the top-left position) and/or the size (such as width and height) of the region corresponding with an index may be signaled.
- the correspondence between an index of a sub-stream and a region in the original picture may be derived.
- the location (such as the coordinate of the top-left position) and/or the size (such as width and height) of the region corresponding with an index may be derived based on the region partitioning way of the whole picture and/or the index scanning order of regions. 14)
- Constrains may be applied to regions in a picture coded with at least one NN. a. For example, two regions should not be overlapped. b. For example, all regions should cover the whole picture.
- the region location (such as the coordinate of the top-left position denoted as (X, Y)) may be constrained.
- X and/or Y must be in a form of k ⁇ N, where k is an integer and N is a predefined integer such as 2, 4, 8, 16.
- the region size (such as width W and height H) may be constrained.
- X and/or Y must be in a form of k ⁇ N, where k is an integer and N is a predefined integer such as 2, 4, 8, 16. e.
- the number of total regions may be no larger than a predefined integer such as 16. f.
- the number of rows of regions may be no larger than a predefined integer such as 8. g.
- the number of columns of regions may be no larger than a predefined integer such as 8. 15)
- a syntax element signaled related to region based coding with at least one NN may be coded in a predictive way.
- Additional operations may be applied to or with the proposed method.
- a syntax element (a.k.a. an indication) disclosed above may be binarized as a flag, a fixed length code, an EG(x) code, a unary code, a truncated unary code, a truncated binary code, etc. It can be signed or unsigned.
- a syntax element representing a coding tool or a coding method may not be signalled and implicitly determined to be unused, if the coding tool or the coding method is regarded as not applicable or cannot be used.
- 58 F1245807PCT c) A syntax element disclosed above may be coded with at least one context model. Or it may be bypass coded. d) A syntax element disclosed above may be signaled in a conditional way. e) A syntax element disclosed above may be signaled at block level/ sequence level/group of pictures level/picture level/slice level/tile group level. f) Whether to and/or how to apply the disclosed methods above may be signalled at block level/ sequence level/group of pictures level/picture level/slice level/tile group level.
- padding layer is denoted as ⁇ ( ⁇ ) , where ⁇ , ⁇ are height and width of the input tensor and ⁇ is stride.
- Padding layer receives tensor of size [ ⁇ , ⁇ , ⁇ ] and outputs tensor of size [ ⁇ , ⁇ + ⁇ % ⁇ , ⁇ + ⁇ % ⁇ ].
- Default padding is performed by replication when the padding mode is not explicitly specified.
- Different model of padding can be specified (for example, padding by zeros). 2.
- cropping layer 59 F1245807PCT cropping layer is denoted as ⁇ ( ⁇ , ⁇ , ⁇ , ⁇ ), where ⁇ , ⁇ are height and width of tensor – output to Synthesis transform, ⁇ ⁇ is stride of proceeding transposed convolution, ⁇ is depth of convolution layer in deep learnable reconstruction process.
- Cropping layer outputs a tensor of size [ ⁇ , ⁇ , ⁇ ] by discarding redundant elements.
- the number and location of tiles are determined by values tile size ⁇ ⁇ and ⁇ ⁇ (equal to tile_size_Luma hor and tile_size_Luma_ver for primary component and tile_size_Chroma_hor and tile_size_Chroma_ver for secondary component respectively ) and tile overlap ⁇ ⁇ (tile_ overlap _Luma for primary component tile_overlap_Chroma for secondary component ) signalled in picture header (section 9.3).
- tiles coordinates and sizes o ⁇ ( ⁇ ) ⁇ ⁇ ⁇ ( ⁇ ⁇ ⁇ ) – vertical dimension tile start in signal domain; ⁇ top tile boundary is not at image boundary and ⁇ top tile boundary is not at a region boundary with independent_region_flag equal to 1.
- ⁇ left tile boundary is not at image boundary and ⁇ left tile boundary is not at a region boundary with independent_region_flag equal to 1.
- o ⁇ ( ⁇ ) ⁇ ⁇ ( ⁇ ( ⁇ ) ⁇ ⁇ ⁇ ) – horizontal dimension tile size in latent space.
- Code stream layout Code stream structure is depicted in Fig.22.
- the code stream is composed of the following parts with byte boundary, which are: 9. SOC - Start Of Codestream marker; 10. PIH (Picture Header marker) followed by picture header (section 9.3); 11. TOH (Tools Header marker) followed by tools information (section 9.3.1.1); 12. SOR (Start of region-stream marker) followed by codestream of hyper tensor z, including ⁇ ⁇ (" ⁇ ⁇ " in Fig. 23) and ⁇ (" ⁇ ⁇ " in Fig. 23), codestream of primary component residual, which includes (" ⁇ ⁇ ⁇ " in Fig. 23), and codestream secondary component residual, which includes ⁇ ⁇ (" ⁇ ⁇ ⁇ " in Fig. 23).
- num_present_ver_splits_minus1 shall be less than or equal to num_ver_splits_minus1.
- num_present_hor_splits_minus1 plus 1 specifies the number of rows of regions contained in the picture() syntax strucure.
- the value of num_present_hor_splits_minus1 shall be less than or equal to num_hor_splits_minus1.
- bit_s_ver is one bit value which defines s_ver which is used for align coding subsampling mode of the secodary component and subsampling mode in output picture format in vertical direction as defined in Table 3. Usage of s_ver is descried in section 7.6 If bit_c_ver is not present in bit- stream then s_ver is equal to 1.
- the maximum value of NumVerSplits may also be further constrained depending on the profile and the level to which the codestream conforms.
- VerRegionSize is set equal to (((img_height + 127)/128)/NumHorSplits)*128.
- num_hor_splits_minus1 plus 1 specifies the number of horizontal splits.
- the variable NumHorSplits is derived to be equal to num_hor_splits_minus1 + 1.
- the maximum value of NumHorSplits is constrained such that the height of each horizontal split shall be greater than or equal to 128 pixels.
- the maximum value of NumHorSplits may also be further constrained depending on the profile and the level to which the codestream conforms.
- the picture is partitioned into NumVerSplits * NumHorSplits rectangular regions.
- the variable HorRegionSize is set equal to (((img_width + 127)/128)/NumVerSplits)*128.
- regional_access_enabled_flag 0 specifies that there may or may not be such a subset of each rectangular region that can be correctly decoded without the presence of coded data of other rectangular regions. 67 F1245807PCT When regional_access_enabled_flag is equal to 1, the following constraints apply: - The value of tile_size_Luma_ver shall be less than or equal to VerRegionSize. - The value of tile_size_Luma_hor shall be less than or equal to HorRegionSize. - (tile_size_Luma_ver+ ⁇ -1)/ ⁇ shall be equal to tile_size_Chroma_ver.
- independent_region_flag[ i ][ j ] 1 specifies that the rectangular region on the i-th row and the j-th column can be correctly decoded without the presence of coded data of other rectangular regions.
- independent_region_flag[ i ][ j ] 0 specifies that the rectangular region on the i-th row and the j-th column may or may not be correctly decoded without the presence of coded data of other rectangular regions.
- num_threads_z_minus1 plus 1 is the number of parallelly decodable sub-stream in the hyper tensor codestream; the maximum value of num_threads_z_minus1 is 127. num_threads_q_minus1 plus 1 is the number of parallelly decodable sub-stream in the quality map codestream; the maximum value of num_threads_q_minus1 is 127. num_threads_r_primary_minus1 plus 1 is the number of parallelly decodable sub-stream in primary component residual tensor codestream; the maximum value of num_threads_r_primary_minus1 is 127 and is dependens on profiles and levels.
- num_threads_r_secondary_minus1 plus 1 is the number of parallelly decodable sub-stream in secondary component residual tensor codestream; the maximum value of num_threads_r_secondary_minus1 is 127 and is dependens on profiles and levels.
- independent_beta_uv is a flag (false/true) which indicates do the rate control parameter ( ⁇ ) for primary and secondary components are the same.
- beta_displacement_log_y – parameter indicating ratio between rate control parameter beta selected by encoder for primary component and one used in the model training.
- betaDisplacementLogY beta_displacement_log_y – 2 11
- beta_displacement_log_uv – parameter indicating ratio between rate control parameter beta selected by encoder for secondary component and one used in the model training.
- 68 F1245807PCT opIdx is an identificator for operation point, 0 means “base”, 1 means “high” operation point.
- tile_enable_Luma and tile_enable_Chroma are enable flags for tiling of primary and secondary components.
- tile_size_Luma_ver and tile_size_Chroma_ver are the sizes of tiles for primary and secondary components in the vertical direction.
- tile_size_Luma_hor and tile_size_Chroma_hor are the sizes of tiles for primary and secondary components in the horizontal direction.
- tile_overlap_Luma and tile_overlap_Luma are sizes of tiles overlapping areas for primary and secondary components.
- cube_group_flag is 1-bit unsigned integer.
- cube_luma_flag is 1D array of size ((h ⁇ , ⁇ + 7) ⁇ 3) ⁇ (( ⁇ , ⁇ + 7) ⁇ 3) , which contains cube flags for primary component.1 indicates Skip Mode is applied to one cube of residual tensor of primary component ⁇ ⁇ .0 indicates Skip Mode is disable for one cube of residual tensor of primary component ⁇ ⁇ .
- cube_chroma_flag is 1D array of size ((h ⁇ , ⁇ + 7) ⁇ 3) ⁇ (( ⁇ , ⁇ + 7) ⁇ 3) , which contains cube flags for secondary component.1 indicates Skip Mode is applied to one cube of residual tensor of secondary component ⁇ ⁇ .0 indicates Skip Mode is disable for one cube of residual tensor of secondary component ⁇ ⁇ .
- color_transform_enable is an enable flag for color convertion module.
- color_transform_matrix[i][j] is a matrix of color convertion. If not present (color_transform_enable is false) then default ITU-R BT.709 colour transform is used (refer to section 7.8).
- color_transform_offset[i] is an offset for color transformation If not present (color_transform_enable is false) then default ITU-R BT.709 colour transform is used (refer to section 7.8). 8. (9.5.1.1) Syntax table of hyper tensor 69 F1245807PCT 9. (9.5.2) Quality map information decoder The input of this process is – Codestream for quality_map; – Indicators for sigma tables which are decoded in picture header: o quality_map_entropy_index_y for primary component. o quality_map_entropy_index_uv for secondary component.
- quality_map_delta _Y is an array of size [ ⁇ , h ⁇ ] with information used for deriving scaling factor (section 12.2) for primary component residual tensor.
- quality_map_delta _UV is an array of size [ ⁇ , h ⁇ ] with information used for deriving scaling factor (section 12.2) for secondary component residual tensor.
- H ere sizes [ ⁇ , h ⁇ ] and [ ⁇ , h ⁇ ] are defined in Table 2.
- q_primary_sigma_Idx is a 2D array of size [ ⁇ ⁇ ⁇ ][], and each element in this array is equal to q_sigma_Idx[quality_map_entropy_index_y], where the q_sigma_Idx[k] is derived according to Table 4.
- q _secondary_sigma_Idx is a 2D array of size [ ⁇ ⁇ ⁇ ][], and each 70 F1245807PCT element in this array is equal to q_sigma_Idx[quality_map_entropy_index_uv].
- q _primary is a 2D array of size [ ⁇ ⁇ ⁇ ][]]
- q_secondary is a 2D array of size [ ⁇ ⁇ ⁇ ][].
- subIdx sample2SubstrIdx(4, i, j) • if mask_skip[c,i, j] is equal to True, sigma_Idx_primary_2D[subIdx][count[subIdx]] is set to equal to sigma_Idx_primary[c, i, j] and increase count[subIdx] by 1. 12. (9.5.3.1) Syntax table of primary residual tensor 72 F1245807PCT 13.
- subIdx sample2SubstrIdx(4, i, j) • if mask_skip[c,i, j] is equal to True, sigma_Idx_secondary_2D[subIdx][count[subIdx]] is set to equal to sigma_Idx_secondary[c, i, j] and increase count[subIdx] by 1. 14. (9.5.4.1) Syntax table of secondary residual tensor 73 F1245807PCT 15. (10.3) Hyper Latent Tensor Reconstruction Input of this process is reconstructed z_primary and z_secondary tensors.
- Output of this process is ⁇ [ ⁇ , ⁇ ⁇ , ⁇ ⁇ ] reconstructed hyper tensor.
- ⁇ s tensor is set equal to z_primary if primary component is being processed, or z_secondary tensor if secondary component is being processed.
- the input of hyper scale decoder is ⁇ ⁇ [ ⁇ ,h ⁇ , ⁇ ⁇ ] reconstructed hyper tensor, ⁇ sizes of input/output tensor ⁇ ⁇ , ⁇ ⁇ , ⁇ operation point indicator ⁇ , ⁇ model parameters for Hyper Scale Decoder Net defined by pair ( ⁇ , ⁇ ), all multiplier parameters in those models are 8-bits integer.
- the output of hyper scale decoder is standard deviation logarithm tensor [ ⁇ ,h ⁇ , ⁇ ⁇ ] with i nteger values in a range are defined in section 0. Sizes of those tensors for primary and secondary components are listed 74 F1245807PCT in Table 2.
- Hyper scale decoder starts with quantized convolution kernel size 1 ⁇ 1 , stride 1, followed by rectified linear unit. Then there is a stride 1 quantized convolution with kernel size 3 ⁇ 3 , followed by rectified linear unit. The next stride 1 quantized convolution (kernel size 1 ⁇ 1) increases the number of channels to 16 ⁇ . It is followed by pixel shuffle (stride 4), which brings number of channels back to ⁇ .
- the cropping layer (stride 4, depth 5) ensures the size of output tensor is [ ⁇ , h ⁇ , ⁇ ].
- the process concluded with abs operation.
- Model with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in ⁇ oper_point>/model_ ⁇ MID>/ ⁇ COMP>/hyper_scale_decoder.onnx, where ⁇ oper_point> is “base” or “high”, ⁇ MID> is an integer from 0 to 5, ⁇ COMP> is “primary” or “secondary”. 17.
- (11.2) Hyper Decoder The learning-based hyper decoder consists of two independent pipe-lines with identical neural network architecture, except input size and number of channels.
- the input of this process is ⁇ ⁇ [ ⁇ , h ⁇ , ⁇ ] reconstructed hyper latent tensor, ⁇ model parameters for Hyper Decoder Net defined by ( ⁇ ) , ⁇ operation point indicator ⁇ .
- Hyper decoder process is depicted in Fig.25. Hyper decoder starts stride 1 convolution with kernel size 1 ⁇ 1, followed by inverse convolution (stride 2, kernel size 4 ⁇ 4), cropping layer (depth 6) and leacky rectified linear unit.
- Next step is stride 1 convolution with kernel size 3 ⁇ 3, followed by inverse convolution (stride 2, kernel size 4 ⁇ 4), cropping layer (depth 5) and leacky rectified linear unit. Number of channels kep un- changed till this point (equal to number of channels ⁇ of input tensor).
- Hyper decoder concluded by stride 1 convolution with kernel size 3 ⁇ 3 which increases number of channels to 2 ⁇ for high operation point and keeps number fo channes unchanged for base operation point followed by 76 F1245807PCT leacky rectified linear unit. The hyper decoder operation is applied in tiled manner.
- Model with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in ⁇ oper_point>/model_ ⁇ MID>/ ⁇ COMP>/hyper_decoder.onnx, where ⁇ oper_point> is “base” or “high”, ⁇ MID> is an integer from 0 to 5, ⁇ COMP> is “primary” or “secondary”. 18.
- ⁇ up-shuffle (11.5.2) M 2 and cropping layer (h,w) ⁇ [ ⁇ , ⁇ , ⁇ ] to ⁇ _ ⁇ [ ⁇ , ⁇ , ⁇ ] (to be further used in LSBS process 13.4.2).
- Multi-stage context modelling process is depicted in Fig.26. This is a recurrent process: later stages uses previously obtained elements of output tensor as an input. Data flow which corresponds usage of previous stages output is marked with arrows in Fig.26.
- Models with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in high/model_ ⁇ MID>/ ⁇ COMP>/MCM/stage ⁇ N>.onnx, where ⁇ MID> is an integer from 0 to 5, ⁇ COMP> is “primary” or “secondary”, ⁇ N> is a number of MCM’s stage from 0 to 7. 21. (13.3.4) Decoder side SKIP operation At the decoder, the inputs of skip mode process are ⁇ 1D array s[num_res_elements] after decoding by me-tANS (section 9.5.2) to from the “ ⁇ ⁇ ⁇ ”, – mask_skip[C,h 4 ,w 4 ].
- the output of this process is ⁇ the residual tensor ⁇ [C,h 4 ,w 4 ].
- the output of the lossless decoding process is a 1D array ⁇ ⁇ ⁇ ⁇ , whose size is equal to the total number of “1”s in the mask_skip [C,h 4 ,w 4 ] tensor.
- the mask_skip 4,w4] tensor determines which samples of the residual tensor ⁇ are included in the bitstream. All of the other samples of the quantized residual tensor are inferred to be equal to zero.
- the ratio ⁇ between input domain size and output tensor size is fixed to 1 for each component.
- the minimum tile size is limited to 176 for the stable computation of the model selection explained next.
- 10 ICCI filters are included into the design.
- icci_model_idx 0, the ICCI processing is bypassed.
- the ICCI process is applied in a region based manner.
- the input of this process is ⁇ ⁇ ⁇ [1, ⁇ ⁇ , ⁇ ⁇ ] (output of synthesis transfor for primary component), ⁇ ⁇ ⁇ [2, ⁇ ⁇ , ⁇ ⁇ ] (output of synthesis transfor for secondary component),
- the output of this process is ⁇ enhanced secondary component ⁇ ′ ⁇ [ 2, ⁇ ⁇ , ⁇ ⁇ ] which goes to the ICCI filter block (section 14.1) and ⁇ ′′ ⁇ [ 2, ⁇ ⁇ , ⁇ ⁇ ] which goes to the non-linear filter block (section 14.3).
- Fig.27 illustrates an example implementation of primary component guided adaptive up- sampling filter.
- EFE_upsampler_enabled_flag is equal to 0, the ⁇ ′ ⁇ [ 2, ⁇ , ⁇ ] is up-sampled by bi-cubic interpolation as described in section 7.6. Otherwise the following ordered steps are performed: ⁇
- the parsing process according to parsing table in section 9.4.1. is invoked to obtain ⁇ ⁇ , ⁇ ⁇ , ⁇ ⁇ , ⁇ and ⁇ .
- ⁇ Tiling process is as described in section 14.2.2 is invoked with parsed syntax elements as inputs and Tile1 tensor as output.
- ⁇ Parameter update process as specified in section Section 14.2.1. is invoked with ⁇ and ⁇ ⁇ as inputs and modified ⁇ and ⁇ as outputs.
- LEF general process LEF process receives primary variance tensor ⁇ ,h ⁇ , ⁇ , ⁇ , ⁇ and reconstructed primary ⁇ ′ ⁇ [1, ⁇ , ⁇ ] as inputs.
- the output of LEF process is edge enhanced modified ⁇ ′ ⁇ [1, ⁇ , ⁇ ].
- the following ordered steps are performed: ⁇ Picture header parsing process is invoked as described in section Section 9.3. to obtain ⁇ ⁇ .
- ⁇ ⁇ h ⁇ is set equal to ⁇ _ ⁇ h ⁇ _ ⁇ _ ⁇ [ ⁇ ].
- T he weights tensor ⁇ is defined as follows: 1 ⁇ 13 1 ⁇ 13 5 ⁇ 13 1 ⁇ 13 1 ⁇ 13 1 ⁇ 13
- T he ⁇ _ ⁇ _ ⁇ _ ⁇ _ ⁇ is as follows:
- T he ⁇ _ ⁇ _ ⁇ _ ⁇ h ⁇ _ ⁇ _ ⁇ _ ⁇ is defined as follows: 5.2 Embodiment 2 Alternatively or additionally to the embodiment 1, the following might be a further implementation of the present disclosure. 1. (9.3.1) Syntax table 85 F1245807PCT q_ls indicates the number of bytes used to code the size of the q_stream.
- a conversion between the visual data and a codestream of the visual data is performed with a neural network (NN)-based model.
- a codestream may comprise a sequence of bits.
- the codestream may further comprise associated codes which are used as markers.
- the codestream may also be referred to as a bitstream.
- the conversion may include encoding the visual data into the codestream. Additionally or alternatively, the conversion may include decoding the visual data from the codestream.
- the decoding model shown in Fig.6 may be employed for decoding the visual data from the bitstream.
- an NN-based model may be a model based on neural network technologies.
- an NN-based model may specify sequence of neural network modules (also called architecture) and model parameters.
- the neural network module may comprise a set of neural network layers. Each neural network layer specifies a tensor operation which receives and outputs tensor, and each layer has trainable parameters. It should be understood that the possible implementations of the NN-based model described here are merely illustrative and therefore should not be construed as limiting the present disclosure in any way.
- a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions.
- the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region.
- each subset of residual samples corresponds to a set of samples covering a region of the visual data, and the region may be rectangular.
- the set of residual samples may be a residual tensor, and each of the plurality of subsets of residual samples may be a residual sub-tensor.
- the first indication equal to a first value (such as 1, or the like) 89 F1245807PCT may indicate that primary or secondary residual data for each region is in a substream. That is, residual data for different regions are encapsulated in different substreams.
- a region may be coded independently from other regions.
- the first indication equal to a second value (such as 0, or the like) may indicate that there is only one substream for primary residual data and only one substream for secondary residual data. That is, residual data for a component of different regions are encapsulated in the same substream.
- the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region.
- the first processing module may comprise at least one of the following: a hyper decoding module, a multistage context modelling (MCM) module, a synthesis transform module, a latent sample reconstruction module, a sample prediction module, an analysis transform module, a hyper scale decoding module, or the like.
- MCM multistage context modelling
- the plurality of regions may comprise a first region, and at least one padding amount for the first region may be determined based on an overlap amount between the first region and one or more regions neighboring to the first region.
- the at least one padding amount may comprise a padding amount in a left direction, a padding amount in a right direction, a padding amount in a bottom direction, a padding amount in a top direction, and/or the like.
- the number of samples to be discarded from an output of the first processing module may be determined based on the at least one padding amount. For example, in a process of merging samples of a set of regions into an output tensor of the first processing module, several samples of each region may be omitted.
- an overlap amount between two of the plurality of regions may 90 F1245807PCT be dependent on the first processing module.
- the codestream may further comprise at least one of the following: an indication indicating the overlap amount or a padding amount used in a hyper decoding module, or an indication indicating the overlap amount or a padding amount used in an MCM module.
- the overlap amount may be different for different processing modules.
- the second processing module may comprise at least one of the following: a synthesis transform module, an analysis transform module, an MCM module, a sample prediction module, a latent sample reconstruction module, a hyper decoding module, a hyper scale decoding module, or the like.
- residual samples for each of the plurality of regions may be coded independently from residual samples for the rest of the plurality of regions.
- At least one region among the plurality of regions may be partitioned into a plurality of tiles, and the number of the plurality of tiles may be an integer.
- a tile within a region may be allowed to overlap with a further tile within the same region and may be not allowed to overlap with a tile within a further region.
- tiles comprised in a same region may overlap while tiles from different are not allowed to overlap.
- the codestream may comprise a plurality of substreams, and each of the plurality of substreams corresponds to one of the plurality of regions.
- residual data of different regions may be encapsulated into different substreams.
- samples corresponding to one of the plurality of regions may be reconstructed independently from substreams corresponding to the rest of the plurality of regions.
- a substream corresponding to one of the plurality of regions may be allowed to be discarded.
- a decoder may read the marker ID in a substream and if the decoder doesn’t support the marker, the decoder may discard the remaining bytes of the substream. In this case, the discarding of a substream will not affect the correct coding of the other substreams, since they are coded independently.
- data corresponding to one of the plurality of regions may be allowed to be extracted from the codestream. In this case, at least one of the following may be indicated in the codestream: whether to extract the data from the codestream, or how to extract the data from the codestream.
- the data may comprise a substream, quality map information, residual data, luma residual data, chroma residual data, hyper latent data, residual latent data, and/or the like. It should be noted that discarding a part of data may also be regarded as extracting the rest of the data.
- the codestream comprising a second indication of a region indicates that residual data for the region is present in the codestream.
- the residual data may comprise residual samples for a primary component and/or residual samples for a secondary component.
- the second indication may comprise an index, a flag or the like.
- the codestream may further comprise an indication indicating a length of the second indication.
- the codestream may comprise a list of indices, wherein each entry of the list may indicate the regions that are absent from the codestream, or each entry of the list may indicate the regions that are present in the codestream.
- substreams of different regions among the plurality of regions may be coded using an entropy coder in parallel.
- the codestream may further comprise at least one of the following: an indication indicating the number of threads for coding residual codestream for a primary component, or an indication indicating the number of threads for coding residual codestream for a secondary component.
- a thread may be a parallel processing unit.
- a correspondence between an index of a substream and a region may be determined based on a raster scanning order of the plurality of regions.
- the codestream may further comprise an indication indicating a correspondence between an index of a substream and a region.
- the codestream may further comprise a third indication indicating a size of the substream.
- the size of the substream may be represented by the number of bytes.
- the size of the substream may be represented by the number of bits.
- the third indication may be coded using variable length coding.
- the third indication may be coded using fixed length coding, or predictive coding or the like.
- the maximum number of the plurality of regions may be dependent on aa profile to which the codestream conforms, a level to which the codestream 92 F1245807PCT conforms, a size of the visual data, and/or the like. Additionally or alternatively, a maximum size or a minimum size of one of the plurality of regions may be dependent on a profile to which the codestream conforms, a level to which the codestream conforms, a size of the visual data, the number of the plurality of regions, and/or the like. [0074] In some embodiments, except for regions at a right boundary or a bottom boundary, the rest of the plurality of regions may be of a same size.
- the right boundary and/or the bottom boundary may be a boundary of the visual data.
- the left subpicture of Fig. 19 illustrates an example of this case.
- the plurality of regions cover the entire visual data.
- a vertical size of one of the plurality of regions may be equal to a product of k_ver and N_ver, where k_ver may be an integer and N_ver may be a predetermined integer.
- a horizontal size of the region may be equal to a product of k_hor and N_hor, where k_hor may be an integer and N_hor may be a predetermined integer.
- k_ver may be determined based on the number of horizontal splits of the set of residual samples
- k_hor may be determined based on the number of vertical splits of the set of residual samples
- each of N_ver and N_hor may be equal to 128.
- the codestream may further comprise at least one of the following: an indication indicating the number of regions for which a substream is present in the codestream, an indication indicating the number of regions for which a substream is absent from the codestream, an indication indicating whether substreams for all of the plurality of regions are included in the codestream, an indication indicating whether a substream of a region is discarded from the codestream, or an indication indicating whether a substream of a region is extracted from the codestream.
- data corresponding to different regions among the plurality of regions may be allowed to be coded using an entropy coder in parallel.
- the data may comprise at least one of the following: information for a primary component, information for a secondary component, residual information, hyper latent information, or quality map information.
- the codestream may further comprise a fourth indication indicating the number of parallel processing units.
- the number of parallel processing units may be allowed to be different for different data to be processed in parallel.
- the number of parallel processing units and/or the maximum number of parallel processing units may be determined based on a profile to which the 93 F1245807PCT codestream conforms, a level to which the codestream conforms, a size of the visual data, the number of the plurality of regions, and/or the like.
- the plurality of regions may be centrally aligned or shifted. This has been discussed in detail above with reference to Figs. 20A-20C. Moreover, the codestream may further comprise an indication indicating whether region coordinates are shifted. [0080] In some embodiments, for processing a region, a tensor used as an input to a third processing module may be centrally aligned with a tensor used as an input to a fourth processing module. Alternatively, the tensor used as the input to the third processing module may be shifted with respect to the tensor used as the input to the fourth processing module.
- the processing of the region with a synthesis transform may be performed with centrally aligned tensors, and the processing of the region with a further processing module may be performed with non-aligned tensors.
- the processing of the region with a synthesis transform may be performed with centrally aligned tensors, and the processing of the region with a further processing module may be performed with centrally aligned tensors or non- aligned tensors.
- the codestream may further comprise an indication indicating whether the processing of the region with the further processing module is performed with the centrally aligned tensors or the non-aligned tensors.
- the further processing module may comprise at least one of the following: a hyper decoding module, a hyper scale decoding module, an entropy decoder a sample prediction module, an MCM module, or a latent sample reconstruction module.
- the number of the plurality of regions may be no larger than a predetermined integer. Additionally or alternatively, the number of rows of regions among the plurality of regions may be no later than a predetermined integer. Additionally or alternatively, the number of columns of regions among the plurality of regions may be no later than a predetermined integer.
- an indication related to region- based coding may be coded in a predictive way.
- whether a first coding mode is enabled is determined for the conversion between the visual data and the bitstream.
- the visual data may be at least a part of a picture of a video.
- the visual data may be at least a part of an image.
- the bitstream may comprise an indication indicating whether the first mode is enabled. In this case, at a decoder, information regarding whether the first mode is enabled may be parsed from the bitstream.
- a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples, and a subset of residual samples among the plurality of subsets of residual samples is coded before a further subset of residual samples among the plurality of subsets of residual samples.
- a subset of residual samples at the first position (such as a top-left position) may be coded before the rest of the plurality of subsets of residual samples.
- a residual sample associated with the visual data may be a sample in a residual latent representation of the visual data.
- the residual latent representation may indicate a difference between a latent representation of the visual data and a prediction of the latent representation.
- the term “latent representation” may refer to an intermediate representation of the visual data during the conversion process.
- the latent representation may comprise a latent tensor or latent for short.
- the residual latent representation may comprise a residual latent tensor or residual tensor for short.
- a subset of residual samples may be regard as a sub-tensor of the residual tensor.
- the residual sample may also be a sample indicating difference in a pixel domain rather than in the above- mentioned latent domain.
- the transformed coefficients of a region can be decoded before other regions.
- a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples, and a subset of residual samples among the plurality of subsets of residual samples is coded before a further subset of residual samples among the plurality of subsets of residual samples.
- the proposed method can advantageously make it possible to code a set of residual samples without waiting for coding a further residual sample that is not comprised in the set of residual samples. Thereby, the proposed method can advantageously support coding different subsets of residual samples independently, and thus the coding efficiency can be improved.
- the first coding mode may be enabled for the conversion. In this case, whether a second coding mode is enabled for the conversion may be determined and the conversion is performed based on the determining of whether the second mode is enabled.
- a set of samples associated with the visual data may be 95 F1245807PCT partitioned into a plurality of subsets of samples, and a first subset of samples among the plurality of subsets of samples may be coded independently from the rest of the plurality of subsets of samples.
- the set of samples may comprise one of the following: samples in the visual data, samples in a latent representation of the visual data, samples in a residual latent representation of the visual data, or the like.
- a sample in the latent representation may also be referred to as a latent sample.
- samples associated with the visual data and samples in the latent representation of the visual data may be partitioned in a same manner as the set of residual samples associated with the visual data.
- a subset of samples in the visual data may corresponds to a subset of samples in a latent representation of the visual data
- the subset of samples in a latent representation of the visual data may correspond to a subset of samples in a residual latent representation, i.e., a subset of residual samples.
- the bitstream may comprise an indication indicating whether the second coding mode may be enabled. In this case, at a decoder, information regarding whether the second mode is enabled may be parsed from the bitstream.
- the decoding process may further comprise a sample reconstruction process in addition to the above-mentioned entropy decoding process.
- the sample reconstruction process may comprise a latent sample reconstruction process and a synthesis transform.
- the latent sample reconstruction process may further comprise a latent sample prediction process and a latent sample compensation process.
- latent samples are predicted in the latent sample prediction process, and then reconstructed latent samples are determined based on the predicted latent samples and the residual samples.
- a synthesis transform may be applied on the reconstructed latent samples to obtain reconstructed samples of the visual data which are in a pixel domain.
- residual samples, latent samples and samples in the pixel domain of a region can be decoded independently from other regions. Thereby, the coding process is more flexible and more efficient.
- bits associated with the set of samples may be organized in the bitstream based on the partition of the plurality of subsets of samples.
- bits associated with a first component of the first subset of samples may be 96 F1245807PCT coded before bits associated with a first component of a second subset of samples among the plurality of subsets of samples.
- bits associated with a second component of the first subset of samples may be coded after bits associated with the first component of the second subset of samples.
- bits associated with all components of the first subset of samples may be coded before bits associated with all components of a second subset of samples among the plurality of subsets of samples.
- bits associated with a first component of the first subset of samples may be coded before bits associated with a second component of the first subset of samples.
- bits for luma and chroma residual samples of the first region may be encapsulated in a substream, and bits for luma and chroma residual samples of the second region may be encapsulated in a further substream.
- at least one indication in the bitstream indicates whether bits associated with a first component or a second component of each of the plurality of subsets of samples are in a substream of the bitstream.
- a syntax element in the bitstream may indicate whether the primary or secondary residual data for each region is in a substream.
- this at least one indication may be used as an indication of the second coding mode.
- bitstream comprising one or more markers may also be referred to as a codestream.
- the bitstream may comprise a plurality of substreams corresponding to the plurality of subsets of samples, each of the plurality of substreams may comprise bits associated with a corresponding subset of samples.
- the bitstream may comprise a plurality of substreams corresponding to the plurality of subsets of samples.
- At least one of the following may be constrained depending on a profile and a level to which the bitstream conforms: the maximum value of the number of vertical splits of the set of samples, the minimum value of the number of vertical splits of the set of samples, the maximum value of the number of horizontal splits of the set of samples, or the minimum value of the number of horizontal splits of the set of samples.
- the plurality of subsets of samples corresponds to a plurality of regions, and each of the plurality of regions may comprise a corresponding subset of samples. Alternatively, each of the plurality of subsets of samples corresponds a subpicture, a tile, a slice, or the like.
- each of the plurality of subsets of samples corresponds a region
- a position of each of the plurality of regions may be constrained.
- a position of a top-left sample (e.g., a top-left luma sample) of a region shall be located at (2 X , 2 Y ) relative to a top-left sample of the set of samples, and each of X and Y may be a non-negative integer, such as 4, 5, or 6 the like.
- the minimal number of samples of a first component comprised in a region may be constrained. Additionally or alternatively, the minimal number of samples of a second component comprised in a region may be constrained.
- the number of samples of a first or second component comprised in a region shall be no smaller than a predetermined number, such as 64, 128, 128 2 , or the like.
- the maximal number of samples of a first component comprised in a region may be constrained. Additionally or alternatively, the maximal number of samples of a second component comprised in a region may be constrained.
- a region size may be a multiple of M samples, and M may be a non-negative integer.
- M may be equal to 2 N
- N may be a non-negative integer, such as 4, 5, 6 or the like.
- M may be equal to 128.
- the first information may be dependent on coded information of the visual data.
- the coded information may comprise a block size, a color format, a single tree partitioning, a dual tree partitioning, a color component, a slice type, a picture type, and/or the like.
- any of the above-mentioned indication may be a syntax element.
- the syntax element may be binarized as one of the following: a flag, a fixed length code, an exponential Golomb (EG) code, a unary code, a truncated unary code, or a truncated binary code.
- the syntax element may be coded with at least one context model.
- the syntax element may be bypass coded.
- the syntax element may be signaled based on a condition.
- the syntax element may be indicated at one of the following: a block level, a sequence level, a group of pictures level, a picture level, a slice level, or a tile group level.
- a non-transitory computer-readable recording medium stores a codestream of visual data which is generated by a method performed by an apparatus for visual data processing.
- the method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region.
- NN neural network
- the method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model; and storing the codestream in a non-transitory computer-readable recording medium, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region.
- NN neural network
- a method for visual data processing comprising: performing a conversion between visual data and a codestream of the visual data with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the 103 F1245807PCT plurality of regions are in a substream of the codestream that corresponds to the region.
- NN neural network
- Clause 4 The method of clause 3, wherein the first processing module comprises at least one of the following: a hyper decoding module, a multistage context modelling (MCM) module, a synthesis transform module, a latent sample reconstruction module, a sample prediction module, an analysis transform module, or a hyper scale decoding module.
- MCM multistage context modelling
- the second processing module comprises 104 F1245807PCT at least one of the following: a synthesis transform module, an analysis transform module, an MCM module, a sample prediction module, a latent sample reconstruction module, a hyper decoding module, or a hyper scale decoding module.
- a synthesis transform module at least one of the following: a synthesis transform module, an analysis transform module, an MCM module, a sample prediction module, a latent sample reconstruction module, a hyper decoding module, or a hyper scale decoding module.
- the codestream further comprises at least one of the following: an indication indicating the number of threads for 105 F1245807PCT coding residual codestream for a primary component, or an indication indicating the number of threads for coding residual codestream for a secondary component.
- Clause 23 The method of any of clauses 10-22, wherein a correspondence between an index of a substream and a region is determined based on a raster scanning order of the plurality of regions.
- Clause 24 The method of any of clauses 3-23, wherein the codestream further comprises a third indication indicating a size of the substream. [0155] Clause 25.
- Clause 26 The method of any of clauses 24-25, wherein the third indication is coded using variable length coding.
- Clause 27 The method of any of clauses 1-26, wherein the maximum number of the plurality of regions is dependent on at least one of the following: a profile to which the codestream conforms, a level to which the codestream conforms, or a size of the visual data.
- Clause 28 The method of any of clauses 1-26, wherein the maximum number of the plurality of regions is dependent on at least one of the following: a profile to which the codestream conforms, a level to which the codestream conforms, or a size of the visual data.
- the codestream further comprises at least one of the following: an indication indicating the number of regions for which a substream is present in the codestream, an indication indicating the number of regions for which a substream is absent from the codestream, an indication indicating whether substreams for all of the plurality of regions are included in the codestream, an indication indicating whether a substream of a region is discarded from the codestream, or an indication indicating whether a substream of a region is extracted from the codestream.
- the codestream further comprises an indication indicating a length of the second indication.
- the further processing module comprises at least one of the following: a hyper decoding module, a hyper scale decoding module, an entropy decoder a sample prediction module, an MCM module, or a latent sample reconstruction module.
- the codestream further comprises an indication indicating a correspondence between an index of a substream and a region.
- Clause 56 The method of any of clauses 1-54, wherein the conversion includes decoding the visual data from the codestream.
- Clause 57 An apparatus for visual data processing comprising a processor and a non- transitory memory with instructions thereon, wherein the instructions upon execution by the 108 F1245807PCT processor, cause the processor to perform a method in accordance with any of clauses 1-56.
- Clause 58 A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method in accordance with any of clauses 1-56.
- Clause 59 A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method in accordance with any of clauses 1-56.
- a non-transitory computer-readable recording medium storing a codestream of visual data which is generated by a method performed by an apparatus for visual data processing, wherein the method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region.
- NN neural network
- the computing device 2900 may be implemented as or included in the source device 110 (or the visual data encoder 114) or the destination device 120 (or the visual data decoder 124). [0192] It would be appreciated that the computing device 2900 shown in Fig.29 is merely for purpose of illustration, without suggesting any limitation to the functions and scopes of the embodiments of the present disclosure in any manner. [0193] As shown in Fig.29, the computing device 2900 includes a general-purpose computing device 2900. The computing device 2900 may at least comprise one or more processors or processing units 2910, a memory 2920, a storage unit 2930, one or more communication units 2940, one or more input devices 2950, and one or more output devices 2960.
- the computing device 2900 can operate in a networked environment using a logical connection with one or more other servers, networked personal computers (PCs) or further general network nodes.
- the input device 2950 may be one or more of a variety of input devices, such as a mouse, keyboard, tracking ball, voice-input device, and the like.
- the output device 2960 may be one or more of a variety of output devices, such as a display, loudspeaker, printer, and the like.
- the visual data may be processed, for example, by the visual data coding module 2925, to generate an encoded bitstream.
- the encoded bitstream may be provided via the output device 2960 as an output 2980.
- the input device 2950 may receive an encoded bitstream as the input 2970.
- the encoded bitstream may be processed, for example, by the visual data coding module 2925, to generate decoded visual data.
- the decoded visual data may be provided via the output device 2960 as the output 2980.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Embodiments of the present disclosure provide a solution for visual data processing. A method for visual data processing is proposed. The method comprises: performing a conversion between visual data and a codestream of the visual data with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region.
Description
METHOD, APPARATUS, AND MEDIUM FOR VISUAL DATA PROCESSING FIELDS [0001] Embodiments of the present disclosure relates generally to visual data processing techniques, and more particularly, to neural network-based visual data coding. BACKGROUND [0002] The past decade has witnessed the rapid development of deep learning in a variety of areas, especially in computer vision and image processing. Neural network was invented originally with the interdisciplinary research of neuroscience and mathematics. It has shown strong capabilities in the context of non-linear transform and classification. Neural network- based image/video compression technology has gained significant progress during the past half decade. It is reported that the latest neural network-based image compression algorithm achieves comparable rate-distortion (R-D) performance with Versatile Video Coding (VVC). With the performance of neural image compression continually being improved, neural network-based video compression has become an actively developing research area. However, coding efficiency of neural network-based image/video coding is generally expected to be further improved. SUMMARY [0003] Embodiments of the present disclosure provide a solution for visual data processing. [0004] In a first aspect, a method for visual data processing is proposed. The method comprises: performing a conversion between visual data and a codestream of the visual data with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. [0005] Based on the method in accordance with the first aspect of the present disclosure, the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. Compared with the conventional solution lacking such an indication, the proposed method can better support independent coding of different regions, and thus the coding efficiency can be improved. [0006] In a second aspect, an apparatus for visual data processing is proposed. The apparatus comprises a processor and a non-transitory memory with instructions thereon. The 1 F1245807PCT
instructions upon execution by the processor, cause the processor to perform a method in accordance with the first aspect of the present disclosure. [0007] In a third aspect, a non-transitory computer-readable storage medium is proposed. The non-transitory computer-readable storage medium stores instructions that cause a processor to perform a method in accordance with the first aspect of the present disclosure. [0008] In a fourth aspect, another non-transitory computer-readable recording medium is proposed. The non-transitory computer-readable recording medium stores a codestream of visual data which is generated by a method performed by an apparatus for visual data processing. The method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. [0009] In a fifth aspect, a method for storing a codestream of visual data is proposed. The method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model; and storing the codestream in a non-transitory computer-readable recording medium, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. [0010] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS [0011] Through the following detailed description with reference to the accompanying drawings, the above and other objectives, features, and advantages of example embodiments of the present disclosure will become more apparent. In the example embodiments of the present disclosure, the same reference numerals usually refer to the same components. [0012] Fig. 1A illustrates a block diagram that illustrates an example visual data coding system, in accordance with some embodiments of the present disclosure; [0013] Fig. 1B is a schematic diagram illustrating an example transform coding scheme; 2 F1245807PCT
[0014] Fig.2 illustrates example latent representations of an image; [0015] Fig. 3 is a schematic diagram illustrating an example autoencoder implementing a hyperprior model; [0016] Fig. 4 is a schematic diagram illustrating an example combined model configured to jointly optimize a context model along with a hyperprior and the autoencoder; [0017] Fig.5 illustrates an example encoding process; [0018] Fig.6 illustrates an example decoding process; [0019] Fig.7 illustrates an example decoding process according to some embodiments of the present disclosure; [0020] Fig. 8 illustrates an example learning-based image codec architecture; [0021] Fig.9 illustrates an example synthesis transform for learning based image coding; [0022] Fig.10 illustrates an example leaky Rectified Linear Unit (ReLU) activation function; [0023] Fig. 11 illustrates an example ReLU activation function; [0024] Fig.12 illustrates latent tiles in synthesis transform; [0025] Fig.13 illustrates a bitstream layout; [0026] Fig. 14 illustrates an example decoder structure; [0027] Fig. 15 illustrates an example hyper scale decoder; [0028] Fig. 16 illustrates an example hyper decoder; [0029] Fig. 17 illustrates a diagram of an example multistage context modelling (MCM) structure; [0030] Fig. 18 illustrates an example implementation of primary component guided adaptive up-sampling filter; [0031] Fig. 19 illustrates two example partition patterns, wherein equipartitioned regions shown on the left, and shifted regions shown on the right; [0032] Figs. 20A-20C illustrate three example alignment schemes; [0033] Fig.21 illustrates latent tiles in synthesis transform; [0034] Fig.22 illustrates an example bitstream layout; [0035] Fig. 23 illustrates an example decoder structure; [0036] Fig .24 illustrates an example hyper scale decoder; [0037] Fig. 25 illustrates an example hyper decoder; [0038] Fig.26 illustrates a diagram of an example MCM structure; [0039] Fig. 27 illustrates an example implementation of primary component guided adaptive up-sampling filter; [0040] Fig. 28 illustrates a flowchart of a method for visual data processing in accordance 3 F1245807PCT
with embodiments of the present disclosure; and [0041] Fig. 29 illustrates a block diagram of a computing device in which various embodiments of the present disclosure can be implemented. [0042] Throughout the drawings, the same or similar reference numerals usually refer to the same or similar elements. DETAILED DESCRIPTION [0043] Principle of the present disclosure will now be described with reference to some embodiments. It is to be understood that these embodiments are described only for the purpose of illustration and help those skilled in the art to understand and implement the present disclosure, without suggesting any limitation as to the scope of the disclosure. The disclosure described herein can be implemented in various manners other than the ones described below. [0044] In the following description and claims, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skills in the art to which this disclosure belongs. [0045] References in the present disclosure to “one embodiment,” “an embodiment,” “an example embodiment,” and the like indicate that the embodiment described may include a particular feature, structure, or characteristic, but it is not necessary that every embodiment includes the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an example embodiment, it is submitted that it is within the knowledge of one skilled in the art to affect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described. [0046] It shall be understood that although the terms “first” and “second” etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and similarly, a second element could be termed a first element, without departing from the scope of example embodiments. As used herein, the term “and/or” includes any and all combinations of one or more of the listed terms. [0047] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises”, “comprising”, “has”, “having”, “includes” and/or “including”, when used herein, specify the 4 F1245807PCT
presence of stated features, elements, and/or components etc., but do not preclude the presence or addition of one or more other features, elements, components and/ or combinations thereof. Example Environment [0048] Fig. 1A is a block diagram that illustrates an example visual data coding system 100 that may utilize the techniques of this disclosure. As shown, the visual data coding system 100 may include a source device 110 and a destination device 120. The source device 110 can be also referred to as a visual data encoding device, and the destination device 120 can be also referred to as a visual data decoding device. In operation, the source device 110 can be configured to generate encoded visual data and the destination device 120 can be configured to decode the encoded visual data generated by the source device 110. The source device 110 may include a visual data source 112, a visual data encoder 114, and an input/output (I/O) interface 116. [0049] The visual data source 112 may include a source such as a visual data capture device. Examples of the visual data capture device include, but are not limited to, an interface to receive visual data from a visual data provider, a computer graphics system for generating visual data, and/or a combination thereof. [0050] The visual data may comprise one or more pictures of a video or one or more images. The visual data encoder 114 encodes the visual data from the visual data source 112 to generate a bitstream. The bitstream may include a sequence of bits that form a coded representation of the visual data. The bitstream may include coded pictures and associated visual data. The coded picture is a coded representation of a picture. The associated visual data may include sequence parameter sets, picture parameter sets, and other syntax structures. The I/O interface 116 may include a modulator/demodulator and/or a transmitter. The encoded visual data may be transmitted directly to destination device 120 via the I/O interface 116 through the network 130A. The encoded visual data may also be stored onto a storage medium/server 130B for access by destination device 120. [0051] The destination device 120 may include an I/O interface 126, a visual data decoder 124, and a display device 122. The I/O interface 126 may include a receiver and/or a modem. The I/O interface 126 may acquire encoded visual data from the source device 110 or the storage medium/server 130B. The visual data decoder 124 may decode the encoded visual data. The display device 122 may display the decoded visual data to a user. The display device 122 may be integrated with the destination device 120, or may be external to the destination device 120 which is configured to interface with an external display device. 5 F1245807PCT
[0052] The visual data encoder 114 and the visual data decoder 124 may operate according to a visual data coding standard, such as video coding standard or still picture coding standard and other current and/or further standards. [0053] Some exemplary embodiments of the present disclosure will be described in detailed hereinafter. It should be understood that section headings are used in the present document to facilitate ease of understanding and do not limit the embodiments disclosed in a section to only that section. Furthermore, while certain embodiments are described with reference to Versatile Video Coding or other specific visual data codecs, the disclosed techniques are applicable to other coding technologies also. Furthermore, while some embodiments describe coding steps in detail, it will be understood that corresponding steps decoding that undo the coding will be implemented by a decoder. Furthermore, the term visual data processing encompasses visual data coding or compression, visual data decoding or decompression and visual data transcoding in which visual data are represented from one compressed format into another compressed format or at a different compressed bitrate. 1. Brief Summary This disclosure is related to neural network (NN)-based image and video coding. Specifically, it is related to support of regional accessibility, wherein regional accessibility refers to the capability of correctly decoding only a regional part of an image (also referred to as a picture) or a video. The ideas may be applied individually or in various combinations, for image and/or video coding methods and specifications. 2. Introduction The past decade has witnessed the rapid development of deep learning in a variety of areas, especially in computer vision and image processing. Inspired from the great success of deep learning technology to computer vision areas, many researchers have shifted their attention from conventional image/video compression techniques to neural image/video compression technologies. Neural network was invented originally with the interdisciplinary research of neuroscience and mathematics. It has shown strong capabilities in the context of non-linear transform and classification. Neural network-based image/video compression technology has gained significant progress during the past half decade. It is reported that the latest neural network- based image compression algorithm achieves comparable R-D performance with Versatile Video Coding (VVC), the latest video coding standard developed by Joint Video Experts Team (JVET) with experts from MPEG and VCEG. With the performance of neural image compression continually being improved, neural network-based video compression has become an actively developing research area. However, neural network-based video coding still remains in its infancy 6 F1245807PCT
due to the inherent difficulty of the problem. 1.1 Image/video compression Image/video compression (also referred to as image/video coding) usually refers to the computing technology that compresses image/video into binary code to facilitate storage and transmission. The binary codes may or may not support losslessly reconstructing the original image/video, termed lossless compression and lossy compression. Most of the efforts are devoted to lossy compression since lossless reconstruction is not necessary in most scenarios. Usually the performance of image/video compression algorithms is evaluated from two aspects, i.e. compression ratio and reconstruction quality. Compression ratio is directly related to the number of binary codes, the less the better; Reconstruction quality is measured by comparing the reconstructed image/video with the original image/video, the higher the better. Image/video compression techniques can be divided into two branches, the classical video coding methods and the neural-network-based video compression methods. Classical video coding schemes adopt transform-based solutions, in which researchers have exploited statistical dependency in the latent variables (e.g., DCT or wavelet coefficients) by carefully hand- engineering entropy codes modeling the dependencies in the quantized regime. Neural network- based video compression is in two flavors, neural network-based coding tools and end-to-end neural network-based video compression. The former is embedded into existing classical video codecs as coding tools and only serves as part of the framework, while the latter is a separate framework developed based on neural networks without depending on classical video codecs. In the last three decades, a series of classical video coding standards have been developed to accommodate the increasing visual content. The international standardization organizations ISO/IEC has two expert groups namely Joint Photographic Experts Group (JPEG) and Moving Picture Experts Group (MPEG), and ITU-T also has its own Video Coding Experts Group (VCEG) which is for standardization of image/video coding technology. The influential video coding standards published by these organizations include JPEG, JPEG 2000, H.262, H.264/AVC and H.265/HEVC. After H.265/HEVC, the Joint Video Experts Team (JVET) formed by MPEG and VCEG has been working on a new video coding standard Versatile Video Coding (VVC). The first version of VVC was released in July 2020. An average of 50% bitrate reduction is reported by VVC under the same visual quality compared with HEVC. Neural network-based image/video compression is not a new invention since there were a number of researchers working on neural network-based image coding. But the network architectures were relatively shallow, and the performance was not satisfactory. Benefit from the abundance of data and the support of powerful computing resources, neural network-based methods are better 7 F1245807PCT
exploited in a variety of applications. At present, neural network-based image/video compression has shown promising improvements, confirmed its feasibility. Nevertheless, this technology is still far from mature and a lot of challenges need to be addressed. 1.2 Neural networks Neural networks, also known as artificial neural networks (ANN), are the computational models used in machine learning technology which are usually composed of multiple processing layers and each layer is composed of multiple simple but non-linear basic computational units. One benefit of such deep networks is believed to be the capacity for processing data with multiple levels of abstraction and converting data into different kinds of representations. Note that these representations are not manually designed; instead, the deep network including the processing layers is learned from massive data using a general machine learning procedure. Deep learning eliminates the necessity of handcrafted representations, and thus is regarded useful especially for processing natively unstructured data, such as acoustic and visual signal, whilst processing such data has been a longstanding difficulty in the artificial intelligence field. 1.3 Neural networks for image compression Existing neural networks for image compression methods can be classified in two categories, i.e., pixel probability modeling and auto-encoder. The former one belongs to the predictive coding strategy, while the latter one is the transform-based solution. Sometimes, these two methods are combined together in literature. 1.3.1 Pixel probability modeling According to Shannon’s information theory, the optimal method for lossless coding can reach the minimal coding rate − logଶ ^^(^^) where ^^(^^) is the probability of symbol ^^. A number of lossless coding methods were developed in literature and among them arithmetic coding is believed to be among the optimal ones. Given a probability distribution ^^(^^), arithmetic coding ensures that the coding rate to be as close as possible to its theoretical limit − logଶ ^^(^^) without considering the rounding error. Therefore, the remaining problem is to how to determine the probability, which is however very challenging for natural image/video due to the curse of dimensionality. Following the predictive coding strategy, one way to model ^^(^^) is to predict pixel probabilities one by one in a raster scan order based on previous observations, where ^^ is an image.
where ^^ and ^^ are the height and width of the image, respectively. The previous observation is also known as the context of the current pixel. When the image is large, it can be difficult to estimate the conditional probability, thereby a simplified method is to limit the range of its context. ^^(^^) = ^^(^^^)^^(^^ଶ|^^^) …^^(^^^|^^^ି^, … , ^^^ି^) … ^^(^^^×^|^^^×^ି^, … , ^^^×^ି^) (2) 8 F1245807PCT
where ^^ is a pre-defined constant controlling the range of the context. It should be noted that the condition may also take the sample values of other color components into consideration. For example, when coding the RGB color component, R sample is dependent on previously coded pixels (including R/G/B samples), the current G sample may be coded according to previously coded pixels and the current R sample, while for coding the current B sample, the previously coded pixels and the current R and G samples may also be taken into consideration. Neural networks were originally introduced for computer vision tasks and have been proven to be effective in regression and classification problems. Therefore, it has been proposed using neural networks to estimate the probability of ^^(^^^) given its context ^^^, ^^ଶ, … , ^^^ି^. Most of the methods directly model the probability distribution in the pixel domain. Some researchers also attempt to model the probability distribution as a conditional one upon explicit or latent representations. That being said, it may be estimated that
where ^^ is the additional condition and ^^(^^) = ^^(^^)^^(^^|^^), meaning the modeling is split into an unconditional one and a conditional one. The additional condition can be image label information or high-level representations. 1.3.2 Auto-encoder Auto-encoder originates from the well-known work proposed by Hinton and Salakhutdinov. The method is trained for dimensionality reduction and consists of two parts: encoding and decoding. The encoding part converts the high-dimension input signal to low-dimension representations, typically with reduced spatial size but a greater number of channels. The decoding part attempts to recover the high-dimension input from the low-dimension representation. Auto-encoder enables automated learning of representations and eliminates the need of hand-crafted features, which is also believed to be one of the most important advantages of neural networks. Fig.1B illustrates a typical transform coding scheme. The original image x is transformed by the analysis network gୟ to achieve the latent representation y. The latent representation y is quantized and compressed into bits. The number of bits R is used to measure the coding rate. The quantized latent representation y^ is then inversely transformed by a synthesis network g^ to obtain the reconstructed image x^. The distortion is calculated in a perceptual space by transforming x and x^ with the function g୮. It is intuitive to apply auto-encoder network to lossy image compression. It is only needed to encode the learned latent representation from the well-trained neural networks. However, it is not trivial to adapt auto-encoder to image compression since the original auto-encoder is not optimized 9 F1245807PCT
for compression thereby not efficient by directly using a trained auto-encoder. In addition, there exist other major challenges: First, the low-dimension representation should be quantized before being encoded, but the quantization is not differentiable, which is required in backpropagation while training the neural networks. Second, the objective under compression scenario is different since both the distortion and the rate need to be take into consideration. Estimating the rate is challenging. Third, a practical image coding scheme needs to support variable rate, scalability, encoding/decoding speed, interoperability. In response to these challenges, a number of researchers have been actively contributing to this area. The prototype auto-encoder for image compression is in Fig. 1B, which can be regarded as a transform coding strategy. The original image ^^ is transformed with the analysis network ^^ = ^^^(^^), where ^^ is the latent representation which will be quantized and coded. The synthesis network will inversely transform the quantized latent representation ^ ^^ back to obtain the reconstructed image ^ ^^ = ^^^(^^^). The framework is trained with the rate-distortion loss function, i.e., ℒ = ^^ + ^^^^, where ^^ is the distortion between ^^ and ^ ^^, ^^ is the rate calculated or estimated from the quantized representation^ ^^, and ^^ is the Lagrange multiplier. It should be noted that ^^ can be calculated in either pixel domain or perceptual domain. All existing research works follow this prototype and the difference might only be the network structure or loss function. 1.3.3 Hyper prior model In the transform coding approach to image compression, the encoder subnetwork (section 2.3.2) transforms the image vector x using a parametric analysis transform ^^^(^^,∅^) into a latent representation ^^ , which is then quantized to form ^^^ . Because ^^^ is discrete-valued, it can be losslessly compressed using entropy coding techniques such as arithmetic coding and transmitted as a sequence of bits. As evident from the middle left and middle right image of Fig. 2, there are significant spatial dependencies among the elements of ^ ^^. Notably, their scales (middle right image) appear to be coupled spatially. An additional set of random variables ^^^ can be introduced to capture the spatial dependencies and to further reduce the redundancies. In this case the image compression network is depicted in Fig.3. In Fig 3, the left hand of the models is the encoder ^^^ and decoder ^^^ (explained in section 2.3.2). The right-hand side is the additional hyper encoder ℎ^ and hyper decoder ℎ^ networks that are used to obtain ^^^. In this architecture the encoder subjects the input image x to ^^^, yielding the responses ^^ with spatially varying standard deviations. The responses ^^ are fed into ℎ^ , summarizing the distribution of standard deviations in ^^. ^^ is then quantized (^^^), compressed, and transmitted as side information. The encoder then uses the quantized vector ^^^ to estimate ^^, the 10 F1245807PCT
spatial distribution of standard deviations, and uses it to compress and transmit the quantized image representation ^ ^^. The decoder first recovers ^^^ from the compressed signal. It then uses ℎ^ to obtain ^^, which provides it with the correct probability estimates to successfully recover ^ ^^ as well. It then feeds ^ ^^ into ^^^ to obtain the reconstructed image. When the hyper encoder and hyper decoder are added to the image compression network, the spatial redundancies of the quantized latent ^ ^^ are reduced. The rightmost image in Fig. 2 correspond to the quantized latent when hyper encoder/decoder are used. Compared to middle right image, the spatial redundancies are significantly reduced, as the samples of the quantized latent are less correlated. In Fig. 2: Left: an image from the Kodak dataset. Middle left: visualization of a latent representation y of that image. Middle right: standard deviations ^^ of the latent. Right: latents y after the hyper prior (hyper encoder and decoder) network is introduced. Fig. 3 illustrates Network architecture of a autoencoder implementing the hyperprior model. The left side shows an image autoencoder network, the right side corresponds to the hyperprior subnetwork. The analysis and synthesis transforms are denoted as ^^^ and ^^^ . Q represents quantization, and AE, AD represent arithmetic encoder and arithmetic decoder, respectively. The hyperprior model consists of two subnetworks, hyper encoder (denoted with ℎ^ ) and hyper decoder (denoted with ℎ^). The hyper prior model generates a quantized hyper latent (^^^) which comprises information about the probability distribution of the samples of the quantized latent ^ ^^. ^^^ is included in the bitsteam and transmitted to the receiver (decoder) along with ^ ^^. 1.3.4 Context model Although the hyper prior model improves the modelling of the probability distribution of the quantized latent ^ ^^, additional improvement can be obtained by utilizing an autoregressive model that predicts quantized latents from their causal context (Context Model). The term auto-regressive means that the output of a process is later used as input to it. For example the context model subnetwork generates one sample of a latent, which is later used as input to obtain the next sample. Fig. 4 is a schematic diagram illustrating an example combined model configured to jointly optimize a context model along with a hyperprior and the autoencoder. The following Table 1 illustrates meaning of different symbols. Table 1 – Illustration of symbols
11 F1245807PCT
A joint architecture can be utilized where both hyper prior model subnetwork (hyper encoder and hyper decoder) and a context model subnetwork are utilized. The hyper prior and the context model are combined to learn a probabilistic model over quantized latents ^^^, which is then used for entropy coding. As depicted in Fig. 4, the outputs of context subnetwork and hyper decoder subnetwork are combined by the subnetwork called Entropy Parameters, which generates the mean ^^ and scale (or variance) ^^ parameters for a Gaussian probability model. The gaussian probability model is then used to encode the samples of the quantized latents into bitstream with the help of the arithmetic encoder (AE) module. In the decoder the gaussian probability model is utilized to obtain the quantized latents ^ ^^ from the bitstream by arithmetic decoder (AD) module. Fig 4 illustrates the combined model jointly optimizes an autoregressive component that estimates the probability distributions of latents from their causal context (Context Model) along with a hyperprior and the underlying autoencoder. Real-valued latent representations are quantized (Q) to create quantized latents (^^^) and quantized hyper-latents (^^^ ), which are compressed into a bitstream using an arithmetic encoder (AE) and decompressed by an arithmetic decoder (AD). The highlighted region corresponds to the components that are executed by the receiver (i.e. a decoder) to recover an image from a compressed bitstream. Typically the latent samples are modeled as gaussian distribution or gaussian mixture models (not limited to). According to Fig. 4, the context model and hyper prior are jointly used to estimate the probability distribution of the latent samples. Since a gaussian distribution can be defined by a mean and a variance (aka sigma or scale), the joint model is used to estimate the mean and variance (denoted as ^^ and ^^). 1.3.5 Gained variational autoencoders (G-VAE) Typically, neural network-based image/video compression methodologies need to train multiple models to adapt to different rates. Gained variational autoencoders (G-VAE) is the variational 12 F1245807PCT
autoencoder with a pair of gain units , which is designed to achieve continuously variable rate adaptation using a single model. It comprises of a pair of gain units, which are typically inserted to the output of encoder and input of decoder. The output of the encoder is defined as the latent representation ^^ ∈ ^^^∗^∗௪, where ^^, ℎ,^^ represent the number of channels, the height and width of the latent representation. Each channel of the latent representation is denoted as
where ^^ = 0, 1, … , ^^ − 1. A pair of gain units include a gain matrix ^^ ∈ ^^^∗^ and an inverse gain matrix, where ^^ is the number of gain vectors. The gain vector can be denoted as ^^^ =
where ^^ denotes the index of the gain vectors in the gain matrix. The motivation of gain matrix is similar to the quantization table in JPEG by controlling the quantization loss based on the characteristics of different channels. To apply the gain matrix to the latent representation, each channel is multiplied with the corresponding value in a gain vector. ^ത^^ = ^^ ^ ^^^ where ^ is channel-wise multiplication, i.e., ^ത^^(^) = ^^(^) × ^^^(^), and ^^^(^) is the ^^-th gain value in the gain vector ^^ . The inverse gain ma ^∗^ ^ trix used at the decoder side can be denoted as ^^′ ∈ ^^ , which consists of ^^ inverse gain vectors, i.e., ^^ᇱ =
∈ ^^ . The inverse gain process is expressed as: ^^′ = ^^^ ᇱ ^ ^ ^^^ where ^^^ is the decoded quantized latent representation and ^^^ ᇱ is the inversely gained quantized latent representation, which will be fed into the synthesis network. To achieve continuous variable rate adjustment, interpolation is used between vectors. Given two pairs of gain vectors {^^௧ ,^^ᇱ ௧} and {^^^ ,^^ᇱ ^ }, the interpolated gain vector can be obtained via the following equations.
where ^^ ∈ ^^ is an interpolation coefficient, which controls the corresponding bit rate of the generated gain vector pair. Since ^^ is a real number, an arbitrary bit rate between the given two gain vector pairs can be achieved. 1.3.6 The encoding process using joint auto-regressive hyper prior model The fig 4. corresponds to the state of the art compression method. In this section and the next, the encoding and decoding processes will be described separately. The Fig. 5 depicts the encoding process. The input image is first processed with an encoder subnetwork. The encoder transforms the input image into a transformed representation called latent, denoted by ^^. ^^ is then input to a quantizer block, denoted by Q, to obtain the quantized 13 F1245807PCT
latent (^^^ ).^ ^^ is then converted to a bitstream (bits1) using an arithmetic encoding module (denoted AE). The arithmetic encoding block converts each sample of the^ ^^ into a bitstream (bits1) one by one, in a sequential order. The modules hyper encoder, context, hyper decoder, and entropy parameters subnetworks are used to estimate the probability distributions of the samples of the quantized latent^ ^^. the latent ^^ is input to hyper encoder, which outputs the hyper latent (denoted by ^^). The hyper latent is then quantized (^^^) and a second bitstream (bits2) is generated using arithmetic encoding (AE) module. The factorized entropy module generates the probability distribution, that is used to encode the quantized hyper latent into bitstream. The quantized hyper latent includes information about the probability distribution of the quantized latent (^^^). The Entropy Parameters subnetwork generates the probability distribution estimations, that are used to encode the quantized latent^ ^^. The information that is generated by the Entropy Parameters typically include a mean ^^ and scale (or variance) ^^ parameters, that are together used to obtain a gaussian probability distribution. A gaussian distribution of a random variable x is defined as ^^(^^) =
wherein the parameter ^^ is the mean or expectation of the distribution (and also its median and mode), while the parameter ^^ is its standard deviation (or variance, or scale). In order to define a gaussian distribution, the mean and the variance need to be determined. In an existing design, the entropy parameters module are used to estimate the mean and the variance values. The subnetwork hyper decoder generates part of the information that is used by the entropy parameters subnetwork, the other part of the information is generated by the autoregressive module called context module. The context module generates information about the probability distribution of a sample of the quantized latent, using the samples that are already encoded by the arithmetic encoding (AE) module. The quantized latent ^ ^^ is typically a matrix composed of many samples. The samples can be indicated using indices, such as ^ ^^[i,j,k] or^ ^^[i,j] depending on the dimensions of the matrix^ ^^. The samples ^ ^^[i,j] are encoded by AE one by one, typically using a raster scan order. In a raster scan order the rows of a matrix are processed from top to bottom, wherein the samples in a row are processed from left to right. In such a scenario (wherein the raster scan order is used by the AE to encode the samples into bitstream), the context module generates the information pertaining to a sample^ ^^[i,j], using the samples encoded before, in raster scan order. The information generated by the context module and the hyper decoder are combined by the entropy parameters module to generate the probability distributions that are used to encode the quantized latent^ ^^ into bitstream (bits1). 14 F1245807PCT
Finally the first and the second bitstream are transmitted to the decoder as result of the encoding process. It is noted that the other names can be used for the modules described above. In the above description, the all of the elements in Fig. 5 are collectively called encoder. The analysis transform that converts the input image into latent representation is also called an encoder (or auto-encoder). 1.3.7 The decoding process using joint auto-regressive hyper prior model The Fig.6 depicts the decoding process separately. In the decoding process, the decoder first receives the first bitstream (bits1) and the second bitstream (bits2) that are generated by a corresponding encoder. The bits2 is first decoded by the arithmetic decoding (AD) module by utilizing the probability distributions generated by the factorized entropy subnetwork. The factorized entropy module typically generates the probability distributions using a predetermined template, for example using predetermined mean and variance values in the case of gaussian distribution. The output of the arithmetic decoding process of the bits2 is ^^^, which is the quantized hyper latent. The AD process reverts to AE process that was applied in the encoder. The processes of AE and AD are lossless, meaning that the quantized hyper latent ^^^ that was generated by the encoder can be reconstructed at the decoder without any change. After obtaining of ^^^ , it is processed by the hyper decoder, whose output is fed to entropy parameters module. The three subnetworks, context, hyper decoder and entropy parameters that are employed in the decoder are identical to the ones in the encoder. Therefore the exact same probability distributions can be obtained in the decoder (as in encoder), which is essential for reconstructing the quantized latent ^ ^^ without any loss. As a result the identical version of the quantized latent^ ^^ that was obtained in the encoder can be obtained in the decoder. After the probability distributions (e.g. the mean and variance parameters) are obtained by the entropy parameters subnetwork, the arithmetic decoding module decodes the samples of the quantized latent one by one from the bitstream bits1. From a practical standpoint, autoregressive model (the context model) is inherently serial, and therefore cannot be sped up using techniques such as parallelization. Finally the fully reconstructed quantized latent^ ^^ is input to the synthesis transform (denoted as decoder in Fig.6) module to obtain the reconstructed image. In the above description, the all of the elements in Fig. 6 are collectively called decoder. The synthesis transform that converts the quantized latent into reconstructed image is also called a decoder (or auto-decoder). 1.4 Neural networks for video compression 15 F1245807PCT
Similar to conventional video coding technologies, neural image compression serves as the foundation of intra compression in neural network-based video compression, thus development of neural network-based video compression technology comes later than neural network-based image compression but needs far more efforts to solve the challenges due to its complexity. Starting from 2017, a few researchers have been working on neural network-based video compression schemes. Compared with image compression, video compression needs efficient methods to remove inter- picture redundancy. Inter-picture prediction is then a crucial step in these works. Motion estimation and compensation is widely adopted but is not implemented by trained neural networks until recently. Studies on neural network-based video compression can be divided into two categories according to the targeted scenarios: random access and the low-latency. In random access case, it requires the decoding can be started from any point of the sequence, typically divides the entire sequence into multiple individual segments and each segment can be decoded independently. In low-latency case, it aims at reducing decoding time thereby usually merely temporally previous frames can be used as reference frames to decode subsequent frames. 1.5 Preliminaries Almost all the natural image/video is in digital format. A grayscale digital image can be represented by ^^ ∈ ^^^×^, where ^^ is the set of values of a pixel, ^^ is the image height and ^^ is the image width. For example, ^^ = {0, 1, 2, … ,255} is a common setting and in this case |^^| = 256 = 2଼, thus the pixel can be represented by an 8-bit integer. An uncompressed grayscale digital image has 8 bits-per-pixel (bpp), while compressed bits are definitely less. A color image is typically represented in multiple channels to record the color information. For example, in the RGB color space an image can be denoted by ^^ ∈ ^^^×^×ଷ with three separate channels storing Red, Green and Blue information. Similar to the 8-bit grayscale image, an uncompressed 8-bit RGB image has 24 bpp. Digital images/videos can be represented in different color spaces. The neural network-based video compression schemes are mostly developed in RGB color space while the traditional codecs typically use YUV color space to represent the video sequences. In YUV color space, an image is decomposed into three channels, namely Y, Cb and Cr, where Y is the luminance component and Cb/Cr are the chroma components. The benefits come from that Cb and Cr are typically down sampled to achieve pre-compression since human vision system is less sensitive to chroma components. A color video sequence is composed of multiple color images, called frames, to record scenes at different timestamps. For example, in the RGB color space, a color video can be denoted by ^^ = {^^ , ^^ , … , ^ } ^×^ ^ ^ ^௧ , … , ^^்ି^ where ^^ is the number of frames in this video sequence, ^^ ∈ ^^ . If 16 F1245807PCT
^^ = 1080, ^^ = 1920, |^^| = 2଼, and the video has 50 frames-per-second (fps), then the data rate of this uncompressed video is 1920 × 1080 × 8 × 3 × 50 = 2,488,320,000 bits-per-second (bps), about 2.32 Gbps, which needs a lot storage thereby definitely needs to be compressed before transmission over the internet. Usually the lossless methods can achieve compression ratio of about 1.5 to 3 for natural images, which is clearly below requirement. Therefore, lossy compression is developed to achieve further compression ratio, but at the cost of incurred distortion. The distortion can be measured by calculating the average squared difference between the original image and the reconstructed image, i.e., mean-squared-error (MSE). For a grayscale image, MSE can be calculated with the following equation.
Accordingly, the quality of the reconstructed image compared with the original image can be measured by peak signal-to-noise ratio (PSNR):
where ^^^^^^(^^) is the maximal value in ^^, e.g., 255 for 8-bit grayscale images. There are other quality evaluation metrics such as structural similarity (SSIM) and multi-scale SSIM (MS- SSIM). To compare different lossless compression schemes, it is sufficient to compare either the compression ratio given the resulting rate or vice versa. However, to compare different lossy compression methods, it has to take into account both the rate and reconstructed quality. For example, to calculate the relative rates at several different quality levels, and then to average the rates, is a commonly adopted method; the average relative rate is known as Bjontegaard’s delta- rate (BD-rate). There are other important aspects to evaluate image/video coding schemes, including encoding/decoding complexity, scalability, robustness, and so on. 1.6 Separate processing of luma and chroma components of an image Fig.7 illustrates the decoding process according to some example embodiments of the present disclosure. According to one implementation, the luma and chroma components of an image can be decoded using separate subnetworks. In Fig.7, the luma component of the image is processed by the subnetwoks “Synthesis”, “Prediction fusion”, “Mask Conv”, “Hyper Decoder”, “Hyper scale decoder” etc. Whereas the chroma components are processed by the subnetworks: “Synthesis UV”, “Prediction fusion UV”, “Mask Conv UV”, “Hyper Decoder UV”, “Hyper scale decoder UV” etc. A benefit of the above separate processing is that the computational complexity of the processing 17 F1245807PCT
of an image is reduced by application of separate processing. Typically in neural network based image and video decoding, the computational complexity is proportional to the square of the number of feature maps. If the number of total feature maps is equal to 192 for example, computational complexity will be proportional to 192x192. On the other hand if the feature maps are divided into 128 for luma and 64 for chroma (in the case of separate processing), the computational complexity is proportional to 128x128 + 64x64, which corresponds to a reduction in complexity by 45%. Typically the separate processing of luma and chroma components of an image does not result in a prohibitive reduction in performance, as the correlation between the luma and chroma components are typically very small. The processing (Decoding process) in Fig.7 can be explained below: 1. Firstly, the factorized entropy model is used to decode the quantized latents for luma and chroma, i.e., ^^^ and ^^^^^^^ in Fig.7. 2. The probability parameters (e.g. variance) generated by the second network are used to generate a quantized residual latent by performing the arithmetic decoding process. 3. The quantized residual latent is inversely gained with the inverse gain unit (iGain) as shown in orange color in Fig. 7. The outputs of the inverse gain units are denoted as ^^^ and ^^^^^^^ for luma and chroma components, respectively. 4. For the luma component, the following steps are performed in a loop until all elements of ^ ^^ are obtained: a. A first subnetwork is used to estimate a mean value parameter of a quantized latent (^^^), using the already obtained samples of ^ ^^. b. The quantized residual latent ^^^ and the mean value are used to obtain the next element of ^ ^^. 5. After all of the samples of ^^^ are obtained, a synthesis transform can be applied to obtain the reconstructed image. 6. For chroma component, step 4 and 5 are the same but with a separate set of networks. 7. The decoded luma component is used as additional information to obtain the chroma component. Specifically, the Inter Channel Correlation Information filter sub-network (ICCI) is used for chroma component restoration. The luma is fed into the ICCI sub- network as additional information to assist the chroma component decoding. 8. Adaptive color transform (ACT) is performed after the luma and chroma components are reconstructed. The module named ICCI is a neural-network based postprocessing module. The example embodiments of the present disclosure are not limited to the UCCI subnetwork, any other neural 18 F1245807PCT
network based postprocessing module might also be used. An exemplary implementation of some example embodiments of the present disclosure is depicted in Fig. 7 (the decoding process). The framework comprises two branches for luma and chroma components respectively. In each of the branch, the first subnetwork comprises the context, prediction and optionally the hyper decoder modules. The second network comprises the hyper scale decoder module. The quantized hyper latent are ^^^ and ^^^^^^^. The arithmetic decoding process generates the quantized residual latents, which are further fed into the iGain units to obtain the gained quantized residual latents ^^^ and ^^^^^^^. After the residual latent is obtained, a recursive prediction operation is performed to obtain the latent ^ ^^ and ^ ^^^^^^. The following steps describe how to obtain the samples of latent ^ ^^[: , ^^, ^^], and the chroma component is processed in the same way but with different networks. 1. An autoregressive context module is used to generate first input of a prediction module using the samples ^ ^^[: , ^^, ^^] where the (m, n) pair are the indices of the samples of the latent that are already obtained. 2. Optionally the second input of the prediction module is obtained by using a hyper decoder and a quantized hyper latent ^^^^^. 3. Using the first input and the second input, the prediction module generates the mean value ^^^^^^^^[: , ^^, ^^]. 4. The mean value ^^^^^^^^[: , ^^, ^^] and the quantized residual latent ^^^ [: , ^^, ^^]are added together to obtain the latent ^ ^^[: , ^^, ^^]. 5. The steps 1-4 are repeated for the next sample. Whether to and/or how to apply at least one method disclosed in the document may be signaled from the encoder to the decoder, e.g. in the bitstream. Alternatively, whether to and/or how to apply at least one method disclosed in the document may be determined by the decoder based on coding information, such as dimensions, color format, etc. Alternative or additionally, the modules named MS1, MS2 or MS3+O (in Fig. 7), might be included in the processing flow. The said modules might perform an operation to their input by multiplying the input with a scalar or adding an adding an additive component to the input to obtain the output. The scalar or the additive component that are used by the said modules might be indicated in a bitstream. The module named RD or the module named AD in Fig.7 might be an entropy decoding module. It might be a range decoder or an arithmetic decoder or the like. The example embodiments of the present disclosure described herein are not limited to the specific combination of the units exemplified in Fig.7. Some of the modules might be missing and some 19 F1245807PCT
of the modules might be displaced in processing order. Also additional modules might be included. For example: 1. The ICCI module might be removed. In that case the output of the Synthesis module and the Synthesis UV module might be combined by means of another module, that might be based on neural networks. 2. One or more of the modules named MS1, MS2 or MS3+O might be removed. The core of the proposed solution is not affected by the removing of one or more of the said scaling and adding modules. In Fig. 7, other operations that are performed during the processing of the luma and chroma components are also indicated using the star symbol. These processes are denoted as MS1, MS2, MS3+O. These processing might be, but not limited to, adaptive quantization, latent sample scaling, and latent sample offsetting operations. For example, in an adaptive quantization process might correspond to scaling of a sample with multiplier before the prediction process, wherein the multiplier is predefined or whose value is indicated in the bitstream. The latent scaling process might correspond to the process where a sample is scaled with a multiplier after the prediction process, wherein the value of the multiplier is either predefined or indicated in the bitstream. The offsetting operation might correspond to adding an additive element to the sample, again wherein the value of the additive element might be indicated in the bitstream or inferred or predetermined. Another operation might be tiling operation, wherein samples are first tiled (grouped) into overlapping or non-overlapping regions, wherein each region is processed independently. For example the samples corresponding to the luma component might be divided into tiles with a tile height of 20 samples, whereas the chroma components might be divided into tiles with a tile height of 10 samples for processing. Another operation might be application of wavefront parallel processing. In wavefront parallel processing, a number of samples might be processed in parallel, and the amount of samples that can be processed in parallel might be indicated by a control parameter. The said control parameter might be indicated in the bitstream, be inferred, or can be predetermined. In the case of separate luma and chroma processing, the number of samples that can be processed in parallel might be different, hence different indicators can be signalled in the bitstream to control the operation of luma and chrome processing separately. 1.7 Colors separation and conditional coding In one example the primary and secondary color components of an image are coded separately, using networks with similar architecture, but different number of channels as shown in 8. All boxes with same names are sub-networks with the similar architecture, only input-output tensor size and 20 F1245807PCT
number of channels are different. Number of channels for primary component is ^^^ = 128, for secondary components is ^^^ = 64. The vertical arrows (with arrowhead pointing downwards) indicate data flow related to secondary color components coding. Vertical arrows show data exchange between primary and secondary components pipelines. The input signal to be encoded is notated as ^^, latent space tensor in bottleneck of variational auto- encoder is ^^. Subscript “Y” indicates primary component, subscript “UV” is used for concatenated secondary components, there are chroma components. Fig.8 illustrates learning-based image codec architecture. First the input image that has RGB color format is converted to primary (Y) and secondary components(UV). The primary component ^^^ is coded independently from secondary components ^^^^ and the coded picture size is equal to input/decoded picture size. The secondary components are coded conditionally, using ^^^ as auxiliary information from primary component for encoding ^^^^ and using ^^^^ as a latent tensor with auxiliary information from primary component for decoding ^^^^^ reconstruction. The codec structure for primary component and secondary components are almost identical except the number of channels, size of the channels and the several entropy models for transforming latent tensor to bitstream, therefore primary and secondary latent tensor will generate two different bitstream based on two different entropy models. Prior to the encoding ^^^, ^^^^ goes through a module which adjusts the sample location by down- sampling (marked as “s↓” on Fig.1), this essentially means that coded picture size for secondary component is different from the coded picture size for primary component. The scaling factor s is variable, but the default scaling factor is ^^ = 2. The size of auxiliary input tensor in conditional coding is adjusted in order the encoder receives primary and secondary components tensor with the same picture size. After reconstruction, the secondary component is rescaled to the original picture size with a neural-network based upsampling filter module (“NN-color filter s↑” on Fig. 1), which outputs secondary components up-sampled with factor ^^. The example in Fig. 8 exemplifies an image coding system, where the input image is first transformed into primary (Y) and secondary components (UV). The outputs ^^^^ , ^^^^^ are the reconstructed outputs corresponding to the primary and secondary components. At the and of the processing, ^^^^, ^^^^^ are converted back to RGB color format. Typically the ^^^^ is downsampled (resized) before processing with the encoding and decoding modules (neural networks). For example the size of the ^^^^ might be reduced by a factor of 50% in each of the vertical and horizontal dimensions. Therefore the processing of the secondary component includes approximately 50% x 50% = 25% less samples, therefore it is computationally less complex. 1.8 Cropping operation in neural network based coding 21 F1245807PCT
Fig.9 illustrates synthesis transform example for learning based image coding. The example synthesis transform above includes a sequence of 4 convolutions with up-sampling with stride of 2. The synthesis transform sub-Net is depicted on Fig.9. The size of the tensor in different parts of synthesis transform before cropping layer is the diagram on Fig.9. The cropping layer changes tensor size ℎௗ × ^^ௗ to ℎௗି^ × ^^ௗି^ , where ℎௗ = 2 ∙ ^^^^^^^^(^^/ 2ௗ); ^^ௗ = 2 ∙ ^^^^^^^^(^^/2ௗ) ; here ^^ is the depth of proceeding convolution in the codec architecture. For primary component Synthesis Transform receives input tensor with sizeℎ × ^^; ℎ = ^^^^^^^^(^^⁄ 16 );^^ = ^^^^^^^^(^^⁄ 16 ). The output of Synthesis Transform for primary component is 1 × ℎ^ × ^^^ , where ℎ^ = ^^;ℎ^ = ^^. For secondary component Synthesis Transform receives input tensor with size ℎ^^ × ^^^^ ; ℎ^^ = ^^^^^^^^(^^^^^^^^(^^⁄ ^^ )⁄ 16 ); ^^^^ = ^^^^^^^^(^^^^^^^^(^^⁄ ^^ )⁄ 16 ). The output of the Synthesis Transform for primary component is 2 × ℎ^^^ × ^^^^^ , where ℎ^^^ = ^^^^^^^^(^^⁄ ^^ );ℎ^^^ = ^^^^^^^^(^^⁄ ^^ ). For secondary components input sizes are ℎ^ = ^^^^^^^^(^^/^^);^^^ = ^^^^^^^^(^^/^^), where ^^ is the scale factor. The scale factor might be 2 for example, wherein the secondary component is downsampled by a factor of 2. Based on the above explanation, the operation of the cropping layers depend on the output size H,W and the depth of the cropping layer. The depth of the left-most cropping layer in Fig. 9 is equal to 0. The output of this cropping layer must be equal to H, W (the output size), if the size of the input of this cropping layer is greater than H or W in horizontal or vertical dimension respectively, cropping needs to be performed in that dimension. The second cropping layer counting from left to right has a depth of 1. The output of the second cropping layer must be equal to ℎ^ = 2 ∙ ^^^^^^^^(^^/2^); ^^^ = 2 ∙ ^^^^^^^^(^^/2^), which means if the input of this second cropping layer is greater than h1, w1 in any dimension, than cropping is applied in that dimension. In summary, the operation of cropping layers are controlled by the output size H,W. In one example if H and W are both equal to 16, then the cropping layers do not perform any cropping. On the other hand if H and W are both equal to 17, then all 4 cropping layers are going to perform cropping. 1.9 Bitwise shifting The bitwise shift operator can be represented using the function ^^^^^^^^ℎ^^^^^^(^^,^^), where n is an integer number. If n is greater than 0, it corresponds to right-shift operator (>>), which moves the bits of of the input to the right, and the left-shift operator (<<), which moves the bits to the left. In another words the ^^^^^^^^ℎ^^^^^^(^^,^^) operation corresponds to: ^^^^^^^^ℎ^^^^^^(^^,^^) = ^^ ∗ 2^, or ^^^^^^^^ℎ^^^^^^(^^, ^^) = ^^^^^^^^^^(^^ ∗ 2^), or ^^^^^^^^ℎ^^^^^^(^^,^^) = ^^//2^. 22 F1245807PCT
The output of the bitshift operation is an integer value. In some implementations, the floor() function might be added to the definition. Floor( x ) is equal to the largest integer less than or equal to x. The “//” operator or the integer division operator: It is an operation that comprises division and truncation of the result toward zero. For example, 7 / 4 and −7 / −4 are truncated to 1 and −7 / 4 and 7 / −4 are truncated to −1. ^^^^^^ℎ^^^^ℎ^^^^^^(^^, ^^) = ^^ ≫ ^^ or ^^^^^^^^^^ℎ^^^^^^(^^, ^^) = ^^ ≪ ^^ Equation 3: alternative implementation of the bitshift operator as rightshift or leftshift. x >> y Arithmetic right shift of a two's complement integer representation of x by y binary digits. This function is defined only for non-negative integer values of y. Bits shifted into the most significant bits (MSBs) as a result of the right shift have a value equal to the MSB of x prior to the shift operation. x << y Arithmetic left shift of a two's complement integer representation of x by y binary digits. This function is defined only for non-negative integer values of y. Bits shifted into the least significant bits (LSBs) as a result of the left shift have a value equal to 0. 1.10 Convolution operation The convolution is a fairly simple operation at heart: you start with a kernel, which is simply a small matrix of weights. This kernel “slides” over the input data, performing an elementwise multiplication with the part of the input it is currently on, and then summing up the results into a single output pixel. In some cases the convolution operation might comprise a “bias”, which is added to the output of the elementwise multiplication operation. The convolution operation might be described by the following mathematical formula. An output out1 can be obtained as:
wherein w1 are the multiplication factors, K1 is called a bias (an additive term) and ^^^ is the kth input, and N is the kernel size in one direction and P is the kernel size in another direction. The convolution layer might consist of convolution operations wherein more than one output might be generated. Other equivalent depictions of the convolution operation might be found below:
23 F1245807PCT
^ In the above equations “c” indicates the channel number. It is equivalent to output number, out[1,x,y] is one output and out[2,x,y] is a second output. Wherein the k is the input number, ^^[1, ^^, ^^] is one input and ^^[2, ^^, ^^] is a second input. The w1, or w describe weights of the convolution operation. 1.11 Leaky_Relu activation function The leaky relu activation function is depicted in Fig.10. According to the function, if the input is a positive value, the output is equal to the input. If the input (y) is a negative value, the output is equal to a*y. The a is typically (not limited to) a value that is smaller than 1 and greater than 0. Since the multiplier a is smaller than 1, it can be implemented either as a multiplication with a non-integer number, or with a division operation. The multiplier a might be called the negative slope of the leaky relu function. 1.12 Relu activation function The relu activation function is depicted in Fig.11. According to the function, if the input is a positive value, the output is equal to the input. If the input (y) is a negative value, the output is equal to 0. 1.13 The JPEG AI image coding standard The existing design utilizes some NN-based image coding methods described mentioned above. Some of the features are described or summarized below. The numbers in parentheses are section numbers for reference. 1. (3.5.20) padding layer padding layer is denoted as ^^^^^^^^(^^^^, ^^^^, ^^, ^^ௗ) , where ^^^^, ^^^^ are height and width of tensor – input to Analysis transform, ^^ௗ is stride of proceeding convolution, ^^ is depth of convolution layer in deep learnable encoder. Padding layer receives tensor of size [^^, ℎௗି^, ^^ௗି^] and outputs tensor of size [^^, ^^ௗℎௗ , ^^ௗ^^ௗ] , where ℎௗ = ^^^^^^^^(ℎௗି^/^^ௗ); ^^ௗ = ^^^^^^^^(^^ௗି^/^^ௗ),ℎ^ = ^^^^, ^^^ = ^^^^. By default padding is performed by replication. Different model of padding can be specified (for example, padding by zeros). 2.(3.5.22) cropping layer cropping layer is denoted as ^^^^^^^^(^^^^, ^^^^,^^, ^^ௗ), where ^^^^, ^^^^ are height and width of tensor – output to Synthesis transform, ^^ௗ is stride of proceeding transposed convolution, ^^ is depth of convolution layer in deep learnable reconstruction process. Cropping layer outputs a tensor of size [^^, ℎௗି^,^^ௗି^], where ℎௗି^,^^ௗି^ defined in Table 2. Note, that ℎ^ = ^^^^,^^^ = ^^^^. Cropping is performed by discarding redundant elements. 24 F1245807PCT
Table 2 Tensor size parameters for primary and secondary components decoding.
Table 3 Supported combinations of output picture format and scaling factors
3. (8.4) Latent space tiles Latent space tiles decoding can be enabled for each component independently by flags signalled in picture header (section 9.3). If tile_enable_Luma or tile_enable_Choma is true then corresponsing component is decoded unsing latent tiling process illustrated on Fig.12. The number and location of tiles are determined by values tile size ^^௧^^^(equal to tile_size_Luma for primary component and tile_size_Chroma for secondary component ) and tile overlap ^^௧^^^ (tile_ overlap _Luma for primary component tile_ overlap_Chroma for secondary component ) signalled in picture header (section 9.3). Further, the ratio ^^ = ^^^^⁄ ℎସ = ^^^^⁄ ^^ସ between signal domain size and latent tensor size is known, which is ^^ = 2ସ for primary and ^^ = 2ଷ for secondary component. The number of tiles vertically is ^^ = ^^^^^^^^ ((^^^^ − ^^௧^^^)⁄ ( ^^௧^^^ − ^^௧^^^) ) and horizontally 25 F1245807PCT
^^ = ^^^^^^^^ ((^^^^ − ^^௧^^^)⁄ (^^௧^^^ − ^^௧^^^) ), where ^^^^, ^^^^ are height and width of output color plane. ^^^^, ^^^^ are hight and width of output color plane. For ^^ = 0, … , ^^ − 1 and ^^ = 0, … , ^^ − 1 - Define tiles coordinates and sizes o
= ^^ ∙ (^^௧^^^ − ^^௧^^^) – vertical dimension tile start in signal domain; o
= ^^(^) ^ ⁄ ^^ – vertical dimension tile start in latent o
– vertical dimension tile size in signal domain; o
= ^^^^^^^^(^^(^) ^ ⁄ ^^ )– vertical dimension tile size in latent o ^^(^) = ^^ ∙ (^^ −
– horizontal dimension tile start in signal o ^^(^) (^) ସ = ^^^ ⁄ ^^ – horizontal dimension tile start in latent space; o
– horizontal dimension tile size signal domain; o ^^(^) ସ = ^^^^^^^^(^^(^) ^ ⁄ ^^ ) – horizontal dimension tile size in latent space. - tile latent space tensor
- Synthesis transform for one tile o Synthesis transform described in section 8.3 with ^^^ , ^^^ (^) ^,^ of sizes
and ^^ସ inputs and ^^^ of size
- Merging reconstructed parts of tensor into one o ov =
== 0 ^? 0:^^ / 2 – overlap used on left boundary of the o ov (^) ^ = ^^^^ == 0 ^? 0: ^^௧^^^ / 2 – overlap used on top boundary of the tile; o ov = + (^)
^^^ >= ^^^^ ^? 0: ^^ / 2 – overlap used on right boundary the tile; o ov = ^^^(^) (^) ୠ ^ + ^^^ >= ^^^^ ^? 0: ^^௧^^^ / 2 – overlap used on bottom boundary of 26 F1245807PCT
the tile; o
− ov^ − ovୠ vertical dimension tile size in signal domain without tile overlap; o
− ov୪ − ov୰ horizontal dimension tile size in signal domain without tile overlap; o For ^^ = 0, … , ^^ − 1 , ^^ = 0, … , ^^(^) − 1 an (^) ^^ ^ d ^^ = 0, … , ^^^ − 1,
Tile size location and overlap signalling in Picture Header is described in Annex C. 4. (9.2) Code stream layout Code stream structure is depicted in Fig.13. The code stream is composed of six parts with byte boundary, which are: 1. SOC - Start Of Codestream marker; 2. PIH (Picture Header marker) followed by picture header (section 9.3); 3. TOH (Tools Header marker) followed by tools information (section 9.3.1.1); 4. SOQ (start of Quality map marker) followed by code stream; 5. SOZ (Start of Z-stream marker) followed codestream of hyper tensor z, including ^̂^^ ( "^^^^^^^^^^^^ ^^^" in Fig. 14, which illustrates a general JPEG AI decoder structure) and ^̂^^^("^^^^^^^^^^^^ ^^^^" in Fig. 14); 6. SORp (Start of Residual stream for primary component marker) followed by codestream of primary component residual, which includes ^̂^^ ("^^^^^^^^^^^^ ^^^" in Fig.14); 7. SORs (Start of Residual stream for secondary component marker) followed by codestream of secondary component residual, which includes ^̂^^^ ("^^^^^^^^^^^^ ^^^^" in Fig.14); 8. EOC - End Of Codestream marker. The overall syntax structure of an image is:
27 F1245807PCT
Each code sream starts with a 16-bit marker. All markers used in this specification are as follows:
5. (9.3.1) Syntax table
28 F1245807PCT
6. (9.3.1.1) Model header
7. (9.3.2) Picture header semantics Following serves information is signalled: 29 F1245807PCT
picture_header_size is the number of bytes in the picture header excluding the first two-byte marker; img_width plus 64 specifies width of an input picture (from 64 to 65600); img_height plus 64 specifies height of the input picture (from 64 to 65600); picture_format is a data format of the output picture (YUV420 = 0, YUV444 = 1, sRGB = 2, YUV422 = 3); bit_depth is a bit-depth the output picture (“0” corresponds to 8 and “1” corresponds to 10); bit_c_ver is one bit value which defines c_ver =1+ bit_c_ver, c_ver controls internal subsampling mode of the secodary component in vertical direction as defined in Table 3 and Table 2. If bit_c_ver is not present in bit-stream then c_ver is equal to 2. bit_c_hor is one bit value which defines c_hor =1+ bit_c_hor, c_ver controls internal subsampling mode of the secodary component in vertical direction as defined in Table 3 and Table 2. If bit_c_hor is not present in bit-stream then c_hor is equal to 2. bit_s_ver is one bit value which defines s_ver which is used for align coding subsampling mode of the secodary component and subsampling mode in output picture format in vertical direction as defined in Table 3. Usage of s_ver is descried in section 7.6 If bit_c_ver is not present in bit-stream then s_ver is equal to 1. bit_s_hor is one bit value which defines c_hor =1+ bit_c_hor, c_ver controls internal subsampling mode of the secodary component in vertical direction as defined in Table 3 Usage of s_ver is descried in section 7.6 If bit_c_ver is not present in bit-stream then s_hor is equal to 1. scale_comp[2] are vertical and horizontal ratio between primary and secondary components sizes of coded picture ^^௩^^ = scale_comp[0] and ^^^^^ = scale_comp[1] ; if not present (res_changer_enable = false) then ^^௩^^ = 2 and ^^^^^ = 2. Allowed values are listed in Table 3. independent_beta_uv is a flag (false/true) which indicates do the rate control parameter (^^) for primary and secondary components are the same. beta_displacement_log_y – parameter indicating ratio between rate control parameter beta selected by encoder for primary component and one used in the model training. betaDisplacementLogY = beta_displacement_log_y – 211 beta_displacement_log_uv – parameter indicating ratio between rate control parameter beta selected by encoder for secondary component and one used in the model training. betaDisplacementLogUV = beta_displacement_log_uv – 211 model_id is an identificator of pre-stored checkpoint with model’s weights, model_id = 0,1,2,3 or 4. opIdx is an identificator for operation point, 0 means “base”, 1 means “high” operation point. 30 F1245807PCT
tile_enable_Luma and tile_enable_Chroma are enable flags for tiling of primary and secondary components. tile_size_Luma and tile_size_Chroma are size of tiles for primary and secondary components. tile_overlap_Luma and tile_overlap_Luma are sizes of tiles overlapping areas for primary and secondary components. cube_group_flag is 1-bit unsigned integer. cube_group_ flag=0 indicates no cube_flag is signalled in one group, and cube flags of one group are set to be 1. cube_group_ flag=1 indicates cube flags of one group are signaled. cube_luma_flag is 1D array of size ((ℎସ,^ + 7) ≫ 3) ∙ ((^^ସ,^ + 7) ≫ 3) , which contains cube flags for primary component. 1 indicates Skip Mode is applied to one cube of residual tensor of primary component ^̂^^.0 indicates Skip Mode is disable for one cube of residual tensor of primary component ^̂^^. cube_chroma_flag is 1D array of size ((ℎସ,^^ + 7) ≫ 3) ∙ ((^^ସ,^^ + 7) ≫ 3) , which contains cube flags for secondary component. 1 indicates Skip Mode is applied to one cube of residual tensor of secondary component ^̂^^^. 0 indicates Skip Mode is disable for one cube of residual tensor of secondary component ^̂^^^. color_transform_enable is an enable flag for color convertion module. color_transform_matrix[i][j] is a matrix of color convertion. If not present (color_transform_enable is false) then default ITU-R BT.709 colour transform is used (refer to section 7.8). color_transform_offset[i] is an offset for color transformation If not present (color_transform_enable is false) then default ITU-R BT.709 colour transform is used (refer to section 7.8). 8. (9.5.1.1) Syntax table of hyper tensor
31 F1245807PCT
9. (9.5.2) Quality map information decoder The input of this process is – Codestream for quality_map; – Indicators for sigma tables which are decoded in picture header: o quality_map_entropy_index_y for primary component. o quality_map_entropy_index_uv for secondary component. The output of this process is – quality_map_delta _Y is an array of size [ ^^ସ^, ℎସ^] with information used for deriving scaling factor (section 12.2) for primary component residual tensor. – quality_map_delta _UV is an array of size [ ^^ସ^^ , ℎସ^^] with information used for deriving scaling factor (section 12.2) for secondary component residual tensor. Here sizes [ ^^ସ^, ℎସ^] and [ ^^ସ^^, ℎସ^^] are defined in Table 2. q_primary_sigma_Idx is a 1D array of size ℎସ^ × ^^ସ^, and each element in this array is equal to q_sigma_Idx[quality_map_entropy_index_y], where the q_sigma_Idx[k] is derived according to Table 4. q_secondary_sigma_Idx is a 1D array of size ℎସ^^ × ^^ସ^^, and each element in this array is equal to q_sigma_Idx[quality_map_entropy_index_uv]. q_primary is a 1D array of size ℎସ^ × ^^ସ^, and quality_map_delta_Y is determined by: – quality_map_delta_Y[i, j] = q_primary[i × ^^ସ^ + ^^], for j = 0..^^ସ^ − 1, and i = 0..ℎସ^ − 1. 32 F1245807PCT
q_secondary is a 1D array of size ℎସ^^ × ^^ସ^^, and quality_map_delta_UV is determined by – quality_map_delta_UV[i, j] = q_secondary[ i × ^^ସ^^ + ^^ ], for j = 0..^^ସ^^ − 1 , and i = 0..ℎସ^^ − 1. – Table 4 Determining q_sigma_Idx for quality map delta decoding
10. (9.5.2.1) Syntax table of quality map information tensor
11. (9.5.3) Primary residual stream decoder The input of this process is – Primary component residual codestream; –
generated by Skip Mask generation (section 13.3.2) for primary component; 33 F1245807PCT
– sigma_Idx_primary – tensor of size ^^^^,ℎସ^,^^ସ^൧ which is the output of Sigma quantization (section 10.8) for primary component. The output of this process is – r_primary – one dimensional array {^^}of residual tensor elements which is an input of decoder skip process (section 13.3.4) for primary component. Here sizes ^^^, ^^ସ^, ℎସ^ are defined in Table 2. A one dimensional array sigma_Idx_primary_1D is determined though following steps: − Set k = 0 − For ^^ = 0..^^^ − 1, − For ^^ = 0.. ℎସ^ − 1 , ^ For ^^ = 0..^^ସ^ − 1 • if mask_skip[c,i, j] is equal to True, sigma_Idx_primary_1D[k] is set to equal to sigma_Idx_primary[c, i, j] and increase k by 1. 12. (9.5.3.1) Syntax table of primary residual tensor
13. (9.5.4) Secondary residual stream decoder The input of this process is – Codestream for secondary component residual; 34 F1245807PCT
– mask_skip[^^^, h4UV, w4UV] generated by Skip Mask generation (section 13.3.2) for secondary component; – sigma_Idx_secondary – tensor of size [^^^,ℎସ^^ ,^^ସ^^] which is the output of Sigma quantization (section 10.8) for secondary component. The output of this process is – r_secondary – one dimensional array {^^} of residual tensor elements which is an input of decoder skip process (section 13.3.4) for secondary component. Here sizes ^^^,ℎସ^^ ,^^ସ^^ are defined in Table 2. A one dimensional array sigma_Idx_secondary_1D is determined though following steps: − Set k = 0 − For ^^ = 0..^^^ − 1, − For ^^ = 0.. ℎସ^ − 1 , ^ For ^^ = 0..^^ସ^ − 1 • if mask_skip[c,i, j] is equal to True, sigma_Idx_secondary_1D[k] is set to equal to sigma_Idx_secondary[c, i, j] and increase k by 1. 14. (9.5.4.1) Syntax table of secondary residual tensor
15. (10.3) Hyper Scale Decoder Hyper scale decoder net is depicted in Fig.15. 35 F1245807PCT
The input of hyper scale decoder is − ^̂^[^^,ℎ^,^^^] reconstructed hyper tensor, − sizes of input/output tensor ^^^^ ,^^^^, − operation point indicator ^^^^^^^^^^, − model parameters for Hyper Scale Decoder Net defined by pair (^^^^^^^^^^^^^^^^, ^^^^^^^^^^), all multiplier parameters in those models are 8-bits integer. The output of hyper scale decoder is standard deviation logarithm tensor ^^ఙ [^^,ℎସ,^^ସ] with integer values in a range
defined in section 0. Sizes of those tensors for primary and secondary components are listed in Table 2. All operation in scalable hyper decoder are integer, an accumulator in all computations is within 32 bits integer diapason, multipliers in model parameters are quantized to 8-bits integer. This guarantees bit-exact behaviour of this neural network module. Hyper scale decoder uses special type of operations quantized convolutions. For each quantized convolution in the process the set of clipping values {^^^} and de-scaling shifts parameters {^^^} (1 ≤ ^^ ≤ 3) are specified for each channel. All clipping values in quantized convolutions are ^^ ^ ^ = 2 . De-scaling shifts {^^^} are provided in section 15.6. NOTE − the magnitude of integerized weights in quantized model doesn’t exceed ^^^^, shift and clipping value combination ensures the register of quantized convolution is within 32-bits. The sequence of operations in this module doesn’t depend on operation point indicator (^^^^^^^^^^), but model parameters are different for base and high operation point. Hyper scale decoder starts with quantized convolution kernel size 1 × 1 , stride 1, followed by rectified linear unit. Then there is a stride 1 quantized convolution with kernel size 3 × 3 , followed by rectified linear unit. The next stride 1 quantized convolution (kernel size 1 × 1) increases the number of channels to 16^^ . It is followed by pixel shuffle (stride 4), which brings number of channels back to ^^ . The cropping layer (stride 4, depth 5) ensures the size of output tensor is [^^, ℎସ,^^ସ]. The process concluded with abs operation. Model with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in <oper_point>/model_<MID>/<COMP>/hyper_scale_decoder.onnx, where <oper_point> is “base” or “high”, <MID> is an integer from 0 to 5, <COMP> is “primary” or “secondary”. 16. (11.2) Hyper Decoder The learning-based hyper decoder consists of two independent pipe-lines with identical 36 F1245807PCT
neural network architecture, except input size and number of channels. The input of this process is − ^̂^ [^^, ℎ^, ^^^] reconstructed hyper latent tensor, − model parameters for Hyper Decoder Net defined by (^^^^^^^^^^^^^^^^), − operation point indicator ^^^^^^^^^^. The output of this process is − ^^^^^^,ℎସ,^^ସ൧ is explicit prediction (part of predicton tensor derived from explicitly signalled information), with channels size ^^^ = (^^^^^^^^^^ + 1)^^. Hyper decoder process is depicted in Fig.16. Hyper decoder starts stride 1 convolution with kernel size 1 × 1, followed by inverse convolution (stride 2, kernel size 4 × 4), cropping layer (depth 6) and leacky rectified linear unit. Next step is stride 1 convolution with kernel size 3 × 3, followed by inverse convolution (stride 2, kernel size 4 × 4), cropping layer (depth 5) and leacky rectified linear unit. Number of channels kep un- changed till this point (equal to number of channels ^^ of input tensor). Hyper decoder concluded by stride 1 convolution with kernel size 3 × 3 which increases number of channels to 2^^ for high operation point and keeps number fo channes unchanged for base operation point followed by leacky rectified linear unit. Model with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in <oper_point>/model_<MID>/<COMP>/hyper_decoder.onnx, where <oper_point> is “base” or “high”, <MID> is an integer from 0 to 5, <COMP> is “primary” or “secondary”. 17. (11.3) Latent tensor reconstruction process The input of this process is − operation point indicator ^^^^^^^^^^, − ^̂^ [^^,ℎସ,^^ସ] reconstructed residual tensor, which is an out out of SKIP Model process (13.3.4), − ^^ ^^^^,ℎସ,^^ସ൧ explicit prediction, with channels size ^^^ = (^^^^^^^^^^ + 1)^^ , which is an output of Hyper Decoder (11.2), The output of this process is − ^^^′ [^^, ℎସ,^^ସ] reconstructed latent tensor. The process is as follows. If ^^^^^^^^^^ == 0 (base operation point) then multi-stage context modelling process is by- passed, − explicit prediction is added to residual ^^^′ = ^̂^ + ^^ [0:^^ − 1,ℎସ, ^^ସ]: 37 F1245807PCT
If ^^^^^^^^^^ == 1 (high operation point) then: − Multi-stage Context Modelling process (section 11.4) is used. 18. (11.4) Multistage Context Modelling The input of this process is − ^̂^ [^^,ℎସ,^^ସ ] reconstructed residual tensor, which is an out out of SKIP Model process (13.3.4), − ^^ [2^^,ℎସ,^^ସ] explicit prediction, which is an output of Hyper Decoder (11.2), − Eight MCMk , k=0,…7 models with parameters defined by (^^^^^^^^^^^^^^^^,^^), The output of this process is − ^^^′ [^^, ℎସ,^^ସ] reconstructed latent tensor. The process consists of following steps: − padding layer (depth 5, stride 2) and down-shuffle (11.5.1) M=2 of explicit prediction tensor ^^[2^^,ℎସ, ^^ସ] to ^^^[8^^, ℎହ,^^ହ] re-shaped prediction tensor, − padding layer (depth 5, stride 2) and down-shuffle (11.5.1) M=1 of reconstructed resdiaul ^̂^[^^,ℎସ, ^^ସ] to ^^^[4^^,ℎହ, ^^ହ] re-shaped residual tensor, − split ^^^[8^^, ℎସ, ^^ସ] into four parts ^^^^ = ^^^[2^^^^: 2(^^ + 1)^^ − 1,ℎହ, ^^ହ], ^^ = 0, … ,3 (each parts consists of 2C out of 8C channels), − split ^^^[4^^,ℎସ, ^^ସ] into eight parts ^^^^ = ^^^[^^^^/2: (^^ + 1)^^/2 − 1,ℎହ, ^^ହ], ^^ = 0, … ,7 (each parts consists of C/2 out of 4C channels), − For k=0,…,3 o MCM(k) process which ^ takes as an input • {^^^^},^^ = 0, … , ^^ − 1 previously reconstructed parts of re-shaped latent space tensor, • ^^^^ – collocated part of reconstructed residual tensor, • ^^^^%ସ- part of re-shaped explicit prediction tensor, ^ outputs • produces ^^^^ = ^^^[^^^^/2: (^^ + 1)^^/2 − 1,ℎହ,^^ହ]. − Channel net process (11.5.4) over ^^^[0: (2^^ − 1,ℎହ,^^ହ] tensor. − For k=3,…,7 o MCM(k) process which ^ takes as an input • {^^^^},^^ = 0, … , ^^ − 1 previously reconstructed parts of re-shaped 38 F1245807PCT
latent space tensor, • ^^^^ – collocated part of reconstructed residual tensor, • ^^^^%ସ- part of re-shaped explicit prediction tensor. ^ outputs • produces ^^^^ = ^^^[^^^^/2: (^^ + 1)^^/2 − 1,ℎହ,^^ହ]. − up-shuffle (11.5.2) M=2 and cropping layer (depth 5, stride 2) ^^^[4^^, ℎହ, ^^ହ] to ^^^′[^^,ℎସ, ^^ସ]. − up-shuffle (11.5.2) M=2 and cropping layer (depth 5, stride 2) ^^^[4^^, ℎହ,^^ହ] to ^^[^^, ℎସ,^^ସ] (to be further used in LSBS process 13.4.2). Multi-stage context modelling process is depicted in Fig.17. This is a recurrent process: later stages uses previously obtained elements of output tensor as an input. Data flow which corresponds usage of previous stages output is marked with arrows in Fig.17. Models with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in high/model_<MID>/<COMP>/MCM/stage<N>.onnx, where <MID> is an integer from 0 to 5, <COMP> is “primary” or “secondary”, <N> is a number of MCM’s stage from 0 to 7. 19. (13.3.4) Decoder side SKIP operation At the decoder, the inputs of skip mode process are − 1D array s[num_res_elements] after decoding by me-tANS (section 9.5.2) to from the “^^^^^^^^^^^^ − ^^”, – mask_skip[C,h4,w4]. The output of this process is − the residual tensor ^̂^[C,h4,w4]. The output of the lossless decoding process is a 1D array {^^^ }, whose size is equal to the total number of “1”s in the mask_skip [C,h4,w4] tensor. In other words, the mask_skip [C,h4,w4] tensor determines which samples of the residual tensor ^̂^ are included in the bitstream. All of the other samples of the quantized residual tensor are inferred to be equal to zero. The process of residual skip mode at the decoder is as follows: − Dimensions [^^,ℎସ,^^ସ] are set equal to number of channels, height and width of the sigma tensor ^^ (Table 2). − Tensors ^̂^ [C,h4,w4] is initialized to be equal to all zeros. − The counter ^^ = 0. 39 F1245807PCT
− The following ordered steps are applied: − For ^^ = 0..^^ − 1, − For ^^ = 0.. ℎସ − 1 ^ For, ^^ = 0..^^ସ − 1 if mask_skip
is equal to True, ^̂^[^^, ^^, ^^]= mask_skip
⋅(s[k]-216-1+1) , and increase k by 1; ^ otherwise, ^̂^[^^, ^^, ^^] = 0. 20. (14.1.1) Inter channel correlation information filter tiling and output selection process The ICCI filter processes the input in tiles using the same method described in Section 8.4. The tile size icci_tile_size and tile overlap icci_tile_overlap are same for the primary (Luma) and secondary (Chroma) components and signalled in picture header (Section 9.3). The ratio ^^ between input domain size and output tensor size is fixed to 1 for each component. The minimum tile size is limited to 176 for the stable computation of the model selection explained next. In total, 10 ICCI filters are included into the design. In each tile tileID for each color component comp=0..2 (“0” –
“1” – “u”, “2”- “v”) the filter is selected based on icci_model_idx[comp][tileID] value which is coded in picture header (Section 9.3). In case icci_model_idx = 0, the ICCI processing is bypassed. 21. (14.2) Adaptive upsampler This section details the primary component guaided adaptive upsampler process. This process provides enhancement of secondary components (colour information planes) of image utilising information from primary component. This process is enabled if EFE_upsampler_enabled_flag is true. The input of this process is − ^^^^ [1,^^^,^^^] (output of synthesis transfor for primary component), − ^^^^^ [2,^^^^^^,^^^^^^] (output of synthesis transfor for secondary component), The output of this process is − enhanced secondary component ^^^′^^ [2,^^^^ ,^^^^ ] which goes to the ICCI filter block (section 14.1) and ^^^′′^^ [2,^^^^ ,^^^^ ] which goes to the non-linear filter block (section 14.3). Fig.18 illustrates an example implementation of primary component guided adaptive up- sampling filter. If EFE_upsampler_enabled_flag is equal to 0, the ^^^′^^ [2,^^,^^] is up-sampled by bi-cubic interpolation as described in section 7.6. Otherwise the following ordered steps are performed: 40 F1245807PCT
− The parsing process according to parsing table in Section 9.4.1 is invoked to obtain ^^^^, ^^^^, ^^ସ^, ^^ସ^ and ^^^. − Tiling process is as described in section 14.2.2 is invoked with parsed syntax elements as inputs and Tile1 tensor as output. − Parameter update process as specified in section Section 14.2.1. is invoked with ^^ସ^ and ^^^^as inputs and modified ^^ସ^ and ^^^^ as outputs. − ^^^[2] is vector is subtracted channelwise from ^^^′^^[2, ^^^^^^,^^^^^^]. −
are set equal to pixelUnshuffle
^^^^^^^^^^௩^^ , ^^^^^^^^^^^^^) and pixelUnshuffle
2,2) − For x = 0.. (W+1)/2-1, y = 0…(H+1)/2-1, k = 0..1, i=0…^^௩^^-1, j=0…^^^^^-1 the following is performed: − ^^ℎ = 4^^ + 2^^ + ^^ −
− ^^ℎ^^ = ^^ ∙ ^^^^^^^^^^௩^^ ∙ ^^^^^^^^^^^^^ + ^^^^^^^^^^^^^ ∙ (^^%^^^^^^^^^^௩^^) + (^^%^^^^^^^^^^^^^) − ^^^ௗ௫ = ^^^^^^^^1[^^, ^^, ^^] − ^^′[^^ℎ^௨௧, ^^, ^^] = ^^[^^ℎ^^, ^^, ^^] ⋆ ^^ସ^[^^^ௗ௫, ^^ℎ] + ^^[2^^ + ^^, ^^, ^^] ⋆ ^^ସ^[^^^ௗ௫, ^^] + ^^^[k] − ^^′[^^ℎ^௨௧, ^^, ^^] = ^^[^^ℎ^^, ^^, ^^] ⋆ ^^^^[0, ^^ℎ]+ ^^[2^^ + ^^, ^^, ^^] ⋆ ^^^^[0,^^] + ^^^[k] − ^^^′ ᇱ ^^[2,^^^^, ^^^^] and ^^^′′^^[2,^^^^ , ^^^^] are set equal to pixelshuffle(^^ , ^^௩^^ , ^^^^^) and pixelshuffle(^^ᇱᇱ, ^^௩^^ , ^^^^^) respectively. 22. (14.4.1) LEF general process LEF process receives primary variance tensor ^^^^^^^^,ℎସ,^, ^^ସ,^൧ and reconstructed primary ^^^′^[1,^^, ^^] as inputs. The output of LEF process is edge enhanced modified ^^^′^ [1, ^^, ^^]. The following ordered steps are performed: − Picture header parsing process is invoked as described in section Section 9.3. to obtain ^^^^^^^^^^^^^^^^^^^^^^^^, − ^^ℎ^^^^^^ is set equal to ^^^^^^^^^^^^^^^^^^_^^ℎ^^^^^^^^^^_^^^^^^_^^^^^^^^^^[^^^^^^^^^^^^^^^^^^^^^^], − The ^^^^ ^_^^^^^^^ [1,^^^, ^^^] tensor is obtained as follows, for ^^ = 0.. ^^^ − 1, ^^ = 0.. ^^^ − 1, − ^^^^ ^_^^^^^^^ [0, ^^, ^^] = ^^^^[^^ℎ^^^^^^,^^^^^^^^^^൫^^ ∙ ℎସ,^ ÷ ^^^൯, ^^^^^^^^^^൫^^ ∙ ^^ସ,^ ÷ ^^^൯], − thr[3]=luma_edge_filter_thr_list_table [targetBppIdx], − intensity[4]=luma_edge_filter_intensity_list [targetBppIdx], − ^^^′^ = ^^^′^ ÷ 255, 41 F1245807PCT
− ^^^^^௨^ = ^^^′^ ⋆ ^^^^^^^^^^^^,
In this process zero padding is used when the indices of a tensor exceeds the tensor boundaries. The weights tensor ^^^^^^^^^^^^ is defined as follows: 1 ÷ 13 1 ÷ 13 5 ÷ 13 1 ÷ 13
1 ÷ 13 1 ÷ 13 The ^^^^^^^^^^^^^^^^^^_^^ℎ^^^^^^^^^^_^^^^^^_^^^^^^^^^^ is defined as follows: ^^^^^^^^^^^^^^^^^^_^^ℎ^^^^^^^^^^_^^^^^^_^^^^^^^^^^ = [23,23,65,65,65] The ^^^^^^^^_^^^^^^^^_^^^^^^^^^^^^_^^^^^^^^^^^^^^^^^^_^^^^^^^^ is as follows:
The ^^^^^^^^_^^^^^^^^_^^^^^^^^^^^^_^^ℎ^^_^^^^^^^^_^^^^^^^^^^ is defined as follows:
42 F1245807PCT
3. Problems The existing design has the following problems: 1) Per the current codestream structure, in an JPEG AI codestream containing a coded picture, a type-based bits organization solution is used. That is, all coded bits of the hyper tensor (denoted as 1st bit type) for the entire picture precede all coded bits of the primary component residual (denoted as 2nd bit type) for the entire picture, and all coded bits of the primary component residual for the entire picture precede all coded bits of the second component residual (denoted as 3rd bit type) for the entire picture. Therefore, even when the picture is split into multiple regions by having num_threads_z, num_threads_r_primary, and num_threads_r_secondary greater than 1, in order to decode only one region, the decoder still needs to parse and/or decode the different types of coded bits of all previous regions in raster-scan order. Furthermore, due to that there is no JPEG marker between the coded bits of different regions, it is not easy for the systems layer to encapsulate the coded bits of different regions into different data structures or data units for region-based transmission and/or processing. An example of such systems-layer data structure or data unit is a file format sub-sample. Another example is a file format sample in a track or item carrying only a subset of the regions. Yet another example is a real-time transport protocol (RTP) packet. 2) Currently it is possible for num_threads_z, num_threads_r_primary, and num_threads_r_secondary to have different values, which seems not working at all. 3) Currently, it is possible to partition a picture into multiple horizontally-split regions by having num_threads_z, num_threads_r_primary, and num_threads_r_secondary greater than 1. However, it is not possible to partition a picture into multiple vertically-split regions or into multiple horizontally-and-vertically-split regions. A use case for partitioning a picture into multiple vertically-split regions is a single-picture to cover a multi-page document, which is often used nowadays in document sharing in social media, wherein the picture has a normal height but a very large value of width, and in this case, the picture is rendered piece by piece, each piece corresponding to one page of the original multi-page document, and the user turns pages back and forth by sliding on the screen to the right and to the left, respectively. A use case for partitioning a picture into multiple vertically-split regions or into multiple horizontally-and-vertically-split regions is virtual reality or 360 degree image, wherein it is ideal for the client to be able to only receive and decode the minimum set of regions that fully covers 43 F1245807PCT
the current field of view of the user. Similarly, this capability can also be used for traditional region of interest (ROI) coding, which enables the client to be able to only receive and decode the minimum set of regions that fully covers the ROI of the user. 4) Currently, it is possible to partition a picture into multiple regions, and at the same time enable the correct decoding of a subset of each region independently from other regions by having tiles being subsets of regions and alignment of tiling between luma and chroma. However, there lacks a high-level indication of this regional access capability, e.g., in the picture header. 5) Currently, it is possible to partition a picture into multiple regions, and at the same time enable the correct decoding of a subset of each region independently from other regions. However, it is not possible to enable correct decoding of the entire regions. 4. Detailed Solutions To solve the above-described problems, methods as summarized below are disclosed. The solutions should be considered as examples to explain the general concepts and should not be interpreted in a narrow way. Furthermore, these solutions can be applied individually or combined in any manner. 1) It is proposed that a subset (such as a subpicture, or a tile, or a slice, or a region) of samples in a picture can be reconstructed independently from samples in the picture out of the subset, with a NN-based decoder such as a JPEG-AI decoder. 2) To solve problems 1 and 2, one or more of the following methods apply: a. Instead of using the current type-based bits organization solution for a whole picture, it is proposed to restrict the type-based bits organization solution to be region-based instead of picture-based. i. Alternatively, furthermore, the bits of all types for a first region are coded firstly, followed by the bits of a second region. ii. Alternatively, furthermore, the bits for a first region are organized following the type-based solution, that is, bits for one type in the first region are coded firstly, followed by bits for another type in the first region. iii. Alternatively, furthermore, an indicator (e.g., 1-bit flag or a starting code or an ending code) may be signalled after all bits of all types for a first region before coding the 2nd region. iv. Alternatively, furthermore, an indicator (e.g., 1-bit flag or a starting code or an ending code) may be signalled before all bits of all types for a region. v. Alternatively, furthermore, an indicator (e.g., 1-bit flag or a starting code or 44 F1245807PCT
an ending code) may be signalled before/after all bits of one type for a region. b. Coded bits of different types (e.g., the hyper tensor, primary component residual, and secondary component residual) for the same region are placed together. i. For example, coded bits of different types for the same region are not separated by a coded bit of any other region. ii. Additionally, one or multiple indications are signalled to control whether such a coded bit placement is applied or not. c. A JPEG marker is placed at the beginning of coded bits for at least one region. i. A JPEG marker is placed at the beginning of coded bits for each region. ii. In one example, for a region, a JPEG marker is placed at the beginning of each type (hyper tensor, primary component residual, or secondary component residual) of coded bits. iii. In another example, for a region, a JPEG marker is placed at the beginning the hyper tensor coded bits, but not at the beginning of the coded bits of the other types (i.e., primary component residual and secondary component residual). d. A first number of regions is applied on the hyper tensor coded bits, a second number of regions is applied on the primary component residual coded bits, and a third number of eregions is applied on the secondary component residual coded bits, and the numbers may satisfy: i. It may be required that the first number should be equal to the second number. ii. It may be required that the first number should be equal to the third number. iii. It may be required that the second number should be equal to the third number. iv. A single indication may be signaled to indicate the number of regions. 1. The first number, and/or the second number and/or the third number may be set equal to the signaled number of regions, without being signaled individually. ) To solve problem 3, one or more of the following NN-based image and/or video coding methods apply: a. Enable partitioning a picture into multiple vertically-split regions. i. E.g. the number of vertical splits is indicated. 45 F1245807PCT
ii. In one example, the number of vertical splits minus 1 is signalled. iii. In one example, the number of vertical splits is signalled and the value is constrained to be greater than 0. b. Enable partitioning a picture into multiple horizontally-and-vertically-split regions. i. E.g. the number of vertical splits and/or the number of horizontal splits are indicated. ii. In one example, the number of vertical splits minus 1 and the number of horizontal splits minus 1 are signalled. iii. In one example, the number of vertical splits and the number of horizonal splits are signalled and the values are both constrained to be greater than 0. c. Additionally, the maximum number of vertically-split and/or horizontally-split regions is constrained. i. In one example, the maximum number of regions is equal to a positive integer N, which may depend on the profile and level. d. Additionally, the position of vertically-split and/or horizontally-split regions is constrained. i. In one example, the upper-left luma position of a region shall be located at (2^X, 2^Y) relative to the upper-left luma position of the picture, where X and Y are non-negative integers. 1. In one example, both X and Y are equal to 4. 2. In one example, both X and Y are equal to 5. 3. In one example, both X and Y are equal to 6. e. Alternatively, the minimal number of luma samples and/or chroma samples contained in one region is constrained. i. In one example, the number of luma samples in one region shall be no smaller than 2. ii. In one example, the number of luma samples in one region shall be no smaller than 4. iii. In one example, the number of luma samples in one region shall be no smaller than 16. iv. In one example, the number of luma samples in one region shall be no smaller than 64. f. Alternatively, the maximum number of luma samples and/or chroma samples contained in one region is constrained. 46 F1245807PCT
i. In one example, the number of luma samples in one region shall be smaller than a positive integer N, which may depend on the profile and level.) To solve problem 4, an indication of regional access capability is signalled in a bitstream coded by an NN-based coder, e.g., to an NN-based decoder such as a JPEG-AI decoder, e.g., in the picture header. a. In one example, the indication indicates that it is possible to decode a region independently from other regions. i. In one example, the indication may indicate that it is possible to decode each region independently from other regions. b. In one example, the indication indicates that it is possible to correctly decode a region independently from other regions. i. In one example, the indication may indicate that it is possible to correctly decode each region independently from other regions. c. In one example, when it indicated that regional access is enabled, one or more of the following constraints are imposed: i. Each luma or chroma sample on a region boundary shall also be on a tile boundary. ii. Each tile is a subset of a region. This implies that tile width is less than or equal to region width, and tile height is less than or equal to region height. iii. Tiles for luma and for chroma are aligned. This implies that (tile_size_Luma_ver+^^௩^^-1)/ ^^௩^^ shall be equal to tile_size_Chroma_ver, and (tile_size_Luma_hor+ ^^^^^ -1)/ ^^^^^ shall be equal to tile_size_Chroma_hor. ) To solve problem 5, one or more of the following methods apply: a. In one example, an indication is signalled for a region to indicate whether the entire region can be correctly decoded independently from other regions. i. In one example, an indication may be signaled for each region individually. b. In one example, an indication is signalled for a region to indicate whether the entire region can be decoded independently from other regions. i. In one example, an indication may be signaled for each region individually. c. In one example, for any particular region, when it is indicated that the entire region can be correctly decoded independently from other regions, regardless of the tile overlap value signalled for the picture, zero overlap is applied when the boundaries of the region are processed in the decoding process. 47 F1245807PCT
i. In one example, alternatively, for any particular region, when it is indicated that the entire region can be correctly decoded independently from other regions, in the decoding process the boundaries of the region are handled in the same manner as picture boundaries. d. For a particular region, when it is indicated that the entire region can be decoded independently from other regions, regardless of the tile overlap value signalled for the picture, zero overlap is applied when at least one boundary of the region is processed in the decoding process. i. In one example, alternatively, for any particular region, when it is indicated that the entire region can be correctly decoded independently from other regions, in the decoding process at least one boundary of the region are handled in the same manner as picture boundaries. e. For item 5.c., 5.c.i, 5.d, or 5.d.i, one or more of the following apply: i. Additionally or alternatively, padding might be applied at at least one region boundary if it is indicated that the said region can be decoded independently. 1. The padding amount might depend on the size of the region. 2. The padding amount might be determined according to the modulo of the region size. 3. The padding might be repetitive padding or padding with a constant value. ii. Additionally or alternatively, the region size might be multiple of M samples. 1. The M might be of the form 2N, wherein N might be a non-negative integer. 2. The M might be 64, or 128, or 256. 3. When the region size is determined to be multiple of M samples, all of the regions that are not at the right or bottom image boundary might be restricted to have a size that is multiple of M. 4. As an example if the region size is determined to be multiple of 64, no padding might be necessary for processing of the said region. Since padding requires extra processing, restricting the region sizes to be multiple of 64 eliminates the extra processing. a. The padding operation might be necessary only at the regions that coincide with right or bottom image boundary. 48 F1245807PCT
b. The padding operation might be performed in a way to make the region size multiple of 64. ) To solve problem 5, according to some example embodiments of the present disclosure, the following might be performed. a. The process of entropy decoding of a region might be performed independently from other regions. b. The process of sample prediction of latent tensor reconstruction of a region might be performed independently from other regions. c. The process of filtering of a region might be performed independently from other regions. i. The filtering process might comprise a convolution operation. ii. The convolution process might comprise padding (repetitive padding or padding with a constant), if the convolution process requires samples outside of a region. iii. The convolution process might be restricted to use samples inside of a region. iv. The convolution process might be implemented as cross-correlation process. d. The process of tensor reconstruction of a region might be performed independently from other regions. i. A bitstream might be decoded according to an order, wherein all samples corresponding to a region might be decoded before decoding of any samples corresponding to another region. 1. A hyper latent (or a hyper tensor substream) of a region might be decoded first, 2. A primary residual stream of a region might be decoded secondly, and 3. A secondary residual stream of a region might be decoded thirdly, wherein a sample corresponding to a second region is not decoded after the decoding of the first sample of the hyper latent and before the end of decoding of the last sample of the region. ii. A residual tensor or a latent or a hyper latent tensor might be reconstructed according to an order, wherein samples of each region might be grouped together. iii. A residual tensor or a latent or a hyper latent tensor might be reconstructed 49 F1245807PCT
according to an order, wherein all samples of a first region is reconstructed first, then all samples of a second region are reconstructed. e. Any of the above mentioned processed might comprise a neural network that might be applied to process a region independently from other regions. i. The said neural network might be a hyper decoder or a hyper scale decoder or alike. ii. The output of the neural network might be standard deviation logarithm tensor, standard deviation tensor or alike. iii. The output of the neural network might be prediction tensor, explicit prediction tensor or alike. iv. The said neural network might be performed multiple times on each of the regions in decoding of an image. v. A cropping might be applied during or at the end of the processing with the neural network, wherein the cropping among is determined according to the region size. 1. Cropping might be applied only if a region shares a boundary with the bottom or right boundary of an image. 2. Cropping might not be applied if a region does not share any boundary with the bottom or right boundary of an image. f. A lossless decoder, (arithmetic decoder, asymmetric numeral systems or alike) might be applied to obtain the residuals corresponding to a region independently of other regions. g. The probability parameters of a region might be obtained independently of other regions. i. Probability parameters (e.g. sigma parameters, gaussian sigma parameters etc.) corresponding to a region might be used to decode the samples of only one region and not used to obtain (i.e. decode) the samples of a second region. h. The sample prediction of latent sample prediction process might comprise a multi- state context model process. i. The coordinates of a region (e.g. vertical coordinate, horizontal coordinate) and/or the size of a region might be determined according to image size and a depth parameter. i. Vertical coordinate of a region might be obtained according to 50 F1245807PCT
i*VerRegionSize/2d. ii. Vertical ending coordinate of a region might be obtained according to (i==NumVerSplits - 1) ? ceil((img_height+64) ÷2d) : (i+1)*VerRegionSize/2d. iii. Horizontal coordinate of a region might be obtained according to i*HorRegionSize/2d. iv. Horizontal ending coordinate of a region might be obtained according to (j==NumHorSplits - 1) ? ceil((img_width+64) ÷2d) : (j+1)*HorRegionSize/2d. Wherein the I and j are the indices of the region, img_width, img_height are the width and height of the image and “d” is the depth of the tensor. A neural network used to process the regions might comprise multiple processing layers, each one processing an input tensor and outputting an output tensor. The depth parameters might correspond to the position of a tensor output. 7) In one example, a first bitstream coded with at least one NN may be processed to get a second bitstream and the second bitstream may be decoded. a. In one example, a sub-stream denoted as the second bitstream may be extracted from the first bitstream, and the sub-stream may be decoded. i. In one example, the sub-stream may be a subset of the first bitstream. 1. In one example, the sub-stream may be a modified subset of the first bitstream. ii. In one example, a sub-stream may correspond to a region in the picture corresponding to the first bitstream. b. In one example, whether and/or how the first bitstream is processed to generate the second bitstream may be indicated in the first and/or second bitstream. 8) According to some example embodiments of the present disclosure, data corresponding to a region might be removed and/or extracted from the bitstream. a. The data might be a substream, a bitstream, a syntax element or like. i. The data might comprise quality map information, a residual data, luma residual data, chroma residual data, a hyper latent data, residual latent data or alike. b. An indication might be included in the bitstream to indicate data corresponding to which region is present (or absent) in a bitstream. i. The indication might be an index. 51 F1245807PCT
1. The indication might indicate a region index or a substream index. 2. The indication might be a list of indices, wherein each entry of the list might indicate the regions that are removed from the bitstream. 3. The indication might be a list of indices, wherein each entry of the list might indicate the regions that are present in the bitstream. ii. The indication might be a flag. 1. The flag might indicate if a region is present in the bitstream or absent in the bitstream. iii. The indication might indicate the number of regions that are present or absent in the bitstream. 1. The indication might indicate the number of regions in a vertical dimension or a horizontal dimension that are present or absent in a bitstream. 2. The indication might be num_present_hor_splits_minus1 or num_present_ver_splits_minus1. 3. The indication might indicate total number of regions present or absent in the bitstream. c. An indication might be included in the bitstream to indicate if data corresponding to a region is present (or absent) in a bitstream. i. The data might comprise information related to; 1. part of a region. 2. residual information of a region. 3. hyper latent information of a region. 4. Quality map information of a region ii. A first indication might be included in the bistream to indicate the size of the data. 1. The first indication might indicate the number of bits or number of bytes. 2. The first indication might be coded using predictive coding. 3. The first indication might be coded using fixed length or variable length coding. 4. A second indication might be included in the bitstream to indicate the length of the first indication. a. The second indication might indicate the number of bits or 52 F1245807PCT
number of bytes that is used to encode/decode the first indication. b. The second indication might be q_ls, z_ls, r_primary_ls or r_secondary_ls as exemplified in embodiment 2. c. The second indication might be included in the bitstream (or obtained from the bitstream) based on a third indication. i. The third indication might be a flag. 5. The first indication might be z_stream_size, q_stream_size, r_primary_stream_size, or r_secondary_stream_size as exemplified in embodiment 1 or 2. d. An indication might be included in the bitstream to indicate if all regions are included in the bitstream or if a region is removed and/or extracted from the bitstream. i. The indication might be a flag. ii. The indication might be a region_set_exracted_flag flag. iii. If the value of the indication is true (or false), a second indication might be included in the bitstream to indicate: 1. number of regions that are removed (or present). 2. The indices of regions that are removed or present. 3. A flag to indicate if a region is removed or present. e. An indication might be included in the bitstream to indicate an area corresponding to regions that are removed or present. i. The area information might include a start coordinate and a size information. ii. The area information might include a number of regions that are removed or present. iii. The area information might include indices of a regions that are removed or present. ) According to some example embodiments of the present disclosure, the regions might be encoded/decoded independently or dependently. a. An indication might be included in the bitstream to indicate if a region might be decoded independently or dependently. b. If a region is indicated to be decoded independently: i. Samples corresponding to a neighbor region of the said independent region are not used in the processing of at least one processing module. 53 F1245807PCT
1. The processing module might be a hyper decoder, a hyper scale decoder, a sample prediction module, a latent prediction module, an MCM (multi-stage-context) module, an entropy decoding module or a synthesis transform module, etc. 2. The input of the processing module is set to comprise only the samples corresponding to said independent region. 3. The output of the processing module is assigned to the said independent region. ii. Samples corresponding to none of the neighbor regions of the said independent region are used in the processing of at least one processing module. c. If a region is indicated to be decoded dependently: i. At least one sample corresponding to a neighbor region of the said dependent region is used in the processing of at least one processing module. 1. The processing module might be a hyper decoder, a hyper scale decoder, a sample prediction module, a latent prediction module, an MCM (multi-stage-context) module, an entropy decoding module or a synthesis transform module, etc. 2. An extension size is used to determine the amount of samples to be used from a neighbor region. a. The extension size might be used to determine the size of the input of the processing module. b. The size might indicate the extension of the input of the processing module in either one of the horizontal or vertical direction. i. The size might indicate the extension amount in left/right/bottom or top direction. c. The extension size might be used to determine the cropping amount of the output of a processing module (how much of the samples to be discarded from the output of the processing module). d. The extension size might be different for different processing modules. i. The extension size might be 1 for hyper decoder and 54 F1245807PCT
hyper scale decoder. ii. The extension size might be 4 or 8 for latent reconstruction process or MCM process or sample prediction process. iii. The extension size might be indicated in the bitstream. 1. An indication might be included in the bitstream to determine the amount of extension in the input and output. ii. The dependent regions might be removed from the bitstream. iii. An independent region cannot be removed from the bitstream if a dependent region is present in the bitstream that requires samples from the said independent region. iv. A sample corresponding to an independent region or a dependent region might be used in the processing of a dependent region. ) The bitstream corresponding to a region might be encoded/decoded using an entropy coder in parallel. a. A data corresponding to a region might be coded/decoded using an entropy coder/decoder in parallel. i. The data might comprise information related to; 1. part of a region. 2. residual information of a region. 3. hyper latent information of a region. 4. Quality map information of a region. b. An indication might be included in the bitstream to indicate the number of parallel processing units (e.g. threads) can be used. i. The indication might indicate the number of threads. ii. The indication might be: 1. num_threads_q_minus1, 2. num_threads_z_minus1, 3. num_threads_r_primary_minus1, 4. num_threads_r_secondary_minus1. iii. The indication might be different for different data types. For example the number of parallel processing threads might be different for data 55 F1245807PCT
corresponding to luma information or chroma information. The number might be different for hyper latent information (e.g. hyper tensor) or residual information or quality map information or picture header. iv. The indication might be same for different data types. c. The above mentioned parallel processing units (e.g. number of threads) might be predefined or inferred. d. The parallel processing units (e.g. number of threads), or the maximum number of parallel processing units (maximum number of threads) might be determined based on: i. A profile indication, ii. A picture size indication. iii. A number of regions indication, iv. Etc. 11) According to some example embodiments of the present disclosure, the maximum number or maximum size or minimum size of a region might be determined based on: a. A profile indication, b. A picture size indication. c. A number of regions indication, d. Etc. 12) According to some example embodiments of the present disclosure, the regions might be centrally aligned, equipartitioned or shifted. a. An indication might be included in the bitstream to indicate that region coordinates are shifted. b. The regions might be equipartitioned. E.g. the regions might have same size except for the right or bottom boundary. i. An example is depicted in Fig.19 on the left. The 4 regions (except for the regions at the right and bottom boundary have equal sizes). c. The regions might be shifted. Compared to the equipartitioned case, the regions might be shifted to: i. Extend the size of the regions on the left and/or top boundary, and/or ii. Reduce the size of the regions at the right and/or bottom boundary. iii. An example is depicted in Fig.19 on the right. d. The processing areas corresponding to a region might be centrally aligned or shifted; i. During the processing of a region the tensor used as input to a first 56 F1245807PCT
processing module might be centrally aligned with the tensor used as input to a second processing module. ii. During the processing of a region the tensor used as input to a first processing module might be shifted with respect to the tensor used as input to a second processing module. iii. This is exemplified in Figs. 20A-20C, which illustrate three example alignment schemes. More specifically, Fig.20A illustrates a scheme with centrally aligned processing areas corresponding to a region, Fig. 20B illustrates an example of shifted areas, and Fig. 20C illustrates a further example of shifted areas. e. In one example the processing of a synthesis transform might be performed according to centrally aligned regions. And at least one processing unit is performed using non-aligned (e.g. shifted) regions. f. In one example the processing of a synthesis transform might be performed according to centrally aligned regions. And at least one processing unit is performed using either the centrally aligned or non-aligned (e.g. shifted) regions. i. The at least one processing unit might be one or more of the following: 1. Hyper decoder, 2. hyper scale decoder, 3. entropy decoder, 4. sample prediction unit, 5. MCM (multi-stage context model), 6. latent sample reconstruction unit. ii. The determination of if centrally aligned regions are used or not is determined based on an indication. 1. The indication might be included in a bitstream. 2. The indication might be inferred based on one or more of the following: a. Picture size, b. profile indication, c. level indication, d. etc. ) The correspondence between an index of a sub-stream and a region in the original picture may depend on at least one signaled indication. 57 F1245807PCT
a. In one example, the location (such as the coordinate of the top-left position) and/or the size (such as width and height) of the region corresponding with an index may be signaled. b. Alternatively, the correspondence between an index of a sub-stream and a region in the original picture may be derived. i. In one example, the location (such as the coordinate of the top-left position) and/or the size (such as width and height) of the region corresponding with an index may be derived based on the region partitioning way of the whole picture and/or the index scanning order of regions. 14) Constrains may be applied to regions in a picture coded with at least one NN. a. For example, two regions should not be overlapped. b. For example, all regions should cover the whole picture. c. For example, the region location (such as the coordinate of the top-left position denoted as (X, Y)) may be constrained. i. For example, X and/or Y must be in a form of k×N, where k is an integer and N is a predefined integer such as 2, 4, 8, 16. d. The region size (such as width W and height H) may be constrained. i. For example, X and/or Y must be in a form of k×N, where k is an integer and N is a predefined integer such as 2, 4, 8, 16. e. The number of total regions may be no larger than a predefined integer such as 16. f. The number of rows of regions may be no larger than a predefined integer such as 8. g. The number of columns of regions may be no larger than a predefined integer such as 8. 15) In one example, a syntax element signaled related to region based coding with at least one NN may be coded in a predictive way. General aspects 16) Additional operations may be applied to or with the proposed method. a) A syntax element (a.k.a. an indication) disclosed above may be binarized as a flag, a fixed length code, an EG(x) code, a unary code, a truncated unary code, a truncated binary code, etc. It can be signed or unsigned. b) A syntax element representing a coding tool or a coding method may not be signalled and implicitly determined to be unused, if the coding tool or the coding method is regarded as not applicable or cannot be used. 58 F1245807PCT
c) A syntax element disclosed above may be coded with at least one context model. Or it may be bypass coded. d) A syntax element disclosed above may be signaled in a conditional way. e) A syntax element disclosed above may be signaled at block level/ sequence level/group of pictures level/picture level/slice level/tile group level. f) Whether to and/or how to apply the disclosed methods above may be signalled at block level/ sequence level/group of pictures level/picture level/slice level/tile group level. g) Whether to and/or how to apply the disclosed methods above may be dependent on coded information, such as colour format, colour component, slice/picture type. 17) The proposed methods may be applied to other image/video compression solutions with NN-based coding tools involved. 5. Embodiments Below are some example embodiments for the detailed solutions aspects summarized above in Section 4. Most relevant parts that have been added or modified are shown by using bolded words (e.g., this format indicates added text), and some of the deleted parts are shown by using words in italics between double curly brackets (e.g., {{this format indicates deleted text}}). There may be some other changes that are editorial in nature and thus not highlighted. It should be understood that only markings in this section are intended to represent changes. 5.1. Embodiment 1 This embodiment is for some of the detailed solution items summarized above in Section 4. 1. (3.5.20) padding layer padding layer is denoted as ^^^^^^^^(^^^^, ^^^^, ^^, ^^ௗ) , where ^^^^, ^^^^ are height and width of tensor – input to Analysis transform, ^^ௗ is stride of proceeding convolution, ^^ is depth of convolution layer in deep learnable encoder. Padding layer receives tensor of size [^^, ℎௗି^, ^^ௗି^] and outputs tensor of size [^^, ^^ௗℎௗ , ^^ௗ^^ௗ] , where ℎௗ = ^^^^^^^^(ℎௗି^/^^ௗ); ^^ௗ = ^^^^^^^^(^^ௗି^/^^ௗ),ℎ^ = ^^^^, ^^^ = ^^^^. By default padding is performed by replication. Different model of padding can be specified (for example, padding by zeros). padding layer is denoted as ^^^^^^^^(^^) , where ^^,^^ are height and width of the input tensor and ^^ is stride. Padding layer receives tensor of size [^^, ^^, ^^] and outputs tensor of size [^^,^^ + ^^%^^, ^^ + ^^%^^]. Default padding is performed by replication when the padding mode is not explicitly specified. Different model of padding can be specified (for example, padding by zeros). 2. (3.5.22) cropping layer 59 F1245807PCT
cropping layer is denoted as ^^^^^^^^(^^^^, ^^^^,^^, ^^ௗ), where ^^^^, ^^^^ are height and width of tensor – output to Synthesis transform, ^^ௗ is stride of proceeding transposed convolution, ^^ is depth of convolution layer in deep learnable reconstruction process. Cropping layer outputs a tensor of size [^^,ℎௗି^,^^ௗି^], where ℎௗି^,^^ௗି^ defined in Table 2. Note, that ℎ^ = ^^^^,^^^ = ^^^^. Cropping is performed by discarding redundant elements. cropping layer is alternatively denoted as ^^^^^^^^(^^,^^), where ^^ ^^^^^^ ^^ are height and width of the output tensor. Cropping layer outputs a tensor of size [^^,^^,^^] by discarding redundant elements. 3. (8.4) Latent space tiles Latent space tiles decoding can be enabled for each component independently by flags signalled in picture header (section 9.3). If tile_enable_Luma or tile_enable_Choma is true then corresponsing component is decoded unsing latent tiling process illustrated on Fig.21. The number and location of tiles are determined by values tile size ^^^^^^^^^^^^^^^^ and ^^^^^^^^^^^^^^^^ (equal to tile_size_Luma hor and tile_size_Luma_ver for primary component and tile_size_Chroma_hor and tile_size_Chroma_ver for secondary component respectively ) and tile overlap ^^௧^^^ (tile_ overlap _Luma for primary component tile_overlap_Chroma for secondary component ) signalled in picture header (section 9.3). Further, the ratio ^^ = ^^^^⁄ ℎସ = ^^ ⁄ ^^ ସ ^^ ସ between signal domain size and latent tensor size is known, which is ^^ = 2 for primary and ^^ = 2ଷ for secondary component. The number of tiles vertically is ^^ = ^^^^^^^^ ((^^^^^^ − ^^^^^^^^^^)⁄ ( ^^^^^^^^^^^^^^^^ − ^^^^^^^^^^) ) and horizontally ^^ = ^^^^^^^^ ((^^^^^^ − ^^^^^^^^^^)⁄ (^^^^^^^^^^^^^^^^ − ^^^^^^^^^^) ), where ^^^^, ^^^^ are height and width of output color plane. are hight and width of output color plane. For ^^ = 0, … , ^^ − 1 and ^^ = 0, … , ^^ − 1, - Define tiles coordinates and sizes o ^^(^^) ^^ = ^^ ∙ (^^^^^^^^^^^^^^^^ − ^^^^^^^^^^) – vertical dimension tile start in signal domain;
^ top tile boundary is not at image boundary and ^ top tile boundary is not at a region boundary with independent_region_flag equal to 1. o ^^(^^) ^^ = ^^(^^) ^^ ⁄ ^^ – vertical dimension tile start in latent space; o
– vertical dimension tile size signal domain; 60 F1245807PCT
o ^^(^^) ^^ = ^^(^^) ^^ + ^^^^^^^^^^/^^ if ^ bottom tile boundary is not at image boundary and ^ bottom tile boundary is not at a region boundary with independent_region_flag equal to 1.
^ left tile boundary is not at image boundary and ^ left tile boundary is not at a region boundary with independent_region_flag equal to 1. o ^^(^^) ^^ = ^^(^^) ^^ ⁄ ^^ – horizontal dimension tile start in latent space; o ^^(^^) ^^ = (^^ < ^^ − ^^)? ^^ (^^) ^^^^^^^^^^^^^^ି^^^^^^^^^^: ^^^^^^ − ^^^^ – horizontal dimension tile size in signal domain; o ^^(^^) ^^ = ^^(^^) ^^ + ^^^^^^^^^^/^^ if ^ right tile boundary is not at image boundary and ^ right tile boundary is not at a region boundary with independent_region_flag equal to 1. o ^^(^^) ^^ = ^^^^^^^^(^^(^^) ^^ ⁄ ^^ ) – horizontal dimension tile size in latent space. - tile latent space tensor
o For ^^ = 0, … ,^^ − 1 , ^^ = 0, … (^) (^) ௗ ,ℎସ − 1 and ^^ = 0, … ,^^ସ − 1 ^ ^^^ [^^, ^^, ^ ] (^) (^) ^,^ ^ = ^^^^^^, ^^ସ + ^^, ^^ସ + ^^^ - Synthesis transform for one tile o Synthesis transform described in section 8.3 with ^^^ , ^^^ of sizes and (^) ^,^
^^ସ inputs and ^^^ of size
- Merging reconstructed parts of tensor into one o ^^^^^^ = ^^, ^^^^ ^^ (^^) ^^ == ^^ ^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^_^^^^^^^^^^^^_^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^^/^^,^^^^^^^^^^^^^^^^^^ – overlap used on left boundary of the tile 61 F1245807PCT
o ^^^^^^ =
^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^_^^^^^^^^^^^^_^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^^/^^,^^^^^^^^^^^^^^^^^^ – overlap used on top boundary of the tile o ^^^^^^ = ^^, ^^^^ ^^ (^^) ^^ + ^^ (^^) ^^ ≥ ^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^_^^^^^^^^^^^^_^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^^ / ^^ – overlap used on right boundary of the tile o ^^^^^^ =
^^^^^^^^^^^^^^^^^^^^^^_^^^^^^^^^^^^_^^^^^^^^ ^^^^ ^^^^^^^^^^ ^^^^ ^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^
– overlap used on bottom boundary of the tile o = ^^(^^) ^^ − ^^^^^^ − ^^^^ vertical dimension tile size in signal domain without tile overlap; o ^^(^^) ^^ = ^^(^^) ^^ − ^^^^^^ − ^^^^^^ horizontal dimension tile size in signal domain without tile overlap;
Tile size location and overlap signalling in Picture Header is described in Annex C. 4. (9.2) Code stream layout Code stream structure is depicted in Fig.22. The code stream is composed of the following parts with byte boundary, which are: 9. SOC - Start Of Codestream marker; 10. PIH (Picture Header marker) followed by picture header (section 9.3); 11. TOH (Tools Header marker) followed by tools information (section 9.3.1.1); 12. SOR (Start of region-stream marker) followed by codestream of hyper tensor z, including ^^^^^ ("^^^^^^^^^^^^ ^^^^" in Fig. 23) and ^^^^^^^("^^^^^^^^^^^^ ^^^^^^" in Fig. 23), codestream of primary component residual, which includes
("^^^^^^^^^^^^ ^^^^" in Fig. 23), and codestream secondary component residual, which includes ^^^^^^^ ("^^^^^^^^^^^^ ^^^^^^" in Fig. 23), for one region. 13. EOC - End Of Codestream marker. 62 F1245807PCT
The overall syntax structure of an image is:
Each code sream starts with a 16-bit marker. All markers used in this specification are as follows:
63 F1245807PCT
region_set_exracted_flag equal to 1 specifies that the picture() syntax strucure contains a set of extracted regions that forms a rectangular region of the full picture. region_set_exracted_flag equal to 0 specifies that the picture() syntax strucure contains the full picture. num_present_ver_splits_minus1 plus 1 specifies the number of columns of regions contained in the picture() syntax strucure. The value of num_present_ver_splits_minus1 shall be less than or equal to num_ver_splits_minus1. num_present_hor_splits_minus1 plus 1 specifies the number of rows of regions contained in the picture() syntax strucure. The value of num_present_hor_splits_minus1 shall be less than or equal to num_hor_splits_minus1. When region_set_exracted_flag equal to 1, the value of the variable NumVerSplits is updated to be equal to num_present_ver_splits_minus1+1, and the value of the variable NumHorSplits is updated to be equal to num_present_hor_splits_minus1+1. subsIdx indicates the region substream index. 5. (9.3.1) Syntax table
64 F1245807PCT
6. (9.3.1.1.) Model header
65 F1245807PCT
7. (9.3.2) Picture header semantics Following serves information is signalled: picture_header_size is the number of bytes in the picture header excluding the first two-byte marker; img_width plus 128 specifies width of an input picture (from 128 to 65600); img_height plus 128 specifies height of the input picture (from 128 to 65600); picture_format is a data format of the output picture (YUV420 = 0, YUV444 = 1, sRGB = 2, YUV422 = 3); bit_depth is a bit-depth the output picture (“0” corresponds to 8 and “1” corresponds to 10); bit_c_ver is one bit value which defines c_ver =1+ bit_c_ver, c_ver controls internal subsampling mode of the secodary component in vertical direction as defined in Table 3 and Table 2. If bit_c_ver is not present in bit-stream then c_ver is equal to 2. bit_c_hor is one bit value which defines c_hor =1+ bit_c_hor, c_ver controls internal subsampling mode of the secodary component in vertical direction as defined in Table 3 and Table 2. If bit_c_hor is not present in bit-stream then c_hor is equal to 2. bit_s_ver is one bit value which defines s_ver which is used for align coding subsampling mode of the secodary component and subsampling mode in output picture format in vertical direction as defined in Table 3. Usage of s_ver is descried in section 7.6 If bit_c_ver is not present in bit- stream then s_ver is equal to 1. bit_s_hor is one bit value which defines c_hor =1+ bit_c_hor, c_ver controls internal subsampling mode of the secodary component in vertical direction as defined in Table 3 Usage 66 F1245807PCT
of s_ver is descried in section 7.6 If bit_c_ver is not present in bit-stream then s_hor is equal to 1. num_ver_splits_minus1 plus 1 specifies the number of vertical splits. The variable NumVerSplits is derived to be equal to num_ver_splits_minus1 + 1. The maximum value of NumVerSplits is constrained such that the width of each vertical split shall be greater than or equal to 128 pixels. The maximum value of NumVerSplits may also be further constrained depending on the profile and the level to which the codestream conforms. The variable VerRegionSize is set equal to (((img_height + 127)/128)/NumHorSplits)*128. num_hor_splits_minus1 plus 1 specifies the number of horizontal splits. The variable NumHorSplits is derived to be equal to num_hor_splits_minus1 + 1. The maximum value of NumHorSplits is constrained such that the height of each horizontal split shall be greater than or equal to 128 pixels. The maximum value of NumHorSplits may also be further constrained depending on the profile and the level to which the codestream conforms. The picture is partitioned into NumVerSplits * NumHorSplits rectangular regions. The variable HorRegionSize is set equal to (((img_width + 127)/128)/NumVerSplits)*128. The tensor RC[7][ NumHorSplits][ NumVerSplits][6] array is set as follows: For d = 0…6, i = 0…NumHorSplits-1, j = 0…NumVerSplits-1; − RC[d][i][j][0] = i*VerRegionSize/2d − RC[d][i][j][1]=(i==NumHorSplits–1)? ^^^^^^^^൫^^ ⁄ ^^^^ ൯ : (i+1)* d ^^^^ VerRegionSize/2 − RC[d][i][j][2] = j*HorRegionSize/2d − RC[d][i][j][3] = (j==NumHorSplits – 1) ? ^^^^^^^^൫^^^^^^⁄ ^^^^ ൯: (j+1)*HorRegionSize/2d − RC[d][i][j][4] = RC[d][i][j][1] – RC[d][i][j][0] − RC[d][i][j][5] = RC[d][i][j][3] – RC[d][i][j][2]
− i = 0…NumHorSplits-1, j = 0…NumVerSplits-1; − if y >= RC[d][i][j][0] and y < RC[d][i][j][1] and x >= RC[d][i][j][2] and x <RC[d][i][j][3]; o sample2substrIdx[d][y][x] is set equal to i* NumVerSplits + j regional_access_enabled_flag equal to 1 specifies that a subset of each rectangular region can be correctly decoded without the presence of coded data of other rectangular regions, where the subset is obtained by shifting the boundaries of the rectangular region towards the inside by the tile overlap size. regional_access_enabled_flag equal to 0 specifies that there may or may not be such a subset of each rectangular region that can be correctly decoded without the presence of coded data of other rectangular regions. 67 F1245807PCT
When regional_access_enabled_flag is equal to 1, the following constraints apply: - The value of tile_size_Luma_ver shall be less than or equal to VerRegionSize. - The value of tile_size_Luma_hor shall be less than or equal to HorRegionSize. - (tile_size_Luma_ver+^^^^^^^^-1)/ ^^^^^^^^ shall be equal to tile_size_Chroma_ver. - (tile_size_Luma_hor+^^^^^^^^-1)/ ^^^^^^^^ shall be equal to tile_size_Chroma_hor. - Each luma or chroma sample on a region boundary shall also be on a tile boundary. independent_region_flag[ i ][ j ] equal to 1 specifies that the rectangular region on the i-th row and the j-th column can be correctly decoded without the presence of coded data of other rectangular regions. independent_region_flag[ i ][ j ] equal to 0 specifies that the rectangular region on the i-th row and the j-th column may or may not be correctly decoded without the presence of coded data of other rectangular regions. num_threads_z_minus1 plus 1 is the number of parallelly decodable sub-stream in the hyper tensor codestream; the maximum value of num_threads_z_minus1 is 127. num_threads_q_minus1 plus 1 is the number of parallelly decodable sub-stream in the quality map codestream; the maximum value of num_threads_q_minus1 is 127. num_threads_r_primary_minus1 plus 1 is the number of parallelly decodable sub-stream in primary component residual tensor codestream; the maximum value of num_threads_r_primary_minus1 is 127 and is dependens on profiles and levels. num_threads_r_secondary_minus1 plus 1 is the number of parallelly decodable sub-stream in secondary component residual tensor codestream; the maximum value of num_threads_r_secondary_minus1 is 127 and is dependens on profiles and levels. scale_comp[2] are vertical and horizontal ratio between primary and secondary components sizes of coded picture ^^௩^^ = scale_comp[0] and ^^^^^ = scale_comp[1]; if not present (res_changer_enable = false) then ^^௩^^ = 2 and ^^^^^ = 2. Allowed values are listed in Table 3. independent_beta_uv is a flag (false/true) which indicates do the rate control parameter (^^) for primary and secondary components are the same. beta_displacement_log_y – parameter indicating ratio between rate control parameter beta selected by encoder for primary component and one used in the model training. betaDisplacementLogY = beta_displacement_log_y – 211 beta_displacement_log_uv – parameter indicating ratio between rate control parameter beta selected by encoder for secondary component and one used in the model training. betaDisplacementLogUV = beta_displacement_log_uv – 211 model_id is an identificator of pre-stored checkpoint with model’s weights, model_id = 0,1,2,3 or 4. 68 F1245807PCT
opIdx is an identificator for operation point, 0 means “base”, 1 means “high” operation point. tile_enable_Luma and tile_enable_Chroma are enable flags for tiling of primary and secondary components. tile_size_Luma_ver and tile_size_Chroma_ver are the sizes of tiles for primary and secondary components in the vertical direction. tile_size_Luma_hor and tile_size_Chroma_hor are the sizes of tiles for primary and secondary components in the horizontal direction. tile_overlap_Luma and tile_overlap_Luma are sizes of tiles overlapping areas for primary and secondary components. cube_group_flag is 1-bit unsigned integer. cube_group_ flag=0 indicates no cube_flag is signalled in one group, and cube flags of one group are set to be 1. cube_group_ flag=1 indicates cube flags of one group are signaled. cube_luma_flag is 1D array of size ((ℎସ,^ + 7) ≫ 3) ∙ ((^^ସ,^ + 7) ≫ 3) , which contains cube flags for primary component.1 indicates Skip Mode is applied to one cube of residual tensor of primary component ^̂^^.0 indicates Skip Mode is disable for one cube of residual tensor of primary component ^̂^^. cube_chroma_flag is 1D array of size ((ℎସ,^^ + 7) ≫ 3) ∙ ((^^ସ,^^ + 7) ≫ 3) , which contains cube flags for secondary component.1 indicates Skip Mode is applied to one cube of residual tensor of secondary component ^̂^^^.0 indicates Skip Mode is disable for one cube of residual tensor of secondary component ^̂^^^. color_transform_enable is an enable flag for color convertion module. color_transform_matrix[i][j] is a matrix of color convertion. If not present (color_transform_enable is false) then default ITU-R BT.709 colour transform is used (refer to section 7.8). color_transform_offset[i] is an offset for color transformation If not present (color_transform_enable is false) then default ITU-R BT.709 colour transform is used (refer to section 7.8). 8. (9.5.1.1) Syntax table of hyper tensor
69 F1245807PCT
9. (9.5.2) Quality map information decoder The input of this process is – Codestream for quality_map; – Indicators for sigma tables which are decoded in picture header: o quality_map_entropy_index_y for primary component. o quality_map_entropy_index_uv for secondary component. The output of this process is – quality_map_delta _Y is an array of size [ ^^ସ^, ℎସ^] with information used for deriving scaling factor (section 12.2) for primary component residual tensor. – quality_map_delta _UV is an array of size [ ^^ସ^^ , ℎସ^^] with information used for deriving scaling factor (section 12.2) for secondary component residual tensor. Here sizes [ ^^ସ^, ℎସ^] and [ ^^ସ^^, ℎସ^^] are defined in Table 2. q_primary_sigma_Idx is a 2D array of size [^^^^^^^^^^^^^^^^^^^^^^^^ ∗ ^^^^^^^^^^^^^^^^^^^^^^^^][], and each element in this array is equal to q_sigma_Idx[quality_map_entropy_index_y], where the q_sigma_Idx[k] is derived according to Table 4. q_secondary_sigma_Idx is a 2D array of size [^^^^^^^^^^^^^^^^^^^^^^^^ ∗ ^^^^^^^^^^^^^^^^^^^^^^^^][], and each 70 F1245807PCT
element in this array is equal to q_sigma_Idx[quality_map_entropy_index_uv]. q_primary is a 2D array of size [^^^^^^^^^^^^^^^^^^^^^^^^ ∗ ^^^^^^^^^^^^^^^^^^^^^^^^][], q_secondary is a 2D array of size [^^^^^^^^^^^^^^^^^^^^^^^^ ∗ ^^^^^^^^^^^^^^^^^^^^^^^^][]. quality_map_delta_Y and quality_map_delta_UV are determined by determined by: − for y = 0…NumHorSplits and x = 0…NumVerSplits − k is set equal to 0. o For ^^ = ^^^^[^^][^^][^^][^^] … ^^^^[^^][^^][^^][^^] − ^^ , ^ ^^ = ^^^^[^^][^^][^^][^^].. ^^^^[^^][^^][^^][^^] − ^^ • quality_map_delta_UV[i, j] = q_secondary[^^ ∗ ^^^^^^^^^^^^^^^^^^^^^^^^ + ^^][k] • quality_map_delta_Y[i, j] = q_primary [^^ ∗ ^^^^^^^^^^^^^^^^^^^^^^^^ + ^^][^^] • k = k+1 Table 4 Determining q_sigma_Idx for quality map delta decoding
10. (9.5.2.1) Syntax table of quality map information tensor
71 F1245807PCT
11. (9.5.3) Primary residual stream decoder The input of this process is – Primary component residual codestream; – mask_skip[^^^, h4Y, w4Y] generated by Skip Mask generation (section 13.3.2) for primary component; – sigma_Idx_primary – tensor of size ^^^^,ℎସ^,^^ସ^൧ which is the output of Sigma quantization (section 10.8) for primary component. The output of this process is – r_primary – one dimensional array {^^}of residual tensor elements which is an input of decoder skip process (section 13.3.4) for primary component. Here sizes ^^^, ^^ସ^, ℎସ^ are defined in Table 2. A one dimensional array sigma_Idx_primary_1D is determined though following steps: − Set count[NumVerSplits*NumHorSplits] equal to all zeros, − For ^^ = ^^.. ^^^^ − ^^, − For ^^ = ^^.. ^^^^^^ − ^^ , ^ For ^^ = ^^.. ^^^^^^ − ^^ • subIdx = sample2SubstrIdx(4, i, j) • if mask_skip[c,i, j] is equal to True, sigma_Idx_primary_2D[subIdx][count[subIdx]] is set to equal to sigma_Idx_primary[c, i, j] and increase count[subIdx] by 1. 12. (9.5.3.1) Syntax table of primary residual tensor
72 F1245807PCT
13. (9.5.4) Secondary residual stream decoder The input of this process is – Codestream for secondary component residual; – mask_skip[^^^, h4UV, w4UV] generated by Skip Mask generation (section 13.3.2) for secondary component; – sigma_Idx_secondary – tensor of size [^^^,ℎସ^^ ,^^ସ^^ ] which is the output of Sigma quantization (section 10.8) for secondary component. The output of this process is – r_secondary – one dimensional array {^^} of residual tensor elements which is an input of decoder skip process (section 13.3.4) for secondary component. Here sizes ^^^,ℎସ^^ ,^^ସ^^ are defined in Table 2. A one dimensional array sigma_Idx_secondary_1D is determined though following steps: − Set count[NumVerSplits*NumHorSplits] equal to all zeros − For ^^ = ^^.. ^^^^ − ^^, − For ^^ = ^^.. ^^^^^^ − ^^ , ^ For ^^ = ^^.. ^^^^^^ − ^^ • subIdx = sample2SubstrIdx(4, i, j) • if mask_skip[c,i, j] is equal to True, sigma_Idx_secondary_2D[subIdx][count[subIdx]] is set to equal to sigma_Idx_secondary[c, i, j] and increase count[subIdx] by 1. 14. (9.5.4.1) Syntax table of secondary residual tensor
73 F1245807PCT
15. (10.3) Hyper Latent Tensor Reconstruction Input of this process is reconstructed z_primary and z_secondary tensors. Output of this process is ^^^[^^,^^^^,^^^^] reconstructed hyper tensor. − The following ordered steps are applied: − s tensor is set equal to z_primary if primary component is being processed, or z_secondary tensor if secondary component is being processed. − k is set equal to 0. − for y = 0…NumHorSplits and x = 0…NumVerSplits − k = 0 − For ^^ = ^^.. ^^ − ^^ ^ For ^^ = ^^^^[^^][^^][^^][^^] … ^^^^[^^][^^][^^][^^] − ^^ , • ^^ = ^^^^[^^][^^][^^][^^].. ^^^^[^^][^^][^^][^^] − ^^ o ^^^[^^, ^^, ^^] = ^^[^^ ∗ ^^^^^^^^^^^^^^^^^^^^^^^^ + ^^][^^][^^] and k = k+1 16. (10.4) Hyper Scale Decoder Hyper scale decoder net is depicted in Fig.24. The input of hyper scale decoder is − ^̂^[^^,ℎ^,^^^] reconstructed hyper tensor, − sizes of input/output tensor ^^^^ ,^^^^, − operation point indicator ^^^^^^^^^^, − model parameters for Hyper Scale Decoder Net defined by pair (^^^^^^^^^^^^^^^^, ^^^^^^^^^^), all multiplier parameters in those models are 8-bits integer. The output of hyper scale decoder is standard deviation logarithm tensor
[^^,ℎସ,^^ସ] with integer values in a range
are defined in section 0. Sizes of those tensors for primary and secondary components are listed 74 F1245807PCT
in Table 2. All operation in scalable hyper decoder are integer, an accumulator in all computations is within 32 bits integer diapason, multipliers in model parameters are quantized to 8-bits integer. This guarantees bit-exact behaviour of this neural network module. Hyper scale decoder uses special type of operations quantized convolutions. For each quantized convolution in the process the set of clipping values {^^^} and de-scaling shifts parameters {^^^} (1 ≤ ^^ ≤ 3) are specified for each channel. All clipping values in quantized convolutions are ^^^ = 2 ^ . De-scaling shifts {^^^} are provided in section 15.6. NOTE − the magnitude of integerized weights in quantized model doesn’t exceed ^^^^, shift and clipping value combination ensures the register of quantized convolution is within 32- bits. The sequence of operations in this module doesn’t depend on operation point indicator (^^^^^^^^^^), but model parameters are different for base and high operation point. Hyper scale decoder starts with quantized convolution kernel size 1 × 1 , stride 1, followed by rectified linear unit. Then there is a stride 1 quantized convolution with kernel size 3 × 3 , followed by rectified linear unit. The next stride 1 quantized convolution (kernel size 1 × 1) increases the number of channels to 16^^ . It is followed by pixel shuffle (stride 4), which brings number of channels back to ^^ . The cropping layer (stride 4, depth 5) ensures the size of output tensor is [^^, ℎସ,^^ସ]. The process concluded with abs operation. The hyper decoder operation is applied in tiled manner. The following are the processing: − for Vtile = 0…NumHorSplits-1 and Htile = 0…NumVerSplits-1 − ext = independent_region_flag[ Vtile ][ Htile ] ? 1 : 0 − ^^^^^^^^^^^^^^ = ext if ^^^^^^^^^^ > ^^ else 0 − ^^^^^^^^^^^^^^^^= ext if ^^^^^^^^^^ < ^^^^^^^^^^^^^^^^^^^^^^^^ − ^^ else 0 − ^^^^^^^^^^^^= ext if ^^^^^^^^^^ > ^^ else 0 − ^^^^^^^^^^^^^^^^^^ = ext if ^^^^^^^^^^ < ^^^^^^^^^^^^^^^^^^^^^^^^ − ^^ else 0 − y = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] - ^^^^^^^^^^^^ − x = ^^^^ [ ^^ ][ ^^^^^^^^^^ ][ ^^^^^^^^^^ ] [^^] - ^^^^^^^^^^^^^^ − yO = ^^^^ [ ^^ ][ ^^^^^^^^^^ ][ ^^^^^^^^^^ ] [^^] − xO = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − yE = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − xE = ^^^^ [ ^^ ][ ^^^^^^^^^^ ][ ^^^^^^^^^^ ] [^^] − h = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^ + ^^^^^^^^^^^^^^^^^^ 75 F1245807PCT
− w = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^^^ + ^^^^^^^^^^^^^^^^ − hO = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^ ∗ ^^ + ^^^^^^^^^^^^^^^^^^ ∗ ^^ − wO = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^^^ ∗ ^^ + ^^^^^^_^^^^^^^^^^ ∗ ^^ − hImO = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^ ∗ ^^^^ + ^^^^^^^^^^^^^^^^^^ ∗ ^^^^ − wImO = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^^^ ∗ ^^^^ + ^^^^^^^^^^^^^^^^ ∗ ^^^^ − the tensor part ^^^[^^, ^^…^^ + ^^ − ^^,^^… ^^ + ^^ − ^^] is fed into the hyper scale decoder to obtain the tensor ^^^^^^^^^^^^[^^,^^^^,^^^^] − ^^^^[^^,^^^^…^^^^ − ^^, ^^^^…^^^^ − ^^] = ^^^^^^^^^^^^[^^,^^^^^^^^^^^^ ∗ ^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^ − ^^, ^^^^^^^^^^^^^^ ∗ ^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^^^ + ^^]. Model with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in <oper_point>/model_<MID>/<COMP>/hyper_scale_decoder.onnx, where <oper_point> is “base” or “high”, <MID> is an integer from 0 to 5, <COMP> is “primary” or “secondary”. 17. (11.2) Hyper Decoder The learning-based hyper decoder consists of two independent pipe-lines with identical neural network architecture, except input size and number of channels. The input of this process is − ^̂^ [^^, ℎ^, ^^^] reconstructed hyper latent tensor, − model parameters for Hyper Decoder Net defined by (^^^^^^^^^^^^^^^^), − operation point indicator ^^^^^^^^^^. The output of this process is − ^^^^^^,ℎସ,^^ସ൧ is explicit prediction (part of predicton tensor derived from explicitly signalled information), with channels size ^^^ = (^^^^^^^^^^ + 1)^^. Hyper decoder process is depicted in Fig.25. Hyper decoder starts stride 1 convolution with kernel size 1 × 1, followed by inverse convolution (stride 2, kernel size 4 × 4), cropping layer (depth 6) and leacky rectified linear unit. Next step is stride 1 convolution with kernel size 3 × 3, followed by inverse convolution (stride 2, kernel size 4 × 4), cropping layer (depth 5) and leacky rectified linear unit. Number of channels kep un- changed till this point (equal to number of channels ^^ of input tensor). Hyper decoder concluded by stride 1 convolution with kernel size 3 × 3 which increases number of channels to 2^^ for high operation point and keeps number fo channes unchanged for base operation point followed by 76 F1245807PCT
leacky rectified linear unit. The hyper decoder operation is applied in tiled manner. The following are the processing: − for Vtile = 0…NumHorSplits-1 and Htile = 0…NumVerSplits-1 − ext = independent_region_flag[ Vtile ][ Htile ] ? 1 : 0 − ^^^^^^^^^^^^^^ = ext if ^^^^^^^^^^ > ^^ else 0 − ^^^^^^^^^^^^^^^^= ext if ^^^^^^^^^^ < ^^^^^^^^^^^^^^^^^^^^^^^^ − ^^ else 0 − ^^^^^^^^^^^^= ext if ^^^^^^^^^^ > ^^ else 0 − ^^^^^^^^^^^^^^^^^^ = ext if ^^^^^^^^^^ < ^^^^^^^^^^^^^^^^^^^^^^^^ − ^^ else 0 − y = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] - pad_top − x = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] - pad_left − yO = ^^^^ [ ^^ ][ ^^^^^^^^^^ ][ ^^^^^^^^^^ ] [^^] − xO = ^^^^ [ ^^ ][ ^^^^^^^^^^ ][ ^^^^^^^^^^ ] [^^] − h = ^^^^ [ ^^ ][ ^^^^^^^^^^ ][ ^^^^^^^^^^ ][ ^^ ] + pad_top + pad_bottom − w = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^_^^^^^^^^ + ^^^^^^_^^^^^^^^^^ − hO = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^_^^^^^^ ∗ ^^ + ^^^^^^_^^^^^^^^^^^^ ∗ ^^ − wO = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^_^^^^^^^^ ∗ ^^ + ^^^^^^_^^^^^^^^^^ ∗ ^^ − hImO = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^_^^^^^^ ∗ ^^^^ + ^^^^^^_^^^^^^^^^^^^ ∗ ^^^^ − wImO = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^_^^^^^^^^ ∗ ^^^^ + ^^^^^^_^^^^^^^^^^ ∗ ^^^^ − the tensor part ^^^[^^, ^^…^^ + ^^ − ^^, ^^…^^ + ^^ − ^^] is fed into the hyper decoder to obtain the tensor p_tile[^^^^,^^^^,^^^^] − ^^[^^^^,^^^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^, ^^^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^] = ^^_^^^^^^^^[^^^^,^^^^^^^^^^^^ ∗ ^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^ − ^^,^^^^^^^^^^^^^^ ∗ ^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^^^ + ^^]. Model with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in <oper_point>/model_<MID>/<COMP>/hyper_decoder.onnx, where <oper_point> is “base” or “high”, <MID> is an integer from 0 to 5, <COMP> is “primary” or “secondary”. 18. (11.3) Latent tensor reconstruction process The input of this process is − operation point indicator ^^^^^^^^^^, − ^̂^ [^^,ℎସ,^^ସ] reconstructed residual tensor, which is an out out of SKIP Model process (13.3.4), − ^^ ^^^^,ℎସ,^^ସ൧ explicit prediction, with channels size ^^^ = (^^^^^^^^^^ + 1)^^ , which is an 77 F1245807PCT
output of Hyper Decoder (11.2), The output of this process is − ^^^′ [^^, ℎସ,^^ସ] reconstructed latent tensor. The process is as follows. If ^^^^^^^^^^ == 0 (base operation point) then multi-stage context modelling process is by- passed, − explicit prediction is added to residual ^^^′ = ^̂^ + ^^ [0:^^ − 1,ℎସ, ^^ସ]: If ^^^^^^^^^^ == 1 (high operation point) then: − Multi-stage Context Modelling process (section 11.4) is used. 19. (11.4) Tiled Multistage Context Modelling The input of this process is − ^^^ [^^,^^^^,^^^^] reconstructed residual tensor, which is an out out of SKIP Model process (13.3.4), − ^^ [^^^^,^^^^,^^^^ ] explicit prediction, which is an output of Hyper Decoder (11.2), − Eight MCMk , k=0,…7 models with parameters defined by (^^^^^^^^^^^^^^^^,^^). The output of this process is − ^ ^^′ [ ^^, ^^^^,^^^^ ] reconstructed latent tensor. − ^^ [ ^^, ^^^^,^^^^ ] reconstructed latent tensor. The following steps are applied: − for Vtile = 0…NumHorSplits-1 and Htile = 0…NumVerSplits-1 o ext = independent_region_flag[ Vtile ][ Htile ] ? 8 : 0 o ^^^^^^^^^^^^^^ = ext if ^^^^^^^^^^ > ^^ else 0 o ^^^^^^^^^^^^^^^^= ext if ^^^^^^^^^^ < ^^^^^^^^^^^^^^^^^^^^^^^^ − ^^ else 0 o ^^^^^^^^^^^^= ext if ^^^^^^^^^^ > ^^ else 0 o ^^^^^^^^^^^^^^^^^^ = ext if ^^^^^^^^^^ < ^^^^^^^^^^^^^^^^^^^^^^^^ − ^^ else 0 o y = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] - pad_top o x = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] - pad_left o h = ^^^^ [ ^^ ][ ^^^^^^^^^^ ][ ^^^^^^^^^^ ][ ^^ ] + pad_top + pad_bottom o w = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^_^^^^^^^^ + ^^^^^^_^^^^^^^^^^ o Multistage Context Modelling subsection is invoked with ^^^ [^^, ^^…^^ + ^^ − ^^,^^…^^ + ^^− ^^] and ^^ [^^^^, ^^…^^ + ^^ − ^^,^^…^^ + ^^− ^^] as inputs and ^^^′_^^^^^^^^ [^^, ^^,^^] and ^^_^^^^^^^^ [^^, ^^,^^]as outputs. o ^ ^^′ [^^, ^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^,^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^] = 78 F1245807PCT
^^,^^^^^^^^^^^^^^ …^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^^^ − ^^] o ^^[^^, ^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^, ^^…^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^] = ^^_^^^^^^^^[^^, ^^^^^^^^^^^^ …^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^ − ^^, ^^^^^^^^^^^^^^ …^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] + ^^^^^^^^^^^^^^ − ^^]. 20. (11.5) Multistage Context Modelling The input of this process is − ^^^ [^^,^^] reconstructed residual tensor, which is an out out of SKIP Model process (13.3.4), − ^^ [^^^^,^^,^^] explicit prediction, which is an output of Hyper Decoder (11.2), − Eight MCMk , k=0,…7 models with parameters defined by (^^^^^^^^^^^^^^^^,^^). The output of this process is − ^ ^^′_^^^^^^^^ [ ^^, ^^, ^^ ] reconstructed latent tensor. The process consists of following steps: − h2 and w2 are set equal to (^^ + ^^)/^^, (^^ + ^^)/^^ respectively. − padding layer (depth 5, stride 2) and down-shuffle (11.5.1) M=2 of explicit prediction tensor ^^[^^^^, ^^, ^^] to ^^^ [^^^^,^^^^,^^^^] re-shaped prediction tensor, − padding layer (depth 5, stride 2) and down-shuffle (11.5.1) M=1 of reconstructed resdiaul ^^^[^^, ^^, ^^] to ^^^ [^^^^, ^^^^, ^^^^] re-shaped residual tensor, − split ^^^ [^^^^, ^^^^, ^^^^] into four parts ^^^ ^^ = ^^^ [^^^^^^:^^(^^ + ^^)^^ − ^^, ^^^^, ^^^^], ^^ = ^^, … , ^^ (each parts consists of 2C out of 8C channels), − split ^^^ [^^^^,^^^^,^^^^] into eight parts ^^^ ^^ = ^^^ [^^^^/^^: (^^ + ^^)^^/^^ − ^^, ^^^^, ^^^^],^^ = ^^, … , ^^ (each parts consists of C/2 out of 4C channels), − For k=0,…,3, o MCM(k) process which ^ takes as an input •
= 0, … , ^^ − 1 previously reconstructed parts of re-shaped latent space tensor, • ^^^^ – collocated part of reconstructed residual tensor, • ^^^^%ସ- part of re-shaped explicit prediction tensor, ^ outputs • produces ^^^ ^^ = ^^^ [^^^^/^^: (^^ + ^^)^^/^^ − ^^,^^^^,^^^^], − Channel net process (11.5.4) over ^^^[0: (2^^ − 1,ℎ2, ^^2] tensor, 79 F1245807PCT
− For k=3,…,7, o MCM(k) process which ^ takes as an input • {^^^^},^^ = 0, … , ^^ − 1 previously reconstructed parts of re-shaped latent space tensor, • ^^^^ – collocated part of reconstructed residual tensor, • ^^^^%ସ- part of re-shaped explicit prediction tensor, ^ outputs • produces
− up-shuffle (11.5.2) M=2 and cropping layer (h,w) ^^^ [^^^^,^^^^,^^^^] to ^ ^^′_^^^^^^^^[^^,^^,^^]. − up-shuffle (11.5.2) M=2 and cropping layer (h,w) ^^^ [^^^^, ^^^^, ^^^^] to ^^_^^^^^^^^[^^, ^^, ^^] (to be further used in LSBS process 13.4.2). Multi-stage context modelling process is depicted in Fig.26. This is a recurrent process: later stages uses previously obtained elements of output tensor as an input. Data flow which corresponds usage of previous stages output is marked with arrows in Fig.26. Models with weights are storied in electronic attachment, in format specicied in section 4.8 and locates in high/model_<MID>/<COMP>/MCM/stage<N>.onnx, where <MID> is an integer from 0 to 5, <COMP> is “primary” or “secondary”, <N> is a number of MCM’s stage from 0 to 7. 21. (13.3.4) Decoder side SKIP operation At the decoder, the inputs of skip mode process are − 1D array s[num_res_elements] after decoding by me-tANS (section 9.5.2) to from the “^^^^^^^^^^^^ − ^^”, – mask_skip[C,h4,w4]. The output of this process is − the residual tensor ^̂^[C,h4,w4]. The output of the lossless decoding process is a 1D array {^^^ }, whose size is equal to the total number of “1”s in the mask_skip [C,h4,w4] tensor. In other words, the mask_skip
4,w4] tensor determines which samples of the residual tensor ^̂^ are included in the bitstream. All of the other samples of the quantized residual tensor are inferred to be equal to zero. The process of residual skip mode at the decoder is as follows: 80 F1245807PCT
− Dimensions [^^,ℎସ,^^ସ ] are set equal to number of channels, height and width of the sigma tensor ^^ (Table 2). − Tensors ^̂^ [C,h4,w4] is initialized to be equal to all zeros. − The counter ^^ = 0. − The following ordered steps are applied: − for Vtile = 0…NumHorSplits-1 and Htile = 0…NumVerSplits-1 − k = 0 − ^^ = ^^^^[^^][^^^^^^^^^^ ][^^^^^^^^^^ ][^^] … ^^^^[^^][^^^^^^^^^^ ][^^^^^^^^^^ ][^^] − ^^ , ^ ^^ = ^^^^[^^][^^^^^^^^^^ ][^^^^^^^^^^ ][^^].. ^^^^[^^][^^^^^^^^^^ ][^^^^^^^^^^ ][^^] − ^^ • For ^^ = ^^.. ^^ − ^^, o If mask_skip [c,i,j] is equal to 1, ^^^[^^, ^^, ^^] = (s[sample2SubStrIdx[4,i,j]][k] −^^^^^^ି^^ + ^^), k=k+1. o Otherwise ^^^[^^, ^^, ^^]=0. 22. (14.1.1)) Inter channel correlation information filter tiling and output selection process The ICCI filter processes the input in tiles using the same method described in Section 8.4. The tile size icci_tile_size and tile overlap icci_tile_overlap are same for the primary (Luma) and secondary (Chroma) components and signalled in picture header (Section 9.3). The ratio ^^ between input domain size and output tensor size is fixed to 1 for each component. The minimum tile size is limited to 176 for the stable computation of the model selection explained next. In total, 10 ICCI filters are included into the design. In each tile tileID for each color component comp=0..2 (“0” –
“1” – “u”, “2”- “v”) the filter is selected based on icci_model_idx[comp][tileID] value which is coded in picture header (Section 9.3). In case icci_model_idx = 0, the ICCI processing is bypassed. The ICCI process is applied in a region based manner. When processing a sample (y,x) firstly the following parameters are set: − ^^^^^^^^^^ and ^^^^^^^^^^ are set equal to the vertical and horizontal coordinates of the region that the sample at (y,x) belongs. − If indepdent_region_flag[Vtile][Htile] equal to 1; ^ ^^^^^^^^ = ^^^^[^^ − ^^^^^^^^][^^^^^^^^^^][^^^^^^^^^^][^^] ^ ^^^^^^^^ = ^^^^[^^ − ^^^^^^^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ ^ ^^^^^^^^ = ^^^^[^^ − ^^^^^^^^][^^^^^^^^^^][^^^^^^^^^^][^^] ^ ^^^^^^^^ = ^^^^[^^ − ^^^^^^^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ 81 F1245807PCT
− Else; ^ ^^^^^^^^ and ^^^^^^^^ are set equal to zero, ^^^^^^^^ and ^^^^^^^^ are set equal to ^^^^^^ − ^^ and ^^^^^^ − ^^ respectively. When processing the sample at (y,x), only the input samples within the boundaries of xmin, xmax, ymin and ymax are used. The region is extended at the boundaties using replication padding. 23. (14.2) Adaptive upsampler This section details the primary component guaided adaptive upsampler process. This process provides enhancement of secondary components (colour information planes) of image utilising information from primary component. This process is enabled if EFE_upsampler_enabled_flag is true. The input of this process is − ^^^^ [1,^^^,^^^] (output of synthesis transfor for primary component), − ^^^^^ [2,^^^^^^,^^^^^^] (output of synthesis transfor for secondary component), The output of this process is − enhanced secondary component ^^^′^^ [2,^^^^ ,^^^^ ] which goes to the ICCI filter block (section 14.1) and ^^^′′^^ [2,^^^^ ,^^^^ ] which goes to the non-linear filter block (section 14.3). Fig.27 illustrates an example implementation of primary component guided adaptive up- sampling filter. If EFE_upsampler_enabled_flag is equal to 0, the ^^^′^^ [2,^^,^^] is up-sampled by bi-cubic interpolation as described in section 7.6. Otherwise the following ordered steps are performed: − The parsing process according to parsing table in section 9.4.1. is invoked to obtain ^^^^, ^^^^, ^^ସ^, ^^ସ^ and ^^^. − Tiling process is as described in section 14.2.2 is invoked with parsed syntax elements as inputs and Tile1 tensor as output. − Parameter update process as specified in section Section 14.2.1. is invoked with ^^ସ^ and ^^^^as inputs and modified ^^ସ^ and ^^^^ as outputs. − is vector is subtracted channelwise from ^^^′^^[2, ^^^^^^,^^^^^^] −
are set equal to pixelUnshuffle
^^^^^^^^^^௩^^ , ^^^^^^^^^^^^^) and pixelUnshuffle
2,2) − for Vtile = 0…NumHorSplits-1 and Htile = 0…NumVerSplits-1 82 F1245807PCT
− for x = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] … ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ , y = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] … ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ , k = 0..1, i=0… ^^^^^^^^ -1, j=0…^^^^^^^^ − ^^ the following is performed: − ^^^^ = ^^^^ + ^^^^ + ^^ − ^^^^^^^^^^ = ^^ ∙ ^^^^^^^^ ∙ ^^^^^^^^ + ^^^^^^^^ ∙ ^^ + ^^ − ^^^^^^^^ = ^^ ∙ ^^^^^^^^^^^^^^^^ ∙ ^^^^^^^^^^^^^^^^ + ^^^^^^^^^^^^^^^^ ∙ (^^%^^^^^^^^^^^^^^^^) + (^^%^^^^^^^^^^^^^^^^) − ^^^^^^^^ = ^^^^^^^^^^[^^,^^, ^^] − If indepdent_region_flag[Vtile][Htile] equal to 1; ^ ^^^^^^^^ = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] ^ ^^^^^^^^ = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ ^ ^^^^^^^^ = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] ^ ^^^^^^^^ = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ − Else; ^ ^^^^^^^^ and ^^^^^^^^ are set equal to zero, ^^^^^^^^ and ^^^^^^^^ are set equal to
respectively. − ^^′[^^ℎ^௨௧, ^^, ^^] = ^^[^^ℎ^^, ^^, ^^] ⋆ ^^ସ^[^^^ௗ௫, ^^ℎ] + ^^[2^^ + ^^, ^^, ^^] ⋆ ^^ସ^[^^^ௗ௫, ^^] + ^^^[k] − ^^′[^^ℎ^௨௧, ^^, ^^] = ^^[^^ℎ^^, ^^, ^^] ⋆ ^^^^[0, ^^ℎ]+ ^^[2^^ + ^^, ^^, ^^] ⋆ ^^^^[0,^^] + ^^^[k] − ^^^′ [2,^^ , ^^ ] and ^^^′′ [2,^^ ᇱ ^^ ^^ ^^ ^^ ^^ , ^^^^] are set equal to pixelshuffle(^^ , ^^௩^^ , ^^^^^) and pixelshuffle(^^ᇱᇱ, ^^௩^^ , ^^^^^) respectively. Where “ ⋆ ” is 2D cross-correlation operator with kernel size ^^ × ^^ : ^^ ⋆ ^^ =
24. (14.4.1) LEF general process LEF process receives primary variance tensor ^^^^^^^^,ℎସ,^, ^^ସ,^൧ and reconstructed primary ^^^′^[1,^^, ^^] as inputs. The output of LEF process is edge enhanced modified ^^^′^ [1, ^^, ^^]. The following ordered steps are performed: − Picture header parsing process is invoked as described in section Section 9.3. to obtain ^^^^^^^^^^^^^^^^^^^^^^^^. − ^^ℎ^^^^^^ is set equal to ^^^^^^^^^^^^^^^^^^_^^ℎ^^^^^^^^^^_^^^^^^_^^^^^^^^^^[^^^^^^^^^^^^^^^^^^^^^^]. − The ^^^^ ^_^^^^^^^ [1,^^^, ^^^] tensor is obtained as follows, for ^^ = 0.. ^^^ − 1, ^^ = 0.. ^^^ − 1;
− thr[3]=luma_edge_filter_thr_list_table [targetBppIdx] 83 F1245807PCT
− intensity[4]=luma_edge_filter_intensity_list [targetBppIdx] − ^^^′^ = ^^^′^ ÷ 255 − for Vtile = 0…NumHorSplits-1 and Htile = 0…NumVerSplits-1 o If indepdent_region_flag[Vtile][Htile] equal to 1; ^ ^^^^^^^^ = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] ^ ^^^^^^^^ = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ ^ ^^^^^^^^ = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] ^ ^^^^^^^^ = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ o Else; ^ ^^^^^^^^ and ^^^^^^^^ are set equal to zero, ^^^^^^^^ and ^^^^^^^^ are set equal to
respectively. o for x = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] … ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ , y = ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] … ^^^^[^^][^^^^^^^^^^][^^^^^^^^^^][^^] − ^^ , k = 0..1, i=0…^^^^^^^^ -1, j=0…^^^^^^^^ − ^^ the following is performed: ^ ^ ^^^^^^^^^^[^^,^^,^^] = ^ ^^′^^ ⋆ ^^^^^^^^^^^^ is 2D cross-correlation operator with kernel size ^^ × ^^: ^^ ⋆ ^^ =
In this process zero padding is used when the indices of a tensor exceeds the tensor boundaries. The weights tensor ^^^^^^^^^^^^ is defined as follows: 1 ÷ 13 1 ÷ 13 5 ÷ 13 1 ÷ 13
1 ÷ 13 1 ÷ 13 The ^^^^^^^^^^^^^^^^^^_^^ℎ^^^^^^^^^^_^^^^^^_^^^^^^^^^^ is defined as follows: 84 F1245807PCT
^^^^^^^^^^^^^^^^^^_^^ℎ^^^^^^^^^^_^^^^^^_^^^^^^^^^^ = [23,23,65,65,65] The ^^^^^^^^_^^^^^^^^_^^^^^^^^^^^^_^^^^^^^^^^^^^^^^^^_^^^^^^^^ is as follows:
The ^^^^^^^^_^^^^^^^^_^^^^^^^^^^^^_^^ℎ^^_^^^^^^^^_^^^^^^^^^^ is defined as follows:
5.2 Embodiment 2 Alternatively or additionally to the embodiment 1, the following might be a further implementation of the present disclosure. 1. (9.3.1) Syntax table
85 F1245807PCT
q_ls indicates the number of bytes used to code the size of the q_stream. z_ls indicates the number of bytes used to code the size of the z_stream. r_primary_ls indicates the number of bytes used to code the size of the r_primary_stream. r_secondary_ls indicates the number of bytes used to code the size of the r_secondary_stream. 2. (9.5.1.1) Syntax table of hyper tensor
86 F1245807PCT
3. (9.5.2.1) Syntax table of quality map information tensor
87 F1245807PCT
4. (9.5.3.1) Syntax table of primary residual tensor
5. (9.5.4.1) Syntax table of secondary residual tensor
[0054] More details of the embodiments of the present disclosure will be described below 88 F1245807PCT
which are related to neural network-based visual data coding. As used herein, the term “visual data” may refer to an image, a picture in a video, or any other visual data suitable to be coded. To solve the above problems and some other problems not mentioned, visual data processing solutions as described below are disclosed. The embodiments of the present disclosure should be considered as examples to explain the general concepts and should not be interpreted in a narrow way. Furthermore, these embodiments can be applied individually or combined in any manner. [0055] Fig. 28 illustrates a flowchart of a method 2800 for visual data processing in accordance with some embodiments of the present disclosure. At 2802, a conversion between the visual data and a codestream of the visual data is performed with a neural network (NN)-based model. For example, a codestream may comprise a sequence of bits. In addition, the codestream may further comprise associated codes which are used as markers. As used herein, the codestream may also be referred to as a bitstream. [0056] In some embodiments, the conversion may include encoding the visual data into the codestream. Additionally or alternatively, the conversion may include decoding the visual data from the codestream. By way of example rather than limitation, the decoding model shown in Fig.6 may be employed for decoding the visual data from the bitstream. [0057] As used herein, an NN-based model may be a model based on neural network technologies. For example, an NN-based model may specify sequence of neural network modules (also called architecture) and model parameters. The neural network module may comprise a set of neural network layers. Each neural network layer specifies a tensor operation which receives and outputs tensor, and each layer has trainable parameters. It should be understood that the possible implementations of the NN-based model described here are merely illustrative and therefore should not be construed as limiting the present disclosure in any way. [0058] In addition, a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions. The codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. For example, each subset of residual samples corresponds to a set of samples covering a region of the visual data, and the region may be rectangular. In some embodiments, the set of residual samples may be a residual tensor, and each of the plurality of subsets of residual samples may be a residual sub-tensor. [0059] By way of example, the first indication equal to a first value (such as 1, or the like) 89 F1245807PCT
may indicate that primary or secondary residual data for each region is in a substream. That is, residual data for different regions are encapsulated in different substreams. In this case, a region may be coded independently from other regions. the first indication equal to a second value (such as 0, or the like) may indicate that there is only one substream for primary residual data and only one substream for secondary residual data. That is, residual data for a component of different regions are encapsulated in the same substream. [0060] In view of the above, the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. Compared with the conventional solution lacking such an indication, the proposed method can better support independent coding of different regions, and thus the coding efficiency can be improved. [0061] In some embodiments, if the first indication indicates that is only one substream for primary residual samples for the plurality of regions and only one substream for secondary residual samples for the plurality of regions, for a processing with a first processing module in the NN-based model, the plurality of regions may be allowed to overlap. By way of example, the first processing module may comprise at least one of the following: a hyper decoding module, a multistage context modelling (MCM) module, a synthesis transform module, a latent sample reconstruction module, a sample prediction module, an analysis transform module, a hyper scale decoding module, or the like. [0062] In some embodiments, the plurality of regions may comprise a first region, and at least one padding amount for the first region may be determined based on an overlap amount between the first region and one or more regions neighboring to the first region. For example, the at least one padding amount may comprise a padding amount in a left direction, a padding amount in a right direction, a padding amount in a bottom direction, a padding amount in a top direction, and/or the like. [0063] In some embodiments, the number of samples to be discarded from an output of the first processing module may be determined based on the at least one padding amount. For example, in a process of merging samples of a set of regions into an output tensor of the first processing module, several samples of each region may be omitted. By way of example, 9 regions, each of a size of 14×14, may be merged into an output tensor of 30×30. In this case, 2 samples at left, 2 samples at right, 2 samples at top, and 2 samples at bottom may be discarded for each region. It should be understood that the specific values recited herein are intended to be examples rather than limiting the scope of the present disclosure. [0064] In some embodiments, an overlap amount between two of the plurality of regions may 90 F1245807PCT
be dependent on the first processing module. For example, the codestream may further comprise at least one of the following: an indication indicating the overlap amount or a padding amount used in a hyper decoding module, or an indication indicating the overlap amount or a padding amount used in an MCM module. In some embodiments, the overlap amount may be different for different processing modules. [0065] In some embodiments, if the first indication indicates that residual samples for each of the plurality of regions are in a substream of the codestream, for a processing with a second processing module in the NN-based model, the plurality of regions do not overlap with each other. By way of example, the second processing module may comprise at least one of the following: a synthesis transform module, an analysis transform module, an MCM module, a sample prediction module, a latent sample reconstruction module, a hyper decoding module, a hyper scale decoding module, or the like. In this case, residual samples for each of the plurality of regions may be coded independently from residual samples for the rest of the plurality of regions. [0066] In some embodiments, if the first indication indicates that residual samples for each of the plurality of regions are in a substream of the codestream, for a processing with a synthesis transform module, at least one region among the plurality of regions may be partitioned into a plurality of tiles, and the number of the plurality of tiles may be an integer. For example, a tile within a region may be allowed to overlap with a further tile within the same region and may be not allowed to overlap with a tile within a further region. In other words, tiles comprised in a same region may overlap while tiles from different are not allowed to overlap. Thereby, it can be ensured that a region can be coded without samples from other regions, and thus the independent coding can be ensured. [0067] In some embodiments, if the first indication indicates that residual samples for each of the plurality of regions are in a substream of the codestream, the codestream may comprise a plurality of substreams, and each of the plurality of substreams corresponds to one of the plurality of regions. For example, residual data of different regions may be encapsulated into different substreams. In this case, samples corresponding to one of the plurality of regions may be reconstructed independently from substreams corresponding to the rest of the plurality of regions. In some embodiments, a substream corresponding to one of the plurality of regions may be allowed to be discarded. For example, a decoder may read the marker ID in a substream and if the decoder doesn’t support the marker, the decoder may discard the remaining bytes of the substream. In this case, the discarding of a substream will not affect the correct coding of the other substreams, since they are coded independently. 91 F1245807PCT
[0068] In some embodiments, data corresponding to one of the plurality of regions may be allowed to be extracted from the codestream. In this case, at least one of the following may be indicated in the codestream: whether to extract the data from the codestream, or how to extract the data from the codestream. For example, the data may comprise a substream, quality map information, residual data, luma residual data, chroma residual data, hyper latent data, residual latent data, and/or the like. It should be noted that discarding a part of data may also be regarded as extracting the rest of the data. [0069] In some embodiments, the codestream comprising a second indication of a region indicates that residual data for the region is present in the codestream. For example, the residual data may comprise residual samples for a primary component and/or residual samples for a secondary component. By way of example, the second indication may comprise an index, a flag or the like. In addition, the codestream may further comprise an indication indicating a length of the second indication. In some alternative embodiments, the codestream may comprise a list of indices, wherein each entry of the list may indicate the regions that are absent from the codestream, or each entry of the list may indicate the regions that are present in the codestream. [0070] In some embodiments, substreams of different regions among the plurality of regions may be coded using an entropy coder in parallel. In some embodiments, the codestream may further comprise at least one of the following: an indication indicating the number of threads for coding residual codestream for a primary component, or an indication indicating the number of threads for coding residual codestream for a secondary component. As used herein, a thread may be a parallel processing unit. [0071] In some embodiments, a correspondence between an index of a substream and a region may be determined based on a raster scanning order of the plurality of regions. In some alternative embodiments, the codestream may further comprise an indication indicating a correspondence between an index of a substream and a region. [0072] In some embodiments, the codestream may further comprise a third indication indicating a size of the substream. For example, the size of the substream may be represented by the number of bytes. Alternatively, the size of the substream may be represented by the number of bits. In one example embodiment, the third indication may be coded using variable length coding. Alternatively, the third indication may be coded using fixed length coding, or predictive coding or the like. [0073] In some embodiments, the maximum number of the plurality of regions may be dependent on aa profile to which the codestream conforms, a level to which the codestream 92 F1245807PCT
conforms, a size of the visual data, and/or the like. Additionally or alternatively, a maximum size or a minimum size of one of the plurality of regions may be dependent on a profile to which the codestream conforms, a level to which the codestream conforms, a size of the visual data, the number of the plurality of regions, and/or the like. [0074] In some embodiments, except for regions at a right boundary or a bottom boundary, the rest of the plurality of regions may be of a same size. For example, the right boundary and/or the bottom boundary may be a boundary of the visual data. The left subpicture of Fig. 19 illustrates an example of this case. [0075] In some embodiments, the plurality of regions cover the entire visual data. In some further embodiments, a vertical size of one of the plurality of regions may be equal to a product of k_ver and N_ver, where k_ver may be an integer and N_ver may be a predetermined integer. Additionally or alternatively, a horizontal size of the region may be equal to a product of k_hor and N_hor, where k_hor may be an integer and N_hor may be a predetermined integer. In one example embodiment, k_ver may be determined based on the number of horizontal splits of the set of residual samples, k_hor may be determined based on the number of vertical splits of the set of residual samples, and/or each of N_ver and N_hor may be equal to 128. [0076] In some embodiments, the codestream may further comprise at least one of the following: an indication indicating the number of regions for which a substream is present in the codestream, an indication indicating the number of regions for which a substream is absent from the codestream, an indication indicating whether substreams for all of the plurality of regions are included in the codestream, an indication indicating whether a substream of a region is discarded from the codestream, or an indication indicating whether a substream of a region is extracted from the codestream. [0077] In some embodiments, data corresponding to different regions among the plurality of regions may be allowed to be coded using an entropy coder in parallel. By way of example, the data may comprise at least one of the following: information for a primary component, information for a secondary component, residual information, hyper latent information, or quality map information. In addition, the codestream may further comprise a fourth indication indicating the number of parallel processing units. By way of example, the number of parallel processing units may be allowed to be different for different data to be processed in parallel. [0078] In some embodiments, the number of parallel processing units and/or the maximum number of parallel processing units may be determined based on a profile to which the 93 F1245807PCT
codestream conforms, a level to which the codestream conforms, a size of the visual data, the number of the plurality of regions, and/or the like. [0079] In some embodiments, the plurality of regions may be centrally aligned or shifted. This has been discussed in detail above with reference to Figs. 20A-20C. Moreover, the codestream may further comprise an indication indicating whether region coordinates are shifted. [0080] In some embodiments, for processing a region, a tensor used as an input to a third processing module may be centrally aligned with a tensor used as an input to a fourth processing module. Alternatively, the tensor used as the input to the third processing module may be shifted with respect to the tensor used as the input to the fourth processing module. In one example embodiment, the processing of the region with a synthesis transform may be performed with centrally aligned tensors, and the processing of the region with a further processing module may be performed with non-aligned tensors. [0081] In a further example embodiment, the processing of the region with a synthesis transform may be performed with centrally aligned tensors, and the processing of the region with a further processing module may be performed with centrally aligned tensors or non- aligned tensors. In addition, the codestream may further comprise an indication indicating whether the processing of the region with the further processing module is performed with the centrally aligned tensors or the non-aligned tensors. For example, the further processing module may comprise at least one of the following: a hyper decoding module, a hyper scale decoding module, an entropy decoder a sample prediction module, an MCM module, or a latent sample reconstruction module. [0082] In some embodiments, the number of the plurality of regions may be no larger than a predetermined integer. Additionally or alternatively, the number of rows of regions among the plurality of regions may be no later than a predetermined integer. Additionally or alternatively, the number of columns of regions among the plurality of regions may be no later than a predetermined integer. In some embodiments, an indication related to region- based coding may be coded in a predictive way. [0083] In some embodiments, whether a first coding mode is enabled is determined for the conversion between the visual data and the bitstream. In one example embodiment, the visual data may be at least a part of a picture of a video. Alternatively, the visual data may be at least a part of an image. In some embodiments, the bitstream may comprise an indication indicating whether the first mode is enabled. In this case, at a decoder, information regarding whether the first mode is enabled may be parsed from the bitstream. 94 F1245807PCT
[0084] In the first coding mode, a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples, and a subset of residual samples among the plurality of subsets of residual samples is coded before a further subset of residual samples among the plurality of subsets of residual samples. For example, a subset of residual samples at the first position (such as a top-left position) may be coded before the rest of the plurality of subsets of residual samples. [0085] In some embodiments, a residual sample associated with the visual data may be a sample in a residual latent representation of the visual data. The residual latent representation may indicate a difference between a latent representation of the visual data and a prediction of the latent representation. As used herein, the term “latent representation” may refer to an intermediate representation of the visual data during the conversion process. By way of example rather than limitation, the latent representation may comprise a latent tensor or latent for short. Correspondingly, the residual latent representation may comprise a residual latent tensor or residual tensor for short. In this case, a subset of residual samples may be regard as a sub-tensor of the residual tensor. It should be noted that the residual sample may also be a sample indicating difference in a pixel domain rather than in the above- mentioned latent domain. [0086] By way of example rather than limitation, in an entropy decoding process where the bitstream is converted to transformed coefficients (such as the residual samples), in aid of the first coding mode, the transformed coefficients of a region can be decoded before other regions. [0087] In view of the above, in the first coding mode, a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples, and a subset of residual samples among the plurality of subsets of residual samples is coded before a further subset of residual samples among the plurality of subsets of residual samples. Compared with the conventional raster-scan coding order, the proposed method can advantageously make it possible to code a set of residual samples without waiting for coding a further residual sample that is not comprised in the set of residual samples. Thereby, the proposed method can advantageously support coding different subsets of residual samples independently, and thus the coding efficiency can be improved. [0088] In some embodiments, the first coding mode may be enabled for the conversion. In this case, whether a second coding mode is enabled for the conversion may be determined and the conversion is performed based on the determining of whether the second mode is enabled. In the second coding mode, a set of samples associated with the visual data may be 95 F1245807PCT
partitioned into a plurality of subsets of samples, and a first subset of samples among the plurality of subsets of samples may be coded independently from the rest of the plurality of subsets of samples. For example, the set of samples may comprise one of the following: samples in the visual data, samples in a latent representation of the visual data, samples in a residual latent representation of the visual data, or the like. As used herein, a sample in the latent representation may also be referred to as a latent sample. [0089] In one example embodiment, samples associated with the visual data and samples in the latent representation of the visual data may be partitioned in a same manner as the set of residual samples associated with the visual data. In this case, a subset of samples in the visual data may corresponds to a subset of samples in a latent representation of the visual data, and in turn, the subset of samples in a latent representation of the visual data may correspond to a subset of samples in a residual latent representation, i.e., a subset of residual samples. In other words, there may a correspondence between samples in a pixel domain and samples in a latent domain (aka. transformed domain), as shown in Fig. 2. It should be noted that they may also be partitioned in different manners. The scope of the present disclosure is not limited in this respect. [0090] In some embodiments, the bitstream may comprise an indication indicating whether the second coding mode may be enabled. In this case, at a decoder, information regarding whether the second mode is enabled may be parsed from the bitstream. [0091] By way of example rather than limitation, the decoding process may further comprise a sample reconstruction process in addition to the above-mentioned entropy decoding process. The sample reconstruction process may comprise a latent sample reconstruction process and a synthesis transform. In addition, the latent sample reconstruction process may further comprise a latent sample prediction process and a latent sample compensation process. For example, latent samples are predicted in the latent sample prediction process, and then reconstructed latent samples are determined based on the predicted latent samples and the residual samples. Furthermore, a synthesis transform may be applied on the reconstructed latent samples to obtain reconstructed samples of the visual data which are in a pixel domain. In aid of the above-mentioned second coding mode, residual samples, latent samples and samples in the pixel domain of a region can be decoded independently from other regions. Thereby, the coding process is more flexible and more efficient. [0092] In some embodiments, bits associated with the set of samples may be organized in the bitstream based on the partition of the plurality of subsets of samples. In one example embodiment, bits associated with a first component of the first subset of samples may be 96 F1245807PCT
coded before bits associated with a first component of a second subset of samples among the plurality of subsets of samples. In addition, bits associated with a second component of the first subset of samples may be coded after bits associated with the first component of the second subset of samples. Alternatively, bits associated with all components of the first subset of samples may be coded before bits associated with all components of a second subset of samples among the plurality of subsets of samples. In addition, bits associated with a first component of the first subset of samples may be coded before bits associated with a second component of the first subset of samples. [0093] In some embodiments, bits associated with all components of the first subset of samples may be group together in a substream of the bitstream. For example, bits for a region shall not be separated by a bit for a further region. By way of example rather than limitation a bitstream may be organized as follows: (1) bits for luma residual samples of a first region; (2) bits for chroma residual samples of the first region; (3) bits for luma residual samples of a second region; (4) bits for chroma residual samples of the second region, etc. In addition, bits for luma and chroma residual samples of the first region may be encapsulated in a substream, and bits for luma and chroma residual samples of the second region may be encapsulated in a further substream. [0094] In some embodiments, at least one indication in the bitstream indicates whether bits associated with a first component or a second component of each of the plurality of subsets of samples are in a substream of the bitstream. By way of example rather than limitation, a syntax element in the bitstream may indicate whether the primary or secondary residual data for each region is in a substream. [0095] For example, this at least one indication may be used as an indication of the second coding mode. If the at least one indication indicates that bits associated with a first component or a second component of each subset of the plurality of subsets of samples are in a substream of the bitstream, the second coding mode is enabled. Otherwise, the second coding mode is disabled. [0096] In some embodiments, the bitstream may comprise a plurality of substreams corresponding to the plurality of subsets of samples, each of the plurality of substreams may comprise bits associated with a corresponding subset of samples. In addition, there may be a marker at the beginning of at least one of the plurality of substreams. For example, a marker may be implemented as a code with one or more bytes, such as a one-byte code, a two-byte code, or the like. It should be noted that a bitstream comprising one or more markers may also be referred to as a codestream. 97 F1245807PCT
[0097] In some alternative embodiments, the bitstream may comprise a plurality of substreams corresponding to the plurality of subsets of samples, each of the plurality of substreams may comprise bits associated with a corresponding subset of samples. In addition, there may be a marker at the beginning of each of the plurality of substreams. In some alternative embodiments, there may be a marker at the beginning of bits associated with hyper tensor for a region. [0098] In some embodiments, the bitstream may comprise a plurality of substreams corresponding to the plurality of subsets of samples. Each of the plurality of substreams may comprise bits associated with a component of a corresponding subset of samples, and there may be a marker at the beginning of each of the plurality of substreams. [0099] In some embodiments, a first component of the set of samples may be partitioned into a first number of subsets, a second component of the set of samples may be partitioned into a second number of subsets, and the first number may be equal to the second number. For example, the first number and the second number may be indicated by at least one indication in the bitstream. In one example embodiments, the set of samples may be partitioned horizontally and vertically. In this case, the number of vertical splits of the set of samples may be indicated in the bitstream. By way of example rather than limitation, an indication in the bitstream may indicate the number of vertical splits of the set of samples minus 1. Additionally or alternatively, the number of horizontal splits of the set of samples may be indicated in the bitstream. By way of example rather than limitation, an indication in the bitstream may indicate the number of horizontal splits of the set of samples minus 1. In this case, the first number and the second number may be equal to a product of the number of vertical splits and the number of horizontal splits. It should be noted that the first number and the second number may also be different from each other. [0100] In some embodiments, at least one of the following may be constrained depending on a profile and a level to which the bitstream conforms: the maximum value of the number of vertical splits of the set of samples, the minimum value of the number of vertical splits of the set of samples, the maximum value of the number of horizontal splits of the set of samples, or the minimum value of the number of horizontal splits of the set of samples. [0101] In some embodiments, the plurality of subsets of samples corresponds to a plurality of regions, and each of the plurality of regions may comprise a corresponding subset of samples. Alternatively, each of the plurality of subsets of samples corresponds a subpicture, a tile, a slice, or the like. For ease of discussion, the case where each of the plurality of subsets of samples corresponds a region will be taken as an example and described in detail 98 F1245807PCT
below. It should be noted that the concept described below may also be applied to a case where each of the plurality of subsets of samples corresponds a subpicture, a tile, a slice, or the like. The scope of the present disclosure is not limited in this respect. [0102] In some embodiments, a position of each of the plurality of regions may be constrained. For example, a position of a top-left sample (e.g., a top-left luma sample) of a region shall be located at (2X, 2Y) relative to a top-left sample of the set of samples, and each of X and Y may be a non-negative integer, such as 4, 5, or 6 the like. [0103] In some additional embodiments, the minimal number of samples of a first component comprised in a region may be constrained. Additionally or alternatively, the minimal number of samples of a second component comprised in a region may be constrained. By way of example rather than limitation, the number of samples of a first or second component comprised in a region shall be no smaller than a predetermined number, such as 64, 128, 1282, or the like. [0104] In some further embodiments, the maximal number of samples of a first component comprised in a region may be constrained. Additionally or alternatively, the maximal number of samples of a second component comprised in a region may be constrained. [0105] In some embodiments, a region size may be a multiple of M samples, and M may be a non-negative integer. For example, M may be equal to 2N, and N may be a non-negative integer, such as 4, 5, 6 or the like. By way of example rather than limitation, M may be equal to 128. It should be understood that the specific values recited herein are intended to be exemplary rather than limiting the scope of the present disclosure. [0106] In some embodiments, all regions that are not located at a right boundary or a bottom boundary of the visual data have the above-mentioned region size. In other words, regions that are located at a right boundary or a bottom boundary of the visual data are allowed to have a size different from the above-mentioned region size due to the size of the visual data and the partitioning scheme. [0107] In some embodiments, a vertical coordinate of a region, a horizontal coordinate of the region, and/or a size of the region may be determined based on a size of the visual data and a depth parameter. For example, the size of the visual data may comprise at least one of a width or a height of the visual data. A set of equations for this purposed are listed in the above section 1.13.2, where the variable d represents the depth parameter. [0108] By way of example rather than limitation, the NN-based model may perform 6 times upsampling operation during the decoding process, in each time, the size of the tensor that is being processed will be doubled. In order to make sure independent decoding is achieved, 99 F1245807PCT
it is necessary to process tensors in each time independently, which means the coordinates of the regions at each upsampling step shall be determined. Hence, the region sizes/coordinates after each upsampling step may be determined. Then, these coordinates may be used to independently process each tensor. In this case, the depth parameter may be in a range from 0 to 5. A depth parameter being equal to 0 may indicate the first upsampling operation, i.e., the first upsampling step. A depth parameter being equal to 1 may indicate the second upsampling operation, i.e., the second upsampling step, and so on. It should be understood that the above illustrations are described merely for purpose of description. The scope of the present disclosure is not limited in this respect. [0109] In some embodiments, a fifth indication of a regional access capability may be indicated in the bitstream. For example, the fifth indication may be comprised in a picture header syntax table in the bitstream, or any other suitable syntax table. By way of example rather than limitation, the regional access capability may comprise a capability of each of the plurality of regions to be correctly coded independently from other regions. Additionally or alternatively, the regional access capability may comprise a capability of each of the plurality of regions to be coded independently from other regions. In this case, there may be an “allowed deviation” from a correct reconstruction. In other words, a reconstruction with a deviation from correct reconstruction being smaller than a threshold may also be deemed as “conforming to the standard”. [0110] For example, this fifth indication may be used as an indication of the second coding mode. If the fifth indication indicates that the regional access capability is enabled, the second coding mode is enabled. Otherwise, the second coding mode is disabled. [0111] In some embodiments, if the fifth indication indicates the regional access capability is enabled, each sample on a region boundary is also on a tile boundary, while a tile boundary may not be a region boundary. In other words, if the fifth indication indicates the regional access capability is enabled, a tile may be a part of a region. [0112] In some embodiments, if the fifth indication indicates the regional access capability is enabled, a size of tiles for a first component of a region may be the same as a size of tiles for a second component of the region. For example, tiles for luma and chroma components may be aligned. [0113] In some embodiments, if the fifth indication indicates the regional access capability is enabled, an amount of overlap for processing a region boundary is set equal to zero. For example, if the fifth indication indicates the regional access capability is enabled, a region may be processed without using a sample of other regions. Thereby, compared with a 100 F1245807PCT
solution where a non-zero overlap is involved in processing a region boundary, the proposed solution can advantageously make it possible to code a region independently from neighboring regions. [0114] In some alternative embodiments, if the fifth indication indicates the regional access capability is enabled, a padding operation may be applied to a region boundary. For example, a padding amount for the padding operation depends on a size of a region, a modulo of the size of the region, and/or the like. In some embodiments, the padding operation may comprise repetitive padding or padding with a constant value, such as 0, 1, 2 or the like. In some embodiments, if a size of a region is a multiple of a predetermined number (such as 64, 128 or the like), no padding operation may be performed for the region. [0115] In some embodiments, at least one of the following may be performed on a region independently from other regions: a process of entropy coding, a process of sample prediction, a process of sample reconstruction, a synthesis transform, a multi-stage context model, a filtering process, or a hyper decoder. [0116] In some embodiments, the NN-based model may comprise one or more NN-based modules for performing at least one of the following processes on a region independently from other regions: a process of sample prediction, or a process of sample reconstruction. For example, the one or more NN-based modules may comprise at least one of a hyper decoder or a multistage context modelling (MCM) module or a synthesis transform module. For example, an output of the hyper decoder may comprise an explicit prediction tensor. Additionally or alternatively, an output of the MCM module may comprise a reconstructed latent tensor. In addition, the one or more NN-based modules may be performed on each of the plurality of regions, e.g., for one time or multiple times. [0117] In some embodiments, the NN-based model may comprise an entropy coder for obtaining residuals corresponding to a region independently from other regions. For example, the entropy coder may comprise an arithmetic coder, an asymmetric numeral system, or the like. [0118] In some embodiments, an indicator may be signaled after all bits for all components of a region before coding a further region. Alternatively, an indicator may be signaled before all bits for all components of a region. In some further embodiments, an indicator may be signaled before all bits for one component of a region. Alternatively, an indicator may be signaled after all bits for one component of a region. [0119] In some embodiments, in the first coding mode, a filtering process may be performed on a region independently from other regions. For example, the filtering process may 101 F1245807PCT
comprise a convolution operation, a padding operation, and/or the like. [0120] In some embodiments, a probability parameter of a region may be obtained independently of other regions. For example, probability parameters (e.g., variance parameters, gaussian sigma parameters etc.) corresponding to a region may be used to decode the samples of only one region and not used to decode the samples of a second region. [0121] In some embodiments, first information regarding at least one of the following may be indicated in the bitstream: whether to apply the method, or how to apply the method. For example, the first information may be indicated at a block level, a sequence level, a group of pictures level, a picture level, a slice level, a tile group level, and/or the like. [0122] In some embodiments, the first information may be indicated in one of the following: a coding structure of a coding tree unit (CTU), a coding structure of a coding unit (CU), a coding structure of a transform unit (TU), a coding structure of a prediction unit (PU), a coding structure of a coding tree block (CTB), a coding structure of a coding block (CB), a coding structure of a transform block (TB), a coding structure of a prediction block (PB), a sequence header, a picture header, a sequence parameter set (SPS), a video parameter set (VPS), a dependency parameter set (DPS), a decoding capability information (DCI), a picture parameter set (PPS), an adaptation parameter sets (APS), a slice header, or a tile group header. [0123] In some embodiments, the first information may be dependent on coded information of the visual data. By way of example rather than limitation, the coded information may comprise a block size, a color format, a single tree partitioning, a dual tree partitioning, a color component, a slice type, a picture type, and/or the like. [0124] In some embodiments, any of the above-mentioned indication may be a syntax element. For example, the syntax element may be binarized as one of the following: a flag, a fixed length code, an exponential Golomb (EG) code, a unary code, a truncated unary code, or a truncated binary code. In addition, the syntax element may be coded with at least one context model. Alternatively, the syntax element may be bypass coded. In some embodiments, the syntax element may be signaled based on a condition. [0125] In some embodiments, the syntax element may be indicated at one of the following: a block level, a sequence level, a group of pictures level, a picture level, a slice level, or a tile group level. In some embodiments, the syntax element may be indicated in one of the following: a coding structure of a coding tree unit (CTU), a coding structure of a coding unit (CU), a coding structure of a transform unit (TU), a coding structure of a prediction unit (PU), a coding structure of a coding tree block (CTB), a coding structure of a coding block (CB), a coding structure of a transform block (TB), a coding structure of a prediction block 102 F1245807PCT
(PB), a sequence header, a picture header, a sequence parameter set (SPS), a video parameter set (VPS), a dependency parameter set (DPS), a decoding capability information (DCI), a picture parameter set (PPS), an adaptation parameter sets (APS), a slice header, or a tile group header. [0126] In view of the above, the solutions in accordance with some embodiments of the present disclosure can advantageously support coding different subsets of residual samples independently, and thus the coding efficiency can be improved. [0127] It should be noted that the above-described concept may also be applied to any other image/video compression solutions with NN-based coding tools involved. The scope of the present disclosure is not limited in this respect. [0128] According to further embodiments of the present disclosure, a non-transitory computer-readable recording medium is provided. The non-transitory computer-readable recording medium stores a codestream of visual data which is generated by a method performed by an apparatus for visual data processing. The method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. [0129] According to still further embodiments of the present disclosure, a method for storing codestream of visual data is provided. The method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model; and storing the codestream in a non-transitory computer-readable recording medium, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. [0130] Implementations of the present disclosure can be described in view of the following clauses, the features of which can be combined in any reasonable manner. [0131] Clause 1. A method for visual data processing, comprising: performing a conversion between visual data and a codestream of the visual data with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the 103 F1245807PCT
plurality of regions are in a substream of the codestream that corresponds to the region. [0132] Clause 2. The method of clause 1, wherein the set of residual samples is a residual tensor, and each of the plurality of subsets of residual samples is a residual sub-tensor. [0133] Clause 3. The method of any of clauses 1-2, wherein if the first indication indicates that there is only one substream for primary residual samples for the plurality of regions and only one substream for secondary residual samples for the plurality of regions, for a processing with a first processing module in the NN-based model, the plurality of regions are allowed to overlap. [0134] Clause 4. The method of clause 3, wherein the first processing module comprises at least one of the following: a hyper decoding module, a multistage context modelling (MCM) module, a synthesis transform module, a latent sample reconstruction module, a sample prediction module, an analysis transform module, or a hyper scale decoding module. [0135] Clause 5. The method of any of clauses 3-4, wherein the plurality of regions comprise a first region, and at least one padding amount for the first region is determined based on an overlap amount between the first region and one or more regions neighboring to the first region. [0136] Clause 6. The method of clause 5, wherein the at least one padding amount comprises at least one of the following: a padding amount in a left direction, a padding amount in a right direction, a padding amount in a bottom direction, or a padding amount in a top direction. [0137] Clause 7. The method of any of clauses 5-6, wherein the number of samples to be discarded from an output of the first processing module is determined based on the at least one padding amount. [0138] Clause 8. The method of any of clauses 3-7, wherein an overlap amount between two of the plurality of regions is dependent on the first processing module. [0139] Clause 9. The method of clause 8, wherein the codestream further comprises at least one of the following: an indication indicating the overlap amount or a padding amount used in a hyper decoding module, or an indication indicating the overlap amount or a padding amount used in an MCM module. [0140] Clause 10. The method of any of clauses 1-9, wherein if the first indication indicates that residual samples for each of the plurality of regions is in a substream of the codestream, for a processing with a second processing module in the NN-based model, the plurality of regions do not overlap with each other. [0141] Clause 11. The method of clause 10, wherein the second processing module comprises 104 F1245807PCT
at least one of the following: a synthesis transform module, an analysis transform module, an MCM module, a sample prediction module, a latent sample reconstruction module, a hyper decoding module, or a hyper scale decoding module. [0142] Clause 12. The method of any of clauses 10-11, wherein residual samples for each of the plurality of regions are coded independently from residual samples for the rest of the plurality of regions. [0143] Clause 13. The method of any of clauses 1-12, wherein if the first indication indicates that residual samples for each of the plurality of regions is in a substream of the codestream, for a processing with a synthesis transform module, at least one region among the plurality of regions is partitioned into a plurality of tiles, and the number of the plurality of tiles is an integer. [0144] Clause 14. The method of clause 13, wherein a tile within a region is allowed to overlap with a further tile within the same region and is not allowed to overlap with a tile within a further region. [0145] Clause 15. The method of any of clauses 1-14, wherein if the first indication indicates that residual samples for each of the plurality of regions is in a substream of the codestream, the codestream comprises a plurality of substreams, and each of the plurality of substreams corresponds to one of the plurality of regions. [0146] Clause 16. The method of clause 15, wherein a substream corresponding to one of the plurality of regions is allowed to be discarded. [0147] Clause 17. The method of any of claim 15-16, wherein samples corresponding to one of the plurality of regions are reconstructed independently from substreams corresponding to the rest of the plurality of regions. [0148] Clause 18. The method of any of clauses 15-17, wherein the codestream comprising a second indication of a region indicates that residual data for the region is present in the codestream. [0149] Clause 19. The method of clause 18, wherein the second indication comprises an index. [0150] Clause 20. The method of any of clauses 18-19, wherein the residual data comprises at least one of the following: residual samples for a primary component, or residual samples for a secondary component. [0151] Clause 21. The method of any of clauses 10-20, wherein substreams of different regions among the plurality of regions are coded using an entropy coder in parallel. [0152] Clause 22. The method of any of clauses 10-21, wherein the codestream further comprises at least one of the following: an indication indicating the number of threads for 105 F1245807PCT
coding residual codestream for a primary component, or an indication indicating the number of threads for coding residual codestream for a secondary component. [0153] Clause 23. The method of any of clauses 10-22, wherein a correspondence between an index of a substream and a region is determined based on a raster scanning order of the plurality of regions. [0154] Clause 24. The method of any of clauses 3-23, wherein the codestream further comprises a third indication indicating a size of the substream. [0155] Clause 25. The method of clause 24, wherein the size of the substream is represented by the number of bytes. [0156] Clause 26. The method of any of clauses 24-25, wherein the third indication is coded using variable length coding. [0157] Clause 27. The method of any of clauses 1-26, wherein the maximum number of the plurality of regions is dependent on at least one of the following: a profile to which the codestream conforms, a level to which the codestream conforms, or a size of the visual data. [0158] Clause 28. The method of any of clauses 1-27, wherein a maximum size or a minimum size of one of the plurality of regions is dependent on at least one of the following: a profile to which the codestream conforms, a level to which the codestream conforms, a size of the visual data, or the number of the plurality of regions. [0159] Clause 29. The method of any of clauses 1-28, wherein except for regions at a right boundary or a bottom boundary, the rest of the plurality of regions are of a same size. [0160] Clause 30. The method of clause 29, wherein at least one of the right boundary or the bottom boundary is a boundary of the visual data. [0161] Clause 31. The method of any of clauses 1-30, wherein the plurality of regions cover the entire visual data. [0162] Clause 32. The method of any of clauses 1-31, wherein a vertical size of one of the plurality of regions is equal to a product of k_ver and N_ver, k_ver is an integer and N_ver is a predetermined integer, or a horizontal size of the region is equal to a product of k_hor and N_hor, k_hor is an integer and N_hor is a predetermined integer. [0163] Clause 33. The method of clause 32, wherein k_ver is determined based on the number of horizontal splits of the set of residual samples, k_hor is determined based on the number of vertical splits of the set of residual samples, or each of N_ver and N_hor is equal to 128. [0164] Clause 34. The method of any of clauses 10-23, wherein data corresponding to one of the plurality of regions is allowed to be extracted from the codestream. [0165] Clause 35. The method of clause 34, wherein at least one of the following is indicated 106 F1245807PCT
in the codestream: whether to extract the data from the codestream, or how to extract the data from the codestream. [0166] Clause 36. The method of any of clauses 34-35, wherein the data comprises at least one of the following: a substream, quality map information, residual data, luma residual data, chroma residual data, hyper latent data, or residual latent data. [0167] Clause 37. The method of any of clauses 10-23, wherein the codestream further comprises at least one of the following: an indication indicating the number of regions for which a substream is present in the codestream, an indication indicating the number of regions for which a substream is absent from the codestream, an indication indicating whether substreams for all of the plurality of regions are included in the codestream, an indication indicating whether a substream of a region is discarded from the codestream, or an indication indicating whether a substream of a region is extracted from the codestream. [0168] Clause 38. The method of any of clauses 18-20, wherein the codestream further comprises an indication indicating a length of the second indication. [0169] Clause 39. The method of any of clauses 10-23, wherein data corresponding to different regions among the plurality of regions are allowed to be coded using an entropy coder in parallel. [0170] Clause 40. The method of clause 39, wherein the data comprise at least one of the following: information for a primary component, information for a secondary component, residual information, hyper latent information, or quality map information. [0171] Clause 41. The method of any of clauses 39-40, wherein the codestream further comprises a fourth indication indicating the number of parallel processing units. [0172] Clause 42. The method of clause 41, wherein the number of parallel processing units is allowed to be different for different data to be processed in parallel. [0173] Clause 43. The method of any of clauses 39-42, wherein the number of parallel processing units or the maximum number of parallel processing units is determined based on at least one of the following: a profile to which the codestream conforms, a level to which the codestream conforms, a size of the visual data, or the number of the plurality of regions. [0174] Clause 44. The method of any of clauses 1-28, wherein the plurality of regions are centrally aligned or shifted. [0175] Clause 45. The method of clause 44, wherein the codestream further comprises an indication indicating whether region coordinates are shifted. [0176] Clause 46. The method of any of clauses 1-45, wherein for processing a region, a tensor used as an input to a third processing module is centrally aligned with a tensor used 107 F1245807PCT
as an input to a fourth processing module, or the tensor used as the input to the third processing module is shifted with respect to the tensor used as the input to the fourth processing module. [0177] Clause 47. The method of clause 46, wherein the processing of the region with a synthesis transform is performed with centrally aligned tensors, and the processing of the region with a further processing module is performed with non-aligned tensors. [0178] Clause 48. The method of clause 46, wherein the processing of the region with a synthesis transform is performed with centrally aligned tensors, and the processing of the region with a further processing module is performed with centrally aligned tensors or non- aligned tensors. [0179] Clause 49. The method of clause 48, wherein the codestream further comprises an indication indicating whether the processing of the region with the further processing module is performed with the centrally aligned tensors or the non-aligned tensors. [0180] Clause 50. The method of any of clauses 47-49, wherein the further processing module comprises at least one of the following: a hyper decoding module, a hyper scale decoding module, an entropy decoder a sample prediction module, an MCM module, or a latent sample reconstruction module. [0181] Clause 51. The method of any of clauses 10-22, wherein the codestream further comprises an indication indicating a correspondence between an index of a substream and a region. [0182] Clause 52. The method of any of clauses 1-51, wherein the number of the plurality of regions is no larger than a predetermined integer, or the number of rows of regions among the plurality of regions is no later than a predetermined integer, or the number of columns of regions among the plurality of regions is no later than a predetermined integer. [0183] Clause 53. The method of any of clauses 1-52, wherein an indication related to region- based coding is coded in a predictive way. [0184] Clause 54. The method of any of clauses 1-53, wherein the visual data is at least a part of a picture of a video or an image. [0185] Clause 55. The method of any of clauses 1-54, wherein the conversion includes encoding the visual data into the codestream. [0186] Clause 56. The method of any of clauses 1-54, wherein the conversion includes decoding the visual data from the codestream. [0187] Clause 57. An apparatus for visual data processing comprising a processor and a non- transitory memory with instructions thereon, wherein the instructions upon execution by the 108 F1245807PCT
processor, cause the processor to perform a method in accordance with any of clauses 1-56. [0188] Clause 58. A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method in accordance with any of clauses 1-56. [0189] Clause 59. A non-transitory computer-readable recording medium storing a codestream of visual data which is generated by a method performed by an apparatus for visual data processing, wherein the method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. [0190] Clause 60. A method for storing a codestream of visual data, comprising: performing a conversion between the visual data and the codestream with a neural network (NN)-based model; and storing the codestream in a non-transitory computer-readable recording medium, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. Example Device [0191] Fig. 29 illustrates a block diagram of a computing device 2900 in which various embodiments of the present disclosure can be implemented. The computing device 2900 may be implemented as or included in the source device 110 (or the visual data encoder 114) or the destination device 120 (or the visual data decoder 124). [0192] It would be appreciated that the computing device 2900 shown in Fig.29 is merely for purpose of illustration, without suggesting any limitation to the functions and scopes of the embodiments of the present disclosure in any manner. [0193] As shown in Fig.29, the computing device 2900 includes a general-purpose computing device 2900. The computing device 2900 may at least comprise one or more processors or processing units 2910, a memory 2920, a storage unit 2930, one or more communication units 2940, one or more input devices 2950, and one or more output devices 2960. [0194] In some embodiments, the computing device 2900 may be implemented as any user terminal or server terminal having the computing capability. The server terminal may be a server, a large-scale computing device or the like that is provided by a service provider. The user terminal may for example be any type of mobile terminal, fixed terminal, or portable 109 F1245807PCT
terminal, including a mobile phone, station, unit, device, multimedia computer, multimedia tablet, Internet node, communicator, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, personal communication system (PCS) device, personal navigation device, personal digital assistant (PDA), audio/video player, digital camera/video camera, positioning device, television receiver, radio broadcast receiver, E-book device, gaming device, or any combination thereof, including the accessories and peripherals of these devices, or any combination thereof. It would be contemplated that the computing device 2900 can support any type of interface to a user (such as “wearable” circuitry and the like). [0195] The processing unit 2910 may be a physical or virtual processor and can implement various processes based on programs stored in the memory 2920. In a multi-processor system, multiple processing units execute computer executable instructions in parallel so as to improve the parallel processing capability of the computing device 2900. The processing unit 2910 may also be referred to as a central processing unit (CPU), a microprocessor, a controller or a microcontroller. [0196] The computing device 2900 typically includes various computer storage medium. Such medium can be any medium accessible by the computing device 2900, including, but not limited to, volatile and non-volatile medium, or detachable and non-detachable medium. The memory 2920 can be a volatile memory (for example, a register, cache, Random Access Memory (RAM)), a non-volatile memory (such as a Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), or a flash memory), or any combination thereof. The storage unit 2930 may be any detachable or non-detachable medium and may include a machine-readable medium such as a memory, flash memory drive, magnetic disk or another other media, which can be used for storing information and/or visual data and can be accessed in the computing device 2900. [0197] The computing device 2900 may further include additional detachable/non-detachable, volatile/non-volatile memory medium. Although not shown in Fig. 29, it is possible to provide a magnetic disk drive for reading from and/or writing into a detachable and non- volatile magnetic disk and an optical disk drive for reading from and/or writing into a detachable non-volatile optical disk. In such cases, each drive may be connected to a bus (not shown) via one or more visual data medium interfaces. [0198] The communication unit 2940 communicates with a further computing device via the communication medium. In addition, the functions of the components in the computing device 2900 can be implemented by a single computing cluster or multiple computing 110 F1245807PCT
machines that can communicate via communication connections. Therefore, the computing device 2900 can operate in a networked environment using a logical connection with one or more other servers, networked personal computers (PCs) or further general network nodes. [0199] The input device 2950 may be one or more of a variety of input devices, such as a mouse, keyboard, tracking ball, voice-input device, and the like. The output device 2960 may be one or more of a variety of output devices, such as a display, loudspeaker, printer, and the like. By means of the communication unit 2940, the computing device 2900 can further communicate with one or more external devices (not shown) such as the storage devices and display device, with one or more devices enabling the user to interact with the computing device 2900, or any devices (such as a network card, a modem and the like) enabling the computing device 2900 to communicate with one or more other computing devices, if required. Such communication can be performed via input/output (I/O) interfaces (not shown). [0200] In some embodiments, instead of being integrated in a single device, some or all components of the computing device 2900 may also be arranged in cloud computing architecture. In the cloud computing architecture, the components may be provided remotely and work together to implement the functionalities described in the present disclosure. In some embodiments, cloud computing provides computing, software, visual data access and storage service, which will not require end users to be aware of the physical locations or configurations of the systems or hardware providing these services. In various embodiments, the cloud computing provides the services via a wide area network (such as Internet) using suitable protocols. For example, a cloud computing provider provides applications over the wide area network, which can be accessed through a web browser or any other computing components. The software or components of the cloud computing architecture and corresponding visual data may be stored on a server at a remote position. The computing resources in the cloud computing environment may be merged or distributed at locations in a remote visual data center. Cloud computing infrastructures may provide the services through a shared visual data center, though they behave as a single access point for the users. Therefore, the cloud computing architectures may be used to provide the components and functionalities described herein from a service provider at a remote location. Alternatively, they may be provided from a conventional server or installed directly or otherwise on a client device. [0201] The computing device 2900 may be used to implement visual data encoding/decoding in embodiments of the present disclosure. The memory 2920 may include one or more visual 111 F1245807PCT
data coding modules 2925 having one or more program instructions. These modules are accessible and executable by the processing unit 2910 to perform the functionalities of the various embodiments described herein. [0202] In the example embodiments of performing visual data encoding, the input device 2950 may receive visual data as an input 2970 to be encoded. The visual data may be processed, for example, by the visual data coding module 2925, to generate an encoded bitstream. The encoded bitstream may be provided via the output device 2960 as an output 2980. [0203] In the example embodiments of performing visual data decoding, the input device 2950 may receive an encoded bitstream as the input 2970. The encoded bitstream may be processed, for example, by the visual data coding module 2925, to generate decoded visual data. The decoded visual data may be provided via the output device 2960 as the output 2980. [0204] While this disclosure has been particularly shown and described with references to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application as defined by the appended claims. Such variations are intended to be covered by the scope of this present application. As such, the foregoing description of embodiments of the present application is not intended to be limiting. 112 F1245807PCT
Claims
I/We Claim: 1. A method for visual data processing, comprising: performing a conversion between visual data and a codestream of the visual data with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. 2. The method of claim 1, wherein the set of residual samples is a residual tensor, and each of the plurality of subsets of residual samples is a residual sub-tensor. 3. The method of any of claims 1-2, wherein if the first indication indicates that there is only one substream for primary residual samples for the plurality of regions and only one substream for secondary residual samples for the plurality of regions, for a processing with a first processing module in the NN-based model, the plurality of regions are allowed to overlap. 4. The method of claim 3, wherein the first processing module comprises at least one of the following: a hyper decoding module, a multistage context modelling (MCM) module, a synthesis transform module, a latent sample reconstruction module, a sample prediction module, an analysis transform module, or a hyper scale decoding module. 5. The method of any of claims 3-4, wherein the plurality of regions comprise a first region, and at least one padding amount for the first region is determined based on an overlap amount between the first region and one or more regions neighboring to the first region. 6. The method of claim 5, wherein the at least one padding amount comprises at least one of the following: 113 F1245807PCT
a padding amount in a left direction, a padding amount in a right direction, a padding amount in a bottom direction, or a padding amount in a top direction. 7. The method of any of claims 5-6, wherein the number of samples to be discarded from an output of the first processing module is determined based on the at least one padding amount. 8. The method of any of claims 3-7, wherein an overlap amount between two of the plurality of regions is dependent on the first processing module. 9. The method of claim 8, wherein the codestream further comprises at least one of the following: an indication indicating the overlap amount or a padding amount used in a hyper decoding module, or an indication indicating the overlap amount or a padding amount used in an MCM module. 10. The method of any of claims 1-9, wherein if the first indication indicates that residual samples for each of the plurality of regions is in a substream of the codestream, for a processing with a second processing module in the NN-based model, the plurality of regions do not overlap with each other. 11. The method of claim 10, wherein the second processing module comprises at least one of the following: a synthesis transform module, an analysis transform module, an MCM module, a sample prediction module, a latent sample reconstruction module, a hyper decoding module, or a hyper scale decoding module. 12. The method of any of claims 10-11, wherein residual samples for each of the plurality of regions are coded independently from residual samples for the rest of the plurality of regions. 114 F1245807PCT
13. The method of any of claims 1-12, wherein if the first indication indicates that residual samples for each of the plurality of regions is in a substream of the codestream, for a processing with a synthesis transform module, at least one region among the plurality of regions is partitioned into a plurality of tiles, and the number of the plurality of tiles is an integer. 14. The method of claim 13, wherein a tile within a region is allowed to overlap with a further tile within the same region and is not allowed to overlap with a tile within a further region. 15. The method of any of claims 1-14, wherein if the first indication indicates that residual samples for each of the plurality of regions is in a substream of the codestream, the codestream comprises a plurality of substreams, and each of the plurality of substreams corresponds to one of the plurality of regions. 16. The method of claim 15, wherein a substream corresponding to one of the plurality of regions is allowed to be discarded. 17. The method of any of claim 15-16, wherein samples corresponding to one of the plurality of regions are reconstructed independently from substreams corresponding to the rest of the plurality of regions. 18. The method of any of claims 15-17, wherein the codestream comprising a second indication of a region indicates that residual data for the region is present in the codestream. 19. The method of claim 18, wherein the second indication comprises an index. 20. The method of any of claims 18-19, wherein the residual data comprises at least one of the following: residual samples for a primary component, or residual samples for a secondary component. 21. The method of any of claims 10-20, wherein substreams of different regions among the plurality of regions are coded using an entropy coder in parallel. 115 F1245807PCT
22. The method of any of claims 10-21, wherein the codestream further comprises at least one of the following: an indication indicating the number of threads for coding residual codestream for a primary component, or an indication indicating the number of threads for coding residual codestream for a secondary component. 23. The method of any of claims 10-22, wherein a correspondence between an index of a substream and a region is determined based on a raster scanning order of the plurality of regions. 24. The method of any of claims 3-23, wherein the codestream further comprises a third indication indicating a size of the substream. 25. The method of claim 24, wherein the size of the substream is represented by the number of bytes. 26. The method of any of claims 24-25, wherein the third indication is coded using variable length coding. 27. The method of any of claims 1-26, wherein the maximum number of the plurality of regions is dependent on at least one of the following: a profile to which the codestream conforms, a level to which the codestream conforms, or a size of the visual data. 28. The method of any of claims 1-27, wherein a maximum size or a minimum size of one of the plurality of regions is dependent on at least one of the following: a profile to which the codestream conforms, a level to which the codestream conforms, a size of the visual data, or the number of the plurality of regions. 29. The method of any of claims 1-28, wherein except for regions at a right boundary or a bottom boundary, the rest of the plurality of regions are of a same size. 116 F1245807PCT
30. The method of claim 29, wherein at least one of the right boundary or the bottom boundary is a boundary of the visual data. 31. The method of any of claims 1-30, wherein the plurality of regions cover the entire visual data. 32. The method of any of claims 1-31, wherein a vertical size of one of the plurality of regions is equal to a product of k_ver and N_ver, k_ver is an integer and N_ver is a predetermined integer, or a horizontal size of the region is equal to a product of k_hor and N_hor, k_hor is an integer and N_hor is a predetermined integer. 33. The method of claim 32, wherein k_ver is determined based on the number of horizontal splits of the set of residual samples, k_hor is determined based on the number of vertical splits of the set of residual samples, or each of N_ver and N_hor is equal to 128. 34. The method of any of claims 10-23, wherein data corresponding to one of the plurality of regions is allowed to be extracted from the codestream. 35. The method of claim 34, wherein at least one of the following is indicated in the codestream: whether to extract the data from the codestream, or how to extract the data from the codestream. 36. The method of any of claims 34-35, wherein the data comprises at least one of the following: a substream, quality map information, residual data, luma residual data, chroma residual data, hyper latent data, or residual latent data. 117 F1245807PCT
37. The method of any of claims 10-23, wherein the codestream further comprises at least one of the following: an indication indicating the number of regions for which a substream is present in the codestream, an indication indicating the number of regions for which a substream is absent from the codestream, an indication indicating whether substreams for all of the plurality of regions are included in the codestream, an indication indicating whether a substream of a region is discarded from the codestream, or an indication indicating whether a substream of a region is extracted from the codestream. 38. The method of any of claims 18-20, wherein the codestream further comprises an indication indicating a length of the second indication. 39. The method of any of claims 10-23, wherein data corresponding to different regions among the plurality of regions are allowed to be coded using an entropy coder in parallel. 40. The method of claim 39, wherein the data comprise at least one of the following: information for a primary component, information for a secondary component, residual information, hyper latent information, or quality map information. 41. The method of any of claims 39-40, wherein the codestream further comprises a fourth indication indicating the number of parallel processing units. 42. The method of claim 41, wherein the number of parallel processing units is allowed to be different for different data to be processed in parallel. 43. The method of any of claims 39-42, wherein the number of parallel processing units or the maximum number of parallel processing units is determined based on at least one of the 118 F1245807PCT
following: a profile to which the codestream conforms, a level to which the codestream conforms, a size of the visual data, or the number of the plurality of regions. 44. The method of any of claims 1-28, wherein the plurality of regions are centrally aligned or shifted. 45. The method of claim 44, wherein the codestream further comprises an indication indicating whether region coordinates are shifted. 46. The method of any of claims 1-45, wherein for processing a region, a tensor used as an input to a third processing module is centrally aligned with a tensor used as an input to a fourth processing module, or the tensor used as the input to the third processing module is shifted with respect to the tensor used as the input to the fourth processing module. 47. The method of claim 46, wherein the processing of the region with a synthesis transform is performed with centrally aligned tensors, and the processing of the region with a further processing module is performed with non-aligned tensors. 48. The method of claim 46, wherein the processing of the region with a synthesis transform is performed with centrally aligned tensors, and the processing of the region with a further processing module is performed with centrally aligned tensors or non-aligned tensors. 49. The method of claim 48, wherein the codestream further comprises an indication indicating whether the processing of the region with the further processing module is performed with the centrally aligned tensors or the non-aligned tensors. 50. The method of any of claims 47-49, wherein the further processing module comprises at least one of the following: a hyper decoding module, a hyper scale decoding module, an entropy decoder 119 F1245807PCT
a sample prediction module, an MCM module, or a latent sample reconstruction module. 51. The method of any of claims 10-22, wherein the codestream further comprises an indication indicating a correspondence between an index of a substream and a region. 52. The method of any of claims 1-51, wherein the number of the plurality of regions is no larger than a predetermined integer, or the number of rows of regions among the plurality of regions is no later than a predetermined integer, or the number of columns of regions among the plurality of regions is no later than a predetermined integer. 53. The method of any of claims 1-52, wherein an indication related to region-based coding is coded in a predictive way. 54. The method of any of claims 1-53, wherein the visual data is at least a part of a picture of a video or an image. 55. The method of any of claims 1-54, wherein the conversion includes encoding the visual data into the codestream. 56. The method of any of claims 1-54, wherein the conversion includes decoding the visual data from the codestream. 57. An apparatus for visual data processing comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to perform a method in accordance with any of claims 1-56. 58. A non-transitory computer-readable storage medium storing instructions that cause a processor to perform a method in accordance with any of claims 1-56. 59. A non-transitory computer-readable recording medium storing a codestream of visual 120 F1245807PCT
data which is generated by a method performed by an apparatus for visual data processing, wherein the method comprises: performing a conversion between the visual data and the codestream with a neural network (NN)-based model, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. 60. A method for storing a codestream of visual data, comprising: performing a conversion between the visual data and the codestream with a neural network (NN)-based model; and storing the codestream in a non-transitory computer-readable recording medium, wherein a set of residual samples associated with the visual data is partitioned into a plurality of subsets of residual samples that correspond to a plurality of regions, and the codestream comprises a first indication indicating whether residual samples for each of the plurality of regions are in a substream of the codestream that corresponds to the region. 121 F1245807PCT
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202363612288P | 2023-12-19 | 2023-12-19 | |
| US63/612,288 | 2023-12-19 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025137147A1 true WO2025137147A1 (en) | 2025-06-26 |
Family
ID=96137955
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2024/060832 Pending WO2025137147A1 (en) | 2023-12-19 | 2024-12-18 | Method, apparatus, and medium for visual data processing |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2025137147A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20220286695A1 (en) * | 2021-03-04 | 2022-09-08 | Lemon Inc. | Neural Network-Based In-Loop Filter With Residual Scaling For Video Coding |
| US20220295116A1 (en) * | 2019-09-20 | 2022-09-15 | Intel Corporation | Convolutional neural network loop filter based on classifier |
| US20220385896A1 (en) * | 2021-05-27 | 2022-12-01 | Tencent America LLC | Content-adaptive online training method and apparatus for post-filtering |
| US20230336759A1 (en) * | 2020-12-24 | 2023-10-19 | Huawei Technologies Co., Ltd. | Decoding with signaling of segmentation information |
-
2024
- 2024-12-18 WO PCT/US2024/060832 patent/WO2025137147A1/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20220295116A1 (en) * | 2019-09-20 | 2022-09-15 | Intel Corporation | Convolutional neural network loop filter based on classifier |
| US20230336759A1 (en) * | 2020-12-24 | 2023-10-19 | Huawei Technologies Co., Ltd. | Decoding with signaling of segmentation information |
| US20220286695A1 (en) * | 2021-03-04 | 2022-09-08 | Lemon Inc. | Neural Network-Based In-Loop Filter With Residual Scaling For Video Coding |
| US20220385896A1 (en) * | 2021-05-27 | 2022-12-01 | Tencent America LLC | Content-adaptive online training method and apparatus for post-filtering |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20260019577A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025072500A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2024140849A1 (en) | Method, apparatus, and medium for visual data processing | |
| US20250373827A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025198937A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2024149392A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025131046A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025157163A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025149063A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025200931A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025146073A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025137147A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025077744A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025077746A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025077742A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2026035978A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2024193710A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025082523A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025044947A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025082522A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025153016A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025087230A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2025002424A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2024083202A1 (en) | Method, apparatus, and medium for visual data processing | |
| WO2024193708A9 (en) | Method, apparatus, and medium for visual data processing |
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: 24908850 Country of ref document: EP Kind code of ref document: A1 |
























































