Method and apparatus for multi-scale neural image compression using intra prediction residuals, and computer program product

By employing block-based intra-prediction and multiscale processing for neural image compression, the method improves encoding efficiency by encoding residuals, offering a flexible framework for various intra-prediction methods and quality metrics.

JP7551206B2Active Publication Date: 2024-09-17TENCENT AMERICA LLC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022536607
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-05-28
Filing Date
2021-06-15
Publication Date
2024-09-17
Estimated Expiration
2041-06-15

AI Technical Summary

Technical Problem

Traditional neural image compression methods encode the entire image, which is inefficient and can be improved by using block-based intra-prediction and residual coding mechanisms, and multiscale processing to enhance encoding performance.

Method used

Implement a method and apparatus for multiscale neural image compression using intra-prediction residuals, involving downsampling, generating prediction residuals, encoding and decoding these residuals, and applying different coding strategies at various scales to improve efficiency.

Benefits of technology

This approach significantly enhances the efficiency of neural image compression by encoding residuals rather than original pixels, allowing for better encoding performance and flexible framework adaptation to different intra-prediction methods and quality metrics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007551206000085
    Figure 0007551206000085
  • Figure 0007551206000086
    Figure 0007551206000086
  • Figure 0007551206000083
    Figure 0007551206000083
Patent Text Reader

Abstract

A method for multi-scale neural image compression using intra-prediction residuals is implemented by at least one processor and includes the steps of downsampling an input image, generating a current predicted image based on a previously reconstructed predicted image, and generating a prediction residual based on a difference between the downsampled input image and the generated current predicted image. The method further includes the steps of encoding the generated prediction residual, decoding the encoded prediction residual, and generating a currently reconstructed predicted image based on an addition of the current predicted image and the decoded prediction residual. The method further includes the steps of upsampling the currently reconstructed predicted image, generating a scaled residual based on a difference between the input image and the upsampled currently reconstructed predicted image, and encoding the scaled residual.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application is based on and claims priority to U.S. Provisional Patent Application No. 63 / 074,405, filed September 3, 2020, and U.S. Patent Application No. 17 / 333,319, filed May 28, 2021, in the United States Patent and Trademark Office, the disclosures of which are incorporated herein by reference in their entireties. [Background technology]

[0002] ISO / IEC MPEG (JTC 1 / SC 29 / WG 11) has been actively exploring potential needs for standardization of future video coding technologies. ISO / IEC JPEG has established a JPEG-AI group focused on AI-based end-to-end neural image compression using deep neural networks (DNNs). Recent successes of methods have led to increasing industrial interest in advanced neural image and video compression methodologies.

[0003] Given an input image x, the goal of neural image compression (NIC) is to generate a compressed representation x that is compact for storage and transmission, using x as the input to a DNN encoder.

number

number

number

number

number

number

[0004] Instead of directly encoding the entire original image, a block-based intra prediction and residual coding mechanism has proven to be very effective in compressing image frames in modern video coding standards such as High Efficiency Video Coding (HEVC) and Versatile Video Coding (VVC). The entire image is divided into blocks of various sizes, and a prediction block is generated by copying the boundary pixels of the previous compressed block along various angular directions. Then, the residual between the original block and the prediction block is compressed. The residual can be coded much more efficiently than the original pixels, and better coding performance can be achieved.

[0005] Multi-scale processing is another effective mechanism to improve the efficiency of learned image representations for image reconstruction tasks such as NIC. By using different coding strategies at different scales, better coding performance can be achieved. [Means for solving the problem]

[0006] According to an embodiment, a method of multi-scale neural image compression using intra prediction residuals is implemented by at least one processor and includes the steps of downsampling an input image, generating a current predicted image based on a previously reconstructed predicted image, and generating a prediction residual based on a difference between the downsampled input image and the generated current predicted image. The method further includes the steps of encoding the generated prediction residual, decoding the encoded prediction residual, and generating a currently reconstructed predicted image based on an addition of the current predicted image and the decoded prediction residual. The method further includes the steps of upsampling the currently reconstructed predicted image, generating a scaled residual based on a difference between the input image and the upsampled currently reconstructed predicted image, and encoding the scaled residual.

[0007] According to an embodiment, an apparatus for multi-scale neural image compression using intra prediction residuals includes at least one memory configured to store a program code and at least one processor configured to read the program code and operate as instructed by the program code. The program code includes a downsampling code configured to cause the at least one processor to downsample an input image, a first generating code configured to cause the at least one processor to generate a current predicted image based on a previously reconstructed predicted image, and a second generating code configured to cause the at least one processor to generate a prediction residual based on a difference between the downsampled input image and the generated current predicted image. The program code further includes a first encoding code configured to cause the at least one processor to encode the generated prediction residual, a first decoding code configured to cause the at least one processor to decode the encoded prediction residual, and a third generating code configured to cause the at least one processor to generate a currently reconstructed predicted image based on an addition of the current predicted image and the decoded prediction residual. The program code further includes an upsampling code configured to cause the at least one processor to upsample the currently reconstructed predicted image, a fourth generating code configured to cause the at least one processor to generate a scaled residual based on a difference between the input image and the upsampled currently reconstructed predicted image, and a second encoding code configured to cause the at least one processor to encode the scaled residual.

[0008] According to an embodiment, a non-transitory computer-readable medium storing instructions, which when executed by at least one processor for multi-scale neural image compression with intra prediction residuals, cause the at least one processor to downsample an input image, generate a current predicted image based on a previously reconstructed predicted image, and generate a prediction residual based on a difference between the downsampled input image and the generated current predicted image. When executed by the at least one processor, the instructions further cause the at least one processor to encode the generated prediction residual, decode the encoded prediction residual, and generate a currently reconstructed predicted image based on an addition of the current predicted image and the decoded prediction residual. When executed by the at least one processor, the instructions further cause the at least one processor to upsample the currently reconstructed predicted image, generate a scaled residual based on a difference between the input image and the upsampled currently reconstructed predicted image, and encode the scaled residual. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram of an environment in which the methods, apparatus, and systems described herein may be implemented, according to an embodiment. [Diagram 2] 2 is a block diagram of example components of one or more devices of FIG. 1. [Diagram 3] FIG. 1 is a block diagram of an encoder for multi-scale neural image compression with intra-prediction residuals according to an embodiment. [Figure 4] 1 is a block diagram of an apparatus for block-based intra prediction according to an embodiment. [Diagram 5] FIG. 2 is a block diagram of a decoder for multi-scale neural image compression with intra-prediction residuals according to an embodiment. [Figure 6] FIG. 1 is a block diagram of a decomposed scale residual coding DNN and a decomposed prediction residual coding DNN according to an embodiment. [Figure 7]FIG. 1 is a block diagram of a decomposed scale residual decoding DNN and a decomposed prediction residual decoding DNN according to an embodiment. [Figure 8] 1 is a flowchart of a method for multi-scale neural image compression using intra prediction residuals according to an embodiment. [Figure 9] FIG. 1 is a block diagram of an apparatus for multi-scale neural image compression using intra-prediction residuals according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] This disclosure describes a NIC framework for compressing input images with DNNs using multi-scale residuals from block-based intra prediction.

[0011] FIG. 1 is a diagram of an environment 100 in which the methods, apparatus, and systems described herein may be implemented, according to an embodiment.

[0012] 1, environment 100 may include a user device 110, a platform 120, and a network 130. The devices of environment 100 may be interconnected via wired connections, wireless connections, or a combination of wired and wireless connections.

[0013] User device 110 includes one or more devices capable of receiving, generating, storing, processing, and / or providing information associated with platform 120. For example, 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 smartphone, a wireless phone, etc.), a wearable device (e.g., a pair of smart glasses or a smart watch), or a similar device. In some implementations, user device 110 may receive information from platform 120 and / or transmit information to the platform.

[0014] Platform 120 includes one or more devices as described elsewhere herein. In some implementations, platform 120 may include a cloud server or a group of cloud servers. In some implementations, platform 120 may be designed to be modular such that software components may be swapped in or out. Thus, platform 120 may be easily and / or quickly reconfigured for different uses.

[0015] In some implementations, as shown, platform 120 may be hosted in a cloud computing environment 122. Notably, although implementations described herein describe platform 120 as being hosted in a cloud computing environment 122, in some implementations platform 120 may not be cloud-based (i.e., may be implemented outside of a cloud computing environment) or may be partially cloud-based.

[0016] Cloud computing environment 122 includes an environment that hosts platform 120. Cloud computing environment 122 can provide services, such as computation, software, data access, storage, etc., that do not require end-user (e.g., user device 110) knowledge of the physical location and configuration of the systems and / or devices that host platform 120. As shown, cloud computing environment 122 may include a group of computing resources 124 (collectively referred to as “computing resources 124” and individually as “computing resource 124”).

[0017] Computing resources 124 include one or more personal computers, workstation computers, server devices, or other types of computing and / or communication devices. In some implementations, computing resources 124 may host platform 120. Cloud resources may include compute instances running on computing resources 124, storage devices provided on computing resources 124, data transfer devices provided by computing resources 124, etc. In some implementations, computing resources 124 may communicate with other computing resources 124 via wired connections, wireless connections, or a combination of wired and wireless connections.

[0018] As further shown in FIG. 1, computing resources 124 include a group of cloud resources, such as one or more applications (“APP”) 124-1, one or more virtual machines (“VM”) 124-2, virtualized storage (“VS”) 124-3, and one or more hypervisors (“HYP”) 124-4.

[0019] Application 124-1 includes one or more software applications that may be provided to or accessed by user device 110 and / or platform 120. Application 124-1 may eliminate the need to install and run a software application on user device 110. For example, application 124-1 may include software associated with platform 120 and / or any other software that may be provided via cloud computing environment 122. In some implementations, one application 124-1 may send information to or receive information from one or more other applications 124-1 via virtual machine 124-2.

[0020] Virtual machine 124-2 includes a software implementation of a machine (e.g., a computer) that executes programs like a physical machine. Virtual machine 124-2 may be either a system virtual machine or a process virtual machine, depending on the use by virtual machine 124-2 and its compatibility with any real machine. A system virtual machine may provide a complete system platform that supports the execution of a complete operating system ("OS"). A process virtual machine may execute a single program and support a single process. In some implementations, virtual machine 124-2 may run on behalf of a user (e.g., user device 110) and manage the infrastructure of cloud computing environment 122, such as data management, synchronization, or long-term data transfer.

[0021] Virtualized storage 124-3 includes one or more storage systems and / or one or more devices that use virtualization techniques within the storage systems or devices of computing resources 124. In some implementations, within the context of storage systems, types of virtualization may include block virtualization and file virtualization. Block virtualization may refer to the abstraction (or separation) of logical storage from physical storage such that the storage system may be accessed without regard to the physical storage or heterogeneous structure. The separation may allow flexibility in how storage system administrators manage storage for end users. File virtualization may eliminate the dependency between data accessed at the file level and where the file is physically stored. This may enable optimization of storage usage, server consolidation, and / or smooth file migration performance.

[0022] The hypervisor 124-4 may provide hardware virtualization technology that allows multiple operating systems (e.g., "guest operating systems") to run simultaneously on a host computer, such as the computing resource 124. The 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.

[0023] Network 130 includes one or more wired and / or wireless networks. For example, 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, an optical fiber-based network, etc., and / or a combination of these or other types of networks.

[0024] The number and arrangement of devices and networks shown in Figure 1 are provided as an example. In practice, there may be additional devices and / or networks, fewer devices and / or networks, different devices and / or networks, or different arrangements of devices and / or networks relative to those shown in Figure 1. Furthermore, two or more devices shown in Figure 1 may be implemented within a single device, or a single device shown in Figure 1 may be implemented as multiple distributed devices. Additionally or alternatively, a set of devices (e.g., one or more devices) of environment 100 may perform one or more functions described as being performed by another set of devices of environment 100.

[0025] FIG. 2 is a block diagram of example components of one or more devices of FIG.

[0026] The device 200 may correspond to the user device 110 and / or the platform 120. As shown in FIG. 2, the device 200 may include a bus 210, a processor 220, a memory 230, a storage 240, an input interface 250, an output interface 260, and a communication interface 270.

[0027] The bus 210 includes components that enable communication between the 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 implementations, the processor 220 includes one or more processors that are programmable to perform functions. The memory 230 includes random access memory (RAM), 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 for use by the processor 220.

[0028] Storage 240 stores information and / or software related to the operation and use of device 200. For example, storage 240 may include a hard disk (e.g., a magnetic disk, optical disk, magneto-optical disk, and / or solid-state disk), a compact disk (CD), a digital versatile disk (DVD), a floppy disk, cartridges, magnetic tape, and / or another type of non-transitory computer-readable medium along with a corresponding drive.

[0029] Input interface 250 includes components that enable device 200 to receive information, such as via user input (e.g., a touchscreen display, a keyboard, a keypad, a mouse, buttons, switches, and / or a microphone). Additionally or alternatively, input interface 250 may include sensors for sensing information (e.g., a global positioning system (GPS) component, an accelerometer, a gyroscope, and / or an actuator). Output interface 260 includes components that provide output information from device 200 (e.g., a display, a speaker, and / or one or more light emitting diodes (LEDs)).

[0030] Communications interface 270 includes transceiver-like components (e.g., a transceiver and / or a separate receiver and transmitter) that enable device 200 to communicate with other devices via a wired connection, a wireless connection, or a combination of wired and wireless connections, etc. Communications interface 270 may enable device 200 to receive information from another device and / or provide information to another device. For example, communications 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.

[0031] The device 200 can perform one or more processes described herein. The device 200 may perform these processes in response to the processor 220 executing software instructions stored by a non-transitory computer-readable medium, such as memory 230 and / or storage 240. A computer-readable medium is defined herein as a non-transitory memory device. A memory device includes memory space within a single physical storage device or memory space spread across multiple physical storage devices.

[0032] Software instructions may be loaded into memory 230 and / or storage 240 from another computer-readable medium or from another device via communication interface 270. When executed, the software instructions stored in memory 230 and / or storage 240 can cause processor 220 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. Thus, the implementations described herein are not limited to any specific combination of hardware circuitry and software.

[0033] The number and arrangement of components shown in Figure 2 are provided as an example. In practice, device 200 may include additional, fewer, different, or differently arranged components relative to those shown in Figure 2. Additionally or alternatively, a set of components (e.g., one or more components) of device 200 may perform one or more functions that are described as being performed by another set of components of device 200.

[0034] Next, a method and apparatus for multi-scale neural image compression using intra prediction residuals is described in detail.

[0035] The embodiments described herein include a multi-scale block-based intra prediction and residual coding framework for NIC. To significantly improve NIC coding efficiency, two mechanisms are used: encoding the residual between the predicted block and the original block instead of encoding the original pixels, and using different coding strategies at different scales.

[0036] Figure 3 is a block diagram of an encoder 300 for multi-scale neural image compression using intra-prediction residuals according to an embodiment. Figure 4 is a block diagram of an apparatus 400 for block-based intra-prediction according to an embodiment. Figure 5 is a block diagram of a decoder 500 for multi-scale neural image compression using intra-prediction residuals according to an embodiment.

[0037] As shown in FIG. 3, the encoder 300 includes a downsampler 310, an intra predictor 320, a subtractor 330, a DNN prediction residual encoder 340, a DNN prediction residual decoder 350, an adder 360, an upsampler 370, a subtractor 380, and a DNN scale residual encoder 390.

[0038] On the encoder side, the downsampler 310 downsamples the input image x to generate a downsampled image x'.

number

number

number

[0039] The DNN prediction residual encoder 340 encodes the prediction residual r′ and generates the encoded prediction residual

number

number

number

number

number

number

[0040] The upsampler 370 receives the restored predicted image

number

number

number

number

[0041] In an embodiment, the downsampler 310 uses a downsampling DNN that includes both convolutional and pooling layers to generate a downsampled image x' from an input image x. The upsampler 370 uses an upsampling DNN to generate an output high-scale signal from an input low-scale signal. The upsampling DNN may include several deconvolutional layers. In an embodiment, any of the more complex DNNs, such as those used for image super-resolution, may also be used as the upsampling DNN.

[0042] In an embodiment, the intra predictor 320 uses a block-by-block intra prediction mechanism: the downsampled image x′ (and the corresponding prediction residual r′) is divided into multiple blocks, and the DNN prediction residual encoder 340 processes these blocks one by one based on a predefined scanning order.

[0043] As shown in FIG. 4, the apparatus 400 for block-based intra prediction includes an intra predictor 410, a subtractor 420, a DNN prediction residual encoder 430, and a DNN prediction residual decoder 440.

[0044] A set of previously reconstructed or previously restored predicted blocks

number

number

number

number

[0045] Residual block b' r is passed through the DNN prediction residual encoder 430 to produce the encoded prediction residual

number

number

number

number

number

number

number

number

number

number

number

[0046] As shown in FIG. 5, the decoder 500 includes a DNN scaled residual decoder 510, a DNN predicted residual decoder 520, an intra predictor 530, an adder 540, an upsampler 550, and an adder 560.

[0047] On the decoder side, as shown in FIG. 3, the DNN scale residual decoder 510 generates the encoded scale residual

number

number

number

number

number

[0048] The adder 540 outputs the decoded prediction residual

number

number

number

number

number

number

number

number

[0049] In an embodiment, the decoder-side intra predictor 530 uses the same block-by-block intra prediction mechanism as the encoder-side.

number

number

number

number

number

number

number

[0050] In an embodiment, the DNN scaled residual encoder 390 encodes the residual r using a scaled residual encoding DNN. The DNN prediction residual encoder 340 encodes the prediction residual r′ using a prediction residual encoding DNN. The DNN scaled residual decoder 510 encodes the encoded scaled residual r′ using a scaled residual decoding DNN.

number

number

[0051] This disclosure does not impose any constraints on the network structures for the downsampling DNN, upsampling DNN, predictive DNN, scaled residual encoding / decoding DNN, and predicted residual encoding / decoding DNN.

[0052] The goal of the training process is to learn a downsampling DNN, a predictive DNN, a scaled residual coding DNN, a predictive residual coding DNN, an upsampling DNN, a scaled residual decoding DNN, and a predictive residual decoding DNN. In the training process, the weight coefficients of the above DNNs to be trained are initialized, for example, by using the corresponding pre-trained DNN model or by setting them to random values. Then, the input training image x passes through the encoding process described in FIG. 3 to generate the encoded residual

number

number

number

number

number

number

number

[0053]

number

[0054] Where:

number

[0055] 6 is a block diagram of a decomposed scale residual coding DNN and a decomposed prediction residual coding DNN according to an embodiment. FIG. 7 is a block diagram of a decomposed scale residual decoding DNN and a decomposed prediction residual decoding DNN according to an embodiment.

[0056] Training with a large hyperparameter λ results in a compressed model with low distortion but high bit consumption, and vice versa.To learn the weight coefficients of the DNNs, the scaled residual-encoded DNN and the predicted residual-encoded DNN are decomposed into two parts as shown in Figure 6. Similarly, the scaled residual-decoded DNN and the predicted residual-decoded DNN are decomposed into two parts as shown in Figure 7.

[0057] As shown in Figure 6, the scale residual coding DNN is decomposed into a neural scale residual encoder 610 followed by a scale residual encoder 620. The corresponding processing module is also decomposed into a neural scale residual encoding module followed by a scale residual encoding module. Similarly, the predictive residual coding DNN is decomposed into a neural predictive residual encoder 630 followed by a predictive residual encoder 640. The corresponding processing module is also decomposed into a neural predictive residual encoding module followed by a predictive residual encoding module.

[0058] In an embodiment, the neural scaled residual encoder 610 or the neural predictive residual encoder 630 is a DNN that is learned during the training process and deployed in the test phase. Meanwhile, the scaled residual encoder 620 or the predictive residual encoder 640 is different in training and testing. In the test phase, the scaled residual encoder 620 or the predictive residual encoder 640 is a real encoder that includes a quantizer followed by an entropy encoder. During the training phase, the scaled residual encoder 620 or the predictive residual encoder 640 uses a statistical data sampler to approximate the effect of the real quantizer, and the entropy encoder is skipped for training.

[0059] Similarly, as shown in Figure 7, the scaled residual decoding DNN is decomposed into a scaled residual decoder 710 followed by a neural scaled residual decoder 720. The corresponding processing module is also decomposed into a scaled residual decoding module followed by a neural scaled residual decoding module. The predictive residual decoding DNN is decomposed into a predictive residual decoder 730 followed by a neural predictive residual decoder 740. The corresponding processing module is also decomposed into a predictive residual decoding module followed by a neural predictive residual decoding module.

[0060] In an embodiment, the neural scaled residual decoder 720 or the neural predictive residual decoder 740 is a DNN that is learned during the training process and deployed in the test phase. Meanwhile, the scaled residual decoder 710 or the predictive residual decoder 730 is different in training and testing. In the test phase, the scaled residual decoder 710 or the predictive residual decoder 730 is a real decoder that includes an entropy decoder followed by an inverse quantizer. During the training phase, the scaled residual decoder 710 or the predictive residual decoder 730 is skipped.

[0061] This disclosure does not impose any constraints on the method used for the neural scale residual encoder 610, the scale residual encoder 620, the scale residual decoder 710, the neural scale residual decoder 720, the neural prediction residual encoder 630, the prediction residual encoder 640, the prediction residual decoder 730, or the neural prediction residual decoder 740. In other words, the NIC framework of this disclosure can accommodate different types of scale residual coding DNNs, scale residual decoding DNNs, prediction residual coding DNNs, and prediction residual decoding DNNs.

[0062] In an embodiment, the rate loss

number

[0063]

number

[0064] Here, each

number

number

number

number

number

number

[0065] In addition, the regularization loss

number

[0066]

number

[0067] Here, each

number

number

number

number

number

number

number

[0068] In an embodiment of the learning process, the downsampling DNN, the prediction DNN, the scaled residual coding DNN, the prediction residual coding DNN, the upsampling DNN, the scaled residual decoding DNN, and the prediction residual decoding DNN can be updated together based on the backpropagation gradients described above in an end-to-end (E2E) manner. Also, any of these DNNs can be trained individually. For example, the downsampling DNN and the upsampling DNN can be trained individually using a part of the data set (same or different from the data set used in the training process described above), and the weight coefficients of the remaining DNNs can be fixed in the training process described above, where only the weight coefficients are updated.

[0069] FIG. 8 is a flow chart of a method 800 of multi-rate neural image compression using intra prediction residuals, according to an embodiment.

[0070] In some implementations, one or more process blocks in Figure 8 may be performed by platform 120. In some implementations, one or more process blocks in Figure 8 may be performed by another device or group of devices separate from or including platform 120, such as user device 110.

[0071] As shown in FIG. 8, at operation 810, the method 800 includes downsampling the input image.

[0072] At operation 820, the method 800 includes generating a current predicted image based on the previously reconstructed predicted image.

[0073] At operation 830, the method 800 includes generating a prediction residual based on a difference between the downsampled input image and the generated current predicted image.

[0074] At operation 840, the method 800 includes encoding the generated prediction residual.

[0075] At operation 850, the method 800 includes decoding the encoded prediction residual.

[0076] At operation 860, the method 800 includes generating a currently reconstructed predicted image based on adding the current predicted image and the decoded prediction residual.

[0077] In operation 870, the method 800 includes upsampling the currently reconstructed predicted image.

[0078] At operation 880, the method 800 includes generating a scale residual based on a difference between the input image and the upsampled currently reconstructed predicted image.

[0079] In operation 890, the method 800 includes encoding the scale residual.

[0080] The method 800 may further include decoding the encoded scale residual and generating a reconstructed image based on an addition of the upsampled currently reconstructed predicted image and the decoded scale residual.

[0081] The steps of downsampling the input image, generating a current predicted image, encoding the generated prediction residual, decoding the encoded prediction residual, upsampling the currently reconstructed predicted image, encoding the scale residual, and decoding the encoded scale residual may each use a neural network.

[0082] The neural network may be trained by determining a regularization loss based on a reconstruction error between the decoded scale residual and the coded scale residual and a reconstruction error between the decoded prediction residual and the coded prediction residual, and updating weight coefficients of the neural network to minimize the determined regularization loss.

[0083] The neural network may be further trained by determining a distortion loss based on the input image and the reconstructed image, and determining a rate loss based on a bit rate of the encoded scale residual and the encoded prediction residual. Updating the weighting coefficients may include updating weighting coefficients of the neural network to minimize the determined distortion loss, the determined rate loss, and the determined regularization loss.

[0084] The step of generating a current predicted image may include generating a current predicted block based on a set of previously reconstructed predictive blocks of a previously reconstructed predicted image. The step of generating a prediction residual may include generating a prediction residual block based on a difference between the generated current predicted block and a true image block of the downsampled input image.

[0085] The step of encoding the generated prediction residual may comprise the step of encoding the generated prediction residual block, and the step of decoding the encoded prediction residual may comprise the step of decoding the encoded prediction residual block.

[0086] Although Figure 8 illustrates example blocks of method 800, in some implementations, method 800 may include additional blocks, fewer blocks, different blocks, or blocks in a different arrangement than those illustrated in Figure 8. Additionally or alternatively, two or more of the blocks of method 800 may be performed in parallel.

[0087] FIG. 9 is a block diagram of an apparatus 900 for multi-rate neural image compression using intra-prediction residuals, according to an embodiment.

[0088] As shown in FIG. 9, the apparatus 900 includes a downsampling code 910, a first generated code 920, a second generated code 930, a first encoded code 940, a first decoded code 950, a third generated code 960, an upsampling code 970, a fourth generated code 980, and a second encoded code 990.

[0089] The downsampling code 910 is configured to cause the at least one processor to downsample the input image.

[0090] The first generation code 920 is configured to cause the at least one processor to generate a current predicted image based on a previously reconstructed predicted image.

[0091] The second generation code 930 is configured to cause the at least one processor to generate a prediction residual based on a difference between the downsampled input image and the generated current predicted image.

[0092] The first encoding code 940 is configured to cause the at least one processor to encode the generated prediction residual.

[0093] The first decoding code 950 is configured to cause the at least one processor to decode the encoded prediction residual.

[0094] The third generation code 960 is configured to cause the at least one processor to generate a currently reconstructed predicted image based on an addition of the current predicted image and the decoded prediction residual.

[0095] The upsampling code 970 is configured to cause the at least one processor to upsample the currently reconstructed predicted image.

[0096] A fourth generating code 980 is configured to cause the at least one processor to generate a scaled residual based on a difference between the input image and the upsampled currently reconstructed predicted image.

[0097] A second encoding code 990 is configured to cause the at least one processor to encode the scale residual.

[0098] The program code may further include a second decoding code configured to cause the at least one processor to decode the encoded scaled residual, and a fifth generating code configured to cause the at least one processor to generate a reconstructed image based on an addition of the upsampled currently reconstructed predicted image and the decoded scaled residual.

[0099] The downsampling code 910, the first generated code 920, the first encoded code 940, the first decoded code 950, the upsampling code 970, the second encoded code 990, and the second decoded code may each use a neural network.

[0100] The neural network may be trained by determining a regularization loss based on a reconstruction error between the decoded scale residual and the coded scale residual and a reconstruction error between the decoded prediction residual and the coded prediction residual, and updating weight coefficients of the neural network to minimize the determined regularization loss.

[0101] The neural network may be further trained by determining a distortion loss based on the input image and the reconstructed image, and determining a rate loss based on a bit rate of the encoded scale residual and the encoded prediction residual. Updating the weighting coefficients may include updating weighting coefficients of the neural network to minimize the determined distortion loss, the determined rate loss, and the determined regularization loss.

[0102] The first generation code 920 may be further configured to cause the at least one processor to generate a current prediction block based on a set of previously reconstructed prediction blocks of a previously reconstructed predicted image, and the second generation code 930 may be further configured to cause the at least one processor to generate a prediction residual block based on a difference between the generated current prediction block and a true image block of the downsampled input image.

[0103] The first encoding code 940 may be further configured to cause at least one processor to encode the generated prediction residual block, and the first decoding code 950 may be further configured to cause at least one processor to decode the encoded prediction residual block.

[0104] Compared with previous E2E image compression methods, the embodiments described herein have the following advantages. The embodiments utilize two mechanisms to improve NIC coding efficiency: coding the residual between the predicted block and the original block instead of coding the original pixels, and using different coding strategies at different scales. The embodiments include a flexible framework that accommodates different intra-prediction methods and different neural coding methods for the residual from the scaling process and the residual from the intra-prediction process. The embodiments further include a flexible framework that accommodates various types of quality metrics.

[0105] The methods may be used separately or combined in any order. Furthermore, each of the methods (or embodiments), the encoder, and the decoder may be implemented by a processing circuit (e.g., one or more processors or one or more integrated circuits). In one example, the one or more processors execute a program stored on a non-transitory computer-readable medium.

[0106] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the embodiments to the precise forms disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the embodiments.

[0107] As used herein, the term component is intended to be interpreted broadly as hardware, firmware, or a combination of hardware and software.

[0108] It will be apparent that the systems and / or methods described herein may be implemented in different forms of hardware, firmware, or a combination of hardware and software. The actual dedicated control hardware or software code used to implement these systems and / or methods is not intended to limit the embodiments. Thus, the operation and behavior of the systems and / or methods are described herein without reference to specific software code, and it will be understood that software and hardware can be designed to implement the systems and / or methods based on the description herein.

[0109] Although combinations of features are recited in the claims and / or disclosed herein, these combinations are not intended to limit the disclosure of possible embodiments. Indeed, many of these features may be combined in ways not specifically recited in the claims and / or disclosed herein. Although each dependent claim listed below may depend directly on only one claim, the disclosure of possible embodiments includes each dependent claim in combination with every other claim in the claim set.

[0110] No element, act, or instruction used herein should be construed as critical or required unless expressly described as such. Also, as used herein, the articles "a" and "an" are intended to include one or more items and may be used interchangeably with "one or more." Additionally, as used herein, the term "set" is intended to include one or more items (e.g., related items, unrelated items, combinations of related and unrelated items, etc.) and may be used interchangeably with "one or more." When only one item is intended, the term "one" or similar language is used. Also, as used herein, terms such as "has," "have," "having," and the like are intended to be open-ended terms. Additionally, the phrase "based on" is intended to mean "based, at least in part, on," unless otherwise specified. [Explanation of symbols]

[0111] 100 Environment 110 User Devices 120 Platform 122 Cloud Computing Environment 124 computing resources 124-1 Application (APP) 124-2 Virtual Machine (VM) 124-3 Virtualized Storage (VS) 124-4 Hypervisor (HYP) 130 Network 200 devices 210 Bus 220 Processor 230 Memory 240 Storage 250 Input Interface 260 Output Interface 270 Communication Interface 300 Encoder 310 Down Sampler 320 Intra Prediction Unit 330 Subtractor 340 DNN Prediction Residual Encoder 350 DNN Prediction Residual Decoder 360 Adder 370 Upsampler 380 Subtractor 390 DNN Scale Residual Encoder 400 equipment 410 Intra prediction unit 420 Subtractor 430 DNN Prediction Residual Encoder 440 DNN Prediction Residual Decoder 500 Decoder 510 DNN Scaled Residual Decoder 520 DNN Prediction Residual Decoder 530 Intra prediction unit 540 Adder 550 Upsampler 560 Adder 610 Neural Scale Residual Encoder 620 scale residual encoder 630 Neural Prediction Residual Encoder 640 Prediction Residual Encoder 710 Scaled Residual Decoder 720 Neural Scale Residual Decoder 730 Prediction Residual Decoder 740 Neural Prediction Residual Decoder 800 ways 900 equipment 910 Downsampling Code 920 First generated code 930 Second generated code 940 First Encoding Code 950 First Decryption Code 960 Third Generation Code 970 Upsampling Code 980 4th generated code 990 Second encoding code

Claims

1. 1. A method of multi-scale neural image compression using intra prediction residuals, the method being performed by at least one processor, comprising: downsampling the input image using a downsampling deep neural network (DNN); generating a current predicted image using a prediction DNN based on a previously restored predicted image; generating a prediction residual based on a difference between the downsampled input image and the generated current predicted image; encoding the generated prediction residual using a prediction residual encoding DNN; Decoding the encoded prediction residual using a prediction residual decoding DNN; generating a currently reconstructed predicted image based on an addition of the current predicted image and the decoded prediction residual; upsampling the currently reconstructed predicted image using an upsampling DNN; generating a scaled residual based on a difference between the input image and the upsampled currently reconstructed predicted image; encoding the scale residual using a scale residual encoding DNN; Decoding the encoded scale residual using a scale residual decoding DNN. generating a reconstructed image based on an addition of the upsampled currently reconstructed predicted image and the decoded scaled residual; Including, The DNN is determining a regularization loss based on a reconstruction error between the decoded scale residual and the unencoded scale residual and a reconstruction error between the decoded prediction residual and the unencoded prediction residual; and updating weight coefficients of the DNN to minimize the determined regularization loss. Trained by,method.

2. The DNN is determining a distortion loss based on the input image and the reconstructed image; and determining a rate loss based on the bit rates of the coded scaled residual and the coded prediction residual. Further training by The step of updating the weight coefficients includes updating the weight coefficients of the DNN to minimize the determined distortion loss, the determined rate loss, and the determined regularization loss. The method of claim 1.

3. generating the current predicted image comprises generating a current predicted block based on a set of previously reconstructed predictive blocks of the previously reconstructed predicted image; generating the prediction residual comprises generating a prediction residual block based on a difference between the generated current prediction block and a true image block of the downsampled input image. The method of claim 1.

4. said step of encoding the generated prediction residual comprises the step of encoding the generated prediction residual block; said step of decoding the encoded prediction residual comprises the step of decoding the encoded prediction residual block. The method of claim 3.

5. An apparatus for multi-scale neural image compression using intra prediction residuals, comprising: at least one memory configured to store program code for causing at least one processor to perform the method according to any one of claims 1 to 4; at least one processor configured to read the program code and to operate as instructed by the program code; An apparatus comprising:

6. A computer program for multi-scale neural image compression using intra prediction residuals, the computer program causing at least one processor to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Video encoding method considering intra bl mode, video encoder, and recording medium

    JP2008104227A

  • Encoder, decoder, learning device and program

    JP2020022145A

  • Video encoding using hierarchical algorithms

    US20180124414A1

  • Method for encoding / decoding image, and device therefor

    US20200145661A1