METHOD, APPARATUS AND SYSTEM FOR IMAGE-TO-IMAGE TRANSLATION
The Gaussian plot fusion technique addresses the alignment and blending challenges in image-to-image translation by weighting pixels based on their distance from the center, resulting in high-quality UV images with reduced distortions and improved efficiency.
Patent Information
- Application Number
- FR2023002159
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-03-09
AI Technical Summary
Existing image-to-image translation methods struggle with aligning and blending overlapping image patches, particularly in transitioning from RGB to UV domains, leading to gridding and aliasing distortions, especially in densely scanned images.
A Gaussian plot fusion technique is introduced to weight overlapping pixels based on their distance from the center, using a normalized Gaussian mask to merge pixels, thereby reducing gridding effects and improving image quality.
The method achieves high-resolution, realistic-looking UV images with reduced gridding and aliasing, demonstrating superior fusion results and faster inference times compared to traditional linear blending methods.
Smart Images

Figure 00000026_0000 
Figure 00000027_0000 
Figure 00000028_0000
Abstract
Description
Description Title of the invention: METHOD, APPARATUS AND SYSTEM FOR IMAGE TO IMAGE TRANSLATION DOMAIN
[0001] = This disclosure relates to image processing using neural networks and more particularly image-to-image translation, by synthesizing images of output such as ultraviolet (UV) images from model images of RGB (red, green, blue) colors. UV images are useful as separate images whole and can be used, among other things, for skin analysis, including for one or more skin conditions or lesions, or for skin synthesis, especially for aging simulation. CONTEXT
[0002] — Over the past decade, machine learning techniques have shown substantial improvements in real-world applications. The evaluation of skin, including identification of skin diseases and notation of signs clinics, has been one of the main application areas that has experienced such success. In addition, the synthesis of the skin (especially aging) was first studied in physical and prototype-based approaches. More recently, Such works are often carried out through synthesized facial images mo- delineated by generative models for image-to-image translation that have known success in simulating changes in wrinkles and other features of aging.
[0003] — Common cameras, such as those found in many electronic systems such as smartphones, tablets, laptops, Webcams or other consumer devices produce images, such as selfie photos, using an RGB color model. The RGB color model is an additive color model based on the three primary colors red, green, and blue the visible part of the light spectrum. Ultraviolet photography records images using only radiation from the UV part of the light spectrum. Since UV radiation is invisible to the naked eye, UV images do not have color and include grayscale images. UV images may serve a number of purposes, particularly scientific and medical. Although that they are useful in their own right as a translation from the photograph into color, diagnostic medical images, for example, are useful for detecting skin conditions or signs of injury.
[0004] It is desirable to have a method and system for image-to-image translation such as skin image simulation to synthesize ultraviolet (UV) images from original RGB images. SUMMARY There is a method and system for synthesizing images from one domain to another, for example, from an RGB image domain to a UV image domain. In one embodiment, a generator translates overlapping input image patches into overlapping output image patches in an output domain. Gaussian patch fusion is used to construct the output image from the overlapping output image patches. Patch fusion weights overlapping pixels at the same coordinates (e.g., relative to the input image or the output image) among multiple generated patches based on each pixel's distance from its center point. In one embodiment, the generator is trained using consistent cycle training of a pair of generators translating in opposite directions.While embodiments are described for translating images between the UV and RGB domains, the generators may be trained for other image-to-image translations. In one embodiment, the generated images may be provided for further image processing such as adding an effect thereto, etc. In one embodiment, the approach takes 0.72 s for a full face image at 960x720 resolution at inference time and generates realistic-looking ultraviolet images having high correspondence to real ultraviolet images. Brief description of the drawings [Fig.1A][Fig.1B] [Fig.1 A] is an illustration of a training pipeline while [Fig.1B] is an illustration of a temporal inference pipeline, where the trained generator of [Fig.1 A] is used. [Fig.2] [Fig.2] is an illustration of a Gaussian plot fusion technique, in accordance with one embodiment. [Fig.3][Fig.4] [Fig.3] and 4 are image tables showing qualitative comparison results. [Fig.5] [Fig.5] is a graph showing the results of quantitative comparison [Fig.6] [Fig.6] is an illustration of a computer network providing an environment for various aspects according to embodiments herein. [Fig.7] [Fig.7] is a functional diagram of a network computing device computer science of [Fig.6]. [Fig.8] [Fig.8] is a flowchart according to one embodiment. DETAILED DESCRIPTION According to one embodiment, there is a novel skin image simulation application for synthesizing ultraviolet images from original RGB images. Ultraviolet (UV) images, which are often obtained using radiation from the UV spectrum only, can offer a direct look at sun damage to the skin. Directly coupled translation can be difficult due to the lack of perfectly aligned inputs and outputs. Therefore, in the embodiment, connections are established in a neural network via a self-supervised learning cycle. In one embodiment, there are two generators of a generative adversarial network (GAN) model trained via cycle consistency to translate from the RGB and UV domains in both directions into RGB and UV skin images. In one embodiment, the training image sets are unpaired images.Learning using paired images can be used. To ensure high-resolution results, in one embodiment, the generators are trained with skin patches (as extracted from a face image) and the patches are fused at inference time (e.g., to reconstruct the face image in UV or RGB). However, the images generated by the GAN can often be inconsistent with pixel offsets on the original images, causing aliasing distortion in the generator. With slight differences on the same target pixel in different patches, gridlines and color inconsistency issues can often arise when using trivial fusion methods. Linear fusion approaches to solving such problems can work well on simple patch fusion, but they often fail on densely scanned original images—e.g., where the same pixel from an original image appears in multiple overlapping patches. It has been observed that due to the center-focus network design, GANs can often have higher quality pixels in the central region of each image they generate (e.g., a patch from another image) compared to the corners. In one embodiment, we introduce a new fusion technique that fuses the same pixel from multiple patches by weighting the pixels with respect to their distance from the center.Consider a first pixel in a first patch that overlaps a second pixel in a second patch and where the first pixel is closer to the center of the first patch and the second pixel is closer to the edge (is located . in a surrounding area) of the second plot. Intuitively, when merging, the first pixel closest to the center would be weighted more than the second pixel in the surrounding area. To smooth the merging, a Gaussian map is generated for each plot and the Gaussian value is normalized along the same coordinate for overlapping plots. A merged pixel is the weighted average of all pixels in all overlapping plots at the same coordinates. The effectiveness of the merging technique is demonstrated qualitatively and quantitatively. A. UV-GAN model [Fig. 1A] illustrates an overview of a training pipeline 100A and [Fig. 1B] illustrates an overview of an inference pipeline 100B having a generator trained from the training pipeline 100A, each in accordance with an embodiment. The inference pipeline 100B is to be used after training the generators of [Fig. 1A], for example, for testing use or for use in an application or otherwise to obtain translated images. In [Fig. 1 A], a GAN model 102 comprising generator A 102A and a generator B 102B is shown for cycle-consistent training. To obtain a high-resolution result, a training data set was prepared as cropped patches of the original RGB images and the original UV images. In one embodiment, the patches of a consistent patch size are cropped to random locations of the original images. [Fig. 1 A] shows a representative RGB image 104 and a representation of a window 106 used to randomly extract the RGB patches 108. The RGB patches 108 are extracted (e.g., set) in response to the window being advanced to random locations around the RGB image 104 to select groups of pixels within the window dimensions.An automated process may be defined to extract the patches to be applied to train the GAN model 102, e.g., to generator A 102A. Similarly, a representative UV image 110 is used via a window 112 to define the UV patches 114. The UV patches 114 are applied to the GAN model 102, e.g., to generator B 102B. In one embodiment, each original image is used to extract N patches (e.g., N=20), but it is not necessary to extract the same number of patches from each image. The size and number of patches may vary, e.g., with the original resolution of the input images. Each of generators A and B is useful for image-to-image translation tasks. In one example, an RGB input image can be translated into a UV image using generator A. An effect can be applied (e.g., using image processing techniques, but not shown). The image with effect . can be converted by generator B into an RGB image. Generally, generator A translates images from a first domain to a second domain and generator B translates images from the second domain to the first domain. The patches overlap based on their original location in the original image. For example, a particular pixel in a first patch overlaps a particular pixel in a second patch if each of those particular pixels is cropped from the same pixel position in the original image. The overlapping pixels from overlapping output image patches are useful for constructing a final output image by merging the overlapping pixel values to construct a single pixel in the output image. In one embodiment, the output image has the same resolution as the input image. Thus, in one embodiment, at training time, the network 102 is trained to learn both directions of image translation via cyclic consistency losses such as using the techniques described in Zhu, J.Y., Park, T.,, Isola, P., Efros, A.A.: Unpaired Image-to-Image Translation Using Cyclically Consistent Adversarial Networks (Proceedings of the IEEE International Conference on Computer Vision pp 2223-2232 (2017)). The embodiments of Figures 1A and 1B relate to image-to-image translation between RGB and UV domains. Other domain pairs for image-to-image translation may be used, e.g., between a different color model and UV, between female and male gender domains, between different age domains, etc. Although a cyclical consistency GAN (ccGAN) learning paradigm is shown, another GAN model architecture may be used. Referring to [Fig. 1B], the inference pipeline 100B represents a representative RGB image 120 and a (sliding) window 122 with which to extract pixels to define overlapping input patches (not shown). For a full-face image, the sliding window is used to densely scan the face to generate patches with overlapping coordinates. In this manner, the pixels of the input image 120 are sampled across multiple overlapping patches such that the location of a pixel of the input image 120 is at different locations in the overlapping patches. For a particular pixel that has the same location in the original image, its location in an overlapping patch will vary in distance from the center.In other words, in one overlapping patch, the particular pixel may be located near the center of one overlapping patch and in another overlapping patch, the particular pixel may be located further from the center, for example, closer to an edge of the other overlapping patch. In one embodiment, all overlapping input patches from the RGB image 120 are processed by the trained generator Δ (i.e., 102A, as trained) to produce overlapping output patches 124. These UV patches overlap in the same manner as the overlapping input images. The pipeline 100B has a merge stage component 126 that accumulates the (overlapping) pixels corresponding to the same pixel by a separately calculated weight vector depicted in [Fig. 2]. A merge component 128 assembles the merged pixels corresponding to the overlapping patches into an output image 130, a UV image that corresponds to the input image 120 translated from the RGB color model to UV.According to one embodiment, through plot-based approaches, the generator A is configurable for operation (e.g., execution), for example, using common consumer devices, such as smartphones and tablets. Operation may be via a native operating system application or a web application. B. Plot Merging. One drawback of parcel-based models is the gridding problem (in reconstruction). On image-to-image translation tasks, the generator tends to focus on the central area of an output image and may be less invariant to surrounding pixels. A prior solution reveals dense scanning across the entire image and takes the average of all pixel values (e.g., grayscale pixel values in the illustrated embodiment for a translated image in the UV domain) predicted at the same pixel coordinates. While this method significantly reduces the gridding effect to a minimal amount with decreasing sliding window size, it can still appear when viewing images closely. Furthermore, the inference time increases exponentially with the frequency of scans, e.g., to produce small parcels with small steps. To overcome a grid effect without incurring a computational penalty, according to one embodiment, a novel fusion method is proposed that computes a weighted vector from overlapping Gaussian masks. The idea is to apply a smoothing vector that weights the importance of overlapping pixels based on their respective distances from the center in the generated patches. [Fig. 2] is an illustration of the fusion of component 126 and the fusion of component 128 for operations on representative pixels in overlapping patches 124A, 124B and 124C. In one embodiment, the fusion components provide fusion of overlapping patches by normalized Gaussian weighting. As illustrated in [Fig. 1B], generator 102A generates several overlapping patches 124. For purposes of illustrating an example, assume that a particular pixel location in the RGB image 120 is represented in three overlapping RGB patches which, once the patches are applied to the generator A, result in three overlapping UV patches 124A, 124B and 124C. It is understood that a greater or lesser amount of overlapping patches may occur depending on the original location of the particular pixel in the RGB image 120, the original image size and the patch generation parameters used to generate the RGB patches. In the example of [Fig. 2], the original location of a pixel in image 120 corresponds to overlapping locations 200A, 200B, and 200C in the three UV patches 124A, 124B, and 124C. According to the present embodiment, the original location of a pixel in image 120 corresponds to the same location in image 130. Pixel values 202A, 202B, and 202C at the overlapping locations 200A, 200B, and 200C are obtained for the merging operation. Three Gaussian masks 203 corresponding to UV patches 124A, 124B, and 124C are also shown in [Fig. 2]. For the corresponding locations 200A, 200B and 200C, the UV mask(s) provide blend mask values 204A, 204B and 204C which are normalized 204A', 204B' and 204C' for use. The normalization is sensitive to the scale of the UV domain, e.g., the vector is normalized to add to one.It is understood that separate instances of mask 203 are shown for illustration, but multiple masks are not necessary when performing the operations in a computer. Operation 206, a dot product, illustrates an application of normalized mask values 204A', 204B', and 204C' to pixel values 202A, 202B, and 202C resulting in a merged pixel value 208 with which to produce a UV image 130. Similar operations are repeated for all pixels in the respective patches. Some pixels may be merged with more or fewer other pixels responsive to the presence or absence of one or more overlapping patches for the pixel's location in the original image.In one embodiment, for example to have pixels near a corner of the input image sampled on overlapping patches, an input image may be padded with O values for pixels (e.g., a black border) around the image border depending on the sliding window size and step size. The black border pixels do not impact processing, and the border may be discarded when constructing the output image to obtain an image of equal resolution to the original input image. Therefore, multiple overlapping patches are merged at inference time to render the output UV image. The normalized vector of Gaussian mask values weights the pixel generated from each patch to produce the merged pixel for pixel location in output image. According to one embodiment, there is a set of operations showing an overview of the computation of each pixel. For each pixel, the operations normalize along the generated Gaussian masks concatenated based on the coordinates (locations of overlapping pixels) to obtain a merged pixel. In the operations listed below, you will find the steps to obtain a merged image. The listing indicates that e.g. REX is the "th generated RGB plot processed at the image coordinates li : / + K, j : j + KJ A Gaussian mask is $ generated with a mean at the center of the plot and a variance 6, where 0 is a hyperparameter of the operations. In one example, the variance 0 is 1.0. Operations to merge all plots 1. Initialize $ of size À x Æ with ” (e.g. prepare a mask Gaussian) 2 Initialize Fous € RP PN, Grous € R PEN, Trusionné € R PHX! with all the Zeros. 3 Scan the input images with a sliding window to obtain a total of N plots in RGB, with size & x K (e.g., extract the plots) 4 For each plot RVB pi € RE“KX <! en N parcelles : 5, Ty (114 KE 7 1 j + K, N] = generator (p'ÿ) 6. Grous [1:1 + K; ÿ 1j + K, nJ=6 7 Lmerged = product_point(7 ES Grous) 8. return / merged In one embodiment, a dataset of images of 491 American women was prepared. The dataset includes 131 non-Hispanic Euro-Americans, 138 African-Americans, 116 Hispanic Euro-Americans, and 106 East Asians, covering a wide age range from 18 to 80 years. The dataset contains 6 images for each subject, including one frontal view and two profile views of RGB and UV images. The RGB and UV images are collected using a specific camera. In order to obtain specific plots for training and testing the model, the plots were prepared from the dataset by randomly cropping 20 plots of 128x128 resolution from each image in the dataset. The dataset was randomly split by 80% and 20% per identity for training and testing set respectively.In the embodiment, the network comprises a CycleGAN training configuration using a ResNet 9 block skeleton, with ngf 64. After training, an inference pipeline, e.g. according to [Fig.1B], using the generator . trained according to the embodiment, was used to generate images for qualitative and quantitative evaluation. For comparison, additional inference pipelines were prepared using the same trained generator, but where patches of different sizes were extracted and used and where the fusion and blending components were replaced according to a linear fusion approach as reported in Cheng, YC, Lin, CH, Lee, HY, Ren, J,, Tulyakov, S, Yang, MH: Input&Output: Diverse Image Inpaintings by GAN Inversion. (Proceedings of the IEEF / CVF Conference on Computer Vision and Pattern Recognition. pp 11431-11440 (2022). The qualitative results of the embodiment model were compared with the linear fusion approach used on different photo sizes. [Fig. 3] shows a set of images 300 comprising row 302 of the respective images 302A, 302B, 302C, 302D and 302E and row 304 of the respective images 304A, 304B, 304C, 304D and 304E. The images are of the same subject in the dataset described herein showing a profile view in row 302 and a frontal or portrait view in row 304. For privacy reasons, a mask of the eye region is added for the present application, said mask was not present during the use of the images. Images 302A and 304A are original RGB images of the dataset. The RGB images are not represented in color in the present application. Images 302B and 304B are original (ground truth) UV images from the dataset. The sample is a randomly selected example from the test set. Images 302C and 304C are images resulting from linear fusion using 1 / 2 plot of the slide.Images 302D and 302E are images resulting from linear fusion using 1 / 4 plot of the slide. Images 302E and 304E are outputs of the model in accordance with the embodiment using Gaussian fusion as described herein. [Fig.3] depicts a strong correspondence in skin features (highlighted in white squares and circles) between the UV 302E and 304E images generated according to the learnings in this paper and the actual UV 302B and 304B images in frontal and profile views. With the comparison, it is evident that the method of an embodiment trained herein also generates smoothed fused results compared to the linear fusion methods at different sliding window sizes (images 302C and 304C, and 302D and 304D). Gridding is evident at 306 and 308, in the respective patch sizes. [Fig. 4] shows a set of images 400 comprising row 402 of the respective images 402A, 402B, 402C, 402D and 402E and row 404 of the respective images 404A, 404B, 404C, 404D and 404E. The images are enlarged relative to the images from the dataset. The images are of the same subject as in [Fig.4] but zoomed in compared to the images in [Fig.3]. The table shows a (second) profile view in row 402 and the same profile view in row 404 as shown in row 304. Images 402A and 404A are original RGB images from the dataset, enlarged. RGB images are not represented in color in this application. Images 402B and 404B are original (ground truth) UV images from the dataset, enlarged. The sample is a random example from the test set. Images 402C and 404C are images resulting from linear fusion using 1 / 2 of a slide plot. Images 402D and 402E are images resulting from linear fusion using 1 / 4 of the slide plot.Images 402E and 404E are outputs of the model in accordance with the embodiment using Gaussian fusion as described herein. As shown in Figures 3 and 4, while linear fusion methods produce smoother results with less noticeable gridding when moving with a smaller sliding window, the results prepared by the method according to the described embodiment show superior fusion with faster inference speed. [Fig.5] is a graph representing the quantitative comparison results 500. The image quality is evaluated by measuring the Fréchet Inception Distance (FID) between the generated images and the ground truth UV images, which compares the distribution of the images of the two groups. A lower FID indicates a lower distance between the two distributions. [Fig.5] represents a trade-off between FID and inference time when using linear fusion methods. With a sliding window size of 1 / 2 (502), 14 504) and a plot size of 1 / 8 (506), a FID of 177.24, 121.9, 91.18 and an inference time of 1.37 s, 4.64 s, 10 s are obtained respectively. The size of the circles in [Fig.5] is proportional. The proposed Gaussian weighted fusion (circle 508) achieves the lowest FID of 87.91 with the lowest inference time of 0.72 s.Although with a sliding window size of 1 / 8 of the plot size (circle 506), a relatively similar FID is obtained, but the inference time is significantly higher. Thus, the comparative examples show a typical window slider size = 1 / 2, 1 / 4, 1 / 8 of the parcel size and that the number of parcels as well as the inference time increase exponentially as the window slider decreases. One reason why dense scanning improves the final results with linear fusion is that more parcels allow a smoother transition between two connecting pixels. In an extreme case: a slide with a slide size of 1 pixel was performed, there will be no grid problem. With Gaussian fusion, since pixels are re-weighted according to their importance, this fusion will be smooth even with a large window cursor size. Such fusion therefore allows to significantly speed up the process (e.g. input image). [Fig. 6] is an illustration of a computer network providing an environment for various aspects according to embodiments herein. [Fig. 7] is a block diagram of a computing device of the computer network of [Fig. 6]. [Fig. 6] is a block diagram of an exemplary computer network 600 in which a personal use computing device 602 operated by a user 604 is in communication via a communications network 606 with remotely located server computing devices, namely server 608 and server 610. User 604 may be a consumer and / or a patient of a dermatologist. A second user 612 and a second computing device 614 configured for communication via the communications network 606 are also shown. The second user 612 may be a dermatologist, for example. Computing device 602 is for personal use by a user and is not accessible to the public. Here, the public includes registered users and / or customers, etc. Computing devices 602 and 614 may also communicate with each other.Device 616 represents a skincare formulation device, e.g., a machine for preparing a personalized skincare product using a recommended product ingredient. Any of devices 608, 610, 604, or 614 may be enabled to communicate with device 616, directly or indirectly. For example, server 608 or 610 may recommend a product ingredient to user 612 via device 614 or to user 604 via device 602. User 612 or 604 may respectively authorize server 610 and / or 608 to communicate the ingredient to device 616. The authorization may be associated with an online purchase, for example. Briefly, the computing device 602 is configured to perform skin diagnostics. In one embodiment, the skin diagnostics are performed on a UV image. A neural network for skin diagnostics may be stored and used onboard the computing device 602 or it may be provided from the server 608, e.g., via a cloud service, a web service, etc., from images received from the computing device 602. In one embodiment, an inference pipeline for translating and merging UV images from RGB images is provided by at least one of the computing devices of the system 600. A neural network for analyzing a skin image and producing a scoring result for various skin conditions is described in the patent publication US20200170564A1, dated June 4, 2020, US application serial number 16 / 702,895, filed December 4, 2019, and titled “Automatic Image-Based Skin Diagnostics Using Deep Learning.” Thus, a skin lesion prediction engine may be configured and provided that determines a per-pixel prediction score for the presence, absence, or severity of one or more skin lesion features in the UV-translated skin image using one or more convolutional neural network image classifiers. The translated UV image or the RGB input image may be annotated in response to, for example, the prediction score of a presence, absence, or severity of one or more skin lesion features. Other forms of display related to the skin lesion features may be provided.A skin lesion severity engine may be configured and provided to generate a virtual display comprising one or more instances of a predicted presence, absence, or severity of the one or more skin lesion characteristics responsive to one or more inputs based on the prediction scores of the presence, absence, or severity of at least one skin lesion characteristic. The computing device 602 is configured to communicate with the server 610, e.g., to provide skin diagnostic information and receive product / treatment recommendations responsive to a skin diagnosis. The computing device 602 may be configured to communicate other information about the user, e.g., age, gender, location; etc. The computing device 602 may be configured to communicate skin diagnostic information (which may include image data) to either or both of the servers 608 and 610, e.g., for storage in a data store (not shown). The server 610 (or another server not shown) may provide e-commerce services to sell the recommended product(s). The product recommendation may be determined in response to various information, including the presence, absence, or severity of at least one skin lesion characteristic.Other information may include geographic information such as determining available products based on the user's location. In one embodiment, a product recommendation includes a skin care product ingredient. Such an ingredient may be useful, for example, in formulating a personalized skin care product. The formulation may include an emulsion, an ointment, a solution, or a powder, for example. The skin care product ingredient may be transmitted to the skin care formulation device 616 which creates the personalized skin care product. The computing device 602 is presented as a portable mobile device (e.g. e.g., a smartphone or tablet). However, it may be another computing device such as a laptop, desktop computer, workstation, etc. The skin diagnosis described herein may be implemented on other types of computing devices. The computing device 602 may be configured using one or more native applications or browser-based applications, for example. The computing device 602 may include a user device, for example, for acquiring one or more images such as a skin image, particularly a face, and processing the images to provide skin diagnostics. The skin diagnostics may be performed in association with a skin treatment plan where images are acquired periodically and analyzed to determine skin scores for one or more skin signs. The scores may be recorded (locally, remotely, or both) and compared between sessions, for example, to show trends, improvements, etc. The skin scores and / or skin images may be accessible to the user 604 of the computing device 602 and made available (e.g., via the server 608 or otherwise communicated (electronically) via the communications network 606) to another user (e.g.,second user 612) of the computing system 600 such as a dermatologist. The second computing device 614 may also perform skin diagnostics as described. It may receive images from a remote source (e.g., computing device 602, server 608, etc.) and / or may capture images via an optical sensor (e.g., a camera) coupled thereto or in any other manner. A skin diagnostic neural network may be stored and used from the second computing device 614 or the server 608 as described. An application may be provided for performing skin diagnosis, suggesting one or more products, and monitoring changes in the skin following one or more applications of the product (which may define treatment sessions in a treatment plan) over a period of time. The computer application may provide a workflow such as a series of instructive graphical user interfaces (GUIs) and / or other user interfaces, which are generally interactive and receive information from the user, to perform any of the following activities: - skin diagnosis; - product recommendation such as for a treatment plan; - product purchase or other acquisition; - reminder, instruction, and / or registration (e.g., sign-up) for the respective treatment sessions; - thereafter (e.g.,one or more follow-ups) of skin diagnostics and present the results (e.g., comparative results), for example, in accordance with a treatment plan schedule to monitor the progress of a skin treatment plan. Each of these activities may generate data that may be stored remotely, for example, for review by the user 610, for another person to . examines, to aggregate them with data from other users to measure the effectiveness of the treatment plan, etc. In one embodiment, there is therefore a system comprising: a circuit using one or more cycleGANs (Cyclically Consistent Generative Adversarial Networks) to translate an RGB (Red, Blue Green) domain skin image into a UV (Ultraviolet) domain skin image; a circuit using one or more convolutional neural network image classifiers to determine a per-pixel prediction score for a presence, absence, or severity of one or more skin lesion features in the translated UV domain skin image; a circuit for determining at least one skin care product ingredient based on the predicted score for a presence, absence, or severity of one or more lesion features in the translated UV skin image;and a circuit for transmitting the at least one skin care product ingredient to a skin care product formulation device for creating a customized skin care product. ; In one embodiment, there is therefore a system comprising: an RGB (red, blue green) skin image to UV (ultraviolet) skin image transformation engine comprising a computational circuit configured to perform an RGB skin image translation to a UV skin image via one or more cycleGANs (cyclic consistent generative adversarial networks); a skin lesion prediction engine including a computational circuit configured to determine a pixel-wise prediction score for a presence, absence or severity of one or more skin lesion characteristics in the translated UV skin image using one or more convolutional neural network image classifiers;and a skin lesion severity engine including computer circuitry configured to generate a virtual display comprising one or more instances of a predicted presence, absence, or severity of the one or more skin lesion characteristics responsive to one or more inputs based on the prediction scores of the presence, absence, or severity of at least one skin lesion characteristic.; Comparative results (e.g., before and after results) may be presented via the computing device 602, whether during and / or at the end, etc. of a treatment plan. As noted, aspects of skin diagnosis may be performed on the computing device 602 or by a remotely coupled device (e.g., a cloud server or other arrangement). [Fig. 7] is a block diagram of the computing device 602, in accordance with one or more aspects of the present disclosure. The computing device 602 includes one or more processors 702, one or more input devices 704, a gesture I / O device 706, one or more communication units 708, and one or more multiple output devices 710. The computing device 602 also includes one or more storage devices 712 storing one or more modules and / or data. The modules may include a deep neural network model 714, an application 716 having components for a graphical user interface (GUI 718) and / or a workflow for treatment tracking (e.g., treatment monitor 720), image acquisition 722 (e.g., an interface), and treatment / product selector 730 (e.g., an interface). The data may include one or more images to be processed (e.g., image 724), skin diagnostic data (e.g., respective scores, ethnicity, or other user data), treatment data 728 such as recording data related to specific treatments, treatment plans with programs such as reminders, etc.) The application 716 provides the functionality to acquire one or more images, such as a video, and process the images. In one embodiment, the image is processed using one of the models 714 such as the generator Δ (102A) to determine a UV image. In one embodiment, the UV image is processed for skin diagnosis using a deep neural network as provided by another neural network model 714. The network model may be configured as a model for performing skin diagnosis from an image such as a UV image. In another example, the network model is located remotely (e.g., in the server or another computing device). The computing device 602, via the application 716, may communicate the UV image for processing and returning skin diagnostic data. The application 716 may be configured to perform the activities described previously. The storage device(s) 712 may store additional modules such as an operating system 732 and other modules (not shown), including communication modules; graphics processing modules (e.g., for a GPU processor 702); a map module; a contacts module; a calendar module; a photo / gallery module; a photo (image / media) editor; a media player and / or streaming module; social networking applications; a browser module; etc. The storage devices may be referred to as storage units in this document. The communication channels 738 may couple each of the components 702, 704, 706, 708, 710, 712 and all of the modules 714, 716 and 732 for inter-component communications, whether communicatively, physically and / or operationally. In some examples, the communication channels 738 may include a system bus, a network connection, an inter-process communication data structure or any other data communication method. The processor(s) 702 may implement functionality and / or execute instructions in the computing device 602. For example, the processors 702 may be configured to receive instructions and / or data from the storage devices 712 to perform the functionality of the modules illustrated in [Fig. 7], among others (e.g., operating system, applications, etc.). The computing device 602 may store data / information on storage devices 712. Some of the functionality is described below. It is understood that the operations may not correspond exactly to the modules 714, 716, and 732 of [Fig. 7] so that one module may assist in the functionality of another. The computer program code for performing operations may be written in any combination of one or more programming languages, for example, an object-oriented programming language such as Java, Smalltalk, C++ or the like, or a conventional procedural programming language, such as the "C" programming language or similar programming languages. The computing device 602 may generate output for display on a gesture I / O device screen 706 or, in some examples, for display by a projector, monitor, or other display device. It will be understood that the gesture I / O device 606 may be configured using various technologies (e.g., with respect to input capabilities: a resistive touchscreen, a surface acoustic wave touchscreen, a capacitive touchscreen, a projecting capacitive touchscreen, a pressure-sensitive screen, an acoustic pulse recognition touchscreen, or other presence-sensitive screen technology; and with respect to output capabilities: a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, a dot matrix display, an e-ink display, monochrome, or similar color. In the examples described herein, the gesture I / O device 706 includes a touchscreen device capable of receiving as input touch interactions or gestures from a user interacting with the touchscreen. These gestures may include tapping, swiping or swiping, back-and-forth gestures, pause gestures (e.g., when a user touches a same location on the screen for at least a threshold period) where the user touches or points to one or more locations on a gesture-based I / O device 706. The gesture I / O device 706 may also include non-tapping gestures. The gesture I / O device 706 may transmit or display information, such as the graphical user interface, to a user.The gesture I / O device 706 may present various applications, functions and capabilities of the computing device 602, including, for example, the application 716 for acquiring images, viewing images, processing the images and displaying new images, messaging applications, telephone communications, applications of . contact and calendar applications, web browsing applications, gaming applications, e-book applications, and financial, payment, and other applications or functions, among others. Although the present disclosure illustrates and discusses a gesture I / O device 706 primarily as a display screen device with I / O capabilities (e.g., touchscreen), other examples of gesture I / O devices may be used to detect movements and may not include a screen per se. In this case, the computing device 602 includes a display screen or is coupled to a display device to present new images and the HMIs of the application 716. The computing device 602 may receive gesture input from a touchpad / touchpad, one or more cameras, or another presence- or gesture-sensitive input device, where presence means aspects of a user's presence, including, for example, the movement of all or part of the user. One or more communication units 708 may communicate with external devices (e.g., server 608, server 410, second computing device 612) as for the purposes described and / or for other purposes (e.g., printing), for example, via the communication network 606, by transmitting and / or receiving network signals over one or more networks. The communication units may include various antennas and / or network interface cards, chips (e.g., Global Positioning Satellite (GPS)), etc. for wireless and / or wired communications. The input 704 and output 710 devices may include one or more buttons, switches, pointing devices, cameras, a keyboard, a microphone, one or more sensors (e.g., biometric, etc.), a speaker, a buzzer, one or more LEDs, a haptic (vibration) device, etc. One or more of these may be coupled via a universal serial bus (USB) or other communication channel (e.g., 738). A camera (an input device 804) may be forward-facing (i.e., on the same side as) to allow a user to capture images using the camera while looking at the gesture-based I / O device 706 to take a “selfie.” One or more storage devices 712 may take various forms and / or configurations, for example, as short-term memory or long-term memory. The storage devices 712 may be configured for short-term storage of information as volatile memory, which does not retain the stored contents when power is removed. Examples of volatile memory include random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), etc. The storage devices 712, in some examples, also include one or more computer-readable storage media, for example, to store larger amounts of information than volatile memory and / or to store that information long-term, retaining the information when the power is turned off. Examples of non-volatile memory include magnetic hard drives, optical discs, floppy disks, flash memory, or forms of electrically programmable memory (EPROM) or electrically erasable programmable memory (EEPROM). Although not illustrated, a computing device may be configured as a learning environment for training the neural network model 714, for example using the network as shown in [Fig. 1 A] along with appropriate training and / or testing data. The deep neural network can be adapted to a lightweight architecture for a computing device that is a mobile device (e.g., a smartphone or tablet) having fewer processing resources than a “larger” device such as a laptop, desktop computer, workstation, server, or other computing device of comparable generation. It is understood that the second computing device 612 may be configured in the same manner as the computing device 602. The second computing device 612 may have graphical interfaces such as for requesting and displaying images and diagnoses of skin signs from data stored on the server 608 for different users, etc. [Fig. 8] is a flowchart of operations 800 that may be performed by a computing device in accordance with one embodiment. In one example, the computing device is one of devices 602, 612, or 608 / 610. At 802, the operations perform an image-to-image translation using a trained generator model to translate an input image from a first domain to a plurality of overlapping output patch images in a second domain. And at 804, the operations merge the plurality of overlapping output patch images using a Gaussian weighting factor to provide an output image corresponding to the input image. This disclosure encompasses the following embodiments. Embodiment 1: A method comprising: performing image-to-image translation using a trained generator model to translate an input image from a first domain to a plurality of overlapping output patch images in a second domain; and fusing the plurality of overlapping output patch images using a Gaussian weighting factor to provide an output image corresponding to the input image. Embodiment 2: Method of embodiment 1, wherein the respective pixels of the plurality of overlapping output plot images having a same corresponding pixel position in the input image are all merged using the Gaussian weighting factor to merge the respective pixels to create a single pixel in the output image. Embodiment 3: The method of embodiment 1 or 2, wherein the Gaussian weighting factor is a weighted vector that weights the importance of a parcel pixel in an overlaid output parcel image based on a respective distance between a location of the parcel pixel and a center of the overlaid output parcel image. Embodiment 4: The method of embodiment 3 comprising determining the weighted vector from a Gaussian mask having a plot size corresponding to a plot size of an overlaid output plot image, the Gaussian mask generated with an average around its center and using a variance 7. Embodiment 5: The method of any one of embodiments 1 to 4, wherein the trained generator is applied to a plurality of overlapping input patch images extracted from the input image to produce the plurality of overlapping output patch images. Embodiment 6: The method of any one of embodiments 1 to 5, wherein the first domain comprises RGB images defined according to an RGB (red, blue, green) color model and the second domain comprises ultraviolet images defined according to a grayscale model and wherein the trained generator is a GAN-based generator trained to synthesize UV output images from RGB input images. Embodiment 7: The method of embodiment 6, wherein the input image is a skin image and the method comprises using the output image for a diagnostic operation to obtain a skin analysis result for a skin condition or lesion. Embodiment 8: The method of embodiment 7, comprising one or more of the following: providing a treatment product selector responsive to the skin analysis result to obtain a recommendation for at least one product and a treatment plan; providing an e-commerce interface for purchasing products associated with skin conditions or lesions; providing an image acquisition function for receiving the image; providing a treatment monitor for monitoring treatment for at least one skin condition or lesion; providing an interface for reminding, instructing, and / or recording treatment activities associated with a product application for the respective treatment sessions; and processing a second input image using the trained and fused generator using the Gaussian weighting factor to generate a subsequent UV output image, the second input image capturing a skin condition after a treatment session; obtaining a subsequent skin result from the subsequent UV output image and presenting the comparative results using the subsequent skin diagnostics. Embodiment 9: A method comprising: merging overlapping plot images generated by a GAN-based generator (merging performed) to reduce one or more gridding and color inaccuracy effects, wherein the respective pixels, from the plurality of overlapping plot images, having a same corresponding pixel location in the input image are all merged using a Gaussian weighting factor to merge the respective pixels to create a single pixel in the output image. Embodiments 1 to 8 apply to embodiment 9 with adaptation where appropriate.For example, with respect to the application of embodiment 1, the GAN-based generator is trained to translate images of a first domain into images of a second domain; embodiment method 9 comprising extracting an input image in the first domain from a plurality of overlapping input plot images to be applied to the GAN-based generator. Embodiment 10: A system comprising: an RGB (red, blue green) skin image to UV (ultraviolet) skin image transformation engine comprising computational circuitry configured to perform RGB skin image translation to UV skin image via one or more cycleGANs (Cyclically Consistent Generative Adversarial Networks); a skin lesion prediction engine including computational circuitry configured to determine a pixel-wise prediction score for a presence, absence, or severity of one or more skin lesion features in the translated UV skin image using one or more convolutional neural network image classifiers;and a skin lesion severity engine including computer circuitry configured to generate a virtual display comprising one or more instances of a predicted presence, absence, or severity of the one or more skin lesion characteristics responsive to one or more inputs based on the prediction scores of the presence, absence, or severity of at least one skin lesion characteristic.; Embodiment 11: A system comprising: a circuit using one or more cycleGANs (Cyclic Consistency General Adversarial Networks) to translate an RGB (Red, Blue Green) domain skin image into a UV (Ultraviolet) domain skin image; a circuit using one or more convolutional neural network image classifiers to determine a per-pixel prediction score for a presence, absence, or severity of one or more skin lesion features in the translated UV domain skin image; a circuit for determining at least one of the following: at least one skin care product ingredient based on the predicted score for a presence, absence, or severity of one or more lesion characteristics in the translated UV skin image; and a circuit for transmitting the at least one skin care product ingredient to a skin care product formulation device for creating a customized skin care product. Other embodiments such as the computer method, the computer device and the computer program product embodiments, for example, corresponding to any of embodiments 1-11, etc. are also disclosed. The practical implementation may include some or all of the features described herein. These and other aspects, features, and various combinations may be expressed as methods, apparatus, systems, means for performing functions, program products, and other ways, combining the features described herein. A number of embodiments have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the processes and techniques described herein. In addition, other steps may be provided, or steps may be deleted, from the described process, and other components may be added to or removed from the described systems. Accordingly, other embodiments fall within the scope of the following claims. Although computing devices are described with respect to processors and instructions that, when executed, cause the computing devices to perform operations, it is understood that other types of circuits than programmable processors may be configured. Hardware components including specifically designed circuits may be used, such as, but not limited to, an application-specific integrated circuit (ASIC) or other hardware designed to perform specific functions, which may be more efficient than a general-purpose central processing unit (CPU) programmed using software.Thus, in this document, an apparatus aspect generally refers to a system or device having circuitry (sometimes referenced as computing circuitry) that is configured to perform certain operations described in this document, such as, but not limited to, those of a method aspect in this document, whether the circuitry is configured via programming or via its hardware design. Throughout the description and claims of this specification, the terms "include" and "contain" and variations thereof mean "including but not limited to" and are not intended to (and do not) exclude other components, integers or steps. Throughout this specification, the singular includes the plural, unless the context requires otherwise. Any function, feature, integer, compound, chemical unit, or group described in conjunction with a particular aspect, embodiment, or example of the invention shall be understood to apply to any other aspect, embodiment, or example unless inconsistent therewith. Any features disclosed herein (including the claims, abstract, and accompanying drawings), and / or any steps of any method or process so disclosed, may be combined in any combination except combinations where at least some of such features and / or steps are mutually exclusive. The invention is not limited to the details of the preceding examples or embodiments.The invention extends to any novel feature, or any novel combination, of the features disclosed in this specification (including any accompanying claim, abstract and drawing) or to any novel feature, or any novel combination, of the steps of any disclosed method or process.
Claims
Claims
1. A computer-implemented image fusion method comprising the execution on a processor of the following steps: perform an image-to-image translation using a ge-model nator having undergone training to translate an input image from a first domain to a plurality of output image patches overlapping in a second domain; and merge the plurality of overlapping output plot images into using a Gaussian weighting factor to provide an image of output corresponding to the input image.
2. A method according to claim |, wherein the respective pixels of the plurality of overlapping output plot images having a same corresponding pixel position in the input image are all merged using Gaussian weighting factor to merge the respective pixels to create a single pixel in the output image.
3. The method of claim 2, wherein the weighting factor Gaussian is a weighted vector that weights the importance of a pixel by plot in an output plot image overlaid on the base of a respective distance between a location of the plot pixel and a center of the overlaid output plot image.
4. A method according to claim 3 comprising determining the weighted vector from a Gaussian mask having a size of plot corresponding to a plot size of a plot image superimposed output, the generated Gaussian mask with an average around its center and using a variance”.
5. A method according to claim !, wherein the generator having followed learning is applied to a plurality of plot images overlapping input data extracted from the input image to produce the plurality of overlapping output plot images.
6. A method according to claim |, wherein the first domain includes RGB images defined according to an RGB color model (red, green, blue) and the second domain includes ultra- violets defined according to a model in shades of gray and in which the trained generator is a GAN-based generator trained to synthesize UV output images from images RGB input.
7. The method of claim 6, wherein the input image is a skin image and the method comprises using the image of output for a diagnostic operation to obtain a result skin analysis for a skin condition or lesion.
8. A method according to claim 7, comprising one or more of following elements: provide a treatment product selector that meets the result of skin analysis to get a recommendation for at least one product and a treatment plan; and provide an e-commerce interface to purchase products associated with skin conditions or lesions.
9. A method according to claim 7, comprising one or more of following elements: provide an image acquisition function to receive the image entrance; provide a treatment monitor to monitor the treatment of at least less a skin condition or lesion; provide an interface to recall, instruct and / or record the processing activities associated with a product application for the respective treatment sessions; process a second input image using the following generator learning and merging using Gaussian weighting factor to generate a subsequent output image, the second input image capturing a skin condition after a treatment session; obtaining a subsequent skin analysis result from the subsequent output image; and presentation of comparative uses with the help of subsequent skin diagnostics.
10. A skin lesion prediction system comprising: an RGB (red, green, blue) skin image transformation engine in UV (ultraviolet) skin image comprising a set of circuits computers configured to perform skin image translation RGB to UV skin image via one or more GAN cycles (Ge- negative antagonists with cyclic consistency); a skin lesion prediction engine comprising a set of computing circuits configured to determine a prediction score per pixel for a presence, absence or severity of one or several features of skin lesions in the UV skin image translated using one or more network image classifiers convolutional neural; and a skin lesion severity engine including computational circuitry configured to generate a virtual display comprising one or more instances of a predicted presence, absence, or severity of the one or more skin lesion characteristics responsive to one or more inputs based on the prediction scores of the presence, absence, or severity of at least one skin lesion characteristic.
Citation Information
Patent Citations
Automatic image-based skin diagnostics using deep learning
US20200170564A1
