Systems and methods for motion information transfer from vision to feature domains
Through feature information encoding and motion transformation, the problem of high complexity and redundancy of motion estimation in video coding technology is solved, efficient video data transmission and decoding is achieved, and the performance of the hybrid system is optimized.
Patent Information
- Application Number
- CN202280086654.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2021-11-04
- Filing Date
- 2022-10-31
- Publication Date
- 2024-09-06
AI Technical Summary
Existing video coding technology is difficult to efficiently transmit and decode video data in a hybrid system consumed by machines and humans. In particular, there are problems with high complexity and redundancy in motion estimation.
Feature information is used to encode video content, motion information is transformed and mapped through the correspondence between convolution units and coding units, motion transformation information is generated, and motion vector refinement mode is enabled or disabled on the decoder side to optimize the decoding process.
It reduces the complexity and redundancy of video encoding and decoding, improves system efficiency, and improves the quality of reconstruction of important content on the decoder side.
Smart Images

Figure CN118614062A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. Provisional Application No. 63 / 275,912, filed on November 4, 2021, and entitled “Systems and Methods for Transferring Motion Information from Visual to Feature Domain,” and claims priority to U.S. Provisional Application No. 63 / 275,923, filed on November 4, 2021, and entitled “Systems and Methods for Feature-Based Decoder-Side Motion Vector Refinement Control,” the disclosures of which are incorporated herein by reference in their entirety. Technical Field
[0003] The present disclosure relates generally to the field of video encoding and decoding. In particular, the present disclosure relates to systems and methods for motion information transfer from visual to feature domain and feature-based decoder-side motion vector refinement control. Background Art
[0004] A video codec may include electronic circuits or software that compress or decompress digital video. A video codec can convert uncompressed video to a compressed format and vice versa. In the context of video compression, a device that compresses video (and / or performs some function thereof) may generally be referred to as an encoder, while a device that decompresses video (and / or performs some function thereof) may be referred to as a decoder.
[0005] The format of the compressed data may conform to a standard video compression specification. The compression may be lossy in that the compressed video lacks some information present in the original video. The consequences of this may include that the decompressed video may have a lower quality than the original uncompressed video because there is not enough information to accurately reconstruct the original video.
[0006] There may be a complex relationship between video quality, the amount of data used to represent the video (e.g., determined by the bitrate), the complexity of the encoding and decoding algorithms, sensitivity to data loss and errors, ease of editing, random access, end-to-end delay (e.g., latency), etc.
[0007] Motion compensation may include a method of predicting a video frame or a portion thereof given a reference frame (e.g., a previous frame and / or a future frame) by taking into account the motion of the camera and / or objects in the video. Motion compensation may be employed in the encoding and decoding of video data for video compression, such as in the encoding and decoding of the Advanced Video Coding (AVC) standard (also known as H.264) using the Motion Picture Experts Group (MPEG). Motion compensation may describe a picture based on a transformation from a reference picture to a current picture. The reference picture may be previous in time when compared to the current picture, or from the future when compared to the current picture. Compression efficiency may be improved when pictures may be accurately synthesized from previously transmitted and / or stored pictures.
[0008] Recent trends in robotics, monitoring, surveillance, IoT, etc. have introduced cases where a large portion of all pictures and videos recorded in the field are consumed only by machines and never reach human eyes. These machines process pictures and videos with the goal of completing tasks such as object detection, object tracking, segmentation, event detection, etc. The International Organization for Standardization recognizes that this trend is prevalent and will accelerate in the future, and has therefore established work to standardize picture and video coding, which is mainly optimized for machine consumption. For example, in addition to already established standards such as Compressed Descriptors for Visual Search and Compressed Descriptors for Video Analytics, standards such as JPEG AI and for machine video coding have been launched. Therefore, further improvements in the encoding and decoding of videos for machine consumption, as well as in hybrid systems where the video is consumed by both human viewers and machines, are of increasing importance in this field. Summary of the invention
[0009] A method for encoding video content using feature information is provided. The encoding includes: determining motion information for each coding unit including video content; generating a feature map for the video content, the feature map having a plurality of convolution units and a convolution unit correspondence; using a transformation selected based on the correspondence between the convolution unit and the coding unit, generating motion transformation information by mapping the motion information of the video content in each coding unit to at least one corresponding convolution unit; and generating a coded bitstream including the video content, the motion information and the motion transformation information.
[0010] A number of transforms are provided and may depend on the nature of the correspondence between the coding units and the convolution units. For example, if the coding units correspond to the convolution units in size and number, the transform copies the motion information from each coding unit to the corresponding convolution unit. Alternatively, if the coding units correspond to the convolution units in number but are different in size, the transform scales the motion information from each coding unit to the corresponding convolution unit. In the case where multiple coding units correspond to a single convolution unit, the transform may fuse the motion information of the multiple coding units to map the motion to the convolution unit. Additionally, if each coding unit corresponds to multiple convolution units, the transform merges the motion information from the coding unit to the multiple convolution units. In one embodiment, the transform is selected from the group consisting of copying, scaling, fusing, and merging.
[0011] The bitstream may include a header and metadata for the entire content, as well as a video sub-bitstream including a header, metadata, and video payload information including motion information, and a feature sub-bitstream including a header, metadata, and feature payload information including motion transform information.
[0012] A decoder and a decoding method for decoding a bitstream with feature-enhanced decoder-side motion vector refinement are also provided. The bitstream may include video content and feature content, the video content including a plurality of coding units with associated motion vectors, the feature content including a plurality of feature units encoded in the bitstream, and the encoder having a mode for decoder-side motion vector refinement (DMVR). The decoding method includes: for each feature unit, determining whether the feature unit includes an object of interest; for a coding unit corresponding to the feature unit, determining whether the DMVR mode is enabled; if the feature unit includes the object of interest and the DMVR mode for the corresponding coding unit is not enabled, enabling the DMVR mode for the coding unit; if the feature unit does not include the object of interest and the DMVR mode for the corresponding coding unit is enabled, disabling the DMVR mode for the coding unit.
[0013] Preferably, the status of the DMVR mode for each coding unit is signaled in the bitstream.For example, the DMVR mode may be signaled in a picture header of the bitstream, in a sequence parameter set of the bitstream.
[0014] These and other aspects and features of non-limiting embodiments of the present invention will become apparent to those skilled in the art upon review of the following description of specific non-limiting embodiments of the invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] For the purpose of illustrating the present invention, the accompanying drawings show various aspects of one or more embodiments of the present invention. However, it should be understood that the present invention is not limited to the precise arrangements and instrumentalities shown in the accompanying drawings, in which:
[0016] Figure 1 is a block diagram illustrating an exemplary embodiment of a video encoding system;
[0017] Figure 2 is a block diagram illustrating an exemplary embodiment of video encoding for a machine system;
[0018] Figure 3A is a schematic diagram illustrating an exemplary embodiment of a typical representation of a CNN having some layers;
[0019] Figure 3B and Figure 3C Illustration of object boundaries being identified Figure 3A The input picture of , and the picture represented at the coding unit level are also illustrated respectively;
[0020] Figure 4 is an exemplary illustration of an input image and a set of feature maps;
[0021] Figure 5 is a schematic diagram illustrating reproduction of motion vectors;
[0022] Figure 6 is a schematic diagram illustrating an exemplary transformation to a motion vector;
[0023] Figure 7 is an exemplary illustration of the bit stream of the proposed encoder-decoder system;
[0024] Figure 8 is a block diagram illustrating an exemplary embodiment of a machine learning module;
[0025] Fig. 9 is a schematic diagram illustrating an exemplary embodiment of a neural network;
[0026] Fig.10 is a schematic diagram illustrating an exemplary embodiment of a node of a neural network.
[0027] Fig.11 is a block diagram illustrating an exemplary embodiment of a video decoder;
[0028] Fig.12 is a block diagram illustrating an exemplary embodiment of a video encoder; and
[0029] Fig.13 is a block diagram of a computing system that can be used to implement any one or more of the methods disclosed herein, or any one or more portions thereof.
[0030] The drawings are not necessarily to scale and may be illustrated by phantom lines, diagrammatic representations, and fragmentary views. In certain instances, details that are not necessary for understanding the embodiments or that render other details difficult to perceive have been omitted. DETAILED DESCRIPTION
[0031] In many applications (e.g., surveillance systems with multiple cameras, smart transportation, smart city applications, and / or smart industrial applications), traditional video encoding may require compressing large amounts of video from cameras and transmitting over the network to machines and for human consumption. Subsequently, at the machine site, algorithms for feature extraction can be applied, typically using convolutional neural networks or deep learning techniques (including object detection, event action recognition, pose estimation, etc.). Figure 1 An exemplary embodiment of a standard video encoding and decoding system (e.g., a VVC-based encoding system) applied to a machine is shown. However, using traditional methods would require a large amount of video transmission from multiple cameras, which may require a lot of time for efficient and fast real-time analysis and decision making. In an embodiment, the VCM method as disclosed herein can solve this problem by encoding the video and extracting some features at the transmitter site, and then sending the resulting encoded bitstream to the VCM decoder. As used herein, the term "VCM" is not limited to the specific protocols involved, but more generally includes all systems for encoding and decoding video for machine consumption.
[0032] It will be appreciated that at the decoder site, video can be decoded for human vision and features can be decoded for machines. Systems that provide video for both human vision and machine consumption are sometimes referred to as hybrid systems. The systems and methods disclosed herein are intended to be applicable to both machine-based systems and hybrid systems.
[0033] The present disclosure presents embodiments of a method and system for motion information transfer from visual to feature domain in a joint video feature encoder and decoder, one example of which is a VCM encoder and decoder.
[0034] An embodiment of a system supporting the method of the present invention is as follows Figure 1 and Figure 2 The diagram is shown in a high-level block diagram.
[0035] Figure 1is a high-level block diagram of a system for encoding and decoding video in a hybrid system that includes both human viewers and machine consumption of video content. Source video is received by a video encoder 105, which provides a compressed bitstream for transmission over a channel to a video decoder 110. The video encoder can encode video for human consumption as well as encode video for machine consumption. The video decoder 110 provides complementary processing on the compressed bitstream to extract video for human vision 115 and task analysis and feature extraction 120 for machine consumption.
[0036] Reference now Figure 2 , which illustrates an exemplary embodiment of an encoder for machine video coding (VCM). The VCM encoder 200 can be implemented using any circuit including but not limited to digital and / or analog circuits; the VCM encoder 200 can be configured using hardware configuration, software configuration, firmware configuration and / or any combination thereof. The VCM encoder 200 can be implemented as a computing device and / or a component of a computing device, which can include but is not limited to any computing device as described below. In one embodiment, the VCM encoder 200 can be configured to receive an input video 204 and generate an output bitstream 208. The reception of the input video 204 can be accomplished in any manner described below. The bitstream can include but is not limited to any bitstream as described below.
[0037] The VCM encoder 200 may include, but is not limited to, a preprocessor 212, a video encoder 216, a feature extractor 220, an optimizer 224, a feature encoder 228, and / or a multiplexer 232. The preprocessor 212 may receive an input video 204 stream and parse out video, audio, and metadata substreams of the stream. The preprocessor 212 may include and / or communicate with a decoder, as described in further detail below; in other words, the preprocessor 212 may have the ability to decode the input stream. In a non-limiting example, this may allow the input video 204 to be decoded, which may facilitate downstream pixel domain analysis.
[0038] Further references Figure 2 , the VCM encoder 200 can operate in a hybrid mode and / or a video mode. When in the hybrid mode, the VCM encoder 200 can be configured to encode visual signals for human consumers to encode feature signals for machine consumers; machine consumers can include, but are not limited to, any device and / or component, including, but not limited to, a computing device described in further detail below. The input signal can be passed through the preprocessor 212, for example, in the hybrid mode.
[0039] Still reference Figure 2, the video encoder 216 may include, but is not limited to, any video encoder 216, such as described in further detail below or known in the art that encodes video using a known coding standard such as HEVC, AV1, VVC, etc. When the VCM encoder 200 is in hybrid mode, the VCM encoder 200 may send an unmodified input video 204 to the video encoder 210, and send a copy of the same input video 204 and / or an input video 204 that has been modified in some manner to the feature extractor 220. For example, but not limited to, the input video 204 may be resized to a smaller resolution, a certain number of pictures in a sequence of pictures in the input video 204 may be discarded (thereby reducing the frame rate of the input video 204), color information may be modified, such as, but not limited to, by converting an RGB video to a grayscale video, etc.
[0040] Still reference Figure 2 , the video encoder 216 and the feature extractor 220 may be connected and may exchange useful information in both directions. For example, but not limited to, the video encoder 216 may pass motion estimation information to the feature extractor 220, and vice versa. The video encoder 216 may provide the quantization map and / or its descriptive data to the feature extractor 220 based on a region of interest (ROI), or vice versa, where the video encoder 216 and / or the feature extractor 220 may identify the region of interest. The video encoder 216 may provide data describing one or more partitioning decisions to the feature extractor 220 based on features present and / or identified in the input video 204, the input signal, and / or any frame and / or subframe thereof; the feature extractor 220 may provide data describing one or more partitioning decisions to the video encoder 216 based on features present and / or identified in the input video 204, the input signal, and / or any frame and / or subframe thereof. The video encoder 216 and the feature extractor 220 may share and / or send temporal information for optimal group of pictures (GOP) decisions to each other. Each of these techniques and / or processes may be performed without limitation, as described in further detail below.
[0041] Continue to refer Figure 2, the feature extractor 220 can operate in an offline mode or an online mode. The feature extractor 220 can identify and / or otherwise act on and / or manipulate features. As used in the present invention, a "feature" is a specific structure and / or content attribute of data. Examples of features may include SIFT, audio features, color histograms, motion histograms, speech levels, loudness levels, etc. Features may be marked with timestamps. Individual features may be associated with individual frames in a frame group. Features may include high-level content features, such as timestamps, labels of people and objects in the video, coordinates of objects and / or regions of interest, frame masks based on region quantization, and / or any other features that may occur to a person skilled in the art after reviewing the entire contents of the present invention. As another non-limiting example, features may include features that describe the spatial and / or temporal characteristics of a frame or frame group. Examples of features that describe spatial and / or temporal characteristics may include motion, texture, color, brightness, edge counts, blur, block effects, etc. When in offline mode, all machine models as described in further detail below may be stored at the encoder and / or stored in the encoder's memory and / or accessible by the encoder. Examples of such models may include, but are not limited to, whole or partial convolutional neural networks, keypoint extractors, edge detectors, saliency map builders, etc. When in online mode, one or more models may be passed to the feature extractor 220 by a remote machine in real time or at some point prior to extraction.
[0042] Still reference Figure 2 , the feature encoder 228 is configured to encode, for example, but not limited to, a feature signal generated by the feature extractor 220. In one embodiment, after extracting the features, the feature extractor 220 may pass the extracted features to the feature encoder 228. The feature encoder 228 may use entropy coding and / or similar techniques (for example, but not limited to, as described below) to produce a feature stream, which may be passed to the multiplexer 232. The video encoder 216 and / or the feature encoder 228 may be connected via the optimizer 224. The optimizer 224 may exchange useful information between the video encoder 216 and the feature encoder 228. For example, but not limited to, information related to the construction and / or length of the entropy-coded codewords may be exchanged and reused via the optimizer 224 for optimal compression.
[0043] In one embodiment, continue to refer to Figure 2, video encoder 216 can produce video stream; video stream can be passed to multiplexer 232. Multiplexer 232 can multiplex video stream with the feature stream generated by feature encoder 228. Alternatively or additionally, video and feature bit streams can be sent to different devices through different channels, different networks and / or at different times or time intervals (time multiplexing). Each of the video stream and feature stream can be implemented in any manner suitable for implementing any bit stream as described in the present invention. In one embodiment, the multiplexed video stream and feature stream can produce a mixed bit stream, which can be sent as described in further detail below.
[0044] Still reference Figure 2 , in the case where the VCM encoder 200 is in video mode, the VCM encoder 200 may use the video encoder 216 for both video and feature encoding. The feature extractor 220 may send the features to the video encoder 216; the video encoder 216 may encode the features into a video stream that may be decoded by a corresponding video decoder 244. It should be noted that the VCM encoder 200 may use a single video encoder 216 for both video encoding and feature encoding, in which case it may use different sets of parameters for video and features; alternatively, the VCM encoder 200 may use two independent video encoders 216, which may operate in parallel.
[0045] Still reference Figure 2 , system 200 may include and / or communicate with a VCM decoder 236. VCM decoder 236 and / or its elements may be implemented using any circuit and / or configuration type suitable for the configuration of VCM encoder 200 as described above. VCM decoder 236 may include, but is not limited to, a demultiplexer 240. If multiplexed as described above, demultiplexer 240 may operate to demultiplex bitstreams; for example, but not limited to, demultiplexer 240 may separate a multiplexed bitstream containing one or more video bitstreams and one or more feature bitstreams into separate video and feature bitstreams.
[0046] Continue to refer Figure 2 , VCM decoder 236 may include a video decoder 244. Without limitation, video decoder 244 may be implemented in any manner suitable for a decoder, as described in further detail below. In one embodiment but not limited to, video decoder 244 may generate an output video that may be viewed by a human or other creature and / or device having visual perception capabilities.
[0047] Still reference Figure 2, the VCM decoder 236 may include a feature decoder 248. In one embodiment but not limited to, the feature decoder 248 may be configured to provide one or more decoded data to a machine 260. A machine may include, but is not limited to, any computing device as described below, including but not limited to any microcontroller, processor, embedded system, system on chip, network node, etc. A machine may operate, store, train a machine model, receive input from a machine model, generate output for a machine model, and / or otherwise interact with a machine model, as described in further detail below. The machine may be included in the Internet of Things (IoT), which is defined as a network of objects having processing and communication components, some of which may not be conventional computing devices such as desktop computers, laptop computers, and / or mobile devices. Objects in the IoT may include, but are not limited to, any device having an embedded microprocessor and / or microcontroller and one or more components for interfacing with a local area network (LAN) and / or a wide area network (WAN); the one or more components may include, but are not limited to, for example, a wireless transceiver communicating in the 2.4-2.485 GHz range (such as a Bluetooth transceiver following a protocol such as that published by the Bluetooth SIG, Inc. of Kirkland, Washington), and / or a network communication component operating in accordance with the MODBUS protocol published by Schneider Electric SE of Rueil-Malmaison, France, and / or the ZIGBEE specification of the IEEE 802.15.4 standard published by the Institute of Electrical and Electronics Engineers (IEEE). After reviewing the entire disclosure of the present invention, those skilled in the art will recognize various alternative or additional communication protocols and devices supporting such protocols that may be employed in accordance with the present invention, each of which is considered to be within the scope of the present invention.
[0048] Continue to refer Figure 2Each of the VCM encoder 200 and / or the VCM decoder 236 can be designed and / or configured to perform any method, method step, or sequence of method steps in any embodiment described in the present invention in any order and with any degree of repetition. For example, each of the VCM encoder 200 or the VCM decoder 236 can be configured to repeatedly perform a single step or sequence until a desired or commanded result is achieved; the repetition of a step or sequence of steps can be performed iteratively and / or recursively, using the output of a previous repetition as the input of a subsequent repetition, aggregating the input and / or output of the repetition to produce an aggregated result, thereby reducing or reducing one or more variables (e.g., global variables) and / or dividing a larger processing task into a collection of smaller processing tasks addressed iteratively. Each of the VCM encoder 200 and / or the VCM decoder 236 can perform any step or sequence of steps as described in the present invention in parallel, such as performing a step two or more times simultaneously and / or substantially simultaneously using two or more parallel threads, processor cores, etc.; the division of tasks between parallel threads and / or processes can be performed according to any protocol suitable for dividing tasks between iterations. After reviewing the entire disclosure of this invention, those skilled in the art will recognize various ways in which steps, sequences of steps, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iterative, recursive, and / or parallel processing.
[0049] like Figure 2 As shown, the encoder can divide the input video signal into two streams-video (visual) stream and feature stream. Subsequently, the two streams can be encoded using a separate instance of a video encoder that is connected and can share information. This connection can be utilized to optimize the encoding process and remove the redundancy in the output bit stream.
[0050] The visual stream and the feature stream share statistical properties of the input. While the visual representation in the feature space may not contain the same level of spatial and temporal detail as the video stream consumed by humans, it still broadly contains the same content, albeit at a different resolution or modality. One of the features of the input content that is typically shared between the visual and feature representations is motion information. However, motion estimation is often a complex part of the video encoding process, and performing motion estimation in two video encoders greatly increases the complexity and power usage of the system.
[0051] Since the motion estimation performed by the video encoder on the full-resolution video signal is close to the true optical flow of the input pixels, it can be reused by the feature video encoder through appropriate mapping and suitable modifications.
[0052] An example of such motion information transfer between a video encoder and features can be represented as a feature map generated by a convolutional neural network (CNN). It should be understood that the motion transfer method of the present invention is not limited to the following examples, but can be more generally applied to any use case in which an input video and a feature representation of the video share visual characteristics.
[0053] Figure 3A is a schematic representation of an exemplary embodiment of a CNN architecture. A CNN takes an input image and passes it through a series of layers. The layers are usually stacked so that convolution and pooling operations are performed in successive layers, e.g., a convolutional layer is followed by a pooling layer. A CNN can have any number of such layers. The output of a convolutional layer is called a feature map. Figure 4 An example of an input image and a set of feature maps is given in.
[0054] The video encoder takes full-resolution video as input and performs motion estimation on sub-units of the picture called coding units, e.g. Figure 3C For each coding unit, the encoder will find the best matching motion vector, which is used to specify the displacement of the best matching area in the past (for forward prediction) or future (for backward prediction) coded pictures. For each picture of the input video, there is a motion vector field corresponding to the coding unit of that picture.
[0055] Once the picture is processed and all motion vectors are calculated, these vectors can be passed to the feature representation picture and used by the video encoder to encode the feature map. In the case where the size and resolution of the feature picture is the same as the size and resolution of the video picture, the motion vectors can be copied for use in the feature representation, such as Figure 5 Depicted.
[0056] refer to Figure 6 A to Figure 6 D. For the sake of space and brevity, simplified examples are provided that depict only four motion vectors for four arbitrary coding units. In these examples, the coding units are depicted on the left and the convolution units are depicted on the right and are shaded. In many cases, it is clear that the coding units are not aligned with the convolution units, either because the resolution of the feature picture is smaller (usually downsampled by 2x or 4x), or because the boundaries of the units are not aligned. In general, there are four typical transformations applied to the motion vectors to transfer the motion information in the coding unit to the feature picture in the convolution unit: (1) Copy- Figure 6 A illustrates the alignment of the encoding unit and the convolution unit; (2) Scaling - Figure 6B illustrates the case where the feature image has a size proportional to the full-resolution image (e.g., half width and half height, or quarter width and quarter height). In general, these are cases where the scaling factor is constant for width and height; (3) Fusion- Figure 6 Figure C shows a convolution unit and multiple encoding units in parallel; (4) Merge- Figure 6 D illustrates the case where multiple convolutional units are juxtaposed with a single encoding unit.
[0057] For replication, such as Figure 6 As shown in A, the motion vector of each convolution unit is the same as the motion vector of the matching coding unit, MV'(x', y') = MV(x, y), where x is the horizontal displacement of the motion vector MV and y is the vertical displacement of the motion vector MV.
[0058] For scaling, such as Figure 6 As illustrated in FIG. 4B , the motion vector is delivered as MV′(x′, y′)=MV(x / s, y / s), where s is a scaling constant (eg, s=2 for half-size feature pictures).
[0059] For fusion, Figure 6 As shown in C, a single motion vector is calculated based on multiple motion vectors associated with the coding unit collocated with the current convolution unit. There are four operations that can be used to calculate the resulting vector: (1) mode fusion: copy the most common vector, at least two original vectors must be the same to be considered the most common; (2) average fusion: a linear combination of all original motion vectors, where each component of the vector is equal to the average of the corresponding components in the original vector: MV'(x', y'), where x' = (x1 + x2 + ... + x n ) / n and y'=(y1+y2+...+y n ) / n. (3) Weighted average fusion: a linear combination of weighted original motion vectors, where each vector is multiplied by the inverse of the residual obtained after motion compensation. For each vector MV(x, y), the components are multiplied by 1 / r, where r is the mean absolute difference (MAD), mean square difference (MSD), or some other measure of pixel-wise difference between the original prediction unit and the motion compensated prediction unit. (4) Cost-adaptive weighted average fusion: the same as weighted average fusion, with the addition of a factor that is the inverse of the motion vector length. A motion vector is penalized when the cost of encoding such a motion vector is higher than a shorter motion vector. For each MV(x, y), the components are first multiplied by 1 / r and then by 1 / m, where m is the cost of encoding the motion vector.
[0060] For merging, such as Figure 6As shown in Figure 4, the original vector is copied to all collocated convolution units. In essence, adjacent, collocated convolution units share the same motion vector and can be encoded using the merge mode of video coding, where only the first motion vector is sent and the rest are indicated as being the same. This approach reduces the redundancy of the joint video feature encoder and greatly improves the efficiency of the system.
[0061] Decoder side:
[0062] Besides the significant advantages in the encoding process, the proposed method can also be used to reduce the complexity on the decoder side, including standard-compliant encoders for standards such as Versatile Video Coding (VVC) and High Efficiency Video Coding (HEVC).
[0063] Only a single instance of motion information (motion vectors) needs to be encoded into the bitstream. In the case where the human and machine users do not share a decoder, this information needs to be transmitted twice (once for the human user's decoder and once for the machine's decoder). However, in the case where a single decoder is used, such as Figure 1 As shown, after applying the transfer transform, the decoder can fully decode the feature stream by using the shared motion information. Therefore, in this case, the feature substream only needs the motion transform payload, which is much smaller than the full motion information (motion vectors).
[0064] Figure 7 705 is a schematic diagram of a bitstream architecture for delivering a standard motion transform payload that is generally compliant with video coding standards such as VVC and HEVC. The bitstream may include a header and metadata 705 associated with the entire bitstream. The bitstream preferably also includes a video substream 710 and a feature sub-bitstream 715. The video sub-bitstream 710 typically includes header information, metadata, and a video payload. Included in the video payload is motion information, typically in the form of motion vectors. The feature sub-bitstream typically includes a header, metadata, and a feature payload. As described above, the feature payload includes motion transform information that maps motion vectors in the video space to the feature space.
[0065] Another embodiment of the present disclosure provides a mechanism by which a decoder makes decisions about the operation of motion vector refinement based on information received from a feature decoder. Examples of the method relate to decoder-side motion vector refinement (DMVR), such as that used in VVC, and are generally referred to herein as feature-based decoder-side motion-vector refinement control (FDMVRC).
[0066] The proposed method improves decoder processing in two main ways: (1) reducing the decoding complexity of the parts of the video that do not contain important content, which can save energy and increase decoder speed; and (2) improving the quality of the reconstructed video of the parts of the video that are considered important based on features. The application of the proposed method is not limited to DMVR, but can be applied to other operations of the decoder.
[0067] Implicit signaling:
[0068] In implicit mode, the bitstream of the VCM is the same as a system not using FDMVRC. The video decoder receives and parses the video bitstream with header parameters that control the DMVR process, however, it can override the parsed parameters based on information received from the feature decoder.
[0069] For example, if the bitstream is standard-compliant with the Versatile Video Coding (VVC) standard, then for a given coding unit (CU) with the parameter "dmvr_enabled_flag" set to 0, if the corresponding co-located feature unit (FU) contains a detection of an object of interest or a region of interest or any other portion of the video considered important, the decoder overrides the parameter value and sets it to the value 1. On the other hand, for a CU with the value "dmvr_enabled_flag" set to 1 but not corresponding to a valid FU, the decoder may be overridden with a value from 1 to 0.
[0070] Explicit signaling:
[0071] In explicit mode, the method can be applied to systems using a modified bitstream structure and an appropriately modified video decoder. The new video bitstream preferably contains one or more parameters in a sequence parameter set (SPS) that enables FDMVRC. Examples of suitable parameters are described below:
[0072]
[0073] The parameter "sps_fdmvr_control_present_in_ph_flag" equal to 1 specifies that "ph_fdmvr_disabled_flag" may be present in the syntax structure of the picture header (PH) representing the SPS. "sps_fdmvr_control_present_in_ph_flag" equal to 0 specifies that "ph_fdmvr_disabled_flag" is not present in the syntax structure of the PH representing the SPS. When not present, the value of "sps_fdmvr_control_present_in_ph_flag" is inferred to be equal to 0.
[0074] if(sps_fdmvr_control_present_in_ph_flag) ph_dmvr_disabled_flag u(1)
[0075] As defined in the VVC standard, ph_dmvr_disabled_flag equal to 1 specifies that decoder motion vector refinement based on bi-prediction is disabled for the current picture. Similarly, ph_dmvr_disabled_flag equal to 0 specifies that decoder motion vector refinement based on bi-prediction is enabled for the current picture.
[0076] When sps_fdmvr_control_present_in_ph_flag is valid, the decoder uses information from the feature decoder to enable or disable DMVR for the current picture or coding unit.
[0077] exist Figure 3B and Figure 3C An illustrative example is provided in . Figure 3A The input picture shown in contains objects of interest (people and vehicles). The feature decoder decodes a feature stream containing pictures with boundaries and annotated objects. Information about the location of objects is passed to the video decoder in the form of pixel positions, which can be expressed as (x, y) pairs for each pixel, or more roughly (x, y, w, h) tuples, which give the coordinates of the upper left corner and the width and height of the bounding box or feature unit in pixels. It should be understood that other methods can be used to represent objects, such as the coordinates of diagonally opposite corners in a rectangular bounding box. After receiving this information, the video decoder can assign appropriate FDMVRC values to each coding unit (CU). In Figure 3C, the picture is divided into CUs, where the dark shaded CU contains part or all of the object of interest. For these CUs, the decoder can turn on FDMVRC, and for all other CUs, the decoder can turn off FDMVRC.
[0078] Reference now Figure 8 , which illustrates an exemplary embodiment of a machine learning module 800 that can perform one or more machine learning processes as described herein. The machine learning module can use machine learning processes to perform the determination, classification and / or analysis steps, methods, processes, etc. as described herein. A "machine learning process" as used herein is a process that automatically uses training data 804 to generate an algorithm that will be executed by a computing device / module to produce an output 808 given data as input 812; this is in contrast to non-machine learning software programs in which the commands to be executed are predetermined by the user and written in a programming language.
[0079] Still reference Figure 8As used herein, "training data" is data containing correlations that a machine learning process can use to model a relationship between two or more data element categories. For example, but not limited to, training data 804 may include multiple data entries, each entry representing a set of data elements that are recorded, received, and / or generated together; data elements may be related by shared presence in a given data entry, by proximity in a given data entry, and the like. Multiple data entries in training data 804 may represent one or more trends of correlations between categories of data elements; for example, but not limited to, a higher value of a first data element belonging to a first data element category may tend to be associated with a higher value of a second data element belonging to a second data element category, thereby indicating a possible proportion or other mathematical relationship linking values belonging to the two categories. In training data 804, multiple categories of data elements may be related according to various correlations; correlations may indicate causal and / or predictive connections between categories of data elements, which may be modeled by a machine learning process as, for example, a relationship of a mathematical relationship, as described in further detail below. Training data 804 may be formatted and / or organized according to categories of data elements, for example, by associating data elements with one or more descriptors corresponding to the categories of data elements. As a non-limiting example, training data 804 may include data entered by a person or process in a standardized form, such that the entry of a given data element in a given field in a form can be mapped to one or more descriptors of a category. Elements in training data 804 may be linked to descriptors of a category through tags, tokens, or other data elements; for example, but not limited to, training data 804 may be provided in a fixed-length format, a format that links the location of data to a category (e.g., a comma-separated value (CSV) format), and / or a self-describing format (e.g., Extensible Markup Language (XML), JavaScript Object Notation (JSON), etc.), such that a process or device can detect data categories.
[0080] Alternatively or additionally, and continuing with reference to Figure 8, the training data 804 may include one or more elements that are unclassified; that is, the training data 804 may not be formatted or contain descriptors for some elements of the data. The machine learning algorithm and / or other process may classify the training data 804 according to one or more classifications using, for example, natural language processing algorithms, tokenization, detection of relevant values in the raw data, etc.; the categories may be generated using correlation and / or other processing algorithms. As a non-limiting example, in a corpus of text, phrases consisting of a number "n" compound words (e.g., nouns modified by other nouns) may be identified based on the statistically significant prevalence of n-grams containing such words in a particular order; similar to single words, such n-grams may be classified as linguistic elements such as "words" in order to be tracked, thereby generating new categories as a result of statistical analysis. Similarly, in a data entry that includes some text data, a person's name may be identified by a reference list, dictionary, or other compendium of terms, thereby allowing for special classification by a machine learning algorithm and / or automatic association of the data in the data entry with a descriptor or automatically associated to a given format. The ability to automatically classify data entries can enable the same training data 804 to be applicable to two or more different machine learning algorithms, as described in further detail below. The training data 804 used by the machine learning module 800 can relate any input data as described herein to any output data as described herein.
[0081] Further references Figure 8 , the training data may be filtered, sorted and / or selected using one or more supervised and / or unsupervised machine learning processes and / or models, as described in further detail below; such models may include, but are not limited to, a training data classifier 816. The training data classifier 816 may include a "classifier," which as used in the present invention is a machine learning model as defined below, such as a mathematical model, a neural network, or a program generated by a machine learning algorithm referred to as a "classification algorithm," as described in further detail below, which classifies inputs into categories or bins of data, thereby outputting categories or bins of data and / or labels associated therewith. The classifier may be configured to output at least one data that labels or otherwise identifies data sets that are clustered together, found to be close under a distance metric as described below, etc. The machine learning module 800 may generate a classifier using a classification algorithm, which is defined as the process by which a computing device and / or any module and / or component operating thereon derives a classifier from the training data 804. Classification can be performed using, but not limited to, linear classifiers (e.g., but not limited to logistic regression and / or naive Bayes classifiers), nearest neighbor classifiers (e.g., k-nearest neighbor classifiers), support vector machines, least squares support vector machines, Fisher linear discriminants, quadratic classifiers, decision trees, boosted trees, random forest classifiers, learning vector quantization, and / or neural network-based classifiers.
[0082] Still reference Figure 8 , the machine learning module 800 can be configured to perform a lazy learning process 820 and / or protocol, which can be alternatively referred to as a "lazy loading" or "call when needed" process and / or protocol, which can be a process by which machine learning is performed when an input to be converted to an output is received by combining the input and the training set to derive an algorithm to be used to generate the output on demand. For example, an initial set of simulations can be performed to cover initial heuristics and / or "first guesses" at the output and / or relationship. As a non-limiting example, the initial heuristic may include a ranking of associations between the input and elements of the training data 804. The heuristic may include selecting a certain number of the highest ranked associations and / or training data 804 elements. Lazy learning can implement any suitable lazy learning algorithm, including but not limited to the K nearest neighbor algorithm, the lazy naive Bayes algorithm, etc.; after reviewing the entire contents of the present invention, those skilled in the art will be aware of various lazy learning algorithms that can be applied to generate outputs as described in the present invention, including but not limited to lazy learning applications of machine learning algorithms as described in further detail below.
[0083] Alternatively or additionally, and continuing with reference to Figure 8 , the machine learning process as described in the present invention can be used to generate a machine learning model 824. As used in the present invention, a "machine learning model" is a mathematical and / or algorithmic representation of the relationship between an input and an output, such as generated using any machine learning process including but not limited to any process described above and stored in a memory; once an input is created, the input is submitted to a machine learning model 824, which generates an output based on the derived relationship. For example, but not limited to, a linear regression model generated using a linear regression algorithm can use coefficients derived during the machine learning process to calculate a linear combination of input data to calculate output data. As another non-limiting example, the machine learning model 824 can be generated by creating an artificial neural network (e.g., a convolutional neural network including an input layer of nodes, one or more intermediate layers, and an output layer of nodes). Connections between nodes can be created via a process of "training" the network, in which elements from a set of training data 804 are applied to input nodes, and then a suitable training algorithm (e.g., Levenberg-Marquardt method, conjugate gradient, simulated annealing, or other algorithm) is used to adjust the connections and weights between nodes in adjacent layers of the neural network to produce expected values at output nodes. This process is sometimes referred to as deep learning.
[0084] Still reference Figure 8, the machine learning algorithm may include at least a supervised machine learning process 828. As defined herein, at least the supervised machine learning process 828 includes an algorithm that receives a training set that relates multiple inputs to multiple outputs and seeks to find one or more mathematical relationships that relate the inputs to the outputs, wherein each of the one or more mathematical relationships is optimal according to a criterion assigned to the algorithm using a certain scoring function. For example, the supervised learning algorithm may include inputs and outputs as described above in the present invention, and a scoring function that represents the expected form of the relationship to be detected between the inputs and the outputs; for example, the scoring function may seek to maximize the probability that a given input and / or a combination of element inputs is associated with a given output to minimize the probability that a given input is not associated with a given output. The scoring function may be expressed as a risk function that represents the "expected loss" of the algorithm that relates the inputs to the outputs, wherein the loss is calculated as an error function that represents the degree to which the prediction generated by the relationship is incorrect when compared to a given input-output pair provided in the training data 804. After reviewing the entire contents of the present invention, those skilled in the art will recognize various possible variations of at least the supervised machine learning process 828 that can be used to determine the relationship between the inputs and the outputs. The supervised machine learning process may include a classification algorithm as defined above.
[0085] Further references Figure 8 , the machine learning process may include at least an unsupervised machine learning process 832. As used herein, an unsupervised machine learning process is a process of deriving inferences in a data set without regard to labels; thus, the unsupervised machine learning process is free to discover any structure, relationship, and / or correlation provided in the data. The unsupervised process may not require a response variable; the unsupervised process may be used to find interesting patterns and / or inferences between variables, to determine the degree of correlation between two or more variables, etc.
[0086] Still reference Figure 8, the machine learning module 800 can be designed and configured to create a machine learning model 824 using techniques for developing linear regression models. The linear regression model can include ordinary least squares regression, the purpose of which is to minimize the square of such difference according to an appropriate norm (e.g., a vector space distance norm) for measuring the difference between the predicted result and the actual result; the coefficients of the resulting linear equation can be modified to improve the minimization. The linear regression model can include a ridge regression method, in which the function to be minimized includes a least squares function plus a term that multiplies the squares of the individual coefficients by a scalar to penalize large coefficients. The linear regression model can include a least absolute shrinkage and selection operator (LASSO) model, in which ridge regression is combined with multiplying the least squares term by a factor of 1 divided by twice the number of samples. The linear regression model can include a multi-task LASSO model, in which the norm applied in the least squares term of the LASSO model is a Frobenius norm equal to the square root of the sum of the squares of all terms. The linear regression model may include an elastic net model, a multi-task elastic net model, a minimum angle regression model, a LARS LASSO model, an orthogonal matching pursuit model, a Bayesian regression model, a logistic regression model, a stochastic gradient descent model, a perceptron model, a passive attack algorithm, a robust regression model, a Huber regression model, or any other suitable model that a person skilled in the art may think of after reviewing the entire contents of the present invention. In one embodiment, the linear regression model may be generalized to a polynomial regression model, thereby seeking a polynomial equation (e.g., a quadratic, cubic, or higher order equation) that provides the best predicted output / actual output fit; as will be apparent to those skilled in the art after reviewing the entire contents of the present invention, a method similar to the method described above may be applied to minimize the error function.
[0087] Continue to refer Figure 8, the machine learning algorithm may include, but is not limited to, linear discriminant analysis. The machine learning algorithm may include quadratic discriminant analysis. The machine learning algorithm may include kernel ridge regression. The machine learning algorithm may include support vector machines, including, but not limited to, regression processes based on support vector classification. The machine learning algorithm may include stochastic gradient descent algorithms, including classification and regression algorithms based on stochastic gradient descent. The machine learning algorithm may include a nearest neighbor algorithm. The machine learning algorithm may include various forms of latent space regularization, such as variational regularization. The machine learning algorithm may include, for example, a Gaussian process for Gaussian process regression. The machine learning algorithm may include a crossover decomposition algorithm, including partial least squares and / or canonical correlation analysis. The machine learning algorithm may include a naive Bayes method. The machine learning algorithm may include a decision tree-based algorithm, such as a decision tree classification or regression algorithm. The machine learning algorithm may include an ensemble method, such as a bagging meta-estimator, a randomized tree forest, AdaBoost, a gradient tree boosting, and / or a voting classifier method. The machine learning algorithm may include a neural network algorithm, including a convolutional neural network process.
[0088] Reference now Fig. 9 , which illustrates an exemplary embodiment of a neural network 900. A neural network 900, also known as an artificial neural network, is a network of "nodes", or a data structure having one or more inputs, one or more outputs, and a function that determines the output based on the input. Such nodes can be organized in a network, such as, but not limited to, a convolutional neural network, which includes an input layer of nodes, one or more intermediate layers, and an output layer of nodes. Connections between nodes can be created via a process of "training" the network, in which elements from a training data set are applied to the input nodes, and then a suitable training algorithm (e.g., Levenberg-Marquardt method, conjugate gradient, simulated annealing, or other algorithm) is used to adjust the connections and weights between nodes in adjacent layers of the neural network to produce expected values at the output nodes. This process is sometimes referred to as deep learning. Connections can extend from input nodes alone toward output nodes in a "feedforward" network, or the output of one layer can be fed back to the input of the same or different layer in a "recursive network."
[0089] Reference now Fig.10, illustrating an exemplary embodiment of a node of a neural network. The node may include, but is not limited to, a plurality of inputs xi, which may receive values from the inputs of the neural network containing the node and / or from other nodes. The node may perform a weighted sum of the inputs using weights wi multiplied by the corresponding inputs xi. Additionally or alternatively, a bias b may be added to the weighted sum of the inputs so that an offset is added to individual units in a neural network layer that are independent of the inputs of that layer. The weighted sum may then be input into a function φ, which may generate one or more outputs y. The weights wi applied to the inputs xi may indicate whether the input is "excitatory," which indicates, for example, by a corresponding weight having a large value, that it has a strong effect on one or more outputs y, and / or "inhibitory," which indicates, for example, by a corresponding weight having a small value, that it has a weak effect on one or more inputs y. The values of the weights wi may be determined by training the neural network using training data, which may be performed using any suitable process as described above.
[0090] Still reference Fig.10 As used herein, a "convolutional neural network" is a neural network in which at least one hidden layer is a convolutional layer that convolves the input of that layer with a subset of the input called a "kernel" along with one or more additional layers such as pooling layers, fully connected layers, etc. CNNs may include, but are not limited to, deep neural network (DNN) extensions, where a DNN is defined as a neural network with two or more hidden layers.
[0091] Fig.11 1 is a system block diagram illustrating an exemplary decoder 1100 capable of adaptive cropping. The decoder 1100 may include an entropy decoding processor 1104, an inverse quantization and inverse transform processor 1108, a deblocking filter 1112, a frame buffer 1116, a motion compensation processor 1120, and / or an intra prediction processor 1124.
[0092] In operation, still refer to Fig.11 , the bitstream 1128 may be received by the decoder 1100 and input to the entropy decoding processor 1104, which may entropy decode a portion of the bitstream into quantized coefficients. The quantized coefficients may be provided to an inverse quantization and inverse transform processor 1108, which may perform inverse quantization and inverse transform to create a residual signal, which may be added to the output of the motion compensation processor 1120 or the intra-frame prediction processor 1124, depending on the processing mode. The output of the motion compensation processor 1120 and the intra-frame prediction processor 1124 may include a block prediction based on a previously decoded block. The sum of the prediction and the residual may be processed by the deblocking filter 1112 and stored in the frame buffer 1116.
[0093] In one embodiment, still referring to Fig.11, the decoder 1100 may include circuits configured to implement any of the operations described above in any of the embodiments described above in any order and at any degree of repetition. For example, the decoder 1100 may be configured to repeatedly perform a single step or sequence until the desired or commanded result is achieved; the repetition of a step or sequence of steps may be performed iteratively and / or recursively, using the output of a previous repetition as the input of a subsequent repetition, aggregating the input and / or output of the repetition to produce an aggregated result, thereby reducing or reducing one or more variables (e.g., global variables) and / or dividing a larger processing task into a collection of smaller processing tasks addressed iteratively. The decoder may perform any step or sequence of steps as described in the present invention in parallel, such as using two or more parallel threads, processor cores, etc. to perform the step twice or more simultaneously and / or approximately simultaneously; the task division between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. After reviewing the entire contents of the present invention, those skilled in the art will recognize the various ways in which steps, sequence of steps, processing tasks, and / or data can be subdivided, shared, or otherwise processed using iteration, recursion, and / or parallel processing.
[0094] Fig.12 1 is a system block diagram illustrating an example video encoder 1200 capable of adaptive cropping. The example video encoder 1200 may receive an input video 1204, which may be initially partitioned or divided according to a processing scheme such as a tree-structured macroblock partitioning scheme (e.g., a quadtree plus a binary tree). An example of a tree-structured macroblock partitioning scheme may include partitioning a picture frame into large block elements called coding tree units (CTUs). In some implementations, each CTU may be further partitioned one or more times into multiple sub-blocks called coding units (CUs). The final result of the partitioning may include a set of sub-blocks that may be called prediction units (PUs). Transform units (TUs) may also be utilized.
[0095] Still reference Fig.12 , the example video encoder 1200 may include: an intra-frame prediction processor 1208; a motion estimation / compensation processor 1212, which may also be referred to as an inter-frame prediction processor, capable of constructing a motion vector candidate list, including adding a global motion vector candidate to the motion vector candidate list; a transform / quantization processor 1216; an inverse quantization / inverse transform processor 1220; an in-loop filter 1224; a decoded picture buffer 1228; and / or an entropy coding processor 1232. The bitstream parameters may be input to the entropy coding processor 1232 for inclusion in the output bitstream 1236.
[0096] In operation, continue to refer to Fig.12, for each block of a frame of the input video, it may be determined whether to process the block via intra-picture prediction or using motion estimation / compensation. The block may be provided to an intra-frame prediction processor 1208 or a motion estimation / compensation processor 1212. If the block is to be processed via intra-frame prediction, the intra-frame prediction processor 1208 may perform processing to output a prediction value. If the block is to be processed via motion estimation / compensation, the motion estimation / compensation processor 1212 may perform processing including constructing a motion vector candidate list, which includes adding a global motion vector candidate to the motion vector candidate list where applicable.
[0097] Further references Fig.12 , a residual may be formed by subtracting the prediction value from the input video. The residual may be received by a transform / quantization processor 1216, which may perform a transform process (e.g., a discrete cosine transform (DCT)) to produce coefficients that may be quantized. The quantized coefficients and any associated signaling information may be provided to an entropy coding processor 1232 for entropy coding and inclusion in an output bitstream 1236. The entropy coding processor 1232 may support encoding of signaling information associated with encoding the current block. In addition, the quantized coefficients may be provided to an inverse quantization / inverse transform processor 1220 that may reproduce pixels, which may be combined with the prediction value and processed by an in-loop filter 1224, the output of which may be stored in a decoded picture buffer 1228 for use by a motion estimation / compensation processor 1212, which may be capable of constructing a motion vector candidate list, including adding a global motion vector candidate to the motion vector candidate list.
[0098] Continue to refer Fig.12 Although some variations have been described in detail above, other modifications or additions are possible. For example, in some implementations, the current block may include any symmetric block (8×8, 16×16, 32×32, 64×64, 128×128, etc.) and any asymmetric block (8×4, 16×8, etc.).
[0099] In some implementations, reference is still made to Fig.12 , a quadtree plus binary decision tree (QTBT) can be implemented. In QTBT, at the coding tree unit level, the partition parameters of the QTBT can be dynamically derived to adapt to local characteristics without sending any overhead. Subsequently, at the coding unit level, the joint classifier decision tree structure can eliminate unnecessary iterations and control the risk of wrong predictions. In some implementations, the LTR frame block update mode can be used as an additional option available at each leaf node of the QTBT.
[0100] In some implementations, reference is still made to Fig.12, additional syntax elements may be signaled at different levels of the bitstream. For example, a flag may be enabled for the entire sequence by including an enable flag encoded in a sequence parameter set (SPS). Further, a CTU flag may be encoded at the coding tree unit (CTU) level.
[0101] Some embodiments may include a non-transitory computer program product (ie, physically embodied computer program product) storing instructions that, when executed by one or more data processors of one or more computing systems, cause at least one data processor to perform the operations herein.
[0102] Still reference Fig.12 , the encoder 1200 may include circuits configured to implement any of the operations described above in any embodiment in any order and with any degree of repetition. For example, the encoder 1200 may be configured to repeatedly perform a single step or sequence until the desired or commanded result is achieved; the repetition of a step or sequence of steps may be performed iteratively and / or recursively, using the output of a previous repetition as the input of a subsequent repetition, aggregating the input and / or output of the repetition to produce an aggregated result, thereby reducing or reducing one or more variables (e.g., global variables) and / or dividing a larger processing task into a collection of smaller processing tasks addressed iteratively. The encoder 1200 may perform any step or sequence of steps as described in the present invention in parallel, such as using two or more parallel threads, processor cores, etc. to perform the step two or more times simultaneously and / or approximately simultaneously; the task division between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. After reviewing the entire contents of the present invention, those skilled in the art will recognize the various ways in which steps, sequence of steps, processing tasks, and / or data can be subdivided, shared, or otherwise processed using iteration, recursion, and / or parallel processing.
[0103] Continue to refer Fig.12, a non-transient computer program product (i.e., a physically embodied computer program product) may store instructions that, when executed by one or more data processors of one or more computing systems, cause at least one data processor to perform the operations and / or steps thereof described in the present invention, including but not limited to any of the operations described above and / or any operations that the decoder 1200 and / or encoder 1200 may be configured to perform. Similarly, a computer system that may include one or more data processors and a memory coupled to the one or more data processors is also described. The memory may temporarily or permanently store instructions that cause at least one processor to perform one or more operations described herein. In addition, the method may be implemented by one or more data processors within a single computing system or distributed between two or more computing systems. Such computing systems may be connected via one or more connections and may exchange data and / or commands or other instructions, etc., including connections through a network (e.g., the Internet, a wireless wide area network, a local area network, a wide area network, a wired network, etc.), via a direct connection between one or more of a plurality of computing systems, etc.
[0104] It should be noted that, as will be clear to one of ordinary skill in the computer arts, any one or more aspects and embodiments described herein may be conveniently implemented using one or more machines programmed according to the teachings of this specification (e.g., one or more computing devices used as user computing devices for electronic documents, one or more server devices such as document servers, etc.). As will be clear to one of ordinary skill in the software arts, appropriate software coding may be readily prepared by a skilled programmer based on the teachings of the present invention. The aspects and implementations using software and / or software modules discussed above may also include appropriate hardware for assisting in implementing the machine executable instructions of the software and / or software modules.
[0105] Such software can be a computer program product using a machine-readable storage medium. A machine-readable storage medium can be any medium capable of storing and / or encoding an instruction sequence executed by a machine (e.g., a computing device) and causing the machine to execute any of the methods and / or embodiments described herein. Examples of machine-readable storage media include, but are not limited to, disks, optical disks (e.g., CDs, CD-Rs, DVDs, DVD-Rs, etc.), magneto-optical disks, read-only memory "ROM" devices, random access memory "RAM" devices, magnetic cards, optical cards, solid-state memory devices, EPROMs, EEPROMs, and any combination thereof. As used herein, machine-readable media is intended to include a single medium and a collection of physically separated media, such as a collection of one or more hard disk drives combined with a computer memory. As used herein, a machine-readable storage medium does not include instantaneous signal transmission.
[0106] Such software may also include information (e.g., data) carried as a data signal on a data carrier, such as a carrier wave. For example, machine executable information may be included as a data-bearing signal embodied in a data carrier, in which the signal encodes a sequence of instructions or a portion thereof executed by a machine (e.g., a computing device) and any related information (e.g., data structures and data) that causes the machine to perform any of the methods and / or embodiments described herein.
[0107] Examples of computing devices include, but are not limited to, electronic book reading devices, computer workstations, terminal computers, server computers, handheld devices (e.g., tablet computers, smart phones, etc.), network appliances, network routers, network switches, bridges, any machine capable of executing a sequence of instructions specifying actions to be taken by the machine, and any combination thereof. In one example, the computing device may include and / or be included in a kiosk.
[0108] Fig.13 A diagrammatic representation of one embodiment of a computing device in the exemplary form of a computer system 1300 is shown within which a set of instructions for causing a control system to perform any one or more of the aspects and / or methods of the present invention may be executed. It is also contemplated that a plurality of computing devices may be utilized to implement a specially configured set of instructions for causing one or more devices to perform any one or more of the aspects and / or methods of the present invention. The computer system 1300 includes a processor 1304 and a memory 1308 that communicate with each other and with other components via a bus 1312. The bus 1312 may include any of several types of bus structures, including but not limited to a memory bus, a memory controller, a peripheral bus, a local bus, and any combination thereof using any of a variety of bus architectures.
[0109] Processor 1304 may include any suitable processor, such as but not limited to a processor incorporating logic circuits for performing arithmetic and logic operations (e.g., an arithmetic and logic unit (ALU)), which may be regulated by a state machine and guided by operational inputs from memory and / or sensors; as non-limiting examples, processor 1504 may be organized according to von Neumann and / or Harvard architectures. Processor 1504 may include, incorporate, and / or be incorporated in, but not limited to, a microcontroller, a microprocessor, a digital signal processor (DSP), a field programmable gate array (FPGA), a complex programmable logic device (CPLD), a graphics processing unit (GPU), a general-purpose GPU, a tensor processing unit (TPU), an analog or mixed signal processor, a trusted platform module (TPM), a floating point unit (FPU), and / or a system on a chip (SoC).
[0110] The memory 1308 may include various components (e.g., machine-readable media), including, but not limited to, random access memory components, read-only components, and any combination thereof. In one example, a basic input / output system 1316 (BIOS), including, for example, basic routines that help transfer information between elements within the computer system 1300 during startup, may be stored in the memory 1308. The memory 1308 may also include (e.g., stored on one or more machine-readable media) instructions (e.g., software) 1320 that embody any one or more of the aspects and / or methods of the present invention. In another example, the memory 1308 may also include any number of program modules, including, but not limited to, an operating system, one or more application programs, other program modules, program data, and any combination thereof.
[0111] The computer system 1300 may also include a storage device 1324. Examples of storage devices (e.g., storage device 1324) include, but are not limited to, a hard disk drive, a combination of a disk drive and optical media, a solid-state memory device, and any combination thereof. The storage device 1324 may be connected to the bus 1312 via an appropriate interface (not shown). Example interfaces include, but are not limited to, SCSI, Advanced Technology Attachment (ATA), Serial ATA, Universal Serial Bus (USB), IEEE 1394 (FIREWIRE), and any combination thereof. In one example, the storage device 1524 (or one or more of its components) may be removably interfaced with the computer system 1300 (e.g., via an external port connector (not shown)). In particular, the storage device 1324 and the associated machine-readable medium 1328 may provide non-volatile and / or volatile storage of machine-readable instructions, data structures, program modules, and / or other data for the computer system 1300. In one example, the software 1320 may reside in whole or in part in the machine-readable medium 1328. In another example, the software 1320 may reside completely or partially within the processor 1304 .
[0112] The computer system 1300 may also include an input device 1332. In one example, a user of the computer system 1300 may enter commands and / or other information into the computer system 1300 via the input device 1332. Examples of the input device 1332 include, but are not limited to, an alphanumeric input device (e.g., a keyboard), a pointing device, a joystick, a game controller, an audio input device (e.g., a microphone, a voice response system, etc.), a cursor control device (e.g., a mouse), a touch pad, an optical scanner, a video capture device (e.g., a still camera, a video camera), a touch screen, and any combination thereof. The input device 1332 may be interfaced to the bus 1312 via any of a variety of interfaces (not shown), including, but not limited to, a serial interface, a parallel interface, a game port, a USB interface, a FIREWIRE interface, a direct interface to the bus 1312, and any combination thereof. The input device 1332 may include a touch screen interface, which may be part of or separate from the display 1336, discussed further below. The input device 1332 may be used as a user selection device for selecting one or more graphical representations in the graphical interface as described above.
[0113] The user may also input commands and / or other information to the computer system 1300 via a storage device 1324 (e.g., a removable disk drive, a flash drive, etc.) and / or a network interface device 1340. A network interface device such as the network interface device 1340 may be used to connect the computer system 1300 to one or more of various networks such as the network 1344 and one or more remote devices 1348 connected thereto. Examples of network interface devices include, but are not limited to, network interface cards (e.g., mobile network interface cards, LAN cards), modems, and any combination thereof. Examples of networks include, but are not limited to, wide area networks (e.g., the Internet, enterprise networks), local area networks (e.g., networks associated with offices, buildings, campuses, or other relatively small geographic spaces), telephone networks, data networks associated with telephone / voice providers (e.g., mobile communications provider data and / or voice networks), direct connections between two computing devices, and any combination thereof. Networks such as the network 1344 may employ wired and / or wireless communication modes. In general, any network topology may be used. Information (e.g., data, software 1320, etc.) may be transferred to and / or from the computer system 1300 via the network interface device 1340.
[0114] The computer system 1300 may also include a video display adapter 1352 for delivering a displayable image to a display device such as a display device 1336. Examples of display devices include, but are not limited to, liquid crystal displays (LCDs), cathode ray tubes (CRTs), plasma displays, light emitting diode (LED) displays, and any combination thereof. Display adapter 1352 and display device 1336 may be used in combination with processor 1304 to provide graphical representations of various aspects of the present invention. In addition to the display device, the computer system 1300 may also include one or more other peripheral output devices, including, but not limited to, audio speakers, printers, and any combination thereof. Such peripheral output devices may be connected to bus 1312 via peripheral interface 1356. Examples of peripheral interfaces include, but are not limited to, serial ports, USB connections, FIREWIRE connections, parallel connections, and any combination thereof.
[0115] The above is a detailed description of an illustrative embodiment of the present invention. Without departing from the spirit and scope of the present invention, various modifications and additions may be made. The features of each of the above-mentioned various embodiments may be appropriately combined with the features of other described embodiments, so that a variety of feature combinations may be provided in associated new embodiments. In addition, although a plurality of separate embodiments have been described above, the content described herein is merely an explanation of the application of the principles of the present invention. In addition, although the particular methods herein may be illustrated and / or described as being performed in a particular order, within the common techniques of implementing the methods, systems and software of the present invention, the ordering is highly variable. Therefore, this specification is intended to be used as an example only, rather than to otherwise limit the scope of the present invention.
[0116] Exemplary embodiments have been disclosed above and illustrated in the accompanying drawings. It should be understood by those skilled in the art that various changes, omissions and additions may be made to the specific disclosure herein without departing from the spirit and scope of the present invention.
Claims
1. A method for encoding video content using feature information, comprising: determining motion information for each coding unit comprising the video content; Generating a feature map for the video content, the feature map having a plurality of convolution units and a corresponding relationship between the convolution units; Generate motion transformation information by mapping motion information of video content in each coding unit to at least one corresponding convolution unit using a transformation selected based on the correspondence between the convolution units and the coding units; as well as An encoded bit stream including the video content, the motion information and the motion transformation information is generated.
2. The method according to claim 1, wherein: The coding units correspond in size and number to the convolution units, and the transform copies the motion information from each coding unit to the corresponding convolution unit.
3. The method according to claim 1, wherein: The coding units correspond in number to the convolution units but differ in size from the convolution units, and the transform scales the motion information from each coding unit to the corresponding convolution unit.
4. The method according to claim 1, wherein: A plurality of the coding units corresponds to a single convolution unit, and the transform fuses the motion information of the plurality of the coding units to map the motion to the convolution unit.
5. The method according to claim 1, wherein: Each of the coding units corresponds to a plurality of the convolution units, and the transform merges the motion information from the coding unit to the plurality of the convolution units.
6. The method according to claim 1, wherein: The transformation is selected from the group consisting of copying, scaling, blending and merging.
7. The method according to claim 1, wherein: The bitstream includes: Headers and metadata for the entire content; a video sub-bitstream comprising a header, metadata, and video payload information including motion information; and A feature sub-bitstream includes a header, metadata, and feature payload information including motion transform information.
8. A method for decoding a bitstream, the bitstream having video content and feature content, the video content comprising a plurality of coding units having associated motion vectors, the feature content comprising a plurality of feature units encoded in the bitstream, the encoder having a mode for decoder-side motion vector refinement (DMVR), the method comprising: For each feature unit, determining whether the feature unit includes an object of interest; For the coding unit corresponding to the feature unit, determining whether to enable the DMVR mode; If the feature unit includes the object of interest and the DMVR mode for the corresponding coding unit is not enabled, enabling the DMVR mode for the coding unit; as well as If the feature unit does not include the object of interest and the DMVR mode for the corresponding coding unit is enabled, the DMVR mode for the coding unit is disabled.
9. The method according to claim 1, wherein: The status of the DMVR mode for each coding unit is signaled in the bitstream.
10. The method according to claim 9, wherein: The DMVR mode is signaled in a picture header of the bitstream.
11. The method according to claim 10, wherein: The DMVR mode is signaled in a sequence parameter set of the bitstream.
12. A decoder for decoding a bitstream, the bitstream having video content and feature content, the video content comprising a plurality of coding units having associated motion vectors, the feature content comprising a plurality of feature units encoded in the bitstream, the encoder having a mode for decoder-side motion vector refinement (DMVR), the decoder comprising: A video input for receiving the bitstream; and A processor programmed with instructions comprising: For each feature unit, determining whether the feature unit includes an object of interest; For the coding unit corresponding to the feature unit, determining whether to enable the DMVR mode; If the feature unit includes the object of interest and the DMVR mode for the corresponding coding unit is not enabled, enabling the DMVR mode for the coding unit; and If the feature unit does not include the object of interest and the DMVR mode for the corresponding coding unit is enabled, the DMVR mode for the coding unit is disabled.
13. The decoder according to claim 12, wherein: The status of the DMVR mode for each coding unit is signaled in the bitstream.
14. The decoder according to claim 13, wherein: The DMVR mode is signaled in a picture header of the bitstream.
15. The decoder according to claim 13, wherein: The DMVR mode is signaled in a sequence parameter set of the bitstream.
