Image encoding, decoding, reconstruction, analysis method, system and electronic equipment

By extracting and encoding high-level semantic information and low-level features of images, it solves the problem of existing technology being incompatible with user vision and machine vision tasks, achieves efficient transmission and reconstruction of images, and improves the quality of image analysis.

CN113660486BActive Publication Date: 2024-10-01ALIBABA (CHINA) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110860294.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-28
Publication Date
2024-10-01
Estimated Expiration
2041-07-28

AI Technical Summary

Technical Problem

Existing image coding solutions are incompatible with image reconstruction tasks for user vision and image analysis tasks for machine vision, and cannot effectively integrate the two.

Method used

Extract high-level semantic information and low-level features of the original image, encode them respectively to generate the first code stream and the second code stream, which are used for image reconstruction and analysis tasks. The semantic extractor, feature extractor, encoder and decoder are combined to realize the image processing. Transmission and reconstruction.

Benefits of technology

It achieves efficient transmission and reconstruction of images, meets the user's visual image viewing needs, and supports the image analysis tasks of machine vision, improving the accuracy and analysis quality of image reconstruction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113660486B_ABST
    Figure CN113660486B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides an image encoding, decoding, reconstruction, and analysis method, system, and electronic device, wherein the image encoding method includes: obtaining an original image; extracting high-level semantic information of the original image, the high-level semantic information is used for the image analysis task of the original image; and extracting low-level features of the original image, the low-level features and the high-level semantic information are used for the image reconstruction task of the original image; encoding the high-level semantic information to generate a first code stream; and encoding the low-level features to generate a second code stream. The embodiment of the present application realizes the use of a set of encoding schemes to integrate image reconstruction tasks for user vision and image analysis tasks for machine vision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of image technology, and specifically to an image encoding, decoding, reconstruction, and analysis method, system, and electronic device. Background Art

[0002] As a kind of data with visual effects, images can be divided into static images and image frames of dynamic videos. After the image is generated (for example, after the image is collected or produced), the image can be encoded using image coding technology to facilitate digital transmission of the image. Image coding, also known as image compression, refers to the technology of representing the information contained in the image with fewer bits under the condition of meeting a certain image quality. After the image is encoded and transmitted to the receiving end, the receiving end can decode the image to achieve image reconstruction. Based on the reconstructed image, the user can view the image at the receiving end to meet the user's image viewing needs; its typical application scenarios include picture display, video playback, etc.

[0003] With the rise of technologies and demands such as the Internet of Things, smart cities, and smart offices, images need to meet the image analysis needs of machine vision (also known as computer vision) in addition to traditional user viewing needs. However, there is currently no image coding solution that is compatible with both image reconstruction tasks for user vision and image analysis tasks for machine vision. Therefore, how to provide a new image coding solution to integrate image reconstruction tasks and image analysis tasks has become a technical problem that technicians in this field need to solve urgently. Summary of the invention

[0004] In view of this, an embodiment of the present application provides an image encoding, decoding, reconstruction, and analysis method, system, and electronic device to integrate image reconstruction tasks oriented to user vision and image analysis tasks oriented to machine vision.

[0005] To achieve the above objectives, the embodiments of the present application provide the following technical solutions.

[0006] In a first aspect, an embodiment of the present application provides an image encoding method, including:

[0007] Get the original image;

[0008] extracting high-level semantic information of the original image, wherein the high-level semantic information is used for an image analysis task of the original image; and,

[0009] Extracting low-level features of the original image, wherein the low-level features and the high-level semantic information are used for an image reconstruction task of the original image;

[0010] encoding the high-level semantic information to generate a first bitstream; and

[0011] The low-level features are encoded to generate a second code stream.

[0012] In a second aspect, an embodiment of the present application provides an image coding system, including:

[0013] A semantic extractor, used to extract high-level semantic information of the original image, wherein the high-level semantic information is used for image analysis tasks of the original image;

[0014] A feature extractor, used for extracting low-level features of the original image, wherein the low-level features and the high-level semantic information are used for an image reconstruction task of the original image;

[0015] A first encoder, configured to encode the high-level semantic information to generate a first code stream;

[0016] The second encoder is used to encode the low-level features to generate a second code stream.

[0017] In a third aspect, an embodiment of the present application provides an image decoding method, including:

[0018] Obtaining a first code stream corresponding to high-level semantic information of the original image and a second code stream corresponding to low-level features of the original image;

[0019] Decoding the first bitstream to obtain the high-level semantic information, where the high-level semantic information is used to perform an image analysis task on the original image;

[0020] Decoding the second code stream to obtain the low-level features;

[0021] The original image is reconstructed according to the low-level features and the high-level semantic information to obtain a predicted image.

[0022] In a fourth aspect, an embodiment of the present application provides an image decoding system, including:

[0023] A first decoder is used to decode a first code stream corresponding to high-level semantic information of an original image to obtain the high-level semantic information; the high-level semantic information is used to perform an image analysis task of the original image;

[0024] A second decoder decodes a second bit stream corresponding to the low-level features of the original image to obtain the low-level features;

[0025] The predictor reconstructs the original image according to the low-level features and the high-level semantic information to obtain a predicted image.

[0026] In a fifth aspect, an embodiment of the present application provides an image reconstruction method, comprising:

[0027] Obtain high-level semantic information and low-level features of the original image;

[0028] Reconstructing the original image according to the low-level features and the high-level semantic information to obtain a predicted image; and

[0029] Difference information between the predicted image and the original image is obtained, where the difference information is used to enhance the predicted image.

[0030] In a sixth aspect, an embodiment of the present application provides an image analysis method, comprising:

[0031] Based on the image analysis task of the original image, a target bitstream is obtained from multiple bitstreams; the multiple bitstreams at least include at least one first bitstream corresponding to at least one high-level semantic information of the original image, and a second bitstream corresponding to a low-level feature of the original image; wherein one high-level semantic information of the original image corresponds to one first bitstream, and the target bitstream is a first bitstream in which the high-level semantic information of the at least one first bitstream is suitable for the image analysis task;

[0032] Decoding the target code stream to obtain high-level semantic information suitable for the image analysis task;

[0033] The image analysis task is performed according to the high-level semantic information obtained by decoding.

[0034] In the seventh aspect, an embodiment of the present application provides an electronic device, comprising at least one memory and at least one processor, wherein the memory stores one or more computer-executable instructions, and the processor calls the one or more computer-executable instructions to execute the image encoding method as described in the first aspect above, or the image decoding method as described in the third aspect above, or the image reconstruction method as described in the fifth aspect above, or the image analysis method as described in the sixth aspect above.

[0035] In an eighth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores one or more computer executable instructions, and wherein the one or more computer executable instructions, when executed, implement the image encoding method as described in the first aspect above, or the image decoding method as described in the third aspect above, or the image reconstruction method as described in the fifth aspect above, or the image analysis method as described in the sixth aspect above.

[0036] The image encoding method provided in the embodiment of the present application can extract high-level semantic information and low-level features from the original image respectively. Since high-level semantic information can express the semantics of the original image at the conceptual level, the high-level semantic information can be used for the image analysis task of the original image. The high-level semantic information and the low-level features can be combined for the image reconstruction task of the original image. Furthermore, the embodiment of the present application encodes the high-level semantic information and the low-level features respectively to generate a first code stream and a second code stream, so that the high-level semantic information and the low-level features can be transmitted to the receiving end in the form of a code stream. The embodiment of the present application realizes the use of a set of encoding schemes to integrate the image reconstruction task for user vision and the image analysis task for machine vision. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0038] Figure 1 A block diagram of an image transmission system provided in an embodiment of the present application.

[0039] Figure 2A A flowchart of an image encoding and decoding method provided in an embodiment of the present application.

[0040] Figure 2B A schematic diagram of the structure of an image encoding system provided in an embodiment of the present application.

[0041] Figure 2C A schematic diagram of the structure of an image encoding and decoding system provided in an embodiment of the present application.

[0042] Figure 3A Another flowchart of the image encoding and decoding method provided in an embodiment of the present application.

[0043] Figure 3B Another structural schematic diagram of the image encoding system provided in an embodiment of the present application.

[0044] Figure 3C Another structural schematic diagram of the image encoding and decoding system provided in an embodiment of the present application.

[0045] Figure 4A The present invention is a flowchart of a method for obtaining a predicted image according to an embodiment of the present application.

[0046] Figure 4B A schematic diagram of the structure of a predictor provided in an embodiment of the present application.

[0047] Figure 4CA schematic diagram of the structure of a convolutional network provided in an embodiment of the present application.

[0048] Figure 4D Another schematic diagram of the structure of the predictor provided in the embodiment of the present application.

[0049] Figure 5A A schematic diagram of the structure of a feature extractor provided in an embodiment of the present application.

[0050] Figure 5B Another structural schematic diagram of the feature extractor provided in an embodiment of the present application.

[0051] Figure 6 Another structural diagram of the image encoding and decoding system provided in the embodiment of the present application.

[0052] Figure 7 Another structural diagram of the image encoding and decoding system provided in an embodiment of the present application.

[0053] Figure 8 A flowchart of an image analysis method provided in an embodiment of the present application.

[0054] Fig.9A A schematic diagram for comparing the effects provided in the embodiments of the present application.

[0055] Fig. 9B Another schematic diagram for comparing effects provided in an embodiment of the present application.

[0056] Fig. 9C This is another schematic diagram for comparing the effects provided in the embodiments of the present application.

[0057] Fig.9D This is another schematic diagram for comparing the effects provided in the embodiments of the present application.

[0058] Fig.10 This is an application example diagram provided for an embodiment of the present application.

[0059] Fig.11 A block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0061] Figure 1 The block diagram of the image transmission system 100 provided in the embodiment of the present application is shown as an example. Figure 1As shown, the image transmission system 100 may include: an image transmitter 110 and a receiver 120. The transmitter 110 may be provided with an image encoding system 111 to implement image encoding using the image encoding scheme provided in the embodiment of the present application; the receiver 120 may be provided with an image decoding system 121 to implement image decoding using the image decoding scheme provided in the embodiment of the present application.

[0062] Figure 1 The image transmission system 100 shown can be applicable to image transmission between any devices, including but not limited to: image transmission between terminals, image transmission between terminals and servers, and image transmission between servers, wherein the terminal may include intelligent hardware (such as intelligent hardware with image acquisition capabilities such as smart cameras), mobile phones, computers and other user devices. In an embodiment of the present application, the device is not fixed as a sender and a receiver, but is adapted to the sending and receiving angles of the image. For example, a certain device becomes a sender when sending an image, and becomes a receiver when receiving an image. In some embodiments, one of the terminal and the server becomes a sender when sending an image, so as to utilize the image encoding scheme provided in the embodiment of the present application to implement image encoding; one of the terminal and the server becomes a receiver when receiving an image, so as to utilize the image decoding scheme provided in the embodiment of the present application to implement image decoding.

[0063] In an embodiment of the present application, when encoding an image, the transmitting end 110 needs to support the image reconstruction task for user vision and the image analysis task for machine vision of the receiving end 120. The image reconstruction task for user vision can be understood as realizing image reconstruction at the receiving end 120 so that the user can view the image at the receiving end 120. The image analysis task for machine vision can be understood as the receiving end analyzing and processing the image from a computer perspective; for example, the receiving end realizes image classification, object detection, instance segmentation, etc. in the image. In some embodiments, the application scenarios of the image analysis task for machine vision include but are not limited to: license plate recognition and road planning in intelligent transportation systems, object detection and road tracking in autonomous driving systems, face and expression detection and analysis in smart medical systems, abnormal behavior detection, etc.

[0064] In the embodiment of the present application, the transmitting end 110 can use the image encoding system 111 to implement image encoding, and support image reconstruction tasks for user vision and image analysis tasks for machine vision; the receiving end 120 can use the image decoding system 121 to implement image decoding, and specifically perform image reconstruction tasks for user vision, and provide processing data for the receiving end 120 to perform image analysis tasks. In some embodiments, Figure 2AThe flowchart of the image encoding and decoding method provided by the embodiment of the present application is shown as an example. The image encoding process can be performed by the image encoding system 111, and the image decoding process can be performed by the image decoding system 121. Figure 2A As shown, the method flow may include the following steps.

[0065] In step S20, the image encoding system obtains an original image.

[0066] The original image can be regarded as an image to be encoded, for example, an image captured by a camera or an image produced by drawing or programming at the transmitting end 110. The original image can be input to the image encoding system 111, and the image encoding system 111 encodes the original image.

[0067] In step S21, the image encoding system extracts high-level semantic information of the original image.

[0068] In step S22, the image encoding system extracts low-level features of the original image.

[0069] The high-level semantic information of an image can be the semantics expressed by the image, for example, the object expressed by the image (such as people, plants, animals, manufactured objects, etc.), the type of the object, the relationship between the objects, etc. The low-level features of an image can be understood as the detailed feature information of the image, such as color, texture, and texture.

[0070] In some embodiments, the low-level features of an image can express rich visual detail information of the image, but have less semantic information at the conceptual level; for example, the low-level features can accurately express the color of an object in the image, but lack semantic information at the conceptual level such as the type of the object. As an optional implementation, the low-level features can be features of the visual layer of the image, and the high-level semantic information can be information at the conceptual layer of the image.

[0071] In the embodiment of the present application, high-level semantic information can express the semantics of the original image at the conceptual level, so the high-level semantic information can be used for the image analysis task of the original image. Since the low-level features express the rich visual detail information of the original image, and the high-level semantic information expresses the semantics of the original image at the conceptual level, the low-level features and the high-level semantic information can be combined to be used for the image reconstruction task of the original image.

[0072] In step S23, the image encoding system encodes the high-level semantic information to generate a first code stream.

[0073] In step S24, the image encoding system encodes the low-level features to generate a second code stream.

[0074] In the embodiment of the present application, the image analysis task and the image reconstruction task of the original image can be performed by the receiving end 120, so that after obtaining the high-level semantic information and the low-level features, the image coding system can encode the high-level semantic information and the low-level features respectively to obtain a first code stream corresponding to the high-level semantic information and a second code stream corresponding to the low-level features. The first code stream and the second code stream can be transmitted from the transmitting end 110 to the receiving end 120.

[0075] In some embodiments, the high-level semantic information and the low-level features may be encoded using the same encoding method, for example, the high-level semantic information and the low-level features may be encoded using the same encoder in an image encoding system. The same encoder may be a lossless encoder to achieve lossless encoding of the high-level semantic information and lossless encoding of the low-level features.

[0076] In step S30, the image decoding system decodes the first code stream to obtain high-level semantic information, and the high-level semantic information is used to perform an image analysis task of the original image.

[0077] After the image decoding system obtains the first code stream transmitted by the transmitting end 110, it can decode the first code stream to obtain high-level semantic information. In some embodiments, the high-level semantic information obtained by the image decoding system can provide processing data for the receiving end 120 to perform image analysis tasks. In some further embodiments, the receiving end 120 can be provided with image analysis logic (such as an image analysis model) for performing image analysis tasks, and the image decoding system can import the high-level semantic information obtained by decoding into the image analysis logic, and the image analysis logic performs specific image analysis tasks based on the high-level semantic information, thereby meeting the image analysis requirements of the original image for machine vision. As an optional implementation, the image analysis logic can perform image analysis tasks such as image classification, object detection, and instance segmentation. As a possible alternative implementation, the image analysis logic can also be set in an external device that is communicatively connected to the receiving end 120.

[0078] In step S31, the image decoding system decodes the second code stream to obtain low-level features.

[0079] In step S32, the image decoding system reconstructs the original image according to the low-level features and high-level semantic information to obtain a predicted image.

[0080] Since neither low-level features nor high-level semantic information can fully express the information of the original image alone, in the embodiment of the present application, low-level features and high-level semantic information can be combined to be used for the image reconstruction task of the original image. Based on this, after decoding the first bitstream and the second bitstream, the image decoding system can reconstruct the original image based on the high-level semantic information and low-level features obtained by decoding to achieve the image reconstruction task of the original image.

[0081] In some embodiments, the image decoding system uses high-level semantic information as guidance information for image reconstruction, and reconstructs specific image details expressed by low-level features to obtain a predicted image. In the process of reconstructing the original image, the embodiment of the present application combines the high-level semantic information and low-level features of the original image. Since the high-level semantic information can accurately express the boundaries of objects in the original image and the relationship between objects (such as the occlusion relationship between objects, etc.), the image reconstruction is based on the high-level semantic information. The embodiment of the present application can ensure that the basic structure of the predicted image is similar or even consistent with that of the original image; at the same time, in the process of reconstructing the original image, the embodiment of the present application combines the rich image details expressed by the low-level signal, and can accurately reconstruct the specific details in the original image (such as the color, texture, and texture of the object in the original image), thereby ensuring the accuracy of the predicted image in local details; therefore, the embodiment of the present application combines the high-level semantic information and low-level features of the original image to reconstruct the original image, which can make the reconstructed predicted image have a higher accuracy.

[0082] From the image coding scheme provided by the embodiment of the present application, the embodiment of the present application can extract high-level semantic information and low-level features from the original image respectively. Since high-level semantic information can express the semantics of the original image at the conceptual level, the high-level semantic information can be used for the image analysis task of the original image. The high-level semantic information and the low-level features can be combined for the image reconstruction task of the original image. Furthermore, the embodiment of the present application encodes the high-level semantic information and the low-level features respectively to generate a first code stream and a second code stream, so that the high-level semantic information and the low-level features can be transmitted to the receiving end in the form of a code stream. The embodiment of the present application realizes the use of a set of coding schemes to integrate the image reconstruction task for user vision and the image analysis task for machine vision.

[0083] based on Figure 2A The method flow shown, from the perspective of the image coding system 111, Figure 2B The structural diagram of the image encoding system 111 provided in the embodiment of the present application is exemplarily shown. Figure 2B As shown, the image encoding system 111 may include: a semantic extractor 210 , a feature extractor 211 , a first encoder 212 , and a second encoder 213 .

[0084] Combination Figure 2B As shown, after the original image is input into the image coding system 111, the semantic extractor 210 is used to extract high-level semantic information of the original image, and the feature extractor 211 is used to extract low-level features of the original image.

[0085] In some embodiments, the semantic extractor 210 and the feature extractor 211 may be different network layers in a convolutional neural network, and the level of the semantic extractor 210 in the convolutional neural network is higher than that of the feature extractor 211. The higher the level of the network layer in the convolutional neural network, the more the processing result of the network layer tends to the semantic information of the image, and conversely, the lower the level of the network layer, the more the processing result of the network layer tends to the low-level detail features of the image.

[0086] As an optional implementation, the convolutional neural network may include a backbone network, and the backbone network may include a standard convolutional layer at a low level, and a high-level semantic information extraction layer at a high level; when an image is input into the convolutional neural network for processing, the embodiment of the present application may use the processing result of the standard convolutional layer as the low-level features of the image, and use the processing result of the high-level semantic information extraction layer as the high-level semantic information of the image. It should be noted that the structure of the convolutional neural network shown in this paragraph is only an optional structure, and the embodiment of the present application may also use convolutional neural networks with other structures, and use the output results of the low-level network layers in the convolutional neural network as the low-level features, and the output results of the high-level network layers as the high-level semantic information.

[0087] In the embodiment of the present application, the high-level semantic information can express the semantics of the original image at the conceptual level, so the high-level semantic information can be used for the image analysis task of the original image. That is to say, after the receiving end 120 obtains the high-level semantic information of the original image, the receiving end 120 can analyze and process the original image according to the high-level semantic information to achieve image analysis tasks such as image classification, object detection, and instance segmentation of the original image. Since neither the low-level features nor the high-level semantic information can fully express the information of the original image alone, in the embodiment of the present application, the low-level features and the high-level semantic information can be combined to be used for the image reconstruction task of the original image. In some embodiments, since the low-level features express the rich visual detail information of the original image, and the high-level semantic information expresses the semantics of the original image at the conceptual level, the embodiment of the present application can reconstruct the original image according to the low-level features and high-level semantic information of the original image to achieve the image reconstruction task of the original image. For example, after the receiving end 120 obtains the low-level features and high-level semantic information of the original image, the receiving end 120 can reconstruct the original image according to the low-level features and high-level semantic information of the original image.

[0088] Back to Figure 2BAs shown, after the semantic extractor 210 extracts high-level semantic information of the original image, the first encoder 212 can encode the high-level semantic information to generate a first code stream. The first code stream can be transmitted to the receiving end 120. After the feature extractor 211 extracts low-level features of the original image, the second encoder 213 can encode the low-level features to generate a second code stream. The second code stream can be transmitted to the receiving end 120.

[0089] In some embodiments, the first encoder 212 and the second encoder 213 may be the same encoder, that is, the embodiment of the present application may use the same encoder to encode high-level semantic information and low-level features respectively. For example, the first encoder 212 and the second encoder 213 may be the same lossless encoder. In a possible example implementation, the lossless encoder is, for example, a FLIF (Free Lossless Image Format) encoder. It should be noted that the lossless encoder is only the same encoder form that the first encoder 212 and the second encoder 213 can select, and the embodiment of the present application may also support the first encoder 212 and the second encoder 213 to be the same encoder in other forms. In other embodiments, the embodiment of the present application may also support the first encoder 212 and the second encoder 213 to be different encoders.

[0090] In some further embodiments, after the image encoding system 111 generates the first code stream and the second code stream, the transmitting end 110 may transmit the first code stream and the second code stream to the receiving end 120. Thus, the receiving end 120 may decode the first code stream and the second code stream, implement the image analysis task using the high-level semantic information, and implement the image reconstruction task using the high-level semantic information and the low-level features.

[0091] based on Figure 2A The method flow shown is Figure 2C exist Figure 2B Based on the above, a schematic diagram of the structure of the image encoding and decoding system provided by the embodiment of the present application is further shown. It can be understood that, Figure 2C The decoding process of the image decoding system 121 shown in FIG. 1 may be the inverse process of the encoding process of the image encoding system 111. Figure 2C As shown, the image decoding system 121 may include: a first decoder 220 , a second decoder 221 and a predictor 222 .

[0092] Among them, the first decoder 220 is used to decode the first code stream to obtain high-level semantic information of the original image. The high-level semantic information obtained by the first decoder 220 can be used for image analysis tasks of the original image. In some further embodiments, the high-level semantic information output by the first decoder 220 can be imported into the image analysis logic (such as an image analysis model) that performs the image analysis task, and the image analysis logic performs a specific image analysis task based on the high-level semantic information. The image analysis logic can be set at the receiving end 120, and can also be set at an external device that is communicatively connected to the receiving end 120.

[0093] The second decoder 221 is used to decode the second code stream to obtain low-level features of the original image.

[0094] In some embodiments, the first decoder 220 and the second decoder 221 may be the same decoder, for example, the same lossless decoder, such as a FLIF decoder.

[0095] The high-level semantic information obtained by the first decoder 220 and the low-level features obtained by the second decoder 221 can be imported into the predictor 222. The predictor 222 is used to reconstruct the original image according to the low-level features and the high-level semantic information to obtain a predicted image. The predicted image obtained by the predictor 222 can be displayed to the user at the receiving end 120, thereby meeting the viewing requirements of the original image for the user's vision.

[0096] The image encoding and decoding system provided in the embodiment of the present application can use a set of corresponding encoding frameworks and decoding frameworks to achieve the fusion of image reconstruction tasks for user vision and image analysis tasks for machine vision.

[0097] In some further embodiments, if the image decoding system 121 simply uses high-level semantic information and low-level features to reconstruct the original image, it is possible that the reconstructed image may deviate greatly from the original image. Therefore, the embodiment of the present application may first use high-level semantic information and low-level features in the image encoding system 111 to reconstruct the image to obtain a predicted image of the original image, and then further determine the difference information between the predicted image and the original image, and further transmit the difference information to the image decoding system 121. Furthermore, the image decoding system 121 can further use the difference information to enhance the reconstructed image on the basis of combining high-level semantic information and low-level features to reconstruct the image, so as to make the final reconstructed image more accurate. Based on this, Figure 3A Another flowchart of the image encoding and decoding method provided by the embodiment of the present application is shown as an example. Figure 2A and Figure 3A As shown, Figure 3A The method flow shown in Figure 2AOn the basis of the method flow shown, the following steps are further included.

[0098] In step S25, the image encoding system reconstructs the original image according to the low-level features and high-level semantic information to obtain a predicted image.

[0099] In step S26, the image encoding system determines difference information between the predicted image and the original image, and the difference information is used to enhance the predicted image in the image reconstruction task.

[0100] In step S27, the image encoding system encodes the difference information to generate a third code stream.

[0101] In the embodiment of the present application, in addition to executing steps S20 to S24, the image encoding system further executes steps S25 to S27.

[0102] In some embodiments, the image coding system can use high-level semantic information as guidance information for image reconstruction to reconstruct specific image details expressed by low-level features, thereby obtaining a predicted image. The image coding system can compare the predicted image with the original image to determine the difference information between the predicted image and the original image. The difference information can be used to enhance the predicted image reconstructed by the receiving end in the image reconstruction task at the receiving end, so that the enhanced image is closer to the original image. In order to enable the difference information to be transmitted to the receiving end, the image coding system can encode the difference information after obtaining the difference information to generate a third code stream. The third code stream can be transmitted from the sending end to the receiving end.

[0103] In some embodiments, the difference information may be residual information between the predicted image and the original image.

[0104] In some embodiments, the image coding system may perform lossy coding on the difference information to generate a third bitstream. Lossy coding is, for example, VVC (Versatile Video Coding). As an optional implementation, since lossy coding has a certain coding loss, the embodiment of the present application may determine the coding loss of the difference information based on the negative correlation between the image quality requirement (QP) of the reconstructed image and the coding loss of the difference information, thereby obtaining a third bitstream adapted to the image quality requirement.

[0105] As an optional implementation, the embodiment of the present application may control the encoding loss of the difference information based on the image quality requirement of the reconstructed image. For example, if the image quality requirement of the reconstructed image is higher, the embodiment of the present application may control the encoding loss of the difference information to be lower; if the image quality requirement is lower, the embodiment of the present application may control the encoding loss of the difference information to be higher. In some further embodiments, the embodiment of the present application may set the image quality requirement based on the network bandwidth. For example, the network bandwidth is positively correlated with the image quality requirement, that is, the higher the network bandwidth, the higher the image quality requirement; thus, the embodiment of the present application may encode a third code stream of different data sizes according to different image quality requirements to adapt to different network bandwidth conditions.

[0106] In step S33, the image decoding system decodes the third code stream to obtain difference information.

[0107] In step S34, the image decoding system performs image enhancement processing on the predicted image according to the difference information to obtain an enhanced image for display.

[0108] In the embodiment of the present application, in addition to executing steps S30 to S32, the image decoding system further executes steps S33 to S34.

[0109] In some embodiments, after the image decoding system reconstructs the image based on the low-level features and high-level semantic information to obtain the predicted image, it can further use the difference information obtained by decoding the third bit stream to perform image enhancement processing on the predicted image to obtain an enhanced image. The enhanced image can be used as the final reconstructed image of the embodiment of the present application and displayed to the user.

[0110] In some embodiments, the image decoding system may perform lossy decoding on the third bitstream, such as performing VVC decoding on the third bitstream.

[0111] The image encoding and decoding method provided in the embodiment of the present application can determine the difference information between the predicted image and the original image, and then use the difference information to enhance the reconstructed predicted image at the receiving end, so that the final reconstructed enhanced image can be closer to the original image, thereby improving the accuracy of image reconstruction.

[0112] In some further embodiments, the image encoding system 111 may determine whether to encode and transmit the difference information based on the network bandwidth of the sending end 110 .

[0113] If the network bandwidth is lower than the set bandwidth threshold, the image coding system 111 may not perform encoding and transmission of the difference information to ensure that the user can obtain a continuous image playback experience at the receiving end due to the limited network bandwidth; for example, after obtaining the difference information, the image coding system 111 may cancel the execution of step S27 and not encode the difference information. Furthermore, the image coding system 111 may wait until the network bandwidth of the sending end is higher than the bandwidth threshold, and then perform encoding and transmission of the difference information to transmit the difference information to the receiving end.

[0114] It should be noted that if the network bandwidth of the sending end is higher than the bandwidth threshold, more code stream information is allowed to be transmitted between the sending end and the receiving end due to the better network bandwidth, so as to support the receiving end to provide a high-definition image playback experience on the basis of continuous image playback. At this time, the embodiment of the present application can perform encoding and transmission of difference information. For example, after obtaining the difference information, the image encoding system 111 can directly encode the difference information to generate a third code stream, and the sending end transmits the third code stream to the receiving end.

[0115] As an implementation example, the receiving end can play the video image at the receiving end based on the information continuously transmitted by the sending end. If the current network bandwidth is low, the embodiment of the present application can reduce the clarity of the video image played by the receiving end. At this time, the sending end can not encode and transmit the difference information, but only transmit the first code stream and the second code stream to the receiving end; thus, the receiving end reconstructs the image based on the low-level features and high-level semantic information and displays the reconstructed image, which can ensure that the receiving end can continuously play the video image while reducing the clarity of the video image. If the current network bandwidth is high, the embodiment of the present application can improve the clarity of the video image played by the receiving end. At this time, the sending end can encode and transmit the difference information, and transmit the first code stream, the second code stream and the third code stream to the receiving end; thus, the receiving end can reconstruct the image based on the low-level features and high-level semantic information, and use the difference information to enhance the reconstructed image, so that the enhanced image has higher clarity, ensuring that the receiving end can continuously play high-definition video images.

[0116] based on Figure 3A The method flow shown, from the perspective of the image coding system 111, Figure 3B Another structural diagram of the image encoding system 111 provided in an embodiment of the present application is exemplarily shown. Figure 2B and Figure 3B As shown, the image coding system 111 may further include: a predictor 222 , a comparer 214 and a third encoder 215 .

[0117] In the embodiment of the present application, the high-level semantic information extracted by the semantic extractor 210 and the low-level features extracted by the feature extractor 211 can be imported into the predictor 222. The predictor 222 can be used to reconstruct the original image according to the low-level features and the high-level semantic information to obtain a predicted image.

[0118] The predicted image obtained by the predictor 222 can be input into the comparator 214, and the comparator 214 can be used to compare the predicted image with the original image to obtain difference information between the predicted image and the original image. The difference information can be used to enhance the predicted image in the image reconstruction task at the receiving end. In some embodiments, the comparator 214 may include a subtractor. The subtractor can perform residual processing on the predicted image and the original image to obtain residual information between the predicted image and the original image, and the residual information can be used as the difference information referred to above.

[0119] The difference information obtained by the comparator 214 can be input into the third encoder 215, and the third encoder 215 can be used to encode the difference information to generate a third code stream. In some embodiments, the third encoder 215 may include a lossy encoder. In a possible example implementation, the lossy encoder is, for example, a VVC (Versatile Video Coding) encoder. In an optional implementation of encoding the difference information using a lossy encoding method, an embodiment of the present application can determine the encoding loss of the difference information based on the negative correlation between the image quality requirement (QP) and the encoding loss of the difference information, thereby obtaining a third code stream adapted to the image quality requirement.

[0120] In some further embodiments, after the image encoding system 111 generates the third code stream, the transmitter 110 may transmit the third code stream to the receiver 120 .

[0121] based on Figure 3A The method flow shown is Figure 3C exist Figure 3B Another structural diagram of the image encoding and decoding system provided by the embodiment of the present application is further shown. After the image encoding system 111 generates the first code stream, the second code stream and the third code stream, the first code stream, the second code stream and the third code stream can be transmitted to the image decoding system 121 of the receiving end 120. Thus, the image decoding system 121 can be based on Figure 3C The structure shown implements image decoding to be compatible with image analysis tasks and image reconstruction tasks of the original image. Figure 3B , Figure 2C and Figure 3C As shown, Figure 3C The image decoding system 121 further includes a third decoder 223 and an image enhancer 224 .

[0122] The third decoder 223 is used to decode the third bitstream to obtain difference information (e.g., residual information) between the original image and the predicted image. In some embodiments, the third decoder 223 may be different from the first decoder 220 and the second decoder 221. For example, the third decoder 223 may include a lossy decoder. The lossy decoder is, for example, a VVC decoder.

[0123] The image enhancer 224 can be used to perform image enhancement processing on the predicted image obtained by the predictor 222 according to the difference information to obtain an enhanced image. Since the difference information expresses the difference between the predicted image and the original image, the embodiment of the present application further introduces the difference information to perform image enhancement processing on the predicted image, which can make the enhanced image after image enhancement closer to the original image, thereby improving the accuracy of the image reconstruction task. Figure 3C In the illustrated architecture, the enhanced image obtained by the image enhancer 224 can be used as the final image displayed to the user, thereby satisfying the viewing requirements of the original image for the user's vision.

[0124] In some embodiments, after the image encoding system 111 generates the first code stream, the second code stream, and the third code stream, the transmitting end 110 may transmit the first code stream, the second code stream, and the third code stream to the receiving end 120. Further, the image decoding system 121 may determine whether to decode the first code stream to support the image analysis task, or to decode the first code stream, the second code stream, and the third code stream to perform the image reconstruction task based on the task instruction of the receiving end 120.

[0125] In some further embodiments, if the task instruction indicates an image analysis task, the image decoding system 121 may decode the first code stream to obtain high-level semantic information, and transmit the high-level semantic information to the image analysis logic to support the execution of the image analysis task.

[0126] If the task instruction indicates an image reconstruction task, the image decoding system 121 can decode the first code stream, the second code stream and the third code stream respectively to obtain high-level semantic information, low-level features and difference information; thus, the image decoding system 121 can use the high-level semantic information and low-level features to reconstruct the image to obtain a predicted image, and further use the difference information to perform image enhancement processing on the predicted image to obtain an enhanced image.

[0127] If the task instruction indicates both an image analysis task and an image reconstruction task, the image decoding system 121 may decode the first code stream, the second code stream, and the third code stream respectively, and perform the image analysis task using high-level semantic information, and perform the image reconstruction task using high-level semantic information, low-level features, and difference information.

[0128] In some further embodiments, the task instructions are adapted to the current needs of the user, for example, different task instructions are automatically triggered by the user at the receiving end. In other embodiments, the task instructions may also be set by default by the system. It is understandable that the bitstream decoded based on the task instruction selection described in this paragraph may also be applicable to Figure 2C The image encoding system shown transmits the first code stream and the second code stream. In this case, the image decoding system 121 may not perform the decoding and image enhancement processing of the third code stream. Other processes can be similarly referred to the description of the corresponding parts above and will not be expanded here.

[0129] The image encoding and decoding system provided in the embodiment of the present application can use a set of corresponding encoding frameworks and decoding frameworks to realize the integration of image reconstruction tasks for user vision and image analysis tasks for machine vision. In addition, the embodiment of the present application uses the difference information between the original image and the predicted image reconstructed for the first time in the image reconstruction task, which can further improve the accuracy of image reconstruction.

[0130] Based on the image reconstruction task of the original image, an embodiment of the present application provides an optional image reconstruction method, comprising the following steps: obtaining high-level semantic information and low-level features of the original image; reconstructing the original image according to the low-level features and the high-level semantic information to obtain a predicted image; and obtaining difference information between the predicted image and the original image, wherein the difference information is used to enhance the predicted image.

[0131] In some embodiments, in an optional implementation of obtaining a predicted image, the embodiments of the present application can use high-level semantic information as guidance information for image reconstruction to reconstruct specific image details expressed by low-level features to obtain a predicted image. As an optional implementation, Figure 4A The flowchart of the method for obtaining the predicted image in the embodiment of the present application is exemplarily shown. The method flow can be implemented by the predictor 222. The predictor 222 referred to here can be set in the image encoding system or the image decoding system. Figure 4A , the method flow may include the following steps.

[0132] In step S40, the low-level features are processed to obtain target features for further processing with high-level semantic information.

[0133] In some embodiments, the embodiments of the present application may upsample the low-level features to obtain target features for further processing (e.g., stacking) with high-level semantic information. In an optional implementation, the upsampling may be a nearest neighbor upsampling of a set multiple, for example, 8 times the nearest neighbor upsampling. As an optional implementation, the embodiments of the present application may process (e.g., upsample) the low-level features based on the resolution of the high-level semantic information so that the resolution of the target features after the low-level feature processing is the same as the resolution of the high-level semantic information; of course, the embodiments of the present application may also support the target features after the low-level feature processing to have different resolutions from the high-level semantic information, and are not limited to the same resolution of the two.

[0134] In step S41, the target feature is stacked with the high-level semantic information and then convolved to obtain a convolution feature.

[0135] In some embodiments, the target feature obtained in step S40 can be stacked with high-level semantic information to obtain a stacked feature, and the stacked feature can be input into the convolutional network for convolution processing to obtain a convolutional feature output by the convolutional network. In some further embodiments, the convolutional network can first perform multiple convolution processing on the stacked feature to obtain a first convolutional feature; then the convolutional network can perform multiple filtering processing on the first convolutional feature to obtain a filtered feature; the filtered feature can be further convolutionally processed multiple times by the convolutional network to obtain a second convolutional feature; then, the second convolutional feature can be output as a convolutional feature by the activation function of the convolutional network.

[0136] In step S42, the convolutional features are combined with the low-level features to obtain a predicted image.

[0137] After obtaining the convolution feature, since the convolution feature can express richer image information, the embodiment of the present application can combine the convolution feature with the low-level feature to obtain a predicted image. In some embodiments, the convolution feature can be added to the low-level feature to obtain a predicted image. Of course, the combination of the convolution feature and the low-level feature is not limited to addition, and the embodiment of the present application can also support other combination methods.

[0138] As the predictor 222 performs the implementation Figure 4A An alternative implementation of the process shown, Figure 4B The schematic diagram of the structure of the predictor 222 provided in the embodiment of the present application is shown as an example. Figure 4B As shown, the predictor 222 may include: an upsampler 410 , a stacker 420 , a convolutional network 430 , and an adder 440 .

[0139] The upsampler 410 may be used to upsample the low-level features to obtain target features for further processing with the high-level semantic information. In some embodiments, the upsampler 410 may be used to upsample the low-level features to obtain target features with the same resolution as the high-level semantic information. Of course, the embodiments of the present application may also support the target features obtained after upsampling the low-level features to have a different resolution than the high-level semantic information. In some embodiments, the upsampler may perform a set multiple of nearest neighbor upsampling (e.g., 8 times nearest neighbor upsampling) on ​​the low-level features.

[0140] The stacker 420 may stack the high-level semantic information with the target features obtained by the upsampler 410 to obtain stacked features. The stacked features may be input into the convolutional network 430. The convolutional network 430 may perform convolution processing on the stacked features to obtain convolutional features.

[0141] The adder 440 may be used to add the low-level features and the convolutional features output by the convolutional network 430 to obtain a predicted image.

[0142] The predictor 222 provided in the embodiment of the present application can reconstruct the original image by combining the high-level semantic information and low-level features of the original image, so that the reconstructed predicted image has higher accuracy.

[0143] As an optional implementation of the convolutional network 430, Figure 4C The structural diagram of the convolutional network 430 provided in the embodiment of the present application is exemplarily shown. Figure 4C As shown, the convolutional network 430 may include: a first group of convolutional layers 431, multiple convolutional filter groups 432, a second group of convolutional layers 433, and an activation function 434.

[0144] The first group of convolutional layers 431 may include multiple convolutional layers connected in sequence, and the convolution configuration of each convolutional layer in the first group of convolutional layers 431 may be different.

[0145] A convolution filter group 432 may include multiple layers of convolution filters, and the filtering configuration of each layer of convolution filters in a convolution filter group 432 may be the same.

[0146] The second group of convolutional layers 433 may include multiple convolutional layers connected in sequence, and the convolution configuration of each convolutional layer in the second group of convolutional layers 433 may be different.

[0147] In some embodiments, the convolution configuration of the convolution layer may include one or more of the number of output filters, the size of the convolution kernel, the convolution step size, whether a normalization function is set, whether a linear rectifier unit is set, etc. Of course, the embodiment of the present application may also support the first group of convolution layers 431 and the second group of convolution layers 433 to have the same convolution configuration of some convolution layers, or even the same convolution configuration of all convolution layers.

[0148] In an embodiment of the present application, the stacked features after the target features are stacked with the high-level semantic information can be input into the first group of convolutional layers 431, and the first group of convolutional layers 431 can perform convolution processing on the stacked features through multiple convolutional layers to obtain the first convolutional features. The first group of convolutional layers 431 can output the first convolutional features to multiple convolutional filter groups 432, and the multiple convolutional filter groups 432 can perform filtering processing on the first convolutional features to obtain filtering features. Multiple convolutional filter groups 432 can output filtering features to the second group of convolutional layers 433, and the second group of convolutional layers 433 can perform convolution processing on the filtering features through multiple convolutional layers to obtain second convolutional features. The second group of convolutional layers 433 can output the second convolutional features to the activation function 434, and the activation function 434 outputs the corresponding convolutional features.

[0149] In some further embodiments, the number of convolutional layers set in the first group of convolutional layers 431 and the second group of convolutional layers 433 and the convolution configuration of each convolutional layer can be determined according to actual conditions, and the embodiments of the present application do not limit this. Similarly, the number of convolutional filters set in a convolutional filter group 432 and the filtering configuration of each convolutional filter can be determined according to actual conditions, and the embodiments of the present application do not limit this.

[0150] As an optional implementation of configuring the convolutional network 430, the embodiment of the present application may define the number of convolutional layers in the first group of convolutional layers 431 and the second group of convolutional layers 433, as well as the number of output filters of each convolutional layer, the convolution kernel size, the convolution step size, whether to set a normalization function, and whether to set a linear rectifier unit, so as to configure the first group of convolutional layers 431 and the second group of convolutional layers 433. As an optional implementation, Figure 4D Another schematic diagram of the structure of the predictor 222 provided in the embodiment of the present application is shown as an example. Figure 4C and Figure 4D As shown, Figure 4D The predictor 222 shown is embodied in a convolutional network 430 structure.

[0151] like Figure 4DAs shown, the first group of convolutional layers 431 may include 4 layers of convolutional layers connected in sequence, namely: Conv607x7 s1 Norm ReLU, Conv120 3x3 s2 Norm ReLU, Conv240 3x3 s2 Norm ReLU, Conv4803x3 s2 Norm ReLU. For the first convolutional layer, Conv60 indicates that the number of output filters of the convolutional layer is 60, 7x7 indicates the convolution kernel size of the output filter, s1 indicates that the convolution step size of the output filter is 1 (correspondingly, s2 indicates that the convolution step size is 2, and so on), Norm indicates setting a normalization function (correspondingly, if Norm does not exist in the convolution configuration, it means that the normalization function is not set in the convolution layer), and ReLU indicates setting a linear rectifier unit (correspondingly, if ReLU does not exist in the convolution configuration, it means that the linear rectifier unit is not set in the convolution layer). That is, based on the configuration of the first convolution layer, the first convolution layer includes 60 output filters, a normalization function and a linear rectifier unit, and the convolution kernel size of each output filter is 7x7, and the convolution step size is 1. The specific configurations of other convolution layers in the first group of convolution layers 431 can be explained in the same way.

[0152] The plurality of convolution filter groups 432 may include 9 convolution filter groups connected in sequence. One convolution filter group may include 2 layers of convolution filters, each layer of convolution filters may include 480 convolution filters, and the convolution kernel size of each convolution filter is 3x3 and the convolution step size is 1.

[0153] The second group of convolutional layers 433 may include 4 convolutional layers connected in sequence, namely: ConvT240 3x3 s2Norm ReLU, ConvT120 3x3 s2 Norm ReLU, ConvT60 3x3 s2 Norm ReLU, Conv3 7x7 s1. Among them, ConvT represents deconvolution, and ConvT240 represents that the number of output filters of the convolutional layer performing deconvolution is 240. It should be noted that for the last convolutional layer Conv3 7x7 s1 in the second group of convolutional layers 433, since Norm and ReLU do not exist in the convolution configuration of the last convolutional layer, the normalization function and linear rectification unit are not set for the last convolutional layer. The configuration meaning of each convolutional layer in the second group of convolutional layers 433 can be explained in the same way as described above, and will not be expanded here.

[0154] It should be noted that Figure 4D The specific structure of the convolutional network 430 shown is only an optional structure, and the embodiment of the present application may also be Figure 4DThe convolutional network 430 shown is structurally deformed, adjusted or replaced, as long as the convolutional network 430 provided in the embodiment of the present application can perform convolution processing on the stacked features of the target features and the high-level semantic information, and the obtained convolutional features can express richer image information.

[0155] In some further embodiments, the feature extractor 211 of the image encoding system 111 may use multiple convolution layers and activation functions to extract low-level features of the original image. As an optional implementation, the multiple convolution layers in the feature extractor 22 may extract features from the original image, which are then output as low-level features by the activation function. Figure 5A FIG. 2 shows a schematic diagram of the structure of the feature extractor 211 provided in an embodiment of the present application. Figure 5A As shown, the feature extractor 211 may include multiple convolutional layers and activation functions connected in sequence. The convolution configurations of the multiple convolutional layers may be different or partially the same. After the original image is input into the feature extractor 211, the multiple convolutional layers may extract features from the original image, and the features extracted by the multiple convolutional layers may be output as low-level features through the activation function.

[0156] In one implementation example, Figure 5B FIG. 2 shows another structural diagram of the feature extractor 211 provided in an embodiment of the present application. Figure 5A and Figure 5B As shown, in Figure 5B In the feature extractor 211 shown, the multi-layer convolution layer may include 5 convolution layers, namely: Conv60 7x7 s1 Norm ReLU, Conv120 3x3 s2 Norm ReLU, Conv240 3x3 s2Norm ReLU, Conv480 3x3 s2 Norm ReLU, Conv3 3x3 s1 Norm ReLU. It should be noted that, Figure 5B The specific number of the multi-layer convolutional layers and the specific configuration of each convolutional layer shown are merely optional examples, and the embodiments of the present application are not limited thereto.

[0157] In some further embodiments, the low-level features can compactly express the detail features of the original image, for example, the low-level features can represent compact features of a set proportional size of the original image. In one implementation example, the low-level features can represent compact features of 1 / 64 size of the original image (for example, the low-level features can be represented as 1 / 8 of the original image in both width and height).

[0158] As an optional implementation, in order to enable the low-level features to compactly express the detailed features of the original image and to ensure the feature size of the low-level features, the embodiment of the present application may use a ReflectionPad (mirror padding) of a first set size before the first convolution layer and the last layer of the activation function of the feature extractor, for example, a ReflectionPad of size 3; and a ReflectionPad of a second set size may be used before the remaining network layers of the feature extractor (for example, the remaining convolution layers), for example, a ReflectionPad with a length and width of 1.

[0159] In some embodiments, when the feature extractor 211 extracts low-level features of the original image, the embodiment of the present application may use channel normalization (ChannelNorm) technology to obtain low-level features that express fine details of the image and are compact. As an optional implementation, the embodiment of the present application may determine the low-level features corresponding to each channel of the original image based on the channel normalization technology, thereby determining the low-level features of the original image based on the low-level features corresponding to each channel of the original image. For example, the feature extractor 211 may use multiple convolutional layers based on the channel normalization technology to determine the low-level features corresponding to each channel of the original image; further, the low-level features corresponding to each channel of the original image may be combined in the activation function of the feature extractor 211 to obtain the low-level features of the original image.

[0160] In an implementation example, taking the original image as a two-dimensional image with a two-dimensional position as an example, for calculating the low-level features corresponding to the original image in the current channel, the embodiment of the present application can determine the unit pixel corresponding to the current channel of the original image at the two-dimensional position, the mean corresponding to all channels of the original image at the two-dimensional position, and the mean square error corresponding to all channels at the two-dimensional position; thus, the embodiment of the present application can determine the low-level features corresponding to the original image in the current channel based on the unit pixel corresponding to the current channel at the two-dimensional position, the mean and mean square error corresponding to all channels of the original image at the two-dimensional position, and the set offset of the current channel.

[0161] Taking the total number of channels of the original image as M and calculating the low-level features corresponding to the c-th channel of the original image as an example, the embodiment of the present application can calculate the low-level features corresponding to the c-th channel of the original image based on the channel normalization technology using the following formula.

[0162] in

[0163] f chw ' represents the low-level features corresponding to the c-th channel of the original image, c represents the c-th channel of the original image, c belongs to 1 to M, f chwRepresents the unit pixel corresponding to the c-th channel of the original image at the h and w positions, μ hw Represents the mean of the M channels at the h and w positions of the original image, Represents the mean square error of M channels at the h and w positions of the original image, α c and β c Represents the learned offset of the c-th channel.

[0164] The embodiment of the present application uses channel normalization technology to determine the low-level features corresponding to the original image in each channel, and then combines the low-level features corresponding to the original image in the current channel to obtain the low-level features of the original image. It can significantly reduce the size of the low-level features while ensuring that the low-level features express rich detail information of the original image; further, the embodiment of the present application can reduce the encoding and decoding overhead of the low-level features, as well as the transmission overhead of the second code stream corresponding to the low-level features between the sending end and the receiving end.

[0165] In some further embodiments, when extracting high-level semantic information, the image coding system 111 may extract corresponding high-level semantic information based on the type of image analysis task. The image coding system 111 may set a semantic extractor corresponding to the type of image analysis task to extract high-level semantic information corresponding to the type of image analysis task from the original image. As an optional implementation, one high-level semantic information may support at least one type of image analysis task, that is, one high-level semantic information may support one or multiple types of image analysis tasks at the same time. For example, high-level semantic information may include any one of instance segmentation map information supporting instance segmentation tasks, image classification tasks, and object detection tasks, and matchstick figure information supporting human posture recognition tasks.

[0166] Figure 6 FIG. 2 shows another structural diagram of the image encoding and decoding system provided by the embodiment of the present application. Figure 6 As shown, the semantic extractor 210 provided in the image coding system 111 may be an instance segmenter 610, and the instance segmenter 610 may extract instance segmentation map information from the original image based on the instance segmentation technology. In the embodiment of the present application, the instance segmentation map information may be used as high-level semantic information of the original image.

[0167] The instance segmentation map information may be imported into the predictor 222 and the FLIF encoder 620, which may be the same lossless encoder used by the first encoder 212 and the second encoder 213. The FLIF encoder 620 may losslessly encode the instance segmentation map information to generate a first bitstream. The first bitstream may be transmitted to the image decoding system 121.

[0168] The feature extractor 211 extracts low-level features of the original image, and the low-level features can be imported into the predictor 222 and the FLIF encoder 620. The FLIF encoder 620 can perform lossless encoding on the low-level features to generate a second bitstream, which can be transmitted to the image decoding system 121.

[0169] In the image coding system 111, the predictor 222 may perform image reconstruction based on the instance segmentation map information and the low-level features to obtain a predicted image. The subtractor 630 may determine residual information between the predicted image and the original image. The residual information may be imported into the VVC encoder 640. The VVC encoder 640 may perform lossy encoding on the residual information to generate a third bitstream. The third bitstream may be transmitted to the image decoding system 121. The subtractor 630 may be an optional form of the comparator 214, and the VVC encoder 640 may be a lossy encoder used by the third encoder 215.

[0170] In the image decoding system 121, the FLIF decoder 650 can decode the first bitstream and the second bitstream to obtain instance segmentation map information and low-level features. The FLIF decoder 650 can be the same lossless decoder used by the first decoder 220 and the second decoder 221. The instance segmentation map information obtained by the FLIF decoder 650 can be imported into the instance segmentation logic, image classification logic, and object detection logic to implement image analysis tasks such as instance segmentation, image classification, and object detection of the original image. At the same time, the instance segmentation map information and low-level features obtained by the FLIF decoder 650 can be imported into the predictor 222 in the image decoding system 121. The predictor 222 can reconstruct the original image according to the instance segmentation map information and the low-level features to obtain a predicted image. The predicted image obtained by the predictor 222 can be imported into the image enhancer 224.

[0171] In the image decoding system 121, the VVC decoder 660 may decode the third bitstream to obtain residual information of the predicted image and the original image. The VVC decoder 660 may be a lossy decoder used by the third decoder 223. The residual information may be imported into the image enhancer 224. The image enhancer 224 may perform image enhancement processing on the predicted image according to the residual information to obtain an enhanced image. The enhanced image may be displayed to the user to meet the image reconstruction requirements for user vision.

[0172] Figure 6 Taking instance segmentation map information as high-level semantic information, the implementation process of the image encoding system and the image decoding system provided by the embodiment of the present application in the image reconstruction task and the instance segmentation task is specifically described. It can be understood that the embodiment of the present application can also be used in Figure 2B The image coding system shown and Figure 2CBased on the image decoding system shown, instance segmentation map information is used as high-level semantic information.

[0173] In other possible implementations, the high-level semantic information of the original image may also be the stick figure information of the original image, which is used to support the image analysis task of human posture recognition; in this case, the embodiment of the present application may Figure 6 The instance segmenter 610 in the illustrated architecture is replaced with a semantic extractor that supports extracting stick figure information, and the instance segmentation map information is replaced with stick figure map information. The other processes can be referred to in the same way. Figure 6 Of course, the embodiments of the present application can also be Figure 2B The image coding system shown and Figure 2C Based on the image decoding system shown, the stick figure information is used as high-level semantic information.

[0174] In some further embodiments, the image encoding system 111 may be provided with a plurality of semantic extractors 210 to extract a plurality of high-level semantic information from the original image, thereby supporting different types of image analysis tasks. Figure 7 FIG. 2 shows another structural diagram of an image encoding and decoding system provided by an embodiment of the present application. Figure 6 and Figure 7 As shown, Figure 7 The image coding system 111 shown may be provided with a plurality of semantic extractors (eg Figure 7 As shown are n semantic extractors 2101 to 210n).

[0175] Multiple semantic extractors are used to extract high-level semantic information from the original image one by one to obtain multiple high-level semantic information (e.g., high-level semantic information 1 to n). For example, semantic extractor 2101 can extract high-level semantic information 1 of the original image, and by analogy, semantic extractor 210n can extract high-level semantic information n of the original image. One high-level semantic information extracted by one semantic extractor can be used to support at least one type of image analysis task of the original image. For example, any high-level semantic information of high-level semantic information 1 to n can support one or more types of image analysis tasks of the original image.

[0176] As an implementation example, multiple high-level semantic information may include instance segmentation map information and stickman image information, wherein the instance segmentation map information can support one or more image analysis tasks such as instance segmentation, image classification, object detection, etc. of the original image, and the stickman image information can support the human posture recognition task of the original image.

[0177] After the multiple semantic extractors extract multiple high-level semantic information from the original image, the FLIF encoder 620 may respectively perform lossless encoding on the multiple high-level semantic information to obtain multiple first code streams. For example, after the semantic extractors 2101 to 210n extract high-level semantic information from the original image one by one to obtain high-level semantic information 1 to n, the FLIF encoder 620 may respectively perform lossless encoding on the high-level semantic information 1 to n to generate first code streams 1 to n.

[0178] In the image coding system 111, one high-level semantic information among multiple high-level semantic information (for example, one high-level semantic information among instance segmentation map information, stick figure map information, etc.) can be imported into the predictor 222 (that is, one high-level semantic information among high-level semantic information 1 to n can be imported into the predictor 222), and the low-level features of the original image extracted by the feature extractor 211 can be imported into the predictor 222. Thus, the predictor 222 can reconstruct the image according to the low-level features and one high-level semantic information among multiple high-level semantic information to obtain a predicted image. The other implementation processes at the image coding system 111 end can refer to the description of the corresponding parts in the previous text, and will not be described in detail here.

[0179] In some embodiments, the predictor 222 may also perform image reconstruction based on the low-level features and at least two of the multiple high-level semantic information to obtain a predicted image. For example, in the process of image reconstruction based on the low-level features and the instance segmentation map information, the predictor 222 may further introduce at least one of the multiple high-level semantic information to make the reconstructed predicted image more accurate. As an optional implementation, the embodiment of the present application may import one of the multiple high-level semantic information or at least two of the high-level semantic information with the highest semantic level into the predictor 222; thus, the predictor 222 may perform image reconstruction based on the low-level features and one or more of the multiple high-level semantic information with the highest semantic level to obtain a more accurate predicted image. In other possible implementations, the embodiment of the present application may also combine any at least two of the multiple high-level semantic information with the low-level features for image reconstruction of the original image, without limiting the semantic level of the high-level semantic information used for image reconstruction.

[0180] exist Figure 7 In the image encoding system 111 shown, multiple first code streams generated by encoding multiple high-level semantic information 1 to n, a second code stream generated by encoding low-level features, and a third code stream generated by encoding residual information between a predicted image and an original image can be transmitted to an image decoding system 121.

[0181] In the image decoding system 121, for the image reconstruction task, the FLIF decoder 650 can decode any first code stream among multiple first code streams, and the second code stream to obtain high-level semantic information and low-level features, which can be imported into the predictor 222; the predictor 222 can perform image reconstruction based on the high-level semantic information and low-level features to obtain a predicted image; the image enhancer 224 can perform image enhancement on the predicted image based on the residual information obtained by decoding the third code stream by the VVC decoder 660 to obtain an enhanced image, thereby completing the image reconstruction task.

[0182] For the image analysis task, the FLIF decoder 650 may select a corresponding first code stream from a plurality of first code streams for decoding based on the current image analysis task, thereby obtaining high-level semantic information applicable to the current image analysis task to support the execution of the current image analysis task. As an optional implementation, the receiving end 120 may obtain a task instruction indicated by the user, and the task instruction may indicate the current image analysis task that the receiving end needs to execute, so that the image decoding system 121 may select a first code stream corresponding to the high-level semantic information used by the current image analysis task from a plurality of first code streams for decoding, so as to obtain high-level semantic information applicable to the current image analysis task. In some further embodiments, the task instruction may indicate a plurality of current image analysis tasks, so that the image decoding system 121 may select a first code stream corresponding to each current image analysis task from a plurality of first code streams for decoding, so as to obtain high-level semantic information applicable to each current image analysis task. In one example, if the current image analysis task is any one of instance segmentation, image classification, object detection, etc., the embodiment of the present application can decode the first bitstream corresponding to the instance segmentation map information; if the current image analysis task is human posture recognition, the embodiment of the present application can decode the first bitstream corresponding to the stick figure map information. The current image analysis task can be one or more categories, which can be determined by user needs or system settings.

[0183] Based on multiple types of current image analysis tasks, the FLIF decoder 650 may select at least two first code streams from multiple first code streams for decoding to obtain high-level semantic information applicable to multiple types of current image analysis tasks. In some further embodiments, the FLIF decoder 650 may also decode multiple first code streams to simultaneously support multiple types of image analysis tasks.

[0184] The image encoding system and image decoding system provided in the embodiment of the present application can extract multiple high-level semantic information from the original image through multiple semantic extractors to realize image analysis tasks supporting multiple types of original images, and any high-level semantic information in the multiple high-level semantic information can be combined with the low-level features of the original image to realize image reconstruction tasks supporting the original image. It can be seen that the embodiment of the present application can realize the fusion image reconstruction task and multiple types of image analysis tasks through a set of image encoding system and corresponding image decoding system.

[0185] For the image analysis layer of the receiving end, the embodiment of the present application provides an image analysis method. As an optional implementation, Figure 8 The flowchart of the image analysis method provided by the embodiment of the present application is exemplarily shown. The method flow can be executed by the receiving end. Figure 8 As shown, the method flow may include the following steps.

[0186] In step S80, based on the image analysis task of the original image, a target bitstream is obtained from the multiple bitstreams.

[0187] Based on the image coding scheme provided in the embodiment of the present application, the transmitting end may transmit multiple code streams to the receiving end. In some embodiments, the multiple code streams may include a first code stream corresponding to the high-level semantic information of the original image and a second code stream corresponding to the low-level features of the original image. In some further embodiments, the multiple code streams may further include a third code stream corresponding to the difference information between the predicted image and the original image. Among them, the number of first code streams in the multiple code streams may be at least one (i.e., one or more first code streams), and the at least one first code stream may correspond to at least one high-level semantic information of the original image, and one high-level semantic information corresponds to one first code stream.

[0188] After obtaining multiple code streams, the receiving end can obtain a target code stream suitable for the image analysis task from the multiple code streams based on the image analysis task currently required to be performed on the original image. Since in the embodiment of the present application, the high-level semantic information carried by the first code stream is used for the image analysis task of the original image, the embodiment of the present application can specifically obtain the target code stream from at least one first code stream of the multiple code streams. The target code stream can be a first code stream in which the high-level semantic information in at least one first code stream is suitable for the image analysis task.

[0189] In some embodiments, if there are at least two first code streams in the multiple code streams, the embodiment of the present application can obtain a target code stream suitable for the image analysis task from the at least two first code streams based on the high-level semantic information required for the image analysis task. For example, the at least two first code streams include a first code stream corresponding to the instance segmentation map information and a first code stream corresponding to the stick figure image information. If the image analysis task currently to be performed is any one of instance segmentation, image classification, and object detection, the embodiment of the present application can obtain the first code stream corresponding to the instance segmentation map information from the at least two first code streams as the target code stream; if the image analysis task currently to be performed is human posture recognition, the embodiment of the present application can obtain the first code stream corresponding to the stick figure image information from the at least two first code streams as the target code stream.

[0190] In some embodiments, if there is only one first code stream among multiple code streams, the image analysis task currently to be executed may be a pre-set fixed image analysis task, for example, any one of instance segmentation, image classification, object detection, and human posture recognition tasks may be set as an image analysis task fixedly executed by the receiving end. In this embodiment of the present application, only one first code stream among multiple code streams may be used as the target code stream.

[0191] In step S81, the target code stream is decoded to obtain high-level semantic information suitable for the image analysis task.

[0192] In some embodiments, the embodiments of the present application may perform lossless decoding on the target bitstream to obtain high-level semantic information suitable for image analysis tasks.

[0193] In step S82, an image analysis task is performed based on the high-level semantic information obtained by decoding.

[0194] In some embodiments, based on the high-level semantic information obtained through decoding, the receiving end can perform image analysis tasks for the original image through specific image analysis logic (for example, image analysis logic for performing tasks such as image classification, object detection, and instance segmentation).

[0195] In some embodiments, steps S80 to S81 may be implemented by an image decoding system at the receiving end, and step S82 may be implemented by an image analysis logic configured at the receiving end to perform an image analysis task.

[0196] The image analysis method provided in the embodiment of the present application can perform specific image analysis tasks under the encoding and decoding scheme and framework that integrates image reconstruction tasks and image analysis tasks, thereby providing technical support for the image analysis tasks at the receiving end and can be implemented and applied in different types of image analysis tasks.

[0197] Compared with other image encoding and decoding solutions such as VTM (VVC test model), the image encoding and decoding solution provided in the embodiment of the present application has higher image reconstruction quality and better image analysis quality. In the VCM (Video Coding for Machin) standard test environment, the image encoding and decoding solution provided in the embodiment of the present application is compared with the VTM solution, and the following results can be obtained: Fig.9A , Fig. 9B , Fig. 9C and Fig.9D When the same image and QP are used for quantization, the comparison process between the image encoding and decoding scheme provided in the embodiment of the present application and the VTM scheme is as follows.

[0198] Image reconstruction quality comparison, using the solution provided in the embodiment of the present application and the VTM solution to compress and reconstruct the image, respectively, to obtain SSIM (Structural Similarity) and the corresponding BPP (Bits Per Pixel), PSNR (Peak Signal to Noise Ratio) and the corresponding BPP. A schematic diagram comparing the effects of the solution provided in the embodiment of the present application and the VTM solution is drawn using SSIM and the corresponding BPP, as shown in the figure. Fig.9A A schematic diagram comparing the effects of the solution provided by the embodiment of the present application and the VTM solution is drawn using PSNR and the corresponding BPP, as shown in FIG. Fig. 9B shown.

[0199] The performance comparison of the image analysis task of machine vision is as follows: taking the object detection task as the image analysis task and mAP (a common indicator of the object detection task) as the performance indicator of the image analysis task, the performance indicator of the object detection task using the embodiment of the present application is compared with the performance indicator of the object detection task using the image compressed by VTM to obtain mAP and the corresponding BPP; a schematic diagram comparing the effects of the solution provided by the embodiment of the present application and the VTM solution is drawn using mAP and the corresponding BPP, as shown in FIG. Fig. 9C As shown. Taking the example of selecting the instance segmentation task as the image analysis task and selecting mAP as the performance indicator of the image analysis task, the performance indicator of the instance segmentation task using the embodiment of the present application is compared with the performance indicator of the instance segmentation task using the image compressed by VTM to obtain mAP and the corresponding BPP; a schematic diagram of the effect comparison between the solution provided by the embodiment of the present application and the VTM solution is drawn using mAP and the corresponding BPP, as shown in FIG. Fig.9D shown.

[0200] from Fig.9A , Fig. 9B , Fig. 9C and Fig.9D It can be seen that in terms of image reconstruction quality with the same BPP, the image encoding and decoding scheme provided by the embodiment of the present application has higher image reconstruction quality than the VTM scheme of the current VVC with better performance (for example, the scheme provided by the embodiment of the present application is 4dB higher in PSNR than VTM); in terms of image analysis quality with the same BPP, the image encoding and decoding scheme provided by the embodiment of the present application has better image analysis quality than VTM (for example, in terms of mAP, the scheme provided by the embodiment of the present application completely surpasses VTM).

[0201] The image encoding and decoding solution provided in the embodiment of the present application proposes a reasonable and efficient encoding and decoding framework, which can effectively address the fusion problem of VCM in image reconstruction tasks oriented to user vision and image analysis tasks oriented to machine vision.

[0202] In some application examples, the image encoding and decoding scheme provided in the embodiments of the present application can realize the effective fusion of image reconstruction tasks and image analysis tasks for images generated by intelligent hardware. It is understandable that with the rise of smart cities and deep learning, intelligent hardware generates massive images every day to better meet various information interaction needs; the images generated by intelligent hardware can be presented to users for viewing, for the purpose of image and video monitoring, etc., and can also rely on machine vision analysis systems to perform corresponding analysis and decision-making tasks (for example, license plate recognition and road planning in intelligent transportation systems; object detection and road tracking in autonomous driving systems; face and expression detection and analysis in smart medical systems, abnormal behavior detection, etc.); therefore, a set of encoding and decoding schemes and frameworks are needed to fuse image reconstruction tasks and image analysis tasks for images generated by intelligent hardware.

[0203] The following uses the smart hardware as a camera in an intelligent transportation system as an example to introduce an application example of the image encoding and decoding solution provided in the embodiment of the present application. Fig.10 The following is an example diagram of an application provided by an embodiment of the present application. Fig.10 As shown, the camera 910, as an intelligent hardware with video acquisition capability, can acquire traffic video images. The traffic video images acquired by the camera 910 can be encoded using the image encoding system 111 provided in the embodiment of the present application, thereby outputting the first code stream, the second code stream and the third code stream to the traffic command center 920.

[0204] The traffic command center 920 can use the image decoding system 121 provided in the embodiment of the present application to perform decoding processing, thereby reconstructing the traffic video image and outputting the high-level semantic information of the traffic video image. The traffic video image reconstructed by the image decoding system 121 can be displayed on the monitoring screen of the traffic command center 920 to realize traffic video monitoring. The high-level semantic information of the traffic video image output by the image decoding system 121 can be imported into the license plate recognition system of the traffic command center 920 to realize the license plate recognition of the vehicle in the traffic video image.

[0205] The image encoding and decoding scheme provided in the embodiment of the present application can be used to reconstruct traffic video images in the intelligent traffic system scenario to meet the needs of video surveillance, and can also perform image analysis on traffic video images to meet the needs of vehicle license plate recognition and other analysis. Fig.10 This is only an optional application example of the image encoding and decoding solution provided in the embodiment of the present application. The embodiment of the present application can be applied in any scenario requiring image reconstruction tasks and image analysis tasks.

[0206] The embodiments of the present application are compatible with image encoding for user vision and machine vision tasks. The encoding and decoding schemes provided by the embodiments of the present application can be widely used in related processing of image data in smart city systems, thereby effectively improving the compression rate of image data, reducing network bandwidth burden, reducing the workload of cloud services, reducing image data storage consumption, etc., thereby reducing the operating costs of smart cities.

[0207] An embodiment of the present application further provides an electronic device, such as a transmitting end 110 or a receiving end 120 . Fig.11 FIG. 1 shows a block diagram of an electronic device provided by an embodiment of the present application. Fig.11 As shown, the electronic device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4.

[0208] In the embodiment of the present application, the number of the processor 1 , the communication interface 2 , the memory 3 , and the communication bus 4 is at least one, and the processor 1 , the communication interface 2 , and the memory 3 communicate with each other through the communication bus 4 .

[0209] Optionally, the communication interface 2 may be an interface of a communication module for performing network communication.

[0210] Optionally, processor 1 may be a CPU (central processing unit), a GPU (Graphics Processing Unit), an NPU (embedded neural network processor), an FPGA (Field Programmable Gate Array), a TPU (tensor processing unit), an AI chip, an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement an embodiment of the present application.

[0211] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0212] Among them, the memory 3 stores one or more computer-executable instructions, and the processor 1 calls one or more computer-executable instructions to execute the image encoding method provided in the embodiment of the present application, or to execute the image decoding method provided in the embodiment of the present application, or to execute the image reconstruction method provided in the embodiment of the present application, or to execute the image analysis method provided in the embodiment of the present application.

[0213] An embodiment of the present application also provides a storage medium, which can store one or more computer-executable instructions, which, when executed, implement an image encoding method as provided in an embodiment of the present application, or an image decoding method as provided in an embodiment of the present application, or an image reconstruction method as provided in an embodiment of the present application, or an image analysis method as provided in an embodiment of the present application.

[0214] The above describes multiple implementation schemes provided by the embodiments of the present application. The various optional methods introduced in each implementation scheme can be combined and cross-referenced with each other without conflict, thereby extending a variety of possible implementation schemes, which can all be considered as implementation schemes disclosed and open in the embodiments of the present application.

[0215] Although the embodiments of the present application are disclosed above, the present application is not limited thereto. Any person skilled in the art may make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be subject to the scope defined by the claims.

Claims

1. A method for encoding an image, wherein: include: Get the original image; Extracting high-level semantic information of the original image, wherein the high-level semantic information is the semantics expressed by the image and is used for an image analysis task of the original image; as well as, Extracting low-level features of the original image, wherein the low-level features are detailed feature information of the image, and the low-level features and the high-level semantic information are used for an image reconstruction task of the original image; Encoding the high-level semantic information to generate a first bitstream; as well as, Encoding the low-level features to generate a second bitstream; Processing the low-level features to obtain target features for further processing with the high-level semantic information; The target feature and the high-level semantic information are stacked and then convolved to obtain a convolution feature; The convolutional features are combined with the low-level features to obtain a predicted image.

2. The image encoding method according to claim 1, wherein: Also includes: Determining difference information between the predicted image and the original image, wherein the difference information is used to enhance the predicted image in the image reconstruction task; The difference information is encoded to generate a third code stream.

3. The image encoding method according to claim 1, wherein: The processing of the low-level features comprises: upsampling the low-level features; The step of stacking the target feature and the high-level semantic information and then performing convolution processing to obtain the convolution feature includes: stacking the target feature and the high-level semantic information to obtain a stacked feature; performing multiple convolution processing on the stacked feature to obtain a first convolution feature; performing multiple filtering processing on the first convolution feature to obtain a filtered feature; performing multiple convolution processing on the filtered feature to obtain a second convolution feature; and outputting the second convolution feature as the convolution feature via an activation function; Combining the convolutional features with the low-level features to obtain a predicted image includes: adding the convolutional features to the low-level features to obtain a predicted image.

4. The image encoding method according to claim 2, wherein: The determining the difference information between the predicted image and the original image comprises: performing residual processing on the predicted image and the original image to obtain residual information between the predicted image and the original image; The encoding of the difference information to generate a third bitstream includes: lossy encoding of the residual information to generate a third bitstream; The encoding of the high-level semantic information to generate a first bitstream includes: losslessly encoding the high-level semantic information to generate a first bitstream; The encoding of the low-level features to generate a second bitstream includes: losslessly encoding the low-level features to generate a second bitstream.

5. The image encoding method according to claim 2, wherein: The step of extracting low-level features of the original image comprises: Based on channel normalization technology, determine the low-level features corresponding to each channel of the original image; According to the low-level features corresponding to each channel of the original image, the low-level features of the original image are determined.

6. The image encoding method according to any one of claims 1 to 5, wherein: The extracting high-level semantic information of the original image comprises: extracting a plurality of high-level semantic information of the original image, wherein one high-level semantic information is used for one or more types of image analysis tasks of the original image; The multiple high-level semantic information are encoded respectively to obtain multiple first code streams; the low-level features are combined with one high-level semantic information or at least two high-level semantic information among the multiple high-level semantic information to reconstruct the original image.

7. The image encoding method according to claim 2, wherein: The high-level semantic information includes instance segmentation map information or stick figure image information; the instance segmentation map information is used for at least one of the instance segmentation task, image classification task, and object detection task of the original image, and the stick figure image information is used for the human posture recognition task of the original image.

8. An image coding system, wherein: include: A semantic extractor, used to extract high-level semantic information of the original image, where the high-level semantic information is the semantics expressed by the image and is used for image analysis tasks of the original image; A feature extractor, used to extract low-level features of the original image, wherein the low-level features are detailed feature information of the image, and are used together with the high-level semantic information for an image reconstruction task of the original image; A first encoder, configured to encode the high-level semantic information to generate a first code stream; A second encoder, used for encoding the low-level features to generate a second code stream; A predictor, the predictor comprising: an upsampler for processing the low-level features to obtain target features for further processing with the high-level semantic information; A stacker, used to stack high-level semantic information with target features to obtain stacked features; A convolutional network is used to perform convolution processing on the stacked features to obtain convolution features; The adder is used to add the low-level features and the convolutional features to obtain the predicted image.

9. The image encoding system according to claim 8, wherein: Also includes: a comparator, configured to determine difference information between the predicted image and the original image, wherein the difference information is used to enhance the predicted image in the image reconstruction task; The third encoder is used to encode the difference information to generate a third code stream.

10. The image coding system according to claim 8, wherein the upsampler is specifically used to upsample the low-level features to obtain target features for further processing with high-level semantic information; The convolutional network includes: A first group of convolutional layers, multiple convolutional filter groups, a second group of convolutional layers and an activation function; wherein the first group of convolutional layers includes multiple layers of convolutional layers connected in sequence, a convolutional filter group includes multiple layers of convolutional filters, and the second group of convolutional layers includes multiple layers of convolutional layers connected in sequence.

11. The image encoding system according to claim 8, wherein: The high-level semantic information includes instance segmentation map information or stick figure image information; the instance segmentation map information is used for at least one of the instance segmentation task, image classification task, and object detection task of the original image, and the stick figure image information is used for the human posture recognition task of the original image.

12. An image decoding method, wherein: include: Obtaining a first code stream corresponding to high-level semantic information of the original image and a second code stream corresponding to low-level features of the original image; Decoding the first bitstream to obtain the high-level semantic information, where the high-level semantic information is the semantics expressed by the image and is used to perform an image analysis task on the original image; Decoding the second bitstream to obtain the low-level features, where the low-level features are detail feature information of the image; Reconstructing the original image according to the low-level features and the high-level semantic information to obtain a predicted image; A third code stream corresponding to the difference information between the predicted image and the original image is obtained, wherein the third code stream is generated by the image coding system by encoding the difference information between the determined predicted image and the original image, and the predicted image is obtained by the image coding system by processing the low-level features to obtain target features that are further processed with the high-level semantic information; the target features are stacked with the high-level semantic information and then convolved to obtain convolution features; and the convolution features are combined with the low-level features.

13. The image decoding method according to claim 12, wherein: Also includes: Decoding the third code stream to obtain the difference information; According to the difference information, image enhancement processing is performed on the predicted image to obtain an enhanced image for display.

14. An image decoding system, wherein: include: A first decoder is used to decode a first code stream corresponding to high-level semantic information of an original image to obtain the high-level semantic information for performing an image analysis task on the original image, wherein the high-level semantic information is the semantics expressed by the image; A second decoder decodes a second bitstream corresponding to the low-level features of the original image to obtain the low-level features, where the low-level features are detail feature information of the image; A predictor, performing image reconstruction on the original image according to the low-level features and the high-level semantic information to obtain a predicted image; A third decoder is used to obtain a third code stream corresponding to the difference information between the predicted image and the original image, wherein the third code stream is generated by the image coding system by encoding the difference information between the determined predicted image and the original image, and the predicted image is obtained by the image coding system by processing the low-level features to obtain a target feature that is further processed with the high-level semantic information; the target feature is stacked with the high-level semantic information and then convolved to obtain a convolution feature; and the convolution feature is combined with the low-level feature.

15. The image decoding system according to claim 14, wherein: Also includes: The image enhancer is used to perform image enhancement processing on the predicted image according to the difference information to obtain an enhanced image for display.

16. An electronic device, wherein: The method comprises at least one memory and at least one processor, wherein the memory stores one or more computer executable instructions, and the processor calls the one or more computer executable instructions to execute the image encoding method as described in any one of claims 1 to 7, or the image decoding method as described in any one of claims 12 to 13.