Systems, methods, and bitstream structures for machine video encoding and decoding with adaptive reasoning

Through the video encoder and decoder system of the adaptive inference model, combining feature compensation mode and basic mode, the encoding and decoding of video data is optimized, and the balance problem of hybrid video bitstreams under high bandwidth and computational complexity is solved, and the implementation of the Efficient video data transmission and processing.

CN119032559APending Publication Date: 2024-11-26OP SOLUTIONS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380034671.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-25
Filing Date
2023-02-23
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The prior art is difficult to effectively compress and transmit mixed video bitstreams for human and machine consumption in video encoding, especially in applications with high network bandwidth and computing complexity requirements, and traditional video encoding has the quality of video and data volume. The balance between them is difficult to achieve.

Method used

Video encoder and decoder system using adaptive inference model generate and decode feature substreams and video substreams through inference selectors and inference metadata encoders, combining feature compensation modes and basic modes to optimize the compression and decoding of video data process.

Benefits of technology

It realizes efficient encoding and decoding of video data, reduces the need for network bandwidth and computing complexity, and is suitable for a variety of video applications, especially in a hybrid scenario of machine consumption and human consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119032559A_ABST
    Figure CN119032559A_ABST
Patent Text Reader

Abstract

Systems and methods are provided for encoding and decoding (e.g., machine video encoding) video data for machine applications using an inference model. An encoder uses an inference selector to determine an appropriate inference model to encode the feature substream. The encoder also employs an inference metadata encoder to encode parameters of the selected inference model into an inference metadata substream, which may be multiplexed with the feature substream to generate an encoded bitstream to be sent to the decoder site. A decoder receiving the encoded bitstream extracts the inference metadata, selects an appropriate inference model, and applies the inference model to the decoded feature substream and generates a decoded output signal for machine consumption.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of priority to U.S. Provisional Patent Application Serial No. 63 / 314,036, filed on February 25, 2022, entitled “VCM SYSTEM WITH ADAPTIVE REASONING,” the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0003] The present invention generally relates to the field of video compression. In particular, the present invention relates to a method and system for hybrid feature video bitstream and decoder. Background Art

[0004] Although video is generally considered a medium for human consumption, there is a growing number of applications that use video in machine applications, such as advanced industrial processes, autonomous vehicles, IoT applications, etc. It is expected that these applications will continue to grow and continue to place higher and higher demands on video channel bandwidth. In some applications, it is desirable to provide video content optimized for human and machine consumption. This bitstream may be referred to as a hybrid bitstream. The utility of the proposed bitstream and decoder is primarily used in scenarios where the bitstream is sent to a human viewer and a machine that analyzes visual data. The video portion of the bitstream is intended for a human viewer, and the feature portion of the bitstream is intended for machine analysis. Therefore, it would be beneficial to develop a system and method that can compress, encode, and effectively transmit video content suitable for human and machine applications.

[0005] The rapid proliferation of edge devices and the dynamic increase of automated video analytics combined with technologies and concepts such as 5G and IoT have raised the need for improvements in video encoding that consider machines as end users.

[0006] The current state-of-the-art approach is to record, encode, and send all signals from edge devices to a server. On the server, the bitstream of the signal is decoded and passed to a machine algorithm for analysis and processing. Examples of this approach can be found in popular devices such as Amazon's Echo with Alexa, Google's Home with Assistant, and Apple's devices with Siri. Since these devices primarily process sound (audio signals), the payload is not too large.

[0007] In many applications, such as surveillance systems with multiple cameras, smart transportation, smart city applications, and / or smart industrial applications, traditional video encoding can compress large amounts of video from cameras for machine and human consumption and transmit over the network. However, for devices that process video, such as video surveillance systems and residential doorbell cameras, the requirements for network bandwidth and availability are often very high. To alleviate this, the device itself can perform some early stages of processing and only send compressed features to the server. In this way, the payload is significantly reduced at the expense of computational complexity at the edge. The trade-off between reduced payload (low network usage) and computational complexity (high battery usage) can be addressed by adaptive delegation. Processing can be done entirely by the edge device, delegated between the edge device and the server, or done entirely on the server.

[0008] A video codec may include electronic circuits or software that compress or decompress digital video. It 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 of its functions) may generally be referred to as an encoder, and a device that decompresses video (and / or performs some of its functions) may be referred to as a decoder.

[0009] 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 that was present in the original video. The result 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.

[0010] 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.

[0011] Motion compensation may include methods of predicting a video frame or a portion thereof given a reference frame, such as a previous and / or future frame, by taking into account the motion of the camera and / or objects in the video. It may be used 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 Moving Picture Experts Group (MPEG). Motion compensation may describe an image based on a transformation from a reference image to a current image. The reference picture may be previous in time when compared to the current picture and from the future when compared to the current picture. Compression efficiency may be improved when images may be accurately synthesized from previously sent and / or stored images.

[0012] Recent trends in robotics, surveillance, monitoring, IoT, etc. have introduced use cases where a large portion of all images and videos recorded in the field are only consumed by machines and do not reach the human eye all the way. These machines process images and videos with the goal of completing tasks such as object detection, object tracking, segmentation, event detection, etc. Recognizing that this trend is pervasive and will only accelerate in the future, international standardization bodies have worked to standardize image and video coding that is primarily optimized for machine consumption. For example, in addition to already established standards such as Compact Descriptors for Visual Search and Compact Descriptors for Video Analytics, standards like JPEG AI and Machine Video Coding have been launched. Therefore, it is increasingly important in the art to further improve the encoding and decoding of videos consumed by machines and hybrid systems where both human viewers and machines consume the video. Summary of the invention

[0013] The present disclosure includes systems and methods for encoding and decoding video data, typically for machine consumption, in which inference models are used. A suitable bitstream structure is also disclosed.

[0014] In one embodiment, a video encoder suitable for video encoding of machine applications includes: an inference selector; and an inference metadata encoder coupled to the inference selector and receiving a model selection parameter from the inference selector. The inference encoder receives an input video signal and an inference model selection parameter from the inference selector, and routes the input signal to the selected inference model. A feature encoder is coupled to the inference encoder and generates an encoded feature substream. A multiplexer receives the inference metadata substream from the inference metadata encoder and the feature substream from the feature encoder, and provides an encoded bitstream.

[0015] Preferably, the inference selector generates a suggestion for the best matching inference model for the input signal. It is also preferred that the inference selector recommends an inference model for each unit of the input signal. In some embodiments, the encoder includes multiple inference models, and the inference encoder operates to route each unit of the input signal to the inference model recommended for the unit.

[0016] Also provided herein is an embodiment of a decoder for video encoding for machine applications encoded using an inference encoder. The decoder generally includes a demultiplexer that receives an encoded bitstream having encoded features and inference metadata encoded therein. The demultiplexer operates to extract a feature substream and an inference metadata substream from the received bitstream. An inference metadata decoder is coupled to the demultiplexer and receives the inference metadata substream. The inference metadata decoder extracts parameters of an inference model used to encode the bitstream.

[0017] The decoder also includes an inference selector that selects an inference model from a plurality of inference models in response to an inference model parameter. The feature decoder is preferably coupled to the demultiplexer, receives the feature substream, and extracts encoded features from the feature substream. The inference decoder receives the features from the feature decoder and the selected inference model from the inference selector, and provides a decoded output signal for machine consumption.

[0018] Preferably, the bitstream includes a stream-level header having data that can be used by the demultiplexer to extract the feature substream and the inference metadata substream from the bitstream. The inference metadata substream may also include an inference metadata header and an inference metadata payload, and the inference metadata decoder may use the information in the inference metadata header to extract and decode the inference metadata payload. The feature substream may include a feature stream header and a feature stream payload, and the feature stream header may be used by the feature decoder to decode the feature stream payload.

[0019] In the decoder, the inference selector preferably generates a suggestion for the best matching inference model for the input signal. The inference selector preferably recommends an inference model for each unit of the input signal. In some embodiments, the decoder has multiple inference models, and the inference encoder operates to route each unit of the input signal to the inference model recommended for that unit of the input signal.

[0020] A bitstream architecture for image information encoded using an inference model generally includes: a stream-level header; a feature substream including a feature stream header and a feature stream payload; and an inference metadata substream including an inference metadata header and an inference metadata payload.

[0021] These and other aspects and features of non-limiting embodiments of the present invention will become apparent to those skilled in the art upon reading the following description of specific non-limiting embodiments of the invention in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] 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:

[0023] Figure 1 is a simplified block diagram of an exemplary embodiment of an encoder and decoder suitable for hybrid video applications;

[0024] Figure 2 is a diagram of an exemplary embodiment of a hybrid bitstream structure;

[0025] Figure 3 is a diagram of an exemplary embodiment of a hybrid bitstream structure;

[0026] Figure 4 is a flowchart illustration of an exemplary embodiment of a decoding process for a hybrid bitstream;

[0027] Figure 5 is a flow chart illustrating decoding mode selection applicable to an exemplary embodiment of the present decoding process;

[0028] Figure 6 is a block diagram illustrating the proposed VCM system with inference coding;

[0029] Figure 7 is a block diagram showing illustrative subcomponents of an inference selector and an inference encoder component;

[0030] Figure 8 is an exemplary bitstream structure suitable for use with the disclosed encoder and decoder using adaptive inference coding;

[0031] Fig. 9 is a simplified block diagram of an exemplary embodiment of a video decoder;

[0032] Fig.10 is a simplified block diagram of an exemplary embodiment of a video encoder; and

[0033] Fig.11 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.

[0034] The drawings are not necessarily drawn to scale and may be illustrated by phantom lines, diagrammatic representations, and partial views. In certain instances, details that are not necessary for understanding the embodiments or that render other details difficult to perceive may have been omitted. DETAILED DESCRIPTION

[0035] The present disclosure is directed to systems and methods for mixed video data encoding and decoding. The process of encoding a video used in a machine process is commonly referred to as video coding or VCM for a machine. As used herein, the term VCM refers broadly to video encoding and decoding for machine consumption, and is not limited to a specific proposed protocol. In this regard, VCM generally refers to a process suitable for encoding a video in any manner suitable for machine processing, machine analysis, and machine vision tasks, including but not limited to systems and methods applicable to technical standards contemplated by the MPEG ad hoc working group known as the MPEG VCM group. The adaptive nature of the proposed system allows flexibility according to the various modes of the input signal and the multiple tasks that a given system may be directed to.

[0036] At the decoder site, it will be appreciated that 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 applied to machine-based systems as well as hybrid systems.

[0037] Figure 1 1 is a simplified block diagram showing the conceptual architecture of a VCM system for hybrid video data, the VCM system including an encoder 105 and a decoder 110. Figure 1 As shown, the input to the encoder is a video stream 115, typically in the form of raw video, such as from a camera or other video generation system. The encoder 105 outputs a bitstream, which is then sent to a decoder, which decodes it into an output consumed by a human and / or machine. The VCM encoder 105 receives the input video 115 and passes it through a preprocessor / video separator 120. The preprocessor 120 separates the received video data stream into two components: a video component that is passed to the video encoder (e.g., RGB to YUV conversion), and a stream that is passed to the feature extractor 130. The stream passed to the feature extractor 130 is converted into an appropriate format if necessary. It may also be quantized or downsampled in some other way as needed by the feature extractor 130.

[0038] "Features" as used in the present disclosure are specific structures and / or content attributes of data. Examples of features may include SIFT, audio features, color histograms, motion histograms, speech levels, loudness levels, etc. Features may be time-stamped. Each feature may be associated with a single frame in a set of frames. 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 for region-based quantization, and / or any other features that may be thought of by those skilled in the art when viewing the full content of this disclosure. As another non-limiting example, features may include features that describe the spatial and / or temporal characteristics of a frame or group of frames. Examples of features that describe spatial and / or temporal characteristics may include motion, texture, color, brightness, edge count, blur, block effects, etc.

[0039] The video encoder 125 is preferably configured to compress / encode the video stream in two available modes, a "basic mode" and a "feature compensation mode". When operating in "basic mode", the video encoder 125 operates as a standard video encoder, such as a standard-compatible decoder for the H.264, HEVC, AVC, VVC video coding standards, with an optional addition of a bidirectional connection to the feature extractor 130. In this mode, the video substream can be decoded by any decoder that conforms to the given standard of the bitstream. This connection from the video encoder 125 to the feature extractor 130 can be used to provide additional information that can be used for more efficient compression, particularly in the perceptual domain. On the other hand, the video encoder 125 can provide useful feedback to the feature extractor 130, such as motion information, scene change information, etc.

[0040] In "feature compensation mode", the video encoder 125 preferably receives both the input video and the feature extractor feedback. Based on the feature map, it estimates and encodes the residual difference between the map and the input picture.

[0041] Feature Compensation Mode (FCM) is a video encoding / decoding mode in which the video substream consists of residual data obtained by encoding the difference between feature data and input video data. During decoding, this residual can be combined with baseline feature data. The baseline feature data can be obtained by the video decoder from the feature decoder. The baseline feature data can be equal to the unmodified output of the feature decoder, or it can be a subset of the output of the feature decoder. The baseline residual data can consist of any features or a combination of features and the input video signal. For example, the baseline feature data can consist of feature maps generated when the input video data is passed through one or more layers of a convolutional neural network (CNN). It can also consist of visual primitives, which consist of features such as edges, corners, or key points.

[0042] The feature extractor 130 converts the input pixel stream from the preprocessor 120 into a feature space for use by the machine. The feature space corresponds to the task to be completed by the machine. Some examples of conversion include the following: edge extraction - using computer vision algorithms such as Canny edge detection to detect and then extract relevant edges in the input picture; key point extraction - using algorithms such as scale-invariant feature transforms and accelerated robust features; signal extraction - using independent component analysis or principal component analysis to extract the most relevant components of the spectrum from the input image or audio; feature map extraction - using the lower layer of the neural network, such as convolutional neural networks, etc. The type of conversion is selected based on the machine model input 135. A copy of the machine model 135 can be stored on the edge device independently or as part of the encoder 105. This allows for scalable deployment of configurable encoder software and offline operation mode when a network connection to the terminal device is not available. The input is either provided in real time by the terminal or provided by local storage. In addition, the feature extractor 130 can obtain feedback input from the video encoder 125 to optimize the processing.

[0043] The feature encoder 140 receives the extracted features from the feature extractor 130 and compresses them via standard lossless and lossy techniques developed for similar standards (e.g., CDVA). Although any known method can be used, preferably, the feature encoder primarily employs an entropy encoding. An optimizer 145 can be provided to receive inputs from both the video encoder 125 and the feature encoder 140, and to provide signals to the respective blocks indicating the presence of overlap and redundancy in the data that can be further compressed or discarded in the video and / or feature bitstreams. The outputs of the video encoder 125 and the feature encoder 140 are provided to a multiplexer or muxer 150, which combines the two bitstreams into one bitstream.

[0044] The hybrid decoder 110 receives the encoded hybrid bitstream and passes it to a demultiplexer or demuxer 155. The demultiplexer 155 separates the received hybrid bitstream into video and feature bitstreams, which is essentially the complementary operation of the multiplexer 150. The feature bitstream is then provided to one or more feature decoders 160a, 160b. In the case of using multiple different feature sets, a feature set extractor 157 can be inserted between the demultiplexer 155 and the feature decoder to separate the individual feature sets from the bitstream and pass them to the corresponding feature decoders 160a, 160b. Each feature decoder 160 receives input from the machine model 135 and a separate feature set as input and decodes it. The machine model 135 can be provided as an input from a remote source or can be included in a storage device in the decoder 110. In addition, in a "feature compensation mode", the feature decoder 160 sends a specific subset of features to the video decoder 165. The output of the feature decoder 160 is sent to the terminal 170. The video decoder 165 is preferably a standard video decoder in "base mode", and a hybrid decoder in "feature compensation mode" (both can use the base mode).

[0045] Figure 2 2 is a simplified schematic diagram of a bitstream containing video and features, which is output from encoder 105 and sent to decoder 110 via a transmission channel. Because the bitstream contains both video and features, it is designated as a hybrid bitstream. The top row 200 represents the hybrid bitstream, which is a continuous stream composed of individual units called hybrid segments 205. A sequence of hybrid segments 205 is a temporally sequential portion of the continuous stream. Each hybrid segment 205 preferably also includes six components, hybrid size 210, metadata 215, feature header 220, feature payload 225, video header 230, and video payload 235. The components can generally appear in any order, as long as the hybrid size 210 is the first component in the hybrid segment 205. In one example, the component order can be implicitly signaled by using the "type" and "size" fields in the respective components. Alternatively, the components 210-235 can contain a "start code" field, which replaces the "size" and "type" fields and is used instead for sequential parsing by the decoder. The fields within the components may be interpreted by a decoder to initialize or update parameters for decoding.

[0046] The mixed size components 210 are preferably a single field array of numbers that specify the length of each component in the sequence. This can be expressed in standard units (usually bits or bytes). As an example, [10, 30, 500, 100, 5000] can mean that there are 10 bytes of metadata information, followed by 30 bytes of feature header data, followed by 500 bytes of feature payload, followed by 100 bytes of video header data, followed by 5000 bytes of video payload. The decoder can use these numbers to extract the relevant parts of the input bitstream that belong to the current segment. If either of the feature or video components is not present, this is signaled by a 0 value in the array.

[0047] In another decoding scheme, a "start code" is used to mark the beginning of a new component of the type specified by the "start code".

[0048] The metadata component 215 contains fields describing the content of the segment, such as but not limited to:

[0049] oThe input resolution of the video. This can be expressed as pixel values ​​for width and height.

[0050] o StartFragment: Binary flag, set to 1 if the fragment is the first in a sequence of independently decodable fragments, otherwise set to 0.

[0051] o Feature compensation mode: Binary flag, set to 1 if the current fragment is encoded in FC mode, otherwise set to 0.

[0052] oCustom fields reserved for future expansion.

[0053] The feature header component 220 generally contains fields describing the content of the segment associated with the feature, such as but not limited to:

[0054] oScale factor for resolution change. A single number representing the multiplier of the input video resolution.

[0055] oFeature Type: An index number that specifies the type of feature present in the payload. For example: (1-edge, 2-keypoint, 3-neural network, etc.).

[0056] o Feature Type Configuration: An optional set of fields that carry information about the feature type. For example, the topology of a neural network.

[0057] o ROI coordinates: An array of 4-tuples that (implicitly) specifies the presence of a region of interest (ROI) and explicitly specifies the location of the region of interest (ROI), such as a bounding box around the object of interest. Each 4-tuple contains numbers that specify the following pixel values: x-coordinate of the top left corner of the ROI, y-coordinate of the top left corner of the ROI, ROI width, ROI height. For example, [(100, 50, 200, 250), (400, 400, 200, 300)] specifies two ROIs.

[0058] oResidual: Flag that specifies whether the video decoder uses the current fragment features payload in FC mode.

[0059] oVarious sets of parameters associated with specific feature types.

[0060] oCustom fields reserved for future expansion.

[0061] The feature payload component 225 is the portion of the bitstream that contains the encoded feature data needed to reconstruct the output features. The feature data may include, for example, key points, edges, motion information, object detection, bounding boxes, feature maps of neural networks, and similar data that implement image and video analysis applications such as event and action recognition, object detection and tracking, pose estimation, etc. The features may be encoded using entropy and binary coding such as Huffman coding, arithmetic coding, or VLC coding.

[0062] The video header component 230 generally contains fields describing the content of the segment associated with the video, such as but not limited to:

[0063] o Mode: A single number (bit) reserved for signaling base or FC mode for the current video segment. o Parameter set: For example, a picture parameter set that signals the configuration of a video decoder. It may also be a sequence parameter set.

[0064] o Quantization matrices: A set of one or more matrices that carry quantization coefficients for decoding. Each matrix is ​​identified by the region it applies to. The region location can be explicitly signaled or obtained from the feature decoder (as ROI coordinates) together with the residual information or independently.

[0065] o Perceptual parameters: quantization scale and loop filter parameters applied in regions with perceptually significant characteristics (obtained from the feature decoder as ROI regions).

[0066] oCustom fields reserved for future expansion.

[0067] Video payload 235 is the portion of the bitstream that contains the encoded video data needed to reconstruct the output characteristics.

[0068] Figure 3An exemplary hybrid bitstream structure 300 is also shown. The bitstream includes a hybrid header 305, which contains, for example, a list of zero or one video stream 310 and zero or more feature streams 315a, 315b. The hybrid header 305 preferably contains relevant high-level parameters (for stream partitioning, etc.), and may also contain parameters that signal which mode is used for encoding, i.e., "basic" or "feature compensation". The video stream 310 preferably has a standard structure defined in one or more known video coding standards, such as a sequence parameter set (SPS), a picture parameter set (PPS), etc. The video stream can be decoded by a VCM or VVC decoder, depending on which mode is used for encoding. Each feature stream 315a, 315b preferably contains header information, such as a feature sequence parameter set FSPS 320a, 320b and a feature picture parameter set FPPS 325a, 325b and a corresponding feature payload 330a, 330b.

[0069] Combination Figure 4 The flowchart of FIG. 400 describes an overview of the decoding process of the hybrid bitstream. The decoder 110 receives the bitstream segment 205 in step 405, reads the metadata 215, and determines in step 410 whether the current segment is the starting segment in the segment sequence. If it is the starting segment, the decoding process proceeds to step 415 and sets the decoding parameters according to the values ​​in the other fields in the metadata component 215 and the values ​​of the fields in the feature header 220 and the video header 230. If the segment received in step 410 is not the first segment, the decoding process performs a difference compensation calculation between the current segment and the previous segment in step 420. The difference compensation calculation may include motion compensation or any other type of compensation suitable for the feature set. After steps 415 and 420, the process proceeds to decode the payload data in step 425. The payload data is tested in step 430 to determine whether the process has reached the end of the segment. If the end of the segment has not been reached in step 430, the process returns to step 420. If the segment is the last segment in the segment sequence, it completes the decoding of the current segment group. In step 435, the decoder determines whether the last segment has been decoded. If not, the process returns to step 405 to decode the next segment.

[0070] Each group of segments is a sequence of one or more consecutive segments. Each segment group is independently decodable. Video segments within a group of segments are independently decodable relative to other video segments, but may depend on feature segments from the same group of segments.

[0071] In each mixed segment or segment group in the mixed bitstream, there may be one or zero feature segments and one or zero video segments. The presence of feature and video segments can be implicitly determined from the value of the "mixed size" component 210. The mode of the decoder can be determined based on the "feature compensation mode" (FCM) flag of each segment.

[0072] Combination Figure 5 The flowchart shown further describes the use of a decision process for parsing the FCM flag and parsing the decoding mode selection for the size parameter for segment presence determination.

[0073] The decoder receives the mixed segment in step 505 and determines whether a feature segment exists by evaluating the feature size in step 510. If the feature segment does not exist (its size is 0), the decoding process checks the size in step 515 to determine whether a video segment exists. If not (its size is 0), the current segment is skipped (step 520). If a video segment exists in step 515 after determining in step 510 that no feature segment exists in the segment, the mode is set to "basic mode" in step 525 and only the video is decoded.

[0074] If in step 510, the feature segment is present (feature size is not 0) and the video segment is not present (video size = 0) (step 30), then there is no video decoding and only the features are decoded (step 535). If both the feature and video segments are present, then in step 540, the decoder checks the FCM flag from the metadata component 215. If the FCM mode is signaled (FCM = 1), the feature segment is decoded first (step 545) and the baseline feature data is passed to the video decoder operating in FC mode (step 550), which is combined with the residual to obtain the video output. If in step 540 the FCM flag is set to 0, then the feature segment and the video segment are decoded independently and the video decoder operates in "base mode".

[0075] Adaptive Inference

[0076] Another embodiment of the present disclosure is a system for video coding machine (VCM) that uses adaptive inference selection for image coding, video coding, and feature coding.

[0077] In general, the term "inference" in the context of machine learning-based systems refers to the process of using a trained machine learning algorithm to make predictions. In the case of the video encoding and decoding applications disclosed herein, an inference model mapping can be used to route input data to the best inference algorithm available to the encoder. If the encoder has multiple inference algorithms in its processing, the input data is preferably matched with the algorithm that is best used to analyze the data. For example, an algorithm optimized for audio signals (e.g., a long short-term memory network) can be used to best analyze audio data, and an algorithm optimized for visual signals (e.g., a convolutional neural network) can be used to best analyze visual data. In addition, the same algorithm (e.g., a neural network) can be tuned or tuned to a specific task for a specific object class within the same data modality, such as through training. If multiple versions of the same algorithm with different tunings are available to the encoder, the system preferably determines which specific model is used for the input data it receives. In the case where the inference model does not provide such routing, the system may have to send the input data to all available inference algorithms at the same time, resulting in high computational costs and generating much larger messages to be sent to the decoder.

[0078] Reference Figure 6 , the VCM encoder 610 receives an input signal 620 such as an image, video, sound, infrared image, etc. from a source such as a camera or some other recording or input device, and passes it to an inference component that compresses the signal and associated metadata into a bitstream 630, which is sent to a VCM decoder 640. The VCM decoder 640 decompresses the compressed bitstream 630 and produces an output that may be the same as the input signal (lossless compression), or some other representation or transformation of the input signal (including its lossy version). Typically, the output signal is then passed to a task completion neural network or similar system for decision making. The VCM decoder 640 and the decision-making system may reside on a single machine terminal or be distributed to a remote location. In some embodiments, the VCM encoder 610 may be deployed to edge devices such as IoT nodes, vehicles, peripheral camera systems, etc.

[0079] The VCM encoder with adaptive inference 610 preferably includes an inference selector 645 that receives an input signal 620. The inference selector 645 is coupled to a preprocessor 650 and an inference metadata decoder 655. The preprocessor 650 is coupled to an inference encoder 660, which preferably also communicates with a machine model 675 at the decoder site. The output of the inference encoder 660 is provided to a feature encoder 665. A multiplexer 670 receives the outputs from both the feature encoder 665 and the inference metadata encoder 655 and generates an encoded bitstream 630 therefrom.

[0080] Figure 7is a block diagram further illustrating certain features of encoder 610. Figure 7 As shown, the inference selector 745 passes the input signal through the analyzer 720, which performs a spatiotemporal analysis of the input signal and generates a recommendation for the best matching inference model. The analyzer 710 can apply simple filters in different frequency bands to identify the frequency composition of the input signal (texture and gradient of visual signals, waveform of audio signals), and compare them with templates of standardized input signals expected by each inference model. In another example, the analyzer 710 can detect video of a specific resolution, frame rate, and color space, and match it with a convolutional neural network (CNN) suitable for such a signal. In the case where the inference model is predetermined, the analyzer can be selected by the absence of other inference models or by selecting the best matching inference model at the beginning of processing ( Figure 6 The dashed line connection depicted in FIG) is used as a transmission subcomponent to receive signals from the machine model previously received by the inference selector.

[0081] The analyzer 710 recommendation passes along with the signal through a subcomponent of a selector 720, which sets the selection parameters to appropriate values ​​for each unit of the passed input signal. Different units of the input signal, such as different frames of a video, may have different inferred selection parameters. The input video stream is then passed to a preprocessor 730 along with the inferred selection parameters.

[0082] The preprocessor 730 absorbs the input signal unit together with (multiple) reasoning selection parameters and processes the unit to fit the input parameters of the selected reasoning model. For example, the image or video frame can be scaled down and / or cropped to a lower resolution, and / or the color space (e.g., YCbCr) can be converted to a color space (e.g., RGB) accepted by the convolutional neural network. The audio signal can be converted to a spectral representation or downsampled in the time domain. The preprocessed signal is then passed to the reasoning encoder 760.

[0083] The inference encoder 760 receives the pre-processed input signal unit of the bitstream and passes it through the router 765, which parses the inference selection and sends the input signal unit to the selected inference model 770. The inference encoder 760 may contain one or more inference models 770a-770d. The inference model 770 may be pre-loaded on the encoder 610 or provided by, for example, Figure 6The machine model component 675 shown by the dashed line in FIG. 7 is sent to the encoder 610. Once the new model is sent to the encoder 610, the inference selection component 645 receives updates related to the parameters of the new inference model. The inference model 770 can take the form of any standard model for input signal processing, such as an autoencoder (AE) 770c, a generative adversarial network (GAN), a convolutional neural network (CNN) 770d, and simpler processors such as edge detectors 770a, texture detectors, scale-invariant feature transforms (SIFT) 770b, fast Fourier transforms (FFT), etc. The output of the inference encoder 660 / 760 is passed to the feature encoder 665.

[0084] Those skilled in the art will appreciate that although Figure 7 A selection of four possible reasoning models is shown, but this is merely illustrative and the proposed system places no restriction on the number of reasoning models used, which may be more or less than the four shown.

[0085] Back to Figure 6 , the inference metadata encoder 655 receives the inference model selection parameters from the inference encoder 660 and encodes them into a symbol stream associated with a timestamp for each unit processed by the inference encoder 660. The symbol stream can be generated using a standard statistical model for strings (e.g., entropy coding, variable length coding, etc.). The output of the inference metadata encoder 655 is coupled to a multiplexer 670 to form the components of the bitstream 630.

[0086] Still reference Figure 6 , the feature encoder 665 takes the output of the inference encoder 660 and applies transformation and compression to it. For example, the feature map from the neural network can be rescaled and combined with other feature maps to produce a single image or single frame of the video, which is then compressed using state-of-the-art image or video coding (e.g., Versatile Video Coding (VVC) or other advanced video coding standards). The output of the feature encoder is a feature substream that is passed to the multiplexer 670.

[0087] The multiplexer 670 receives the inference metadata substream from the inference metadata encoder 655 and the feature substream from the feature encoder 660 and applies a multiplexing operation, thereby generating a unified bitstream 630 that is sent to the VCM decoder 640 through a transmission channel.

[0088] The VCM decoder with adaptive reasoning 640 preferably includes a demultiplexer 680 that receives the bitstream 630 and parses the bitstream 630 to extract the reasoning metadata substream and the feature substream. The feature substream is provided to a feature decoder 682 that applies the inverse operation compared to the feature encoder 665 to extract features that are then passed to the reasoning decoder 684.

[0089] An inference metadata decoder 686 is coupled to the demultiplexer 680, receives the inference metadata substream, parses the inference metadata substream, and decodes the symbolic representation of the parameters, and then passes these parameters to the inference selector 688. The inference selector 688 takes the inference metadata parameters that define the inference model 770 for encoding and passes this information to the inference decoder 684.

[0090] The inference decoder 684 takes in features from both the feature decoder 682 and the inference model selection and passes these features through an appropriately selected inference model (e.g., 770). In cases where the features themselves are sufficient to make a decision, the inference decoder 684 can pass the features to the output. In cases where a second stage of inference decoding 684 is needed (e.g., where the autoencoder is separated and assigned to the VCM encoder and VCM decoder, or where the neural network is separated and the "backbone" is sent to the VCM encoder 610 and the "head" is sent to the VCM decoder 640, etc.), the inference decoder 684 passes these features through the selected inference model and produces an output for machine consumption corresponding to the encoded input signal.

[0091] A machine model 675 may be employed and may optionally be implemented in the VCM decoder 640 or located at a remote location. The machine model 675 contains information about the task and reasoning model. The machine model 675 may be pre-programmed or manually operated to produce optimal results and maintain communication with the VCM encoder 610 (and VCM decoder 640, if remote from the decoder).

[0092] Figure 8 An example of the structure of a bitstream suitable for the present systems and methods is depicted in . The stream-level header 805 contains high-level syntax describing the presence of substreams, and contains parameters of such substreams, such as length, duration, format, etc. This information is used by the demultiplexer 680 in the VCM decoder 640 to extract the substreams.

[0093] The feature substream 810 contains a feature stream header 815 that describes the feature stream payload 820 in terms of length, format, and other relevant parameters. The feature stream header 815 can be used by the feature decoder 682 to extract and decode the feature stream payload 820.

[0094] The inference metadata substream 825 contains an inference metadata header 830, which contains parameters describing the length, format, and type of the inference metadata payload 835. Alternatively, instead of a complete description of all inference model parameters, the VCM encoder 610 can signal the index of the inference model used in a lookup table, or a list that is predetermined and agreed upon between the decoder 640 and the encoder 610 (this can be facilitated using a machine model component). The list can be maintained by a central registry that updates the list and signals the update to the end user. The inference metadata header 830 can be used by the inference metadata decoder 686 to extract and decode the inference metadata payload 835.

[0095] Fig. 9 is an illustration of an example video decoder 900 (eg, Figure 1 The decoder 900 includes an entropy decoder processor 910, an inverse quantization and inverse transform processor 920, a deblocking filter 930, a frame buffer 940, a motion compensation processor 950, and an intra-frame prediction processor 960.

[0096] In operation, the video portion of the mixed bitstream may be received by the decoder 900 and input to the entropy decoder processor 910, which entropy decodes the portion of the bitstream into quantized coefficients. The quantized coefficients may be provided to the inverse quantization and inverse transform processor 920, 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 950 or the intra-frame prediction processor 960, depending on the processing mode. The output of the motion compensation processor 950 and the intra-frame prediction processor 960 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 930 and stored in the frame buffer 940.

[0097] In the examples, and still with reference to Fig. 9, the decoder 900 may include circuits configured to implement any of the operations described above in any embodiment described above in any order and with any degree of repetition. For example, the decoder 900 may be configured to repeatedly perform a single step or sequence until the desired or commanded result is achieved; use the output of the previous repetition as the input of the subsequent repetition, aggregate the input and / or output of the repetition to produce an aggregated result, reduce or decrement one or more variables such as global variables, and / or divide a larger processing task into a set of smaller processing tasks that are solved iteratively, and the repetition of steps or step sequences may be performed iteratively and / or recursively. The decoder may perform any step or step sequence as described in the present disclosure in parallel, such as using two or more parallel threads, processor cores, etc. to perform the step twice or more simultaneously and / or substantially simultaneously; the task division between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. Those skilled in the art will recognize various ways in which steps, step sequences, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iteration, recursion, and / or parallel processing when studying the entire contents of the present disclosure.

[0098] Fig.10 is an illustration of an example video encoder 1000 suitable for encoding a video portion of a mixed bitstream (eg, Figure 1 1000 receives an input video 1005, which may be initially segmented or partitioned 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 referred to as coding tree units (CTUs). In some embodiments, each CTU may be further partitioned one or more times into a number of sub-blocks referred to as coding units (CUs). The final result of this partitioning may include a group of sub-blocks that may be referred to as prediction units (PUs). Transform units (TUs) may also be utilized.

[0099] Still reference Fig.10 , the example video encoder 1000 includes an intra prediction processor 1015, a motion estimation / compensation processor 1020 (also called an inter prediction processor) capable of supporting adaptive cropping, a transform / quantization processor 1025, an inverse quantization / inverse transform processor 1030, an in-loop filter 1035, a decoded picture buffer 1040, and an entropy coding processor 1045. The bitstream parameters may be input to the entropy coding processor 1045 to be included in the output bitstream 1050.

[0100] In operation, and continue to refer to Fig.10, for each block of a frame of the input video 1005, it may be determined whether the block is to be processed via intra-picture prediction or using motion estimation / compensation. The block may be provided to an intra-prediction processor 1010 or a motion estimation / compensation processor 1020. If the block is to be processed via intra-prediction, the intra-prediction processor 1010 may perform processing to output a predictor. If the block is to be processed via motion estimation / compensation, the motion estimation / compensation processor 1020 may perform processing including using adaptive cropping (if applicable).

[0101] Still reference Fig.10 , a residual can be formed by subtracting the predicted value from the input video. The residual can be received by a transform / quantization processor 1025, which can perform a transform process (e.g., a discrete cosine transform (DCT)) to produce coefficients that can be quantized. The quantized coefficients and any associated signaling information can be provided to an entropy coding processor 1045 for entropy coding and included in an output bitstream 1050. The entropy coding processor 1045 can support the encoding of signaling information related to encoding the current block. In addition, the quantized coefficients can be provided to an inverse quantization / inverse transform processor 1030, which can reproduce pixels, which can be combined with a predictor and processed by an in-loop filter 1035, the output of which is stored in a decoded image buffer 1040 for use by a motion estimation / compensation processor 1020 capable of adaptive cropping.

[0102] Continue to refer Fig.10 Although some variations have been described in detail above, other modifications or additions are possible. For example, in some embodiments, 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.).

[0103] Still refer to Fig.10 , in some embodiments, a quadtree plus binary decision tree (QTBT) may be implemented. In QTBT, at the coding tree unit level, the partitioning parameters of the QTBT are 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 misprediction. In some embodiments, the LTR frame block update mode can be used as an additional option available at each leaf node of the QTBT.

[0104] In some embodiments, and with continued reference to Fig.10, additional syntax elements may be signaled at different hierarchical 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). In addition, a CTU flag may be encoded at the coding tree unit (CTU) level.

[0105] Still reference Fig.10 , the encoder 1000 may include circuits configured to implement any operation as described above in any order and at any degree of repetition. For example, the encoder 1000 may be configured to repeatedly perform a single step or sequence until the desired or commanded result is achieved; use the output of the previous repetition as the input of the subsequent repetition, aggregate the input and / or output of the repetition to produce an aggregated result, reduce or decrement one or more variables such as global variables, and / or divide a larger processing task into a set of smaller processing tasks that are solved iteratively, and the repetition of steps or step sequences may be performed iteratively and / or recursively. The encoder 1000 may perform any step or step sequence as described in the present disclosure in parallel, such as using two or more parallel threads, processor cores, etc. to perform the step twice or more simultaneously and / or substantially simultaneously; the task division between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. Those skilled in the art will recognize various ways in which steps, step sequences, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iteration, recursion, and / or parallel processing when reading the entire contents of the present disclosure.

[0106] Continue to refer Fig.10 , a non-transitory 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 disclosure, including but not limited to any of the operations described above. Similarly, a computer system is also described that may include one or more data processors and a memory coupled to the one or more data processors. 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 and may exchange data and / or commands or other instructions, etc., via one or more connections (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.

[0107] It should be noted that any one or more of the aspects and embodiments described herein may be conveniently implemented using digital electronic circuits, integrated circuits, specially designed application specific integrated circuits (ASICs) field programmable gate arrays (FPGAs) computer hardware, firmware, software, and / or combinations thereof, such as implemented and / or implemented in one or more machines (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.) programmed according to the teachings of this specification. This will be apparent to one of ordinary skill in the computer arts. These various aspects or features may include implementations in one or more computer programs and / or software executable and / or interpretable on a programmable system, the programmable system comprising at least one programmable processor, which may be dedicated or general purpose, coupled to receive data and instructions from a storage system, at least one input device, and at least one output device, and to send data and instructions to the storage system, at least one input device, and at least one output device.

[0108] As will be apparent to those of ordinary skill in the software arts, a skilled programmer can readily prepare appropriate software code based on the teachings of the present disclosure. The aspects and implementations of using software and / or software modules discussed above may also include appropriate hardware for the implementation of machine executable instructions to assist the software and / or software modules.

[0109] 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 a sequence of instructions for execution 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, programmable logic devices (PLDs), and / or 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, for example, a collection of a compressed disk or one or more hard disk drives combined with a computer memory. As used herein, a machine-readable storage medium does not include signal transmission in an instantaneous form.

[0110] 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, where the signal encodes a sequence of instructions or a portion thereof for execution by a machine (e.g., a computing device) and any associated information (e.g., data structures and data) that causes the machine to perform any of the methods and / or embodiments described herein.

[0111] 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 devices, 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 self-service terminal.

[0112] Fig.11 A graphical representation of one embodiment of a computing device in the exemplary form of a computer system 1100 is shown within which an instruction set for causing a control system to perform any one or more of the aspects and / or methods of the present disclosure may be executed. It is also contemplated that a plurality of computing devices may be utilized to implement a specially configured instruction set for causing one or more devices to perform any one or more of the aspects and / or methods of the present disclosure. The computer system 1100 includes a processor 1104 and a memory 1108 that communicate with each other and with other components via a bus 1112. The bus 1112 may include any of several types of bus structures using any of a variety of bus architectures, including, but not limited to, a memory bus, a memory controller, a peripheral bus, a local bus, and any combination thereof.

[0113] The memory 1108 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 1116 (BIOS) including basic routines that facilitate the transfer of information between elements within the computer system 1100, such as during startup, may be stored in the memory 1108. The memory 1108 may also include (e.g., stored on one or more machine-readable media) instructions (e.g., software) 1120 that embody any one or more of the aspects and / or methods of the present disclosure. In another example, the memory 1108 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.

[0114] The computer system 1100 may also include a storage device 1124. Examples of storage devices (e.g., storage device 1124) include, but are not limited to, hard disk drives, disk drives, optical drives combined with optical media, solid-state memory devices, and any combination thereof. The storage device 1124 may be connected to the bus 1112 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 1124 (or one or more of its components) may be removably coupled to the computer system 1100 (e.g., via an external port connector (not shown)). In particular, the storage device 1124 and the associated machine-readable medium 1128 may provide non-volatile and / or volatile storage of machine-readable instructions, data structures, program modules, and / or other data for the computer system 1100. In one example, the software 1120 may reside in whole or in part in the machine-readable medium 1128. In another example, the software 1120 may reside completely or partially within the processor 1104 .

[0115] The computer system 1100 may also include an input device 1132. In one example, a user of the computer system 1100 may input commands and / or other information into the computer system 1100 via the input device 1132. Examples of the input device 1132 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 1132 may be connected to the bus 1112 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 1112, and any combination thereof. The input device 1132 may include a touch screen interface, which may be part of or separate from the display 1136, discussed further below. The input device 1132 may be used as a user selection device for selecting one or more graphical representations in a graphical interface as described above.

[0116] The user may also input commands and / or other information to the computer system 1100 via the storage device 1124 (e.g., a removable disk drive, a flash drive, etc.) and / or the network interface device 1140. A network interface device (such as the network interface device 1140) may be used to connect the computer system 1100 to one or more of various networks (such as the network 1144) and one or more remote devices 1148 connected thereto. Examples of network interface devices include, but are not limited to, a network interface card (e.g., a mobile network interface card, a LAN card), a modem, and any combination thereof. Examples of networks include, but are not limited to, a wide area network (e.g., the Internet, an enterprise network), a local area network (e.g., a network associated with an office, a building, a campus, or other relatively small geographic space), a telephone network, a data network associated with a telephone / voice provider (e.g., a mobile communications provider data and / or voice network), a direct connection between two computing devices, and any combination thereof. A network such as the network 1144 may employ wired and / or wireless communication modes. In general, any network topology may be used. Information (eg, data, software 1120 , etc.) may be transferred to and / or from computer system 1100 via network interface device 1140 .

[0117] The computer system 1100 may also include a video display adapter 1152 for transmitting a displayable image to a display device, such as a display device 1136. Examples of display devices include, but are not limited to, a liquid crystal display (LCD), a cathode ray tube (CRT), a plasma display, a light emitting diode (LED) display, and any combination thereof. The display adapter 1152 and the display device 1136 may be used in combination with the processor 1104 to provide graphical representations of various aspects of the present disclosure. In addition to the display device, the computer system 1100 may 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 the bus 1112 via a peripheral interface 1156. Examples of peripheral interfaces include, but are not limited to, serial ports, USB connections, FireWire connections, parallel connections, and any combination thereof.

[0118] It should be noted that any one or more aspects and embodiments described herein can be conveniently implemented using one or more machines programmed according to the teachings of this specification (e.g., one or more decoders and / or encoders used as user decoders and / or encoders for electronic documents, one or more server devices such as document servers, etc.), which is obvious to those of ordinary skill in the computer field. Based on the teachings of this disclosure, a skilled programmer can easily prepare appropriate software coding. This is obvious to those of ordinary skill in the software field. The aspects and implementations of using software and / or software modules discussed above may also include appropriate hardware for the implementation of machine executable instructions for auxiliary software and / or software modules.

[0119] The above is a detailed description of an illustrative embodiment of the present invention. Various modifications and additions may be made without departing from the spirit and scope of the present invention. The features of each of the various embodiments described above may be appropriately combined with the features of other described embodiments to provide a variety of feature combinations in associated new embodiments. In addition, although a plurality of separate embodiments have been described above, the content described herein is merely an illustration of the application of the principles of the present invention. In addition, although the specific methods herein may be shown and / or described as being performed in a particular order, the order is highly variable within the ordinary technical scope to implement the embodiments disclosed herein.

[0120] Accordingly, this description is intended to be merely illustrative, and not otherwise limiting the scope of the invention.

[0121] In the above description and claims, phrases such as "at least one of ... " or "one or more of ... " may appear, followed by a connected list of elements or features. The term "and / or" may also appear in a list of two or more elements or features. Unless otherwise implicitly or explicitly contradicted by the context in which it is used, such phrases are intended to represent any one of the listed elements or features individually, or any listed element or feature in combination with any other listed element or feature. For example, the phrases "at least one of A and B", "one or more of A and B", and "A and / or B" are each intended to represent "alone A, alone B, or A and B together". Similar explanations are also intended to be used for lists including three or more items. For example, the phrases "at least one of A, B, and C", "one or more of A, B, and C", and "A, B, and / or C" are each intended to represent "alone A, alone B, alone C, A and B together, A and C together, B and C together, or A and B and C together". Additionally, the term “based on” used above and in the claims is intended to mean “based, at least in part, on” such that unrecited features or elements are also allowable.

[0122] Depending on the desired configuration, the subject matter described herein may be embodied in systems, devices, methods and / or articles. The embodiments set forth in the foregoing description do not represent all embodiments consistent with the subject matter described herein. On the contrary, they are merely some examples consistent with aspects related to the described subject matter. Although some variations have been described in detail above, other modifications or additions are possible. In particular, in addition to those set forth herein, additional features and / or variations may also be provided. For example, the above-described embodiments may be directed to various combinations and sub-combinations of the disclosed features and / or combinations and sub-combinations of several additional features disclosed above. In addition, the logical flows depicted in the accompanying drawings and / or described herein do not necessarily require the specific order shown or the sequential order to achieve the desired results. Other embodiments may be within the scope of the appended claims.

Claims

1. An encoder for video encoding for machine applications, the encoder comprising: Inference selector; an inference metadata encoder coupled to the inference selector, receiving inference model selection parameters from the inference encoder, and encoding the parameters into an inference metadata substream; the inference encoder receiving an input signal and an inference model selection parameter from the inference selector and routing the input signal to the selected inference model; a feature encoder coupled to the inference encoder and generating an encoded feature substream; A multiplexer receives the inference metadata substream from the inference metadata encoder and the feature substream from the feature encoder, and provides an encoded bitstream based on the inference metadata substream and the feature substream.

2. The encoder according to claim 1, wherein The inference selector generates a recommendation for a best matching inference model for the input signal.

3. The encoder according to claim 2, wherein: The inference selector recommends an inference model for each unit of the input signal.

4. The encoder according to claim 3, wherein: The encoder includes a plurality of inference models, and the inference encoder operates to route each unit of the input signal to an inference model recommended for the unit.

5. A video decoder for video encoding of a machine application encoded using an inference encoder, the decoder comprising: a demultiplexer, the demultiplexer being configured to receive an encoded bitstream in which features and reasoning metadata are encoded, the demultiplexer generating a feature substream and a reasoning metadata substream; an inference metadata decoder coupled to the demultiplexer and receiving the inference metadata substream and extracting from the inference metadata substream parameters of an inference model used to encode the bitstream; an inference selector, the inference selector selecting an inference model from a plurality of inference models in response to a parameter of the inference model; a feature decoder coupled to the demultiplexer, the feature decoder receiving the feature substream and extracting encoder features from the feature substream; as well as An inference decoder receives the features from the feature decoder and the selected inference model from the inference selector and provides a decoded output signal based on the features and the selected inference model.

6. The decoder according to claim 5, wherein: The bitstream includes a stream-level header having data used by the demultiplexer to extract the feature substream and the inference metadata substream from the bitstream.

7. The decoder according to claim 5, wherein: The inference metadata sub-stream also includes an inference metadata header and an inference metadata payload.

8. The decoder according to claim 6, wherein: The inference metadata header 830 is used by the inference metadata decoder 686 to extract and decode the inference metadata payload.

9. The decoder according to claim 5, wherein: The feature substream includes a feature stream header and a feature stream payload, wherein the feature stream header is used by the feature decoder to decode the feature stream payload.

10. The decoder according to claim 5, wherein: The inference selector generates a recommendation for a best matching inference model for the input signal.

11. The decoder according to claim 10, wherein: The inference selector recommends an inference model for each unit of the input signal.

12. The decoder according to claim 11, wherein: The encoder includes a plurality of inference models, and the inference encoder operates to route each unit of the input signal to an inference model recommended for the unit.

13. A bitstream for image information encoded using an inference model, comprising: Stream-level header; A feature substream, wherein the feature substream includes a feature stream header and a feature stream payload; as well as The inference metadata sub-stream includes an inference metadata header and an inference metadata payload.