Method, device and storage medium for performing feature compression
By reordering and compressing the feature channels of the video feature map, the problem of low compression efficiency of video feature data in machine vision tasks is solved, and the performance of machine video encoding is improved.
Patent Information
- Application Number
- CN202280006645.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-09-08
- Filing Date
- 2022-09-09
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-09-09
AI Technical Summary
Existing technologies are difficult to effectively compress video feature data used for machine vision tasks, resulting in low compression efficiency and waste of computing resources.
By obtaining the feature map of the video, reordering and compressing it based on the characteristics of the feature channel, an encoded bit stream is generated to improve the compression efficiency of feature data.
It achieves more efficient feature data compression, reduces the waste of computing resources, and improves the performance of machine video encoding.
Smart Images

Figure CN116325736B_ABST
Abstract
Description
[0001] Cross-references
[0002] This application claims priority to U.S. Provisional Application No. 63 / 246,217 filed in the U.S. Patent and Trademark Office on September 20, 2021, the disclosure of which is incorporated by reference in its entirety. Technical Field
[0003] Embodiments of the present disclosure relate to video coding, and more particularly, to feature compression consistent with video coding for machines (VCM). Background Art
[0004] Videos or pictures can be used by people for various purposes, such as entertainment, education, etc. Therefore, video coding or picture coding can generally utilize the characteristics of the human visual system to improve compression efficiency while maintaining good subjective quality.
[0005] Recently, with the rise of machine learning applications and the abundance of sensors, many intelligent platforms have used videos for machine vision tasks, such as object detection, segmentation, or tracking. Therefore, encoding videos or pictures for machine tasks has become an interesting and challenging problem. This has promoted the research on machine video coding (VCM). To achieve this goal, the international standards organization MPEG created the "Machine Video Coding (VCM)" expert group (Ad-Hoc group) to standardize related technologies for better interoperability between different devices. Summary of the invention
[0006] According to one or more embodiments, a method for performing feature compression is performed by at least one processor and includes: obtaining an input video; obtaining a feature map corresponding to the input video, the feature map including multiple feature channels; reordering the multiple feature channels based on at least one characteristic of the multiple feature channels; compressing the reordered multiple feature channels; and generating an encoded bitstream based on the reordered and compressed multiple feature channels.
[0007] According to one or more embodiments, a device for performing feature compression includes at least one memory, which is configured to store program code; and at least one processor is configured to read the program code and operate according to the instructions of the program code, wherein the program code includes: a first acquisition code, which is configured to enable at least one processor to acquire an input video; a second acquisition code, which is configured to enable at least one processor to acquire a feature map corresponding to the input video, wherein the feature map includes multiple feature channels; a reordering code, which is configured to enable at least one processor to reorder multiple feature channels based on at least one characteristic of the multiple feature channels; a compression code, which is configured to enable at least one processor to compress the reordered multiple feature channels; and a generation code, which is configured to enable at least one processor to generate a coded bit stream based on the reordered and compressed multiple feature channels.
[0008] According to one or more embodiments, a non-transitory computer-readable medium stores instructions, which include: one or more instructions, which, when executed by one or more processors of a device for performing feature compression, cause the one or more processors to: obtain an input video; obtain a feature map corresponding to the input video, the feature map including multiple feature channels; reorder the multiple feature channels based on at least one characteristic of the multiple feature channels; compress the reordered multiple feature channels; and generate a coded bitstream based on the compressed and reordered multiple feature channels. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Other features, properties and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings, in which:
[0010] Figure 1 is a diagram of an environment in which the methods, devices, and systems described herein may be implemented, according to an embodiment.
[0011] Figure 2 yes Figure 1 A block diagram of example components of one or more devices of.
[0012] Figure 3 is a block diagram of an example architecture for performing video encoding, according to an embodiment.
[0013] Figure 4 is a block diagram of an example feature map according to an embodiment.
[0014] Figure 5 is a flow chart of an example process for performing feature compression according to an embodiment. DETAILED DESCRIPTION
[0015] Figure 11 is a diagram of an environment 100 in which the methods, devices, and systems described herein may be implemented, according to an embodiment. Figure 1 As shown, environment 100 may include user device 110, platform 120, and network 130. The devices of environment 100 may be interconnected via wired connections, wireless connections, or a combination of wired and wireless connections.
[0016] The user device 110 includes one or more devices capable of receiving, generating, storing, processing, and / or providing information associated with the platform 120. For example, the user device 110 may include a computing device (e.g., a desktop computer, a laptop computer, a tablet computer, a handheld computer, a smart speaker, a server, etc.), a mobile phone (e.g., a smart phone, a wireless phone, etc.), a wearable device (e.g., smart glasses or a smart watch), or a similar device. In some embodiments, the user device 110 can receive information from the platform 120 and / or send information to the platform 120.
[0017] The platform 120 includes one or more devices as described elsewhere herein. In some embodiments, the platform 120 may include a cloud server or a cloud server group. In some embodiments, the platform 120 may be designed to be modular so that software components can be swapped in or out according to specific needs. Therefore, the platform 120 can be easily and / or quickly reconfigured for different uses.
[0018] In some embodiments, as shown, the platform 120 can be hosted in a cloud computing environment 122. It is worth noting that although the embodiments described herein describe the platform 120 as being hosted in a cloud computing environment 122, in some embodiments, the platform 120 may not be cloud-based (i.e., may be implemented outside of a cloud computing environment) or may be partially cloud-based.
[0019] Cloud computing environment 122 includes an environment hosting platform 120. Cloud computing environment 122 can provide computing, software, data access, storage, and other services without requiring end users (e.g., user devices 110) to be aware of the physical location and configuration of one (or more) systems and / or one (or more) devices hosting platform 120. As shown, cloud computing environment 122 can include computing resource group 124 (collectively, "computing resources 124," and individually, "computing resource 124").
[0020] The computing resources 124 include one or more personal computers, workstation computers, server devices, or other types of computing and / or communication devices. In some embodiments, the computing resources 124 can host the platform 120. Cloud resources can include computing instances executed in the computing resources 124, storage devices provided in the computing resources 124, data transmission devices provided by the computing resources 124, etc. In some embodiments, the computing resources 124 can communicate with other computing resources 124 via wired connections, wireless connections, or a combination of wired and wireless connections.
[0021] Further Figure 1 As shown, the computing resources 124 include a cloud resource group, for example, one or more applications ("APP") 124-1, one or more virtual machines ("VM") 124-2, virtualized storage ("VS") 124-3, one or more hypervisors ("HYP") 124-4, etc.
[0022] The applications 124-1 include one or more software applications that can be provided to or accessed by the user device 110 and / or the platform 120. The applications 124-1 may not require the software applications to be installed and executed on the user device 110. For example, the applications 124-1 may include software associated with the platform 120 and / or any other software that can be provided through the cloud computing environment 122. In some embodiments, one application 124-1 can send information to / receive information from one or more other applications 124-1 through the virtual machine 124-2.
[0023] The virtual machine 124-2 includes a software implementation of a machine (e.g., a computer) that executes programs like a physical machine. The virtual machine 124-2 can be a system virtual machine or a process virtual machine, depending on the purpose of the virtual machine 124-2 and the degree of correspondence with any real machine. A system virtual machine can provide a complete system platform that supports the execution of a complete operating system ("OS"). A process virtual machine can execute a single program and can support a single process. In some embodiments, the virtual machine 124-2 can execute on behalf of a user (e.g., a user device 110) and can manage the infrastructure of the cloud computing environment 122, such as data management, synchronization, or long-term data transfer.
[0024] Virtualized storage 124-3 includes one or more storage systems and / or one or more devices using virtualization technology within the storage system or device of computing resource 124. In some embodiments, in the context of a storage system, the types of virtualization may include block virtualization and file virtualization. Block virtualization may refer to extracting (or separating) logical storage from physical storage so that the storage system can be accessed without considering physical storage or heterogeneous structures. This separation may enable administrators of storage systems to flexibly manage storage for end users. File virtualization may eliminate the dependency between data accessed at the file level and the location where the file is physically stored. This may enable optimization of storage usage, server consolidation, and / or performance of non-disruptive file migration.
[0025] Hypervisor 124-4 may provide hardware virtualization technology that enables multiple operating systems (e.g., "guest operating systems") to execute concurrently on a host computer such as computing resource 124. Hypervisor 124-4 may present a virtual operating platform to the guest operating systems and may manage the execution of the guest operating systems. Multiple instances of various operating systems may share virtualized hardware resources.
[0026] The network 130 includes one or more wired and / or wireless networks. For example, the network 130 may include a cellular network (e.g., a fifth generation (5G) network, a long term evolution (LTE) network, a third generation (3G) network, a code division multiple access (CDMA) network, etc.), a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., a public switched telephone network (PSTN)), a private network, an ad hoc network, an intranet, the Internet, a fiber-based network, etc., and / or a combination of these or other types of networks.
[0027] supply Figure 1 The number and arrangement of devices and networks shown are examples. In practice, there may be additional devices and / or networks, fewer devices and / or networks, different devices and / or networks, or different Figure 1 The devices and / or networks shown in FIG. are different from the devices and / or networks set up in FIG. Figure 1 Two or more of the devices shown in may be implemented in a single device, or Figure 1 A single device shown in FIG. 1 may be implemented as multiple distributed devices. Additionally or alternatively, a device group (eg, one or more devices) of environment 100 may perform one or more functions described as being performed by another device group of environment 100.
[0028] Figure 2 yes Figure 1Device 200 may correspond to user device 110 and / or platform 120. Figure 2 As shown, device 200 may include a bus 210 , a processor 220 , a memory 230 , a storage component 240 , an input component 250 , an output component 260 , and a communication interface 270 .
[0029] The bus 210 includes components that allow communication between components of the device 200. The processor 220 is implemented in hardware, firmware, or a combination of hardware and software. The processor 220 is a central processing unit (CPU), a graphics processing unit (GPU), an accelerated processing unit (APU), a microprocessor, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or another type of processing component. In some embodiments, the processor 220 includes one or more processors that can be programmed to perform functions. The memory 230 includes a random access memory (RAM), a read-only memory (ROM), and / or another type of dynamic or static storage device (e.g., flash memory, magnetic memory, and / or optical memory) that stores information and / or instructions used by the processor 220.
[0030] Storage component 240 stores information and / or software related to the operation and use of device 200. For example, storage component 240 may include a hard disk (e.g., a magnetic disk, an optical disk, a magneto-optical disk, and / or a solid-state disk), a compact disk (CD), a digital versatile disk (DVD), a floppy disk, a cassette, a magnetic tape, and / or another type of non-transitory computer-readable medium, and a corresponding drive.
[0031] Input components 250 include components that allow device 200 to receive information, such as through user input (e.g., a touch screen display, a keyboard, a keypad, a mouse, buttons, switches, and / or a microphone). Additionally or alternatively, input components 250 may include sensors for sensing information (e.g., a global positioning system (GPS) component, an accelerometer, a gyroscope, and / or an actuator). Output components 260 include components that provide output information from device 200 (e.g., a display, a speaker, and / or one or more light emitting diodes (LEDs)).
[0032] The communication interface 270 includes transceiver-like components (e.g., a transceiver and / or a separate receiver and transmitter) that enable the device 200 to communicate with other devices (e.g., via a wired connection, a wireless connection, or a combination of wired and wireless connections). The communication interface 270 can allow the device 200 to receive information from another device and / or provide information to another device. For example, the communication interface 270 may include an Ethernet interface, an optical interface, a coaxial interface, an infrared interface, a radio frequency (RF) interface, a universal serial bus (USB) interface, a Wi-Fi interface, a cellular network interface, etc.
[0033] Device 200 may perform one or more of the processes described herein. Device 200 may perform these processes in response to processor 220 executing software instructions stored by a non-transient computer-readable medium (e.g., memory 230 and / or storage component 240). Computer-readable media is defined herein as a non-transient storage device. A memory device includes storage space within a single physical storage device or storage space distributed across multiple physical storage devices.
[0034] The software instructions may be read into the memory 230 and / or storage component 240 from another computer-readable medium or from another device through the communication interface 270. When the software instructions stored in the memory 230 and / or storage component 240 are executed, the processor 220 may be caused to perform one or more processes described herein. Additionally or alternatively, hardwired circuitry may be used in place of or in combination with software instructions to perform one or more processes described herein. Therefore, the embodiments described herein are not limited to any specific combination of hardware circuitry and software.
[0035] supply Figure 2 The number and arrangement of components shown are provided as examples. In practice, the device 200 may include Figure 2 Additional components, fewer components, different components, or differently arranged components than those shown. Additionally or alternatively, a component group (e.g., one or more components) of device 200 can perform one or more functions described as being performed by another component group of device 200.
[0036] Figure 3is a block diagram of an example architecture 300 for performing video coding according to an embodiment. In an embodiment, the architecture 300 may be a video coding for machines (VCM) architecture, or an architecture compatible with or configured to perform VCM coding. For example, the architecture 300 may be compatible with "Use cases and requirements for Video Coding for Machines" (ISO / IEC JTC 1 / SC 29 / WG 2N18), "Draft of Evaluation Framework for Video Coding for Machines" (ISO / IEC JTC 1 / SC 29 / WG 2N19), and "Call for Evidence for Video Coding for Machines" (ISO / IEC JTC 1 / SC 29 / WG2N20), the disclosures of which are incorporated herein by reference in their entirety.
[0037] In an embodiment, Figure 3 One or more of the elements shown may correspond to Figure 1 to Figure 2 or one or more of the above elements (e.g., user device 110, platform 120, device 200, or one or more of any elements included therein), or by Figure 1 to Figure 2 One or more of the above elements are implemented.
[0038] like Figure 3 As shown, the architecture 300 may include a VCM encoder 310 and a VCM decoder 320. In an embodiment, the VCM encoder may receive a sensor input 301, which may include, for example, one or more input pictures or input videos. The sensor input 301 may be provided to a feature extraction module 311, which may extract features from the sensor input, and may convert the extracted features using a feature conversion module 312, and encode the extracted features using a feature encoding module 313. In an embodiment, the term "encoding" may include the term "compression", may correspond to the term "compression", or may be used interchangeably with the term "compression". The architecture 300 may include an interface 302, which enables the feature extraction module 311 to be connected to a neural network (NN) through an interface, and the neural network (NN) may assist in performing feature extraction.
[0039] The sensor input 301 may be provided to a video encoding module 314, which may generate an encoded video. In an embodiment, after the features are extracted, converted, and encoded, the encoded features may be provided to the video encoding module 314, which may use the encoded features to help generate the encoded video. In an embodiment, the video encoding module 314 may output the encoded video as an encoded video bitstream, and the feature encoding module 313 may output the encoded features as an encoded feature bitstream. In an embodiment, the VCM encoder 310 may provide both the encoded video bitstream and the encoded feature bitstream to a bitstream multiplexer 315, which may generate an encoded bitstream by combining the encoded video bitstream and the encoded feature bitstream.
[0040] In an embodiment, the encoded bitstream may be received by a bitstream demultiplexer (demux), which may separate the encoded bitstream into an encoded feature bitstream and an encoded video bitstream that are provided to the VCM decoder 320. The encoded feature bitstream may be provided to a feature decoding module 322, which may generate decoded features, and the encoded video bitstream may be provided to a video decoding module, which may generate decoded video. In an embodiment, the decoded features may also be provided to a video decoding module 323, which may use the decoded features to help generate a decoded video.
[0041] In an embodiment, the output of the video decoding module 323 and the feature decoding module 322 may be primarily for machine use, such as a machine vision module 332. In an embodiment, the output may also be for human use, such as Figure 3 Human vision 331 is shown. A VCM system (e.g., architecture 300) from a client (e.g., from the VCM decoder 320 side) may first perform video decoding to obtain a video in a sample domain. Then, one or more machine tasks may be performed, for example, by a machine vision module 332 to understand the video content. In an embodiment, architecture 300 may include an interface 303 that may enable the machine vision module 332 to interface with a NN that may assist in performing one or more machine tasks.
[0042] from Figure 3 It can be seen that in addition to the video encoding and decoding path including the video encoding module 314 and the video decoding module 323, another path included in the architecture 300 is a feature extraction, feature encoding and feature decoding path, which includes a feature extraction module 311, a feature conversion module 312, a feature encoding module 313 and a feature decoding module 322. Examples related to these paths will be discussed in more detail below.
[0043] In an embodiment, features extracted from a source picture or a source video (e.g., sensor input 301) in the VCM encoder 310 can be directly utilized by the VCM decoder 320 or a machine vision network in the machine vision module 332. In this case, feature extraction in the VCM decoder 320 may not be required. Thus, energy savings can be achieved in the VCM encoder 310, especially when the features can be used for multiple machine vision tasks.
[0044] A feature map or a feature map signal extracted from an input image or an input video can be represented as a three-dimensional array, and the three-dimensional array can be represented as F n,h,w , where n, h, w are non-negative integers, 0 ≤ n < N, 0 ≤ h < H, 0 ≤ w < W, and where N represents the number of feature channels, H represents the height of each feature channel, and W represents the width of each feature channel. Figure 4 is a block diagram of an example feature map 400 according to an embodiment. As Figure 4 can be seen, the feature map 400 may include N channels 400-1, 400-2, 400-3,..., 400-n, corresponding to n = 0, n = 1, n = 2, ……, 400-n, respectively.
[0045] In an embodiment, if F n,h,w is represented as floating-point numbers, they can be converted to integers through mean subtraction, scaling, and quantization processes. Similar to the source picture or video, before being sent to the VCM decoder 320 due to large amounts of data, for example, the feature encoding module 313 can be used to compress the feature map at the VCM encoder 310. Thus, feature compression is also an important topic in the VCM.
[0046] However, in the feature map F n,h,w , different feature channels can exhibit different characteristics. Adjacent feature channels are not necessarily similar or highly correlated. Therefore, it may be necessary to reorder the feature channels in the feature map such that similar or correlated feature channels are placed adjacent to each other to obtain better compression efficiency. Thus, embodiments of the present disclosure can relate to a method for reordering feature channels and a corresponding signal representation method for feature compression.
[0047] In an embodiment, the feature channels in the feature map may be reordered based on the features of each feature channel. For example, the mean or variance of each feature channel in the feature map may be calculated, and the feature channels may be reordered based on the calculated feature channel mean or feature channel variance (e.g., based on an increasing or decreasing order of the feature channel mean or feature channel variance, or any other statistically based criteria). The mean may be considered a first-order moment of the feature channel, and the variance may be considered a second-order moment of the feature channel. In an embodiment, higher-order moments, such as third-order moments, may also be used to reorder the feature channels.
[0048] In an embodiment, the feature channels in the feature map may be reordered based on a metric that measures the similarity between the feature channels. For example, a correlation coefficient between a pair of feature channels (e.g., the i-th feature channel and the j-th feature channel) may be calculated. In an embodiment, the correlation coefficient may correspond to the ratio between the covariance of the feature channel pair and the product of the standard deviation of the feature channel pair.
[0049] In an embodiment, the correlation coefficient may be calculated as shown in the following formula 1:
[0050]
[0051] In formula 1, ρ i,j It can represent the correlation coefficient between the i-th feature channel and the j-th feature channel, μ i It can represent the average value of the i-th feature channel, μ j It can represent the average value of the j-th feature channel, σ i It can represent the standard deviation of the i-th feature channel, σ j It can represent the standard deviation of the j-th feature channel.
[0052] After calculating the pairwise feature channel correlation coefficients, one or more anchor feature channels, such as K anchor feature channels, may be selected, and the remaining feature channels may be clustered based on their correlation coefficients with the K anchor feature channels. For example, the K anchor feature channels may be represented as a(k), k=0, ..., K-1, where a(k) represents the feature channel index of the kth anchor feature channel. The correlation coefficient of the mth feature channel (m is not in the set {a(0), a(1), ..., a(K-1)}) is compared with a(1), ..., a(k-1), a(k+1), ..., a(K-1). If the mth feature channel has the largest correlation coefficient with a(k), then the mth feature channel may be classified as part of the cluster of a(k). In each cluster, the feature channels may be classified based on feature channel characteristics such as feature channel mean or variance. The clusters may be classified based on cluster means or variances, or based on the correlation coefficient between a(k), k=1, ..., K-1 and a(0), where the cluster of a(0) is placed at the beginning without loss of generality.
[0053] In an embodiment, a variety of methods may be used to select K anchor feature channels. For example, if N feature channels are classified based on feature channel characteristics (such as mean or variance), then each feature channels may be selected as K feature channels. In an embodiment, in addition to the above clustering method, other clustering methods may also be used, such as a hierarchical clustering method based on correlation distance.
[0054] In an embodiment, for each feature channel, the correlation coefficients of the feature channel and all other feature channels may be added together to obtain a total correlation coefficient. Then, all feature channels may be reordered (eg, in descending or ascending order) based on the total correlation coefficient.
[0055] In an embodiment, other feature channel similarity metrics such as Levene's test or KL (Kullback-Leibler) divergence may be used to reorder the feature channels.
[0056] In the VCM encoder 310, the feature channels may be reordered as described above, and the reordered feature channels may be compressed using a video coding technique (e.g., High Efficiency Video Coding (HEVC), Versatile Video Coding (VVC), or any other desired video coding technique). In addition to the encoded bitstream, information about the order of the feature channels in the feature map may be signaled to enable the VCM decoder 320 to restore the original order of the feature channels after decoding all the feature channels.
[0057] In an embodiment, information about the order of the reordered feature channels can be explicitly signaled using the arrangement order of numbers {0, 1, ..., N-1} corresponding to N feature channels, where the N feature channels are represented by {P(0), P(1), ..., P(N-1)}, where P(k) (k = 0, 1, .., N-1) indicates their original order in the feature map before reordering.
[0058] In an embodiment, information about feature channels that have only changed their positions relative to their original positions may be signaled. For example, the kth feature channel in the reordered feature map may be the P(k)th feature channel in its original order. In this case, information indicating the pair (k, P(k)) may be signaled in the bitstream. When the portion of feature channels that have changed positions is not large, it may be more efficient in terms of saving bits to signal pairs of information about the values of those feature channels that have changed positions.
[0059] In an embodiment, for the reordered feature channels, the difference between the original position and the new position can be signaled. For example, information indicating {kP(k)} (k=0, 1, ..., N-1) can be signaled in the bitstream. If most feature channels do not change position, the corresponding kP(k)=0, which can use fewer bits to signal the reordering relationship in the bitstream.
[0060] In an embodiment, the order of the reordered feature channels may be implicitly signaled. For example, if the feature channel means are used to classify the source feature channels in the feature map, the mean values of each feature channel may be signaled in the bitstream in the original order. The VCM decoder 320 may then sort the mean values to determine how the feature channels are reordered. In an embodiment, a similar approach may be applied if variance or another metric is used to classify the feature channels.
[0061] As described above, the feature channels in the feature map can be classified and fed back to the encoder, such as the feature encoding module 313, and then the encoder can determine the reference feature channel for a given feature channel based on its algorithm. In an embodiment, when encoded by a two-dimensional video codec such as HEVC, VVC, etc., the feature channel can be regarded as a picture. For example, the feature encoding module 313 can first divide the feature channel into one or more group of picture (group of picture, GOP) structures and construct one or more reference picture lists within the GOP, such as a hierarchical reference picture list.
[0062] In an embodiment, as described above, the feature encoding module 313 can determine one or more reference feature channels for a given feature channel based on a feature channel similarity metric. For example, before encoding, all feature channels can be in the original order, or reordered based on feature channel characteristics (e.g., mean or variance). During the encoding process, the feature encoding module 313 can still divide the feature channels into GOPs, or treat all feature channels as one GOP. Within a GOP, feature channels with larger total feature channel coefficients can be encoded first. When selecting reference feature channels for the encoded feature channels, only feature channels with relatively large similarity metrics can be selected. The selected codec can use its own standard-compatible method to signal the reordering results of the reference picture list.
[0063] In an embodiment, since feature channels in different clusters may not be very similar and the benefit of referring to feature channels in other clusters may be less, the encoder may treat the above K clusters as K GOPs and encode them independently.
[0064] Figure 5 is a flow chart of an example process 500 for performing feature compression. In some implementations, Figure 5 One or more processing blocks may be performed by any of the elements discussed above (eg, the VCM encoder 310 or elements included therein, such as the feature extraction module 311, the feature conversion module 312, or the feature encoding module 313).
[0065] like Figure 5 As shown, process 500 may include acquiring input video (block 502).
[0066] Further Figure 5 As shown, process 500 may include: obtaining a feature map corresponding to the input video (block 504). In an embodiment, the feature map may include multiple feature channels.
[0067] Further Figure 5 As shown, process 500 may include reordering the plurality of feature channels based on at least one characteristic of the plurality of feature channels (block 506 ).
[0068] Further Figure 5 As shown, process 500 may include compressing the reordered plurality of feature channels (block 508). In an embodiment, compressing the reordered plurality of feature channels may include or correspond to encoding the plurality of feature channels.
[0069] Further Figure 5 As shown, process 500 may include generating an encoded bitstream based on the reordered and compressed plurality of feature channels (block 510).
[0070] In an embodiment, the at least one characteristic may include at least one of the following: an average value of the plurality of feature channels, a variance of the plurality of feature channels, and a similarity of the plurality of feature channels. In an embodiment, the similarity may be determined based on a correlation coefficient between two feature channels of the plurality of feature channels, and the correlation coefficient may correspond to a ratio between a covariance between the two feature channels and a product of a standard deviation of the two feature channels.
[0071] In an embodiment, the two feature channels may include an i-th feature channel and a j-th feature channel among the plurality of feature channels, and the correlation coefficient may be calculated according to Formula 1 above.
[0072] In an embodiment, a plurality of feature channels may be classified into at least one picture group, and at least one reference picture for generating an encoded bitstream may be selected based on a correlation coefficient.
[0073] In an embodiment, the reordering may include: selecting at least one anchor feature channel from the plurality of feature channels, and clustering remaining feature channels of the plurality of feature channels into at least one cluster based on the at least one anchor feature channel.
[0074] In an embodiment, the reordering may further include: ordering the remaining feature channels within at least one cluster based on at least one of an average value of the remaining feature channels, a variance of the remaining feature channels, and a similarity of the remaining feature channels.
[0075] In an embodiment, the re-ranking may include: calculating a total correlation coefficient of each feature channel in the plurality of feature channels, and ranking the plurality of feature channels based on the total correlation coefficient.
[0076] In an embodiment, process 600 may further include signaling an order of the reordered plurality of feature channels in the encoded bitstream.
[0077] In an embodiment, the order may be signaled by indicating feature channels that have changed positions within the reordered plurality of feature channels.
[0078] In an embodiment, the order may be signaled implicitly.
[0079] Although Figure 5 An example block diagram of process 500 is shown. In some implementations, process 500 may include comparing Figure 5 Additional blocks, fewer blocks, different blocks, or a different arrangement of blocks than those shown. Additionally or alternatively, two or more blocks of process 500 may be performed in parallel.
[0080] In addition, the proposed method can be implemented by a processing circuit (eg, one or more processors or one or more integrated circuits). In one example, one or more processors execute a program stored in a non-transitory computer-readable medium to perform one or more of the proposed methods.
[0081] The techniques described above may be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media.
[0082] The embodiments of the present disclosure may be used alone or in any order. In addition, each embodiment (and method thereof) may be implemented by a processing circuit (e.g., one or more processors or one or more integrated circuits). In an example, one or more processors execute a program stored in a non-transitory computer-readable medium.
[0083] The above disclosure provides illustration and description, but is not intended to be exhaustive or to limit the implementations to the precise forms disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the implementations.
[0084] As used herein, the term component is intended to be broadly interpreted as hardware, firmware, or a combination of hardware and software.
[0085] Even if combinations of features are described in the claims and / or disclosed in the specification, these combinations are not intended to limit the possible implementations of the present application. In fact, many of these features can be combined in ways that are not specifically described in the claims and / or disclosed in the specification. Although each dependent claim listed below may directly refer to only one claim, the disclosure of possible implementations includes each dependent claim in combination with every other claim in the claims.
[0086] Any element, action or instruction used herein should not be interpreted as critical or necessary unless explicitly described as critical or necessary. In addition, the articles "one" and "an" used herein are intended to include one or more items and can be used interchangeably with "one or more". In addition, the term "group" as used herein is intended to include one or more items (e.g., related items, unrelated items, combinations of related and unrelated items, etc.), and can be used interchangeably with "one or more". If only one item is intended to be represented, the term "one" or similar language is used. In addition, the terms "having", "containing", "including", etc. used herein are intended to be open terms. In addition, unless otherwise expressly stated, the word "based on" is intended to mean "based at least in part on".
Claims
1. A method for performing feature compression, characterized in that: The method is executed by at least one processor and comprises: Get the input video; Acquire a feature map corresponding to the input video, wherein the feature map includes multiple feature channels; Reordering the plurality of feature channels based on at least one characteristic of the plurality of feature channels, the at least one characteristic comprising at least one of: an average value of the plurality of feature channels, a variance of the plurality of feature channels, and a similarity of the plurality of feature channels; determining the similarity based on a correlation coefficient between two feature channels of the plurality of feature channels, wherein the correlation coefficient corresponds to a ratio between a covariance of the two feature channels and a product of standard deviations of the two feature channels; Dividing the plurality of feature channels into at least one picture group structure, selecting at least one reference picture for generating a coded bitstream based on the correlation coefficient, and constructing at least one reference picture list within the picture group structure; compressing the reordered multiple feature channels; and The encoded bitstream is generated based on the reordered and compressed plurality of feature channels.
2. The method according to claim 1, characterized in that The two feature channels include the i-th feature channel and the j-th feature channel in the plurality of feature channels, and The correlation coefficient is calculated according to the following formula: in, represents the correlation coefficient, represents a three-dimensional array indicating the feature map, represents the width of the feature map, Represents the width index, represents the height of the feature map, represents the height index, represents the average value of the i-th feature channel, represents the average value of the j-th feature channel, represents the standard deviation of the i-th feature channel, and represents the standard deviation of the j-th feature channel.
3. The method according to claim 1, characterized in that The reordering includes selecting at least one anchor feature channel from the plurality of feature channels, and clustering remaining feature channels of the plurality of feature channels into at least one cluster based on the at least one anchor feature channel.
4. The method according to claim 3, characterized in that The reordering further includes ordering the remaining feature channels within the at least one cluster based on at least one of an average value of the remaining feature channels, a variance of the remaining feature channels, and a similarity of the remaining feature channels.
5. The method according to claim 1, characterized in that The reordering includes: calculating a total correlation coefficient of each feature channel in the plurality of feature channels, and ordering the plurality of feature channels based on the total correlation coefficient.
6. The method according to claim 1, characterized in that The method further comprises signaling an order of the reordered plurality of feature channels in the encoded bitstream.
7. The method according to claim 6, characterized in that The order is signaled by indicating a feature channel that changes position within the reordered plurality of feature channels.
8. The method according to claim 6, characterized in that The order is signaled implicitly.
9. A device for performing feature compression, characterized in that The device comprises: at least one memory configured to store program code; and At least one processor is configured to read the program code and execute the method according to any one of claims 1 to 8 according to instructions of the program code.
10. A non-transitory computer-readable medium storing instructions, characterized in that: The instructions include: one or more instructions, which, when executed by one or more processors of a device for performing feature compression, cause the one or more processors to perform the method according to any one of claims 1 to 8.
