System and method for video encoding features using sub-pictures

By encoding features into sub-pictures and combining them with convolutional neural networks, the problem of low efficiency of traditional video encoding methods in machine consumption is solved, and efficient video compression and decoding is achieved, suitable for video data consumed by machines and humans at the same time.

CN118696348APending Publication Date: 2024-09-24OP SOLUTIONS
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202280091649.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-12-23
Filing Date
2022-12-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Traditional video encoding methods are inefficient in processing video data consumed by machines in industrial environments, resulting in long real-time analysis and decision-making times, and difficulty in meeting the video encoding needs of simultaneous consumption by machines and humans.

Method used

A method is adopted to encode features into video frames that can be divided into multiple sub-pictures. Features are extracted through a convolutional neural network, and feature units are grouped into sub-pictures for encoding and decoding. A hybrid video decoder is used to receive the video and feature sub-streams to For consumption by machines and humans.

Benefits of technology

It improves video compression efficiency and decoding speed, saves bandwidth and computing resources, and is suitable for video data consumed by machines and humans at the same time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118696348A
    Figure CN118696348A
Patent Text Reader

Abstract

Systems and methods are disclosed for video encoding visual features using picture structures, such as sub-pictures, to independently encode individual features or sets of features. An encoding method includes: extracting a plurality of features from an image, each of the image features being represented as a two-dimensional feature unit; grouping the feature units into at least one sub-picture of the frame; and encoding the video frame into a bitstream. A compatible decoder for reconstructing a feature sequence is also provided.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to U.S. Provisional Patent Application S / N. 63 / 293,486, filed on December 23, 2021, entitled “SYSTEMS AND METHODS FOR VIDEOCODING OF FEATURES USING SUBPICTURES,” the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present invention generally relates to the field of video encoding and decoding. In particular, the present invention relates to a system and method for organizing and searching a video database. Background Art

[0004] A video codec may include electronic circuits or software that compresses or decompresses digital video. It can convert uncompressed video to a compressed format, or 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.

[0005] The format of the compressed data may conform to standard video compression specifications. The compression may be lossy in that the compressed video lacks some information 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.

[0006] There can 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), and so on.

[0007] Motion compensation may include methods of predicting a video frame or a portion thereof given a reference frame, such as a previous frame and / or a future frame, by taking into account the motion of the camera and / or objects in the video. It can be used for encoding and decoding of video data for video compression, such as for encoding and decoding using the Advanced Video Coding (AVC) standard (also known as H.264) of the Moving 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, and may be future when compared to the current picture. Compression efficiency can be improved when images can be accurately synthesized from previously transmitted and / or stored images.

[0008] While video content is typically thought of as being for human consumption, there is a growing demand for video in industrial settings and other environments where content is evaluated by machines rather than humans.

[0009] 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, without ever reaching human eyes. 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 Video Coding for Machines 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.

[0010] In many applications, such as surveillance systems with multiple cameras, smart transportation, smart city applications, and / or smart industrial applications, traditional video encoding may need to compress large amounts of video from cameras and transmit over the network for machine consumption and for human consumption. Subsequently, at the machine site, algorithms for feature extraction can typically be applied using convolutional neural networks or deep learning techniques, including object detection, event action recognition, pose estimation, etc. Summary of the invention

[0011] A method for encoding features into a video frame that can be divided into multiple sub-pictures. The method includes the following steps: processing an image to extract multiple features, representing each of the image features as a two-dimensional feature unit; grouping the feature units into at least one sub-picture of the frame; and encoding the video frame into a bitstream.

[0012] Processing the image to extract features may include a convolutional neural network (CNN) having a plurality of processing layers, and wherein features are extracted as outputs of each layer. The grouping step may include selecting feature units based on one or more characteristics, including (1) features representing similar spatial characteristics, (2) features representing similar object types, (3) features extracted using the same filter, (4) features from spatially adjacent regions; (5) features from the same layer of the CNN, and (6) features relevant to a specific task at the decoder side.

[0013] Parameters of a feature unit in at least one sub-picture may be signaled in the bitstream. The parameters may include: (1) a flag to signal if the feature unit is present; (2) the number of feature units in the sub-picture; (3) the position and size of each feature unit in sequence; and (4) a feature unit type identifier.

[0014] An encoder may be provided that practices the above encoding method.

[0015] A method for decoding an encoded bit stream having at least one frame divided into a plurality of sub-pictures, wherein the sub-pictures have a plurality of feature units arranged therein, the method comprising the steps of identifying at least one sub-picture having a plurality of feature units spatially arranged therein, and reconstructing a feature unit sequence from the feature units spatially arranged in the sub-pictures.

[0016] The reconstructing step may include ordering the feature units based on a predetermined mapping. Alternatively or additionally, the reconstructing step may include ordering the feature units based on information signaled in the encoded bitstream. In some cases, each sub-picture in a frame has at least one feature unit.

[0017] A hybrid video decoder may include a demultiplexer for receiving an encoded bitstream having a video substream and a feature substream. The feature substream includes at least one frame divided into a plurality of subpictures, wherein the subpictures have a plurality of feature units arranged therein. The hybrid video decoder also includes a video decoder for receiving the video substream and providing a video output for a human viewer and a feature decoder for receiving the feature substream. The feature decoder identifies at least one subpicture having a plurality of feature units spatially arranged therein and reconstructs a feature unit sequence from the feature units spatially arranged in the subpicture.

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

[0019] For the purpose of illustrating the invention, the accompanying drawings show various aspects of one or more embodiments of the invention. However, it should be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the accompanying drawings, in which:

[0020] Figure 1 is a block diagram illustrating an exemplary embodiment of a video encoding system;

[0021] Figure 2 is a block diagram illustrating an exemplary embodiment of video encoding for a machine system;

[0022] Figure 3is a block diagram illustrating an exemplary embodiment of a VCM system;

[0023] Figure 4 is a schematic diagram of a picture structure in an exemplary embodiment of the VVC standard;

[0024] Figure 5 is a schematic diagram of an example of a CNN having feature maps in layers 1 to n;

[0025] FIG6 is a block diagram of arranging continuous feature units into a spatial rectangular layout;

[0026] FIG7 is a block diagram of one possible arrangement of feature units to sub-pictures, with an equivalent VVC structure for comparison;

[0027] Figure 8 It is a block diagram of inter-frame prediction performed within a sub-picture, which improves coding efficiency;

[0028] Fig. 9 is a block diagram illustrating an exemplary embodiment of a machine learning module;

[0029] Fig.10 is a schematic diagram illustrating an exemplary embodiment of a neural network;

[0030] Fig.11 is a schematic diagram illustrating an exemplary embodiment of a node of a neural network;

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

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

[0033] Fig.14 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 with phantom lines, diagrammatic representations, and incomplete 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] Figure 1An exemplary embodiment of a VVC-compliant encoding / decoding system including a channel applied to a machine is shown. Unfortunately, conventional approaches may require a large amount of video transmission from multiple cameras, which may take a lot of time to make efficient and fast real-time analysis and decisions. In some embodiments, the VCM approach can solve this problem by encoding the video at the transmitter site and extracting some features, and then transmitting the resulting encoded bitstream to a VCM decoder. At the decoder site, the video can be decoded for human vision, and the features can be decoded for machines. 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.

[0036] "Features" as used in this disclosure are specific structures and / or content attributes of data. Examples of features may include SIFT, audio features, color histograms (hist), motion histograms, speech levels, loudness levels, etc. Features may be timestamped. 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 occur to a person skilled in the art after reviewing the entire contents of this disclosure. As another non-limiting example, features may include features that describe the spatial and / or temporal characteristics of a frame or a set of frames. Examples of features that describe spatial and / or temporal characteristics may include motion, texture, color, brightness, edge count, blur, block effects, etc.

[0037] 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 applicable to both machine-based systems and hybrid systems.

[0038] Figure 11 is a high-level block diagram of a system for encoding and decoding video in a hybrid system that includes human audience consumption of video content and machine consumption. A source video is received by a video encoder 105 that 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 to the compressed bitstream to extract video for human vision 115 and task analysis and feature extraction 120 for machine consumption. Feature extraction can be classified as any computer vision task, such as edge detection, line detection, object detection, or more recent techniques, such as convolutional neural networks, where the output of feature extraction can be spatially mapped back to the pixel space of the input video. Video encoding can include any standard video encoder and / or encoding technique, such as Advanced Video Codec (AVC), Versatile Video Coding (VVC), or High Efficiency Video Coding (HEVC).

[0039] Reference now Figure 2 , an exemplary embodiment of an encoder for video coding (VCM) of a machine is shown. The VCM encoder 202 can be implemented using any circuit including but not limited to digital and / or analog circuits; the VCM encoder 202 can be configured using hardware configuration, software configuration, firmware configuration and / or any combination thereof. The VCM encoder 202 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 202 can be configured to receive an input video 204 and generate an output bitstream 208. The reception of the input video 204 can be implemented in any manner described below. The bitstream can include but is not limited to any bitstream as described below.

[0040] The VCM encoder 202 may include, but is not limited to, a preprocessor 206, a video encoder 210, a feature extractor 215, an optimizer 220, a feature encoder 225, and / or a multiplexer 230. The preprocessor 206 may receive an input video 204 stream and parse out video, audio, and metadata substreams of the stream. The preprocessor 206 may include and / or communicate with a decoder, as described in further detail below; in other words, the preprocessor 206 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.

[0041] Further references Figure 2, VCM encoder 202 can operate in hybrid mode and / or video mode. When in hybrid mode, VCM encoder 200 can be configured to encode visual signals intended for human consumers and to encode feature signals intended for machine consumers; machine consumers may include, but are not limited to, any device and / or component, including, but not limited to, a computing device as described in further detail below. For example, when in hybrid mode, the input signal can pass through preprocessor 206.

[0042] Still reference Figure 2 , the video encoder 210 may include, but is not limited to, any video encoder 210 described in further detail below. When the VCM encoder 202 is in hybrid mode, the VCM encoder 202 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 215. The modifications to the input video 204 may include any scaling, transformation, or other modifications that would occur to a person of ordinary skill in the art after reviewing the entirety of this disclosure. For example, but not limited to, the input video 204 may be rescaled to a smaller resolution, a specific number of pictures in a sequence of pictures in the input video 204 may be discarded, the frame rate of the input video 204 may be reduced, color information may be modified, for example, but not limited to, by converting RGB video to grayscale video, and the like.

[0043] Still reference Figure 2 , the video encoder 210 and the feature extractor 215 are connected and may exchange useful information in both directions. For example, but not limited to, the video encoder 210 may pass motion estimation information to the feature extractor 220, and vice versa. The video encoder 210 may provide a quantization map and / or data description thereof based on a region of interest (ROI) that the video encoder 210 and / or the feature extractor 215 may identify to the feature extractor 215, and vice versa. The video encoder 210 may provide the feature extractor 215 with data describing one or more partitioning decisions 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 218 may provide the video encoder 210 with data describing one or more partitioning decisions 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 210 feature extractor 215 may share and / or transmit 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.

[0044] 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. "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 timestamped. 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 occur to a person skilled in the art after reviewing the entire contents of this disclosure. As another non-limiting example, features may include features that describe spatial and / or temporal characteristics of a frame or a set of frames. Examples of features that describe spatial and / or temporal characteristics may include motion, texture, color, brightness, edge count, 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 constructors, etc. When in online mode, one or more models may be transmitted to the feature extractor 220 by a remote machine in real time or at some point prior to extraction.

[0045] Still reference Figure 2 , the feature encoder 225 is configured to encode a feature signal, such as, 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 225. The feature encoder 225 may use entropy coding and / or similar techniques (such as, but not limited to, those described below) to generate a feature stream, which may be passed to the multiplexer 230. The video encoder 210 and / or the feature encoder 225 may be connected via the optimizer 220; the optimizer 220 may exchange useful information between the video encoder 210 and the feature encoder 225. For example, but not limited to, information related to codeword construction and / or entropy coding length may be exchanged and reused by the optimizer 220 for optimal compression.

[0046] In one embodiment, continue to refer to Figure 2, the video encoder 210 can generate a video stream; the video stream can be passed to the multiplexer 230. The multiplexer 230 can multiplex the video stream with the feature stream generated by the feature encoder 225; alternatively or additionally, the video and feature bitstreams can be sent to different devices through different channels, different networks, and / or sent at different times or time intervals (time multiplexing). Each of the video stream and the feature stream can be implemented in any manner suitable for implementing any bitstream described in the present disclosure. In one embodiment, multiplexing the video stream and the feature stream can produce a mixed bitstream, which can be transmitted as described in further detail below.

[0047] Still reference Figure 2 , where the VCM encoder 200 is in video mode, the VCM encoder 200 may use the video encoder 210 for video and feature encoding. The feature extractor 220 may transmit the features to the video encoder 210; the video encoder 210 may encode the features into a video stream decodable by a corresponding video decoder 250. It should be noted that the VCM encoder 200 may use a single video encoder 210 for 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 be two separate video encoders 210 that may operate in parallel.

[0048] Still reference Figure 2 , system 200 may include and / or communicate with a VCM decoder 240. VCM decoder 240 and / or its elements may be implemented using any circuit and / or type of configuration suitable for the configuration of VCM encoder 200 as described above. VCM decoder 240 may include, but is not limited to, a demultiplexer 245. Demultiplexer 245 may be operable to demultiplex a bitstream (if multiplexed as described above). For example, but not limited to, demultiplexer 245 may separate a multiplexed bitstream containing one or more video bitstreams and one or more feature bitstreams into separate video and feature bitstreams.

[0049] Continue to refer Figure 2 , the VCM decoder 240 may include a video decoder 250. The video decoder 250 may be implemented in any manner suitable for a decoder described in further detail below, but is not limited thereto. In one embodiment, but not limited thereto, the video decoder 250 may generate an output video that may be viewed by a human or other creature and / or a device having visual perception capabilities.

[0050] Still reference Figure 2, the VCM decoder 240 may include a feature decoder 255. In one embodiment, but not limited to, the feature decoder 255 may be configured to provide one or more decoded data to the machine. The 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. The machine may operate, store, train, receive input from, generate output for, and / or otherwise interact with a machine model, as described in more detail below. The machine may be included in the Internet of Things (IoT), which is defined as a network of objects with processing and communication components, some of which may not be conventional computing devices such as desktop computers, laptops, and / or mobile devices. Objects in 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); one or more components may include, but are not limited to, a wireless transceiver, such as a BLUETOOTH transceiver that communicates in the 2.4-2.485 GHz frequency band, such as a protocol promulgated by Bluetooth SIG, Inc., Kirkland, Washington, and / or a network communication component that operates according to the MODBUS protocol promulgated by Schneider Electric SE, Rueil-Malmaison, France, and / or the ZIGBEE specification of the IEEE 802.15.4 standard promulgated by the Institute of Electrical and Electronics Engineers (IEEE). A person skilled in the art will recognize, after reviewing the entire contents of this disclosure, various alternative or additional communication protocols and devices that support such protocols that can be used consistently with this disclosure, each of which is considered to be within the scope of this disclosure.

[0051] Continue to refer Figure 2Each of the VCM encoder 202 and / or the VCM decoder 240 may be designed and / or configured to perform any method, method step, or sequence of method steps in any embodiment described in the present disclosure in any order and with any degree of repetition. For example, each of the VCM encoder 202 and / or the VCM decoder 240 may 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 may be performed iteratively and / or recursively using the output of a previous repetition as the input of a subsequent repetition, thereby aggregating the input and / or output of the repetition to produce an aggregated result, reducing or decrementing one or more variables such as global variables, and / or dividing a larger processing task into a collection of iteratively addressed smaller processing tasks. Each of the VCM encoder 202 and / or the VCM decoder 240 may perform any step or sequence of steps as described in the present disclosure 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 may be performed according to any protocol suitable for dividing tasks between iterations. Those skilled in the art, after reviewing the entirety of this disclosure, 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.

[0052] The present systems and methods are based on a machine learning architecture that supports multiple tasks for end users. The most common machine learning architecture in use today is a neural network. One of the drawbacks of simple single-task neural networks is the time complexity and computational cost of training. In order to achieve high performance, neural networks must typically be trained using very large data sets with hundreds of thousands and sometimes millions of samples (e.g., images and videos). Training a separate network each time a new use case emerges can be highly redundant and resource-wasting. Therefore, methods have been developed to reuse trained portions of a neural network for multiple tasks. By training a portion of the network to support multiple tasks, users can save storage space, computing power, and reduce energy consumption.

[0053] Figure 3 is a simplified block diagram illustrating an alternative exemplary embodiment of a VCM system. Huge amounts of image and video data are recorded and analyzed every day by humans and machines. Efforts are ongoing to optimize video compression for both human consumption such as Versatile Video Coding (VVC) and machine consumption such as Machine Video Coding (VCM). Since features preserve some statistical properties of the input image / video, they can be encoded using an existing video encoder instead. Figure 3As shown, the features can be encoded using a video encoder 2 325, which uses standard tools in video compression for humans to encode visual features used by machines to analyze visual information. At the decoder site, the features are decoded by a compatible decoder (video decoder 2 355).

[0054] While compression targeted at humans is optimized for the statistical properties of natural scenes, compression targeted at machines is task-specific. Examples of tasks include object detection, face detection, person identification, segmentation, tracking, event detection, etc. To accomplish a specific task, a machine system extracts useful features from the input image / video. Some features can be generic and shared between tasks, while other features are task-specific. Examples of features are edges, corners, descriptors, contours, gradients, labels, motion vectors, etc. Features are obtained through a feature extraction process. Feature extraction can be done using simple computer vision methods such as edge detection, corner detection, image filtering, etc., or more complex methods based on convolutional neural networks (CNNs). Once the features are extracted, they can be encoded / compressed and sent to a decoder / machine. Feature encoding is done using classical methods such as variable length coding (VLC), entropy coding, Huffman coding, or more advanced methods such as compact descriptors for video analysis (CDVA).

[0055] Figure 4 is a schematic diagram of a typical picture structure in an exemplary embodiment compliant with the VVC standard. Specifically, the proposed method utilizes picture partitioning such as sub-pictures, which are part of the VVC standard.

[0056] In VVC, pictures are typically divided into coding tree units (CTUs) 405, tiles 410, and slices 415. A sub-picture may be a rectangular partition comprising one or more slices. The layout and size of the positions of the sub-pictures may be the same for all pictures in a coded video sequence, which is a self-contained sequence of coded pictures. Each sub-picture sequence may be encoded so that it may be extracted and decoded without the presence of any other sub-picture sequence.

[0057] Features can be extracted from images, for example by using convolutional neural networks. Figure 55 is a schematic diagram of an example of a CNN with feature maps in layers 1 to n. In this example, an input picture 505 is input into the CNN and applied to a first layer including a convolutional layer 510 and a pooling layer 515. A first set of feature maps 530 may be output from the first layer. A CNN may be formed of any number n of layers, each layer having an associated convolutional layer 525, a pooling layer 530, and an associated feature map 535 for that layer. The output of the nth pooling layer may be applied to a deep neural network 540.

[0058] A feature unit is the two-dimensional output of the feature extraction process and can represent, for example, a bitmap of detected edges, a bitmap of binary masks for object detection and segmentation, the filtered output of gradient detection, etc. A feature unit can also represent a feature map that is the output of any layer of a CNN, such as Figure 5 Depicted. In the present system and method, sub-pictures are used to pack feature units into picture frames to efficiently encode features using conventional video coding. Each sub-picture may contain one or more feature units. Preferably, the feature units are arranged into sub-pictures based on local similarity to improve intra prediction as well as temporal similarity, thereby allowing efficient inter prediction.

[0059] Fig. 6A is arranged as Figure 6B 6. A simplified schematic diagram of consecutive feature units 605, 610, 615, 620 in a spatial rectangular layout in FIG. Once the feature units are available, they can be arranged in spatial order and inserted into the picture to be video encoded, as depicted in FIG. 6. The feature units can be arranged in a rectangular sequence based on the filter order or some other proximity metric. The arrangement of feature units to sub-pictures can be performed by a default spatial arrangement, or the arrangement can be signaled in the bitstream.

[0060] Figure 7B is a simplified schematic diagram of an exemplary arrangement of feature units in a sub-picture, which has Fig. 7A In this example, the feature units are grouped into six sub-pictures 705, 710, 715, 720, 725, 730 of different sizes, as shown in Figure 7BDepicted. After the picture is populated with feature units, decisions are made about which feature units are encoded independently and which feature units are grouped together using a sub-picture structure. The decision about grouping features into sub-pictures can be performed based on, but not limited to, one or more of the following criteria: (1) features representing similar properties, such as vertical lines, horizontal lines, textures of the same frequency, etc.; (2) features representing the same object type, such as faces, people, cars, etc.; (3) features extracted using the same filter; (4) features from spatially adjacent regions; (5) features from the same layer of a CNN; (6) features related to a specific task on the decoder side.

[0061] Figure 8 is a block diagram of inter-frame prediction performed within a sub-picture, thereby improving coding efficiency. As described above, the arrangement of feature units within a sub-picture preferably groups the feature units to allow efficient motion prediction. Figure 8 B shows a sub-picture in the current frame, where Figure 8 The motion of feature unit 620 is predicted by inter-frame prediction of the previous frame in A. When evaluating similarity with previous frames, the search is generally not limited to the boundaries of the feature unit. In this example, the best match with feature unit 620 is found in block 805, and an appropriate motion vector can be determined to predict the resulting motion from the previous frame.

[0062] Any given sub-picture containing feature units is preferably sent to the decoder along with information signaling the presence, number, and characteristics of the feature units. For example, the following information may be signaled in a bitstream having a sub-picture with feature units: (1) a flag signaling if the feature unit is present or absent; (2) the number of feature units in the sub-picture; (3) the position (e.g., upper left corner) and size (width and height) of each feature unit in order; (4) a feature unit type identifier. It should be understood that these blocks of information are merely illustrative, and other characteristics may be sent in addition or instead. For example, other data may be sent to indicate size and position rather than upper left corner, width, and height, such as using a different corner as a reference, or using coordinates of diagonally opposite corners, such as upper left corner and lower right corner.

[0063] To signal this metadata, the encoder can use the high-level syntax structures of the already available video standards. For example, if encoding using the VVC standard, the relevant information can be stored as parameters in the picture header (feature type) and slice header (feature current flag, number of features in a sub-picture, dimensions). The rest of the information needed on the decoder side can be transmitted using the Supplemental Enhancement Information (SEI) parameter group.

[0064] Encoding feature units into sub-pictures can provide many advantages. Grouping feature units into task-specific sub-pictures can allow the decoder to request only relevant information, saving bandwidth as well as computational and energy costs. In addition, when motion estimation and prediction are performed on similar feature units, related feature units can be encoded using collocated sub-pictures, allowing for improved efficiency of video compression, as depicted in FIG7 . Furthermore, arranging feature units into independent sub-pictures allows the decoder to efficiently query, select, and refine different feature types that can be used for combined tasks.

[0065] Feature units mapped to sub-pictures are preferably remapped to the feature space at decoding time. The position of feature units in a picture or sub-picture may change over time to improve correlation and thereby obtain better compression. The mapping of feature unit identifiers to sub-pictures or CTUs may be specified in the bitstream header. Such information may be in a picture or slice header, allowing the feature unit mapping to be changed in each frame. Some implementations may fix the mapping of feature units to sub-pictures and positions in pictures and eliminate the need to signal feature unit mapping.

[0066] Table 1: Example syntax for feature cell mapping

[0067]

[0068] Table 1 shows an example syntax for feature unit mapping. In this example, the order of feature units is implicit from the neural network architecture. Instead of sub-picture identifiers, CTU locations can also be signaled.

[0069] Table 2: Example syntax for feature cell mapping using pixel locations

[0070]

[0071] The location of the feature unit can be mapped using a positional reference, such as the upper left corner of the feature map in a picture or sub-picture. In this case, the feature map has a rectangular shape. Alternative implementations that similarly allow the decoded picture / sub-picture to be remapped to the feature map at the receiver / decoder are contemplated by the present disclosure.

[0072] The systems and methods described in the present disclosure may be implemented and / or interact with any systems, system components, methods, and / or method steps described in PCT application PCT / US22 / 53579, entitled “VIDEO AND FEATURE CODING FOR MULTI-TASK MACHINE LEARNING,” filed on December 21, 2022, the entire contents of which are incorporated herein by reference.

[0073] Reference now Fig. 9 , which illustrates an exemplary embodiment of a machine learning module 900 that can perform one or more machine learning processes as described in the present invention. The machine learning module can use machine learning processes to perform the determination, classification and / or analysis steps, methods, processes, etc. described in the present disclosure. A "machine learning process" as used in the present disclosure is a process that automatically uses training data 904 to generate an algorithm that will be executed by a computing device / module to produce an output 908 given data provided as input 912. 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.

[0074] Still reference Fig. 9 As used herein, "training data" is data containing correlations that a machine learning process can use to model the relationship between two or more data element categories. For example, but not limited to, training data 904 may include multiple data entries, each entry representing a group of data elements that are recorded, received and / or generated together; data elements may be associated by shared presence in a given data entry, by proximity in a given data entry, etc. Multiple data entries in training data 904 may give rise to one or more trends in correlations between data elements of various categories; for example, but not limited to, a higher value of a first data element belonging to a first category of data elements may tend to be associated with a higher value of a second data element belonging to a second category of data elements, thereby indicating a possible proportion or other mathematical relationship connection value belonging to the two categories. In training data 904, multiple categories of data elements may be associated according to various correlations. Correlations may indicate causal and / or predictive connections between data elements of various categories, which may be modeled as relationships such as mathematical relationships by a machine learning process, as described in further detail below. Training data 904 may be formatted and / or organized according to categories of data elements, such as by associating data elements with one or more descriptors corresponding to the categories of data elements. As a non-limiting example, training data 904 may include data entered by a person or process in a standardized form so that entries of given data elements in given fields in a table can be mapped to one or more category descriptors. Elements in training data 904 may be linked to descriptors of categories by tags, tokens, or other data elements; for example, but not limited to, training data 904 may be provided in a fixed-length format, a format that links the location of data to a category, such as a comma-separated value (CSV) format, and / or a self-describing format such as Extensible Markup Language (XML), JavaScript Object Notation (JSON), etc., so that a process or device can detect the category of the data.

[0075] Alternatively or additionally, and with continued reference to Fig. 9 , the training data 904 may include one or more unclassified elements; that is, the training data 904 may not be formatted or contain descriptors for certain elements of the data. The machine learning algorithm and / or other process may classify the training data 904 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 relevant and / or other processing algorithms. As a non-limiting example, in a text corpus, phrases that consist of multiple "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; such n-grams may be classified as language elements such as "words", tracked in a manner similar to individual words, and new categories generated as a result of statistical analysis. Similarly, in a data entry that includes some text data, a person's name may be identified by reference to a list, dictionary, or other compendium of terms, allowing ad-hoc classification by a machine learning algorithm, and / or automatically associating the data in the data entry with a descriptor or to a given format. The ability to automatically classify data entries can enable the same training data 904 to be applicable to two or more different machine learning algorithms, as described in further detail below. The training data 904 used by the machine learning module 900 can relate any input data as described in the present disclosure to any output data as described in the present disclosure. As a non-limiting example

[0076] Further references Fig. 9, one or more supervised and / or unsupervised machine learning processes and / or models may be used to filter, classify and / or select training data, as described in further detail below; such models may include, but are not limited to, training data classifiers 916. Training data classifiers 916 may include a "classifier," which, as used in the present disclosure, 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 and outputs categories or bins of data and / or labels associated therewith. A classifier may be configured to output at least one data that labels or otherwise identifies a group of data that are clustered together, found to be close under a distance metric, as described below, etc. The machine learning module 900 may generate a classifier using a classification algorithm, which is defined as a process by which a computing device and / or any module and / or component operating thereon derives a classifier from the training data 904. Classification can be performed using, but not limited to, linear classifiers such as, but not limited to, logistic regression and / or naive Bayes classifiers, nearest neighbor classifiers such as k-nearest neighbor classifiers, support vector machines, least squares support vector machines, Fisher linear discriminant, quadratic classifiers, decision trees, boosted trees, random forest classifiers, learning vector quantization, and / or neural network based classifiers.

[0077] Still reference Fig. 9 , the machine learning module 900 can be configured to perform a lazy learning process 920 and / or protocol, which can optionally be referred to as a "lazy load" or "call when needed" process and / or protocol, which can be a process in which machine learning is performed upon receiving an input to be converted to an output by combining the input and the training set to derive an algorithm for producing an 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 heuristics can include ranking of associations between inputs and elements of the training data 904. Heuristics can include selecting a certain number of the highest ranked associations and / or training data 904 elements. Lazy learning can implement any suitable lazy learning algorithm, including but not limited to the K nearest neighbor algorithm, the lazy Bayes algorithm, and the like; those skilled in the art, after reviewing the entire contents of this disclosure, will be aware of various lazy learning algorithms that can be applied to generate outputs as described in the present disclosure, including but not limited to lazy learning applications of machine learning algorithms as described in further detail below.

[0078] Alternatively or additionally, and with continued reference to Fig. 9, a machine learning model 924 may be generated using a machine learning process as described in the present disclosure. A "machine learning model" as used in the present disclosure is a mathematical and / or algorithmic representation of a relationship between an input and an output, generated using any machine learning process, including but not limited to any process as described above, and stored in a memory; once an input is created, the input is submitted to the machine learning model 924, 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 may 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 924 may be generated by creating an artificial neural network, such as a convolutional neural network including an input layer of nodes, one or more intermediate layers, and an output layer of nodes. Connections between nodes may be created by a process of "training" the network, in which elements from a set of training data 904 are applied to input nodes, and then connections and weights between nodes in adjacent layers of the neural network are adjusted using a suitable training algorithm (such as Levenberg-Marquardt, conjugate gradient, simulated annealing, or other algorithms) to produce desired values ​​at output nodes. This process is sometimes referred to as deep learning.

[0079] Still reference Fig. 9 , the machine learning algorithm may include at least a supervised machine learning process 928. As defined herein, at least one supervised machine learning process 928 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 certain 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 disclosure, and a scoring function that represents the desired 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 represented as a risk function that represents the "expected loss" of the algorithm that relates the input to the output, 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 904. After reading the entire contents of this disclosure, those skilled in the art will recognize various possible variations of at least one supervised machine learning process 928 that can be used to determine the relationship between the input and the output. The supervised machine learning process may include a classification algorithm as defined above.

[0080] Further references Fig. 9, the machine learning process may include at least an unsupervised machine learning process 932. As used herein, an unsupervised machine learning process is a process that derives inferences in a data set without regard to labeling; as a result, 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.

[0081] Still reference Fig. 9 , the machine learning module 900 can be designed and configured to create a machine learning model 924 using techniques for developing linear regression models. The linear regression model can include ordinary least squares regression, which aims to minimize the square of the difference between the predicted result and the actual result according to an appropriate norm (e.g., a vector space distance norm) for measuring such a difference; 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 square of each coefficient 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 a least squares term multiplied 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 network model, a multi-task elastic network model, a minimum angle regression model, a LARS 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 reading the entire disclosure. 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; a method similar to the above method may be applied to minimize the error function, which will be apparent to a person skilled in the art after reading the entire disclosure.

[0082] Continue to refer Fig. 9, the machine learning algorithms may include, but are not limited to, linear discriminant analysis. The machine learning algorithms may include quadratic discriminant analysis. The machine learning algorithms may include kernel ridge regression. The machine learning algorithms may include support vector machines, including but not limited to regression processes based on support vector classification. The machine learning algorithms may include stochastic gradient descent algorithms, including classification and regression algorithms based on stochastic gradient descent. The machine learning algorithms may include nearest neighbor algorithms. The machine learning algorithms may include various forms of latent space regularization, such as variational regularization. The machine learning algorithms may include Gaussian processes, such as Gaussian process regression. The machine learning algorithms may include cross decomposition algorithms, including partial least squares and / or canonical correlation analysis. The machine learning algorithms may include naive Bayesian methods. Machine learning algorithms may include decision tree based algorithms, such as decision tree classification or regression algorithms. Machine learning algorithms may include ensemble methods, such as bagging meta-estimators, random tree forests, AdaBoost, gradient tree boosting, and / or voting classifier methods. Machine learning algorithms may include neural network algorithms, including convolutional neural network processes.

[0083] Reference now Fig.10 , an exemplary embodiment of a neural network 1000 is shown. Neural network 1000, 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, including an input layer of nodes, one or more intermediate layers, and an output layer of nodes. Connections between nodes can be created by 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 (such as Levenberg-Marquardt, conjugate gradient, simulated annealing, or other algorithms) is used to adjust the connections and weights between nodes in adjacent layers of the neural network to produce desired values ​​at the output nodes. This process is sometimes referred to as deep learning. Connections can run only from input nodes to 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 "recurrent network."

[0084] Reference now Fig.11 , showing 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 inputs to 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 such that a bias is added to each unit in a neural network layer independent of the inputs to the layer. The weighted sum may then be input to the function In this function One or more outputs y may be generated. The weights wi applied to the inputs xi may indicate whether the input is "excitatory", indicating that it has a strong influence on the one or more outputs y, for example, by a corresponding weight having a large value, and / or indicating that it has a weak influence on the one or more inputs y, for example, by a corresponding weight having a small value. The values ​​of the weights wi may be determined by training a neural network using training data, which may be performed using any suitable process as described above.

[0085] Still reference Fig.11 As used in this disclosure, a "convolutional neural network" is a neural network in which at least one hidden layer is a convolutional layer that convolves the input with a subset of the input called a "kernel" and one or more additional layers (e.g., 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.

[0086] Fig.12 12 is a system block diagram illustrating an example decoder 1200 capable of adaptive clipping. The decoder 1200 may include an entropy decoder processor 1204, an inverse quantization and inverse transform processor 1208, a deblocking filter 1212, a frame buffer 1216, a motion compensation processor 1220 and / or an intra prediction processor 1224.

[0087] In operation, still refer to Fig.12 , the bitstream 1228 may be received by the decoder 1200 and input to the entropy decoder processor 1204, 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 1208, 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 1220 or the intra-frame prediction processor 1224, depending on the processing mode. The output of the motion compensation processor 1220 and the intra-frame prediction processor 1224 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 1212 and stored in the frame buffer 1216.

[0088] In one embodiment, still referring to Fig.12, the decoder 1200 may include circuits configured to implement any of the above operations in any of the above embodiments in any order and with any degree of repetition. For example, the decoder 1200 may 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 may be iteratively and / or recursively performed using the output of a previous repetition as the input of a subsequent repetition, thereby aggregating the input and / or output of the repetition to produce an aggregated result, reducing or decrementing one or more variables such as global variables, and / or dividing a larger processing task into a collection of smaller processing tasks that are iteratively addressed. The decoder may perform any step or sequence of steps as described in the present disclosure in parallel, such as performing two or more steps simultaneously and / or substantially simultaneously using two or more parallel threads, processor cores, etc.; the division of tasks between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. A person skilled in the art will know 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 after reviewing the entire contents of the present disclosure.

[0089] Fig.13 is a system block diagram illustrating an example video encoder 1300 suitable for use with the present systems and methods. The example video encoder 1300 may receive an input video 1304, 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 called coding tree units (CTUs). In some implementations, each CTU may be further partitioned into multiple sub-blocks called coding units (CUs) one or more times. The final result of the partitioning may include a set of sub-blocks that may be referred to as prediction units (PUs). Transform units (TUs) may also be utilized.

[0090] Still reference Fig.13 , the example video encoder 1300 may include an intra prediction processor 1308, a motion estimation / compensation processor 1312, which may also be referred to as an inter 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 1316, an inverse quantization / inverse transform processor 1320, an in-loop filter 1324. A decoded picture buffer 1328 and / or an entropy coding processor 1332. The bitstream parameters may be input to the entropy coding processor 1332 to be included in the output bitstream 1336.

[0091] In operation, and continue to refer to Fig.13, for each block of the input video frame, 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 prediction processor 1308 or a motion estimation / compensation processor 1312. If the block is to be processed via intra prediction, the intra prediction processor 1308 may perform processing to output a predictor. If the block is to be processed via motion estimation / compensation, the motion estimation / compensation processor 1312 may perform processing including constructing a motion vector candidate list, the motion vector candidate list including adding a global motion vector candidate to the motion vector candidate list, if applicable.

[0092] Further references Fig.13 , a residual may be formed by subtracting the predictor from the input video. The residual may be received by a transform / quantization processor 1316, 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 1332 for entropy coding and inclusion in an output bitstream 1336. The entropy coding processor 1332 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 1320, which may reproduce pixels that may be combined with a predictor and processed by a loop filter 1324, the output of which may be stored in a decoded picture buffer 1328 for use by a motion estimation / compensation processor 1312, which may be capable of constructing a motion vector candidate list including adding a global motion vector candidate to the motion vector candidate list.

[0093] Continue to refer Fig.13 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.).

[0094] In some implementations, reference is still made to Fig.13 , 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 is available as an additional option available at each leaf node of the QTBT.

[0095] In some implementations, and still with reference to Fig.13, additional syntax elements can be signaled at different hierarchical levels of the bitstream. For example, a flag can be enabled for the entire sequence by including an enable flag encoded in a sequence parameter set (SPS). In addition, a CTU flag can be encoded at the coding tree unit (CTU) level.

[0096] Some embodiments may include a non-transitory computer program product (ie, physically implemented 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.

[0097] Still reference Fig.13 , the encoder 1300 may include circuits configured to implement any operation in any of the above embodiments in any order and any degree of repetition. For example, the encoder 1300 may 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 may be iteratively and / or recursively performed using the output of a previous repetition as the input of a subsequent repetition, thereby aggregating the input and / or output of the repetition to produce an aggregated result, reducing or decrementing one or more variables such as global variables, and / or dividing a larger processing task into a collection of smaller processing tasks that are iteratively addressed. The encoder 1300 may perform any step or sequence of steps as described in the present disclosure in parallel, such as performing two or more steps simultaneously and / or substantially simultaneously using two or more parallel threads, processor cores, etc.; the division of tasks between parallel threads and / or processes may be performed according to any protocol suitable for dividing tasks between iterations. A person skilled in the art will know various ways in which steps, sequences of steps, processing tasks, and / or data may be subdivided, shared, or otherwise processed using iteration, recursion, and / or parallel processing after reviewing the entire contents of the present disclosure.

[0098] Continue to refer Fig.13, a non-transitory computer program product (i.e., a physically implemented 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 and / or any operations that the decoder 900 and / or encoder 1300 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 across 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 direct connections between one or more of a plurality of computing systems, etc.

[0099] 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 computing devices used as user computing devices for electronic documents, one or more server devices, such as document servers, etc.), which will be apparent to those of ordinary skill in the computer arts. Based on the teachings of this disclosure, a skilled programmer can easily prepare appropriate software coding, which will be apparent to those of ordinary skill in the software arts. 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.

[0100] Such software may be a computer program product using a machine-readable storage medium. A machine-readable storage medium may be any medium capable of storing and / or encoding a sequence of instructions executed by a machine (e.g., a computing device) and causing the machine to perform 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., CD, CD-R, DVD, DVD-R, etc.), magneto-optical disks, read-only memory "ROM" devices, random access memory "RAM" devices, magnetic cards, optical cards, solid-state storage devices. EPROM, EEPROM, and any combination thereof. The machine-readable medium used herein is intended to include a single medium and a collection of physically separated media, for example, a compact disk or 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 signal transmission in an instantaneous form.

[0101] Such software may also include information (e.g., data) carried as a data signal on a data carrier (e.g., a carrier wave). For example, machine executable information may be included as a data-bearing signal contained 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.

[0102] 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 that specifies actions to be taken by the machine. And any combination thereof. In one example, the computing device may include and / or be included in an information station.

[0103] Fig.14 A diagrammatic representation of one embodiment of a computing device is shown in the exemplary form of a computer system 1400 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 invention 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 of the devices to perform any one or more of the aspects and / or methods of the present invention. The computer system 1400 includes a processor 1404 and a memory 1408 that communicate with each other and with other components via a bus 1412. The bus 1412 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.

[0104] Processor 1404 may include any suitable processor, such as, but not limited to, a processor including logic circuits for performing arithmetic and logic operations, such as an arithmetic and logic unit (ALU), which may be regulated by a state machine and guided by operational inputs from memory and / or sensors; processor 1404 may be organized according to Von Neumann and / or Harvard architectures, as non-limiting examples. Processor 1404 may include, include and / or be included 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).

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

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

[0107] The computer system 1400 may also include an input device 1432. In one example, a user of the computer system 1400 may input commands and / or other information into the computer system 1400 via the input device 1432. Examples of the input device 1432 include, but are not limited to, an alphanumeric input device (e.g., a keyboard), a pointing device, a joystick, a game pad, 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 1432 may be connected to the bus 1412 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 1412, and any combination thereof. The input device 1432 may include a touch screen interface, which may be part of the display 1436 or separate from the display 1436, which will be discussed further below. The input device 1432 may be used as a user selection device for selecting one or more graphical representations in the graphical interface as described above.

[0108] The user may also input commands and / or other information to the computer system 1400 via a storage device 1424 (e.g., a removable disk drive, a flash drive, etc.) and / or a network interface device 1440. A network interface device such as the network interface device 1440 may be used to connect the computer system 1400 to one or more of various networks such as the network 1444, and one or more remote devices 1448 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 1444 may employ wired and / or wireless communication modes. In general, any network topology may be used. Information (eg, data, software 1420 , etc.) may be transferred to and / or from computer system 1400 via network interface device 1440 .

[0109] The computer system 1400 may also include a video display adapter 1452 for transmitting displayable images to a display device, such as a display device 1436. 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. The display adapter 1452 and the display device 1436 may be used in conjunction with the processor 1404 to provide a graphical representation of aspects of the present disclosure. In addition to the display device, the computer system 1400 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 1412 via a peripheral interface 1456. Examples of peripheral interfaces include, but are not limited to, serial ports, USB connections, FIREWIRE connections, parallel connections, and any combination thereof.

[0110] The exemplary embodiments of the present invention have been described in detail above. 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 the other described embodiments so as to provide a variety of feature combinations in associated new embodiments. In addition, although many separate embodiments have been described above, what is described here is merely an illustration of the application of the principles of the present invention. In addition, although the specific methods herein may be described and / or described as being performed in a specific order, the order is highly variable within the scope of ordinary technology to implement methods, systems and software according to the present invention. Therefore, this specification is only provided by way of example and does not otherwise limit the scope of the present invention.

[0111] Exemplary embodiments have been disclosed above and shown in the accompanying drawings. It will be appreciated 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 a feature into a video frame, wherein the video frame can be divided into a plurality of sub-pictures, the method comprising: Processing images to extract multiple features; Representing each of the image features as a two-dimensional feature unit; grouping the feature units into at least one sub-picture of the frame; and The video frames are encoded into a bitstream.

2. The method of claim 1, wherein the processing image comprises a convolutional neural network (CNN) having a plurality of processing layers, and wherein the feature is extracted as the output of each layer.

3. The method of claim 2, wherein the grouping step includes selecting feature units based on at least one of: (1) features representing similar spatial properties, (2) features representing similar object types, (3) features extracted using the same filter, (4) features from spatially adjacent regions; (5) features from the same layer of the CNN, and (6) features related to a specific task on the decoder side. 4 . The method of claim 1 , wherein parameters of the feature unit in the at least one sub-picture are signaled in the bitstream.

5. The method of claim 4, wherein the parameters include at least one of: (1) a flag that signals if a feature unit is present; (2) the number of feature units in the sub-image; (3) the position and size of each feature unit in sequence; and (4) a feature unit type identifier.

6. An encoder implementing the method according to any one of claims 1 to 5.

7. A method for decoding a video signal, the method comprising: receiving an encoded bitstream having at least one frame divided into a plurality of sub-pictures, the sub-pictures having a plurality of feature units arranged therein; identifying at least one sub-picture having a plurality of feature cells spatially arranged therein; A feature unit sequence is reconstructed from the feature units spatially arranged in the sub-picture. The method of claim 7 , wherein the reconstructing further comprises ordering the feature cells based on a predetermined mapping.

9. The method of claim 7, wherein the reconstructing further comprises ordering the feature units based on information signaled in the encoded bitstream.

10. The method of claim 7, wherein each sub-picture comprising the frame has at least one feature unit.

11. A decoder implementing the method according to any one of claims 7 to 10.

12. A hybrid video decoder comprising: a demultiplexer receiving a coded bitstream having a video substream and a feature substream, the feature substream having at least one frame divided into a plurality of subpictures, the subpictures having a plurality of feature units arranged therein; a video decoder that receives the video substream and provides a video output for a human viewer; A feature decoder, the feature decoder receiving the feature substream, the feature decoder: identifying at least one sub-picture having a plurality of feature cells spatially arranged therein; and A feature unit sequence is reconstructed from the feature units spatially arranged in the sub-picture.

Citation Information

Patent Citations

  • US22/53579