Method for detecting compression loss of image data encoded in encoder unit

By generating training data for training machine learning algorithms in the encoder unit, the compression loss of video data is identified, the problem of information loss in video data transmission is solved, the security and reliability of the system are enhanced, and safety-critical Simple integration in the system.

CN118646879APending Publication Date: 2024-09-13ROBERT BOSCH GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410277858.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-13
Filing Date
2024-03-12
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Existing video data compression methods easily lead to information loss when transmitting high-resolution video data, making it difficult to identify and prevent safety-related compression losses early, especially in safety-critical systems such as autonomous motor vehicles, which may endanger safety.

Method used

By generating training data for training machine learning algorithms, using encoders and decoders to encode and decode image data, comparing the original and decoded data, identifying and generating detection results for training to be able to identify in the encoder unit Security-related compression loss algorithms, thus preventing unsafe information transmission.

Benefits of technology

Enables early identification of safety-relevant compression losses in the encoder unit, prevents the unsafe use of information with compression losses in the overall system, enhances system reliability and allows simple integration of common compression methods in safety-critical systems , to avoid high-complexity adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646879A
    Figure CN118646879A
Patent Text Reader

Abstract

The invention relates to a method for generating training data for training a machine learning algorithm to detect a compression loss of image data encoded in an encoder unit, in which the image data is transmitted to a detector for further processing, the method has the following steps: encoding the received image data in an encoder unit; decoding the encoded image data in an encoder unit; comparing the decoded encoded image data with the received image data in order to generate input data for a machine learning algorithm; generating, by the detector, a first detection result based on the received image data; generating, by the detector, a second detection result based on the decoded encoded image data; comparing the first detection result with the second detection result so as to generate output data of the machine learning algorithm; and providing the generated input data and the generated output data as training data for training a machine learning algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for detecting compression losses of image data encoded in an encoder unit, the method being designed such that safety-related compression losses can already be identified in the encoder unit, so that unsafe use of information about the presence of compression losses in a corresponding overall system can be prevented. Background Art

[0002] In order to accurately and quickly record the environment for controlling controllable systems or cyber-physical systems, i.e. complexes of information, software technology components and mechanical and electronic components in complex urban scenarios (e.g. autonomous motor vehicles), multiple streams or video streams of high-resolution and information-rich sensor data from different angles are usually required. For example, when controlling autonomous motor vehicles, in order to realize safe autonomous driving functions, it is important to integrate the data recorded by the corresponding sensors, in particular vehicle-external sensors, such as high-resolution video raw data streams, in order to avoid safety-threatening situations as much as possible.

[0003] However, since such high-resolution video raw data streams are usually very large, it is difficult to transmit the recorded data in real time to the system to be controlled, for example via a V2X communication interface, due to the limited available bandwidth. One possibility in this case is to use compression or encoding methods in order to reduce the amount of data to be transmitted.

[0004] Here, a compression method is understood to be a method which aims at reducing the number of bits that represent a certain information.

[0005] However, it has proven disadvantageous in this case that most common compression methods, such as H.264 / AVC and H.265 / HEVC, are based on technologies that reduce the bandwidth required for the transmission of video data streams or video image streams, which reduces the information content of the data and can lead to information losses. Therefore, a method is needed for early identification of safety-related compression losses in order to avoid safety-threatening situations as far as possible when the controllable system is controlled accordingly.

[0006] A method for verifying a video decoder is known from the publication US 2006 / 0126725 A1, in which test vectors are generated by encoding video data using allowed parameter combinations, and the video decoder is verified by performing at least one video decoding operation and comparing the resulting partially or completely decoded test vectors with expected values. Summary of the invention

[0007] The object of the present invention is therefore to specify a method with which safety-related compression losses can be detected at an early stage.

[0008] This object is achieved by a method for generating training data for training a machine learning algorithm for detecting compression losses of image data encoded in an encoder unit according to the features of patent claim 1 .

[0009] The object is also achieved by a method for training a machine learning algorithm for detecting compression losses of image data encoded in an encoder unit according to the features of patent claim 4 .

[0010] The object is also achieved by a method for detecting compression losses of image data encoded in an encoder unit according to the features of patent claim 5 .

[0011] The object is also achieved by a system for generating training data for training a machine learning algorithm for detecting compression losses of image data encoded in an encoder unit according to the features of patent claim 8 .

[0012] The object is also achieved by a system for training a machine learning algorithm for detecting compression losses of image data encoded in an encoder unit according to the features of patent claim 9 .

[0013] Furthermore, the object is achieved by an encoder unit according to the features of patent claim 10 .

[0014] According to one embodiment of the present invention, the task is solved by a method for generating training data for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit, wherein the encoded image data are transmitted to a detector for further processing, and wherein the method comprises the following steps: receiving test data, wherein the test data comprises image data; encoding the received image data in an encoder of the encoder unit; decoding the encoded image data in a decoder of the encoder unit; comparing the decoded encoded image data with the received image data in order to generate input data for the machine learning algorithm; generating, by the detector, a first detection result based on the received image data; generating, by the detector, a second detection result based on the decoded encoded image data; comparing the first detection result with the second detection result in order to generate output data of the machine learning algorithm; and providing the generated input data and the generated output data as training data for training the machine learning algorithm.

[0015] Machine learning algorithms are based on the use of statistical methods to train a data processing system so that it can perform a specific task without the data processing system having been originally explicitly programmed for that task. The goal of machine learning is to build algorithms that can learn from data and make predictions. These algorithms create mathematical models with which, for example, data can be classified and input data can be mapped to output data.

[0016] Furthermore, a detector is a device or a unit for verifying or displaying a process which cannot be directly accessed or perceived, wherein, based on the detection results generated by the detector, for example a controllable system can be controlled.

[0017] Furthermore, an encoder is understood to be a hardware and / or software system which converts information or data from one format into another by applying compression or encoding methods.

[0018] Furthermore, a decoder is understood to be a hardware and / or software system which reconverts or unpacks compressed data into the original format by applying a decompression or decoding method.

[0019] In this context, test data refers to data which are usually used for testing the corresponding detector. Furthermore, image data is understood to be data which can be reproduced as an image or graphic by means of a special program.

[0020] Thus, a method is described with which training data can be generated for training a machine learning algorithm, which makes it possible to detect safety-related compression losses in the encoder unit, i.e. in the encoder or in the transmitter, so that unsafe use of information about the presence of compression losses in the overall system can be prevented, for example by notifying a receiver of the detected safety-related compression losses. Based on the output data of the machine learning algorithm, a subsequent detector or one that processes the image data can then, for example, discard the image data and use image data transmitted at a previous point in time and / or at a subsequent point in time instead. Since conventional encoders also usually have an integrated decoder, conventional compression methods can also be integrated in safety-critical systems and applications in a simple manner without requiring complex and complicated adaptations.

[0021] Here, the step of providing the generated input data and the generated output data as training data for training the machine learning algorithm may include: providing the generated input data, the generated output data and the received image data as training data for training the machine learning algorithm.

[0022] In particular, the generated input data and the received image data can be provided here as input data for a machine learning algorithm so as to train the following machine learning algorithm, which is designed to: based on a comparison of the decoded encoded image data with the corresponding received image data and the received image data, make a statement as to whether the detection result generated based on the decoded encoded image data is consistent with the expected detection result.

[0023] This can increase the reliability of a correspondingly trained machine learning algorithm, since it knows not only the absolute image differences but also the corresponding current situation.

[0024] In one embodiment, the comparison of the decoded coded image data with the received image data further comprises: comparing the decoded coded image data with the received image data block by block.

[0025] In this case, a block-by-block comparison of the decoded image data with the received image data is understood to mean that the image data is divided into pixel blocks of preferably equal size and corresponding pixel blocks or blocks of pixels are respectively compared with one another.

[0026] This method has proven to be advantageous in particular when only individual blocks or image segments have security-relevant information so that the comparison or verification cannot be falsified based on less important information, such as background information. In particular, a more fine-grained weighting of the information content of the compressed image can be achieved, for example by ignoring deviations in currently irrelevant image regions.

[0027] Utilizing another embodiment of the present invention, a method for training a machine learning algorithm to detect compression loss of image data encoded in an encoder unit is also described, wherein the method has the following steps: generating training data for training a machine learning algorithm by the above-mentioned method for generating training data for training a machine learning algorithm to detect compression loss of image data encoded in an encoder unit; training the machine learning algorithm based on the generated training data; and providing a trained machine learning algorithm.

[0028] Thus, a method for training a machine learning algorithm for detecting compression losses of image data encoded in an encoder unit is described, wherein the machine learning algorithm is trained in such a way that safety-related compression losses can already be detected in the encoder or in the transmitter, so that unsafe use of information about the presence of compression losses in the overall system can be prevented, for example by notifying a receiver of detected safety-related compression errors. Since conventional encoders also generally have an integrated decoder, conventional compression methods can also be integrated in safety-critical systems and applications in a simple manner without requiring complex and elaborate adaptations.

[0029] In addition, using another embodiment of the present invention, a method for detecting compression loss of image data encoded in an encoder unit is described, wherein the method has the following steps: receiving image data; encoding the received image data in an encoder of the encoder unit; decoding the encoded image data in a decoder of the encoder unit; comparing the decoded encoded image data with the received image data to generate comparison results; and detecting compression loss of the encoded image data based on these comparison results by a machine learning algorithm for detecting compression loss of image data encoded in the encoder unit, wherein the machine learning algorithm is trained by the above-mentioned method for training a machine learning algorithm to detect compression loss of image data encoded in the encoder unit.

[0030] Thus, a method for detecting compression losses of image data encoded in an encoder unit is described, which method is based on a machine learning algorithm that has been trained in such a way that safety-related compression losses can already be identified in the encoder or in the transmitter, so that unsafe use of information about the presence of compression losses in the overall system can be prevented, for example by notifying a receiver of the identified safety-related compression loss. Since conventional encoders also usually have an integrated decoder, it is also possible to integrate common compression methods in safety-critical systems and applications in a simple manner without requiring complex and complicated adaptations. Overall, therefore, a method is described with which safety-related compression losses can be identified at an early stage.

[0031] In addition, using another embodiment of the present invention, a method for decoding encoded image data in a decoder unit is also described, wherein encoded image data and detection results are received, wherein these detection results are generated by the above-mentioned method for detecting compression losses of image data encoded in the encoder unit, and these encoded image data are decoded in the decoder unit based on these detection results.

[0032] Here, "these encoded image data are decoded based on these detection results" means that these detection results are taken into account during decoding, that is, in the decoder it can be decided, for example: to ignore compression losses; or to ignore corresponding areas or blocks in the image data if the corresponding data can no longer be decoded sufficiently reliably; or to equip corresponding areas or blocks in the image data with corresponding meta-information in the decoded image data.

[0033] A method for decoding coded image data is therefore described, which takes into account detected compression losses when decoding the coded image data by means of a method that can be used to detect safety-related compression losses at an early stage, thereby additionally preventing unsafe use of information with compression losses in the overall system.

[0034] In addition, using another embodiment of the present invention, a method for controlling a controllable system based on image data is also described, wherein the method has the following steps: receiving image data; encoding the image data in an encoder; transmitting the encoded image data to a decoder; decoding the encoded image data in the decoder; detecting the compression loss of the image data decoded in the encoder by the above-mentioned method for detecting the compression loss of the image data encoded in the encoder unit to obtain detection results; and controlling the controllable system based on the image data decoded in the decoder and these detection results.

[0035] In this case, a controllable system is understood to be, in particular, a robotic system, for example an autonomously driven motor vehicle.

[0036] Thus, a method for controlling a controllable system based on image data is described, which is based on a method that can be used to detect safety-related compression losses at an early stage. In particular, a method for controlling a controllable system is described, which is based on a machine learning algorithm that has been trained in such a way that safety-related compression losses can already be detected in an encoder or in a transmitter, so that unsafe use of information about the presence of compression losses in the overall system can be prevented, for example by notifying a receiver of the detected safety-related compression losses.

[0037] In addition, using another embodiment of the present invention, a system for generating training data for training a machine learning algorithm to detect compression losses in image data encoded in an encoder unit is described, wherein the image data are transmitted to a detector for further processing, and wherein the system is designed to: perform the above-mentioned method for generating training data for training a machine learning algorithm to detect compression losses in image data encoded in an encoder unit.

[0038] Thus, a system is described with which training data can be generated for training a machine learning algorithm, which makes it possible to detect safety-related compression losses in the encoder or in the transmitter, so that unsafe use of information about the presence of compression losses in the overall system can be prevented, for example by notifying a receiver of the detected safety-related compression losses. Based on the output data of the machine learning algorithm, a subsequent detector or one that processes the image data can then, for example, discard the image data and use image data transmitted at a previous point in time and / or at a subsequent point in time instead. Since conventional encoders also usually have an integrated decoder, conventional compression methods can also be integrated in safety-critical systems and applications in a simple manner without requiring complex and complicated adaptations.

[0039] In addition, using another embodiment of the present invention, a system for training a machine learning algorithm to detect compression loss of image data encoded in an encoder unit is described, wherein the system has: a receiving unit for receiving training data generated by the above-mentioned system for generating training data for training a machine learning algorithm to detect compression loss of image data encoded in an encoder unit; a training unit, which is designed to train the machine learning algorithm based on the received training data; and a providing unit, which is designed to provide a trained machine learning algorithm.

[0040] Thus, a system for training a machine learning algorithm for detecting compression losses of image data encoded in an encoder unit is described, wherein the machine learning algorithm is trained in such a way that safety-related compression losses can already be detected in the encoder or in the transmitter, so that unsafe use of information about the presence of compression losses in the overall system can be prevented, for example by notifying a receiver of the detected safety-related compression loss. Since conventional encoders also generally have an integrated decoder, conventional compression methods can also be integrated in safety-critical systems and applications in a simple manner without requiring complex and elaborate adaptations.

[0041] In addition, using another embodiment of the present invention, an encoder unit is described, wherein the encoder unit has: a receiver for receiving image data; an encoder for encoding the image data; a decoder for decoding the encoded image data; a comparison unit, which is designed to compare the decoded encoded image data with the received image data to provide a comparison result; and a detection unit, which is designed to: verify the compression loss in the image data encoded in the encoder based on these comparison results by a machine learning algorithm for detecting the compression loss of the image data encoded in the encoder, wherein the machine learning algorithm is trained by the above-mentioned system for training the machine learning algorithm to detect the compression loss of the image data encoded in the encoder unit.

[0042] Thus, an encoder unit is described which is based on a machine learning algorithm which has been trained in such a way that safety-related compression losses can already be detected in the encoder or in the transmitter, so that unsafe use of information about the presence of compression losses in the overall system can be prevented, for example by notifying a receiver of the detected safety-related compression loss. Since conventional encoders also usually have an integrated decoder, it is also possible to integrate common compression methods in safety-critical systems and applications in a simple manner without requiring complex and complicated adaptations. Overall, an encoder unit is thus described with which safety-related compression losses can be detected at an early stage.

[0043] In addition, using another embodiment of the present invention, a decoder unit is also described, which has: a receiving unit for receiving encoded image data and detection results from the above-mentioned encoder unit; and a decoder for decoding the encoded image data based on these detection results in the decoder unit.

[0044] Thus, a decoder unit is described which, by means of an encoder unit which can be used to detect safety-related compression losses early, takes into account detected compression losses when decoding coded image data. This additionally prevents unsafe use of information about the presence of compression losses in the overall system.

[0045] In addition, using another embodiment of the present invention, a system for controlling a controllable system is described, wherein the system comprises: a receiving unit for receiving image data; an encoder for encoding the received image data; a transmission unit, which is designed to transmit the encoded image data to a decoder, which is designed to decode the encoded image data; the above-mentioned encoder unit, which is used to provide detection results based on the encoded image data; and a control unit, which is designed to control the controllable system based on the image data decoded in the decoder and the detection results.

[0046] Thus, a system for controlling a controllable system based on image data is described, which is based on an encoder unit that can be used to detect safety-related compression losses at an early stage. In particular, a system for controlling a controllable system based on image data is described, which is based on a machine learning algorithm that has been trained in such a way that safety-related compression losses can already be detected in the encoder or in the transmitter, so that unsafe use of information about the presence of compression losses in the overall system can be prevented, for example by notifying a receiver of the detected safety-related compression losses.

[0047] In this case, the encoder can be an encoder integrated in the encoder unit. In addition, however, a separate encoder can also be provided.

[0048] In addition, a computer program or a computer program product and a machine-readable storage medium are described with another embodiment of the present invention. The computer program product or the computer program comprises a program code, which can be stored on a machine-readable carrier or storage medium such as a semiconductor memory, a hard disk memory or an optical memory, and is used to execute, implement and / or control the steps of the method according to one of the above embodiments, especially when the program product or the program is executed on a computer or a computing unit.

[0049] In summary, it should be emphasized that the present invention describes a method for detecting compression losses in image data encoded in an encoder unit, which method is designed so that safety-related compression losses can already be identified in the encoder unit, so that unsafe use of information about the presence of compression losses in the corresponding overall system can be prevented.

[0050] The described embodiments and refinements can be combined with one another as desired.

[0051] Further possible embodiments, developments and implementations of the invention also include combinations of features of the invention described above or below with reference to the exemplary embodiments that are not explicitly mentioned. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings are intended to provide a further understanding of the embodiments of the present invention. These drawings illustrate the embodiments and, together with the description, are used to explain the principles and design of the present invention.

[0053] Further embodiments and a number of the advantages mentioned can be derived with reference to these drawings. The elements represented in these drawings are not necessarily shown to scale with respect to one another.

[0054] in:

[0055] Figure 1 A flow chart showing a method for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit according to an embodiment of the present invention;

[0056] Figure 2 A schematic block diagram showing a system for training a machine learning algorithm to verify image data encoded in an encoder unit according to an embodiment of the present invention; and

[0057] Figure 3 A flow chart of a method for detecting compression losses of image data encoded in an encoder unit according to an embodiment of the present invention is shown.

[0058] In the figures of these drawings, unless otherwise indicated, the same reference numerals denote the same or functionally identical elements, components or assemblies. DETAILED DESCRIPTION

[0059] Figure 1 A flow chart of a method 1 for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit according to an embodiment of the present invention is shown.

[0060] in this case, Figure 1 A method 1 is shown, which has the following steps: step 2: receiving test data, wherein the test data has image data; step 3: encoding the received image data in an encoder of an encoder unit; step 4: decoding the encoded image data in a decoder of the encoder unit; step 5: comparing the decoded encoded image data with the received image data to generate input data for a machine learning algorithm; step 6: generating a first detection result based on the received image data through the detector; step 7: generating a second detection result based on the decoded encoded image data through the detector; step 8: comparing the first detection result with the second detection result to generate output data of the machine learning algorithm; and step 9: providing the generated input data and the generated output data as training data for training the machine learning algorithm.

[0061] Thus, a method 1 is described, with which training data can be generated for training a machine learning algorithm, which makes it possible to detect safety-related compression losses in the encoder or in the transmitter, so that unsafe use of information about the presence of compression losses in the overall system can be prevented, for example by notifying a receiver of the detected safety-related compression losses. Based on the output data of the machine learning algorithm, a subsequent detector or one that processes the image data can then, for example, discard the image data and use image data transmitted at a previous point in time and / or at a subsequent point in time instead. Since conventional encoders also usually have an integrated decoder, conventional compression methods can also be integrated in safety-critical systems and applications in a simple manner without requiring complex and complicated adaptations.

[0062] In this case, the image data may in particular be a video stream or a video image stream.

[0063] Here, the comparison of the decoded coded image data and the received image data in step 5 can be realized, for example, based on a corresponding image processing algorithm, for example, by subtracting color channels according to corresponding threshold values. In addition, the comparison can also be based only on a single color channel.

[0064] Furthermore, the differences determined in step 5 can be amplified or increased, for example by corresponding filtering, in order to specifically highlight image regions with greater differences for subsequent processing steps.

[0065] Furthermore, the machine learning algorithm may in particular be a neural network, for example a convolutional neural network.

[0066] Furthermore, the method 1 may be based on test data for testing the potential presence of downstream detectors.

[0067] according to Figure 1 In an embodiment of the present invention, step 9 of providing the generated input data and the generated output data as training data for training the machine learning algorithm further comprises: providing the generated input data, the generated output data and the received image data as training data for training the machine learning algorithm.

[0068] according to Figure 1 In an embodiment, the comparison of the decoded coded image data with the received image data in step 5 further comprises: comparing the decoded coded image data with the received image data block by block.

[0069] Here, the individual blocks may also have different precisions or sizes, and / or a different threshold value may be specified for each block.

[0070] like Figure 1 As further shown, the method 1 also has: step 10: training the machine learning algorithm based on the generated training data, for example by applying a back-propagation method; and step 11: providing a correspondingly trained machine learning algorithm.

[0071] Therefore, the machine learning algorithm is trained by the method 1, and the severity of the image change caused by the corresponding compression method is output by the machine learning algorithm. Here, the machine learning algorithm can be trained to output discrete values. However, in addition, the machine learning algorithm can also be trained to output corresponding probability values.

[0072] In particular, a machine learning algorithm is trained by this method 1 to identify relevant coding losses.

[0073] Based on the corresponding verification result of the machine learning algorithm, for example, safety-related actions can be initiated, such as stopping the transmission of data to the receiver or to the system to be controlled, such as an autonomous motor vehicle. In addition, images currently classified as unsuitable can be discarded, and a detector formed on the receiver side can use images taken at a previous point in time and / or at a subsequent point in time, or the corresponding detector can report to downstream processes that the decision of the detector is uncertain. If the image data are classified as unsuitable by the machine learning algorithm, the corresponding uncompressed image data can also be transmitted to the receiver.

[0074] Furthermore, however, compressed or encoded image data can also be transmitted to the receiver together with the detection result, or corresponding comparison results can be transmitted to the receiver, wherein the evaluation of these comparison results is performed by the receiver itself. Furthermore, the compressed image data can be unpacked or decoded again on the receiver side, for example based on the same method as the algorithm used on the transmitter side or also in the encoder unit.

[0075] Thus, the method 1 is based on a transmitter-based approach in which image data, in particular compressed video data, compressed at the transmitter to be sent to the receiver are re-decoded and compared with the original data. The corresponding image differences of the individual images can then be handed over as input to a machine learning algorithm, which provides an estimate of the severity of the changes caused or whether changes are potentially involved that would lead to different results in the receiver.

[0076] This makes it possible, for example, for applications, in particular driving functions of autonomous motor vehicles, to integrate high-resolution raw video data into vehicle-internal data processing based on compression methods that are usually not developed in accordance with safety standards.

[0077] Furthermore, the machine learning algorithm implemented on the transmitter side has a significantly lower complexity than the corresponding verification formed in the detector or receiver. Thus, the computational effort or size of the machine learning algorithm is relatively small, wherein the machine learning algorithm can also be executed on potentially weaker hardware. Furthermore, the subsequent detector can be designed to be simpler, since no additional verification is required in the detector.

[0078] Figure 2 A schematic block diagram of a system 20 for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit according to an embodiment of the present invention is shown.

[0079] Figure 2 In particular, a system 20 is shown for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit based on training data generated by a system 21 for generating training data for training a machine learning algorithm to detect compression losses of image data encoded in the encoder unit.

[0080] like Figure 2 As shown, a system 21 for generating training data for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit comprises: a receiving unit 22 for receiving test data, wherein the test data comprises image data; an encoder 23 for encoding the received image data; a decoder 24 for decoding the encoded image data; a first comparing unit 25, which is designed to compare the decoded encoded image data with the received image data so as to generate input data for the machine learning algorithm; a detector 26, wherein the detector 26 is designed to generate a first detection result based on the received image data, and wherein the detector 26 is designed to generate a second detection result based on the decoded encoded image data by the detector; a second comparing unit 27, which is designed to compare the first detection result with the second detection result so as to generate output data of the machine learning algorithm; and a providing unit 28, which is designed to provide the generated input data and the generated output data as training data for training the machine learning algorithm.

[0081] Here, the receiving unit can be designed in particular to receive corresponding sensor data from one or more optical sensors. In addition, the encoder and the decoder can be a standard non-safe encoder and a standard non-safe decoder, respectively. In addition, the first comparison unit and the second comparison unit can be implemented, for example, based on a code stored in a memory and executable by a processor and / or a corresponding hardware component (e.g., a Field Programmable Gate Array (FPGA)).

[0082] according to Figure 2 In an embodiment, the providing unit 28 is further designed to provide the generated input data, the generated output data and the received image data as training data for training the machine learning algorithm.

[0083] According to these embodiments, the first comparison unit 25 is further designed to compare the decoded coded image data with the received image data block by block.

[0084] like Figure 2 As further shown, the system 20 for training a machine learning algorithm to detect compression loss of image data encoded in an encoder also has: a receiving unit 29 for receiving training data generated by the system 21 for generating training data for training a machine learning algorithm to detect compression loss of image data encoded in an encoder unit; a training unit 30, which is designed to train the machine learning algorithm based on the received generated training data; and a providing unit 31, which is designed to provide a trained machine learning algorithm.

[0085] In this case, the training unit can be implemented, for example, based on a code that is stored in a memory and can be executed by a processor.

[0086] The illustrated system 20 is also designed to perform the above-described method for training a machine learning algorithm to detect compression losses in image data encoded in an encoder.

[0087] Figure 3 A flow chart of a method 30 for detecting compression losses of image data encoded in an encoder unit according to an embodiment of the present invention is shown.

[0088] like Figure 3 As shown, the method 30 here has a step 31 of receiving image data.

[0089] In this case, the image data may again be a video stream or a video image stream.

[0090] The received image data are then encoded in a step 32 in an encoder of the encoder unit, and the encoded image data are decoded again in a step 33 in a decoder of the encoder unit.

[0091] Then, in the next step 34, the decoded encoded image data is compared with the received image data to provide a comparison result.

[0092] In addition, in step 35, the compression loss of the image data encoded in the encoder unit is detected based on these comparison results by a machine learning algorithm for detecting the compression loss of the image data encoded in the encoder unit, wherein the machine learning algorithm is trained by the above-mentioned method for training a machine learning algorithm to detect the compression loss of the image data encoded in the encoder unit.

Claims

1. A method for generating training data for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit, in, The image data are transmitted to a detector for further processing, and the method comprises the following steps: - receiving test data, wherein the test data comprises image data (2); - encoding the received image data in an encoder of the encoder unit (3); - decoding the encoded image data in a decoder of the encoder unit (4); - comparing the decoded encoded image data with the received image data in order to generate input data for the machine learning algorithm (5); - generating, by the detector, a first detection result (6) based on the received image data; - generating, by the detector, a second detection result (7) based on the decoded encoded image data; - comparing the first detection result with the second detection result to generate output data of the machine learning algorithm (8); and - Providing the generated input data and the generated output data as training data for training the machine learning algorithm (9).

2. The method according to claim 1, in, The step (9) of providing the generated input data and the generated output data as training data for training the machine learning algorithm comprises: providing the generated input data, the generated output data and the received image data as training data for training the machine learning algorithm.

3. The method according to claim 1 or 2, in, The comparison of the decoded coded image data with the received image data comprises: comparing the decoded coded image data with the received image data block by block.

4. A method for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit, in, The method (1) comprises the following steps: - generating training data for training a machine learning algorithm by means of a method for generating training data for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit according to any one of claims 1 to 3; - training the machine learning algorithm based on the generated training data (10); as well as -Provide trained machine learning algorithms (11).

5. A method for detecting compression losses of image data encoded in an encoder unit, in, The method (30) comprises the following steps: - receiving image data (31); - encoding the received image data in an encoder of the encoder unit (32); - decoding the encoded image data in a decoder of the encoder unit (33); - comparing the decoded encoded image data with the received image data to provide a comparison result (34); and - Detecting the compression loss of the image data encoded in the encoder unit based on the comparison result by means of a machine learning algorithm for detecting the compression loss of the image data encoded in the encoder unit (35), wherein the machine learning algorithm is trained by the method for training a machine learning algorithm to detect the compression loss of the image data encoded in the encoder unit according to claim 4.

6. A method for decoding coded image data in a decoder unit, in, The method comprises the following steps: - receiving encoded image data and a detection result from an encoder unit, wherein the detection result is generated by the method for detecting compression loss of image data encoded in an encoder unit according to claim 5; and - decoding the encoded image data in the decoder unit based on the detection result.

7. A method for controlling a controllable system based on image data, in, The method comprises the following steps: - receiving image data; - encoding the image data in an encoder unit; -Transmit the encoded image data to the decoder; - decoding the encoded image data in the decoder; - detecting compression loss of image data decoded in the encoder unit by the method for detecting compression loss of image data encoded in the encoder unit according to claim 5, so as to obtain a detection result; as well as - Based on the image data decoded in the decoder and the verification result, controlling the controllable system.

8. A system for generating training data for training a machine learning algorithm to detect compression losses in image data encoded in an encoder unit, in, The image data is transmitted to a detector for further processing, and wherein the system (21) is designed to: perform a method according to any one of claims 1 to 3 for generating training data for training a machine learning algorithm to detect compression losses in image data encoded in an encoder unit.

9. A system for training a machine learning algorithm to detect compression losses in image data encoded in an encoder unit, in, The system (20) has: a receiving unit (29) for receiving training data generated by the system for generating training data for training a machine learning algorithm to detect compression losses of image data encoded in an encoder unit according to claim 8; a training unit (30), the training unit being designed to train the machine learning algorithm based on the received training data; and a providing unit (31), wherein the providing unit is designed to provide a trained machine learning algorithm.

10. An encoder unit, in, The encoder unit has: a receiver for receiving image data; an encoder for encoding the image data; a decoder for decoding the encoded image data; a comparison unit, the comparison unit being designed to compare the decoded coded image data with the received image data so as to provide a comparison result; and a verification unit, wherein the verification unit is designed to detect compression loss in the image data encoded in the encoder based on the comparison result by a machine learning algorithm for verifying the image data encoded in the encoder unit, wherein the machine learning algorithm is trained by the system for training a machine learning algorithm to detect compression loss in image data encoded in the encoder unit according to claim 9.

11. A decoder unit, in, The decoder unit has: a receiving unit for receiving the encoded image data and the detection result from the encoder unit according to claim 10; and a decoder for decoding the encoded image data based on the detection result in the decoder unit.

12. A system for controlling a controllable system, in, The system comprises: a receiving unit for receiving image data; an encoder for encoding received image data; a transmission unit, the transmission unit being designed to transmit the encoded image data to a decoder, the decoder being designed to decode the encoded image data; The encoder unit according to claim 10, configured to provide a detection result based on the encoded image data; and a control unit designed to control the controllable system based on the image data decoded in the decoder and the detection result.

13. A computer program comprising instructions, - said instructions cause: The system according to claim 8 performs the method according to any one of claims 1 to 3; and / or - said instructions cause: The system according to claim 9 performs the method according to claim 4; and / or - said instructions cause: The encoder unit according to claim 10 performs the method according to claim 5; and / or - said instructions cause: The decoder unit according to claim 11 performs the method according to claim 6; and / or - said instructions cause: The system according to claim 12 performs the method according to claim 7.

14. A machine-readable storage medium having a computer program according to claim 13.