Device and computer-implemented method for evaluating a control of a generator for determining pixels of a synthetic image
Abstract
A device and method for evaluating a control of a generator for determining pixels of a synthetic image. The generator determining pixels of the synthetic image from a first input comprising a label map and a first latent code. The method includes providing the label map and latent code which includes input data points in a latent space; providing the control including a set of directions for moving the latent code in the latent space, determining the first latent code depending on at least one input data point of the latent code that is moved in a first direction which is selected from the set of directions, determining a distance between at least one pair of synthetic images generated by the generator for different first inputs which comprise the label map and vary by the first direction that is selected for determining the first latent code from the latent code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 0.
Claims (9 — 4 Independent, 5 Dependent)
- Claim 1Independent Claim
A computer-implemented method for evaluating a control of a generator for determining pixels of a synthetic image, the generator being configured to determine pixels of the synthetic image from a first input including a label map and a first latent code, wherein the label map includes a mapping of at least one class to at least one of the pixels, the method comprising the following steps: providing the label map and latent code, wherein the latent code includes input data points in a latent space; providing the control, wherein the control includes a set of directions for moving the latent code in the latent space; determining the first latent code depending on at least one input data point of the latent code that is moved in a first direction, wherein the first direction is selected from the set of directions; and determining a distance between at least one pair of synthetic images, which are generated by the generator for different first inputs, wherein the different first inputs comprise the label map and vary by the first direction that is selected for determining the first latent code from the latent code; wherein the first input includes a class mask, wherein the class mask indicates the input data points to be moved in the first direction for a class, and the distance is determined depending on pixels of the synthetic images indicated by the class mask to be considered.
- Claim 2Depends on #1
The method according to claim 1, further comprising: determining the distance between pairs of synthetic images that are generated with the same label map and first direction and with varying latent code.
- Claim 3Depends on #1
The method according to claim 1, further comprising: determining an average of distances determined for different pairs of synthetic images, the average including a mean over the distances.
- Claim 4Depends on #3
The method according to claim 3, further comprising: determining distances for at least one class of the classes that the label map includes and the average depends on the distances for the at least one class.
- Claim 5Depends on #1
The method according claim 1, further comprising: synthesizing a plurality of the synthetic images with the same label map and testing a robustness or functionality of an application for processing digital images depending on distances or scores that are determined for the plurality of the synthetic images.
- Claim 6Depends on #1
The method according to claim 1, wherein: i) the label map is determined to emulate a digital image output of an image sensor, the image sensor including a video sensor, or a radar sensor, or a LiDAR sensor, or an ultrasonic sensor, or a motion sensor, or a thermal image sensor, wherein a control signal for a computer-controlled machine is determined by a model depending on the synthetic image, the computer-controlled machine including a robot, or a vehicle, or a vehicle for autonomous driving, or a domestic appliance, or a power tool, or a manufacturing machine, or a personal assistant, or a device for automatic optical inspection, or an access system, and that includes an object detector configured to detect objects in the synthetic image, or a classifier configured for classifying the synthetic image or objects in the synthetic image, or a segmenter configured for segmenting the synthetic image, and wherein the model is trained depending on the synthetic image to determine the control signal, and/or ii) the determining of the label map and/or a selected first direction is based on the set of directions from user input detected by a graphical user interface, wherein a synthetic image is determined depending on the label map and/or latent code that is moved in the selected first direction and output by a display of the graphical user interface.
- Claim 7Independent Claim
A computer-implemented method for evaluating a control of a generator for determining pixels of a synthetic image, the generator being configured to determine pixels of the synthetic image from a first input including a label map and a first latent code, wherein the label map includes a mapping of at least one class to at least one of the pixels, the method comprising the following steps: providing the label map and latent code, wherein the latent code includes input data points in a latent space; providing the control, wherein the control includes a set of directions for moving the latent code in the latent space; determining the first latent code depending on at least one input data point of the latent code that is moved in a first direction, wherein the first direction is selected from the set of directions; determining a distance between at least one pair of synthetic images, which are generated by the generator for different first inputs, wherein the different first inputs comprise the label map and vary by the first direction that is selected for determining the first latent code from the latent code; and determining the distance between the pairs of a synthetic image which is generated with the label map and unmoved latent code, and a synthetic image which is generated with the label map and the latent code which is moved with the first direction.
- Claim 8Independent Claim
A device configured to evaluate a control of a generator for determining pixels of a synthetic image, the generator being configured to determine pixels of the synthetic image from a first input including a label map and a first latent code, wherein the label map includes a mapping of at least one class to at least one of the pixels, the device comprising: at least one processor; and at least one memory, wherein the at least one memory is configured to store computer-readable instructions that when executed by the at least one processor cause the device to perform the following: providing the label map and latent code, wherein the latent code includes input data points in a latent space, providing the control, wherein the control includes a set of directions for moving the latent code in the latent space, determining the first latent code depending on at least one input data point of the latent code that is moved in a first direction, wherein the first direction is selected from the set of directions, and determining a distance between at least one pair of synthetic images, which are generated by the generator for different first inputs, wherein the different first inputs comprise the label map and vary by the first direction that is selected for determining the first latent code from the latent code, wherein the first input includes a class mask, wherein the class mask indicates the input data points to be moved in the first direction for a class, and the distance is determined depending on pixels of the synthetic images indicated by the class mask to be considered.
- Claim 9Independent Claim
A non-transitory computer-readable storage medium on which is stored a computer program for evaluating a control of a generator for determining pixels of a synthetic image, the generator being configured to determine pixels of the synthetic image from a first input including a label map and a first latent code, wherein the label map includes a mapping of at least one class to at least one of the pixels, the computer program, when executed by a computer, causing the computer to perform the following steps: providing the label map and latent code, wherein the latent code includes input data points in a latent space; providing the control, wherein the control includes a set of directions for moving the latent code in the latent space; determining the first latent code depending on at least one input data point of the latent code that is moved in a first direction, wherein the first direction is selected from the set of directions; and determining a distance between at least one pair of synthetic images, which are generated by the generator for different first inputs, wherein the different first inputs comprise the label map and vary by the first direction that is selected for determining the first latent code from the latent code; wherein the first input includes a class mask, wherein the class mask indicates the input data points to be moved in the first direction for a class, and the distance is determined depending on pixels of the synthetic images indicated by the class mask to be considered.
Technical Overview & Description
CROSS REFERENCE The present application claims the benefit under 35 U.S.C. § 119 of German Patent Application No. EP 22 17 5795.8 filed on May 27, 2022, which is expressly incorporated herein by reference in its entirety. BACKGROUND INFORMATION Semantic image synthesis, SIS, transforms user-specified semantic layouts to realistic images. Its applications range widely from image editing and content creation to synthetic data augmentation, where training data is generated to fulfill specific semantic requirements. Generative Adversarial Networks, GANs, are a tool for SIS. Sch ö nfeld, E., Sushko, V., Zhang, D., Gall, J., Schiele, B., Khoreva, A. ’ “ You only need adversarial supervision for semantic image synthesis; ” in: International Conference on Learning Representations (ICLR) (2020) discloses an example of synthesis of images and their alignment to input semantic label maps with high visual quality. It is desirable to control the synthesis process of semantic classes specified in a lable map with GAN-based SIS models to allow a user to perform targeted local edits of a specific class in an image that is generated by the GAN-based SIS model. Evaluations of GAN controls may be based on visual inspection. H ä rk ö nen, E., Hertzmann, A., Lehtinen, J., Paris, S. ’ “ Ganspace: Discovering interpretable gan controls; ” in: Advances in Neural Information Processing Systems (NeurIPS) (2020) discloses an example for such inspection. It is desirable, to have a metric for evaluating GAN controls instead of visual inspection. SUMMARY The present invention concerns a good generator control discovery method that finds latent directions as controls that differ significantly from each other and are consistent under different initial latent code conditions. According to an example embodiment of the present invention, the device and the computer-implemented method for evaluating generator controls comprises providing a metric to evaluate an effectiveness of a generator control dis
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (6)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Zhan et al.
- “
- Multimodal Image Synthesis and Editing: A Suvery
- ”
- arXiv (2022); pp. 1-27.
- Liu et al.
- “
- ISF-GAN: An Implicit Style Function for High-Resolution Image-to-Image Translation
- ”
- arXiv (2021); pp. 1-12.