WO2025048113A1 - Method and apparatus for generating latent image, computer storage medium, and electronic device - Google Patents
Method and apparatus for generating latent image, computer storage medium, and electronic device Download PDFInfo
- Publication number
- WO2025048113A1 WO2025048113A1 PCT/KR2024/005609 KR2024005609W WO2025048113A1 WO 2025048113 A1 WO2025048113 A1 WO 2025048113A1 KR 2024005609 W KR2024005609 W KR 2024005609W WO 2025048113 A1 WO2025048113 A1 WO 2025048113A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- vector
- image
- text
- behavior
- combination
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
- G06T11/10—Texturing; Colouring; Generation of textures or colours
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
- G06T11/60—Creating or editing images; Combining images with text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
Definitions
- the disclosure relates to image processing technology. More particularly, the disclosure relates to a method and apparatus for generating a latent image, a computer storage medium, and an electronic device.
- the display device size and viewing mode are relatively fixed, and the display state is also relatively fixed for pictures displayed on the screen.
- the display size, orientation, and content of the screen wallpaper are constant.
- the picture display still adopts the existing way, for example, if a user sets a photograph as a wallpaper of a folding device, the wallpaper will be cut to be displayed on the cover screen after the device is folded, as shown in FIG. 1. Such a wallpaper display is obviously not user-friendly.
- FIG. 1 is a diagram of an existing fixed wallpaper display according to the related art.
- a user has a new demand for a new type of device with the characteristics of rotation, folding, and the like, it is desirable that the picture displayed on the screen can be changed correspondingly with the change of the state of the device to adapt to the current updated state of the device.
- the display of the wallpaper picture changes in the screen-open state and the folding state of the terminal.
- FIG. 2A is a diagram I of an existing customized wallpaper according to the related art
- FIG. 2B is a diagram II of an existing customized wallpaper according to the related art.
- a terminal device needs to be customized, and a specific wallpaper theme needs to be customized for various states of the terminal.
- a screen that is folded up and down as shown in FIG. 2A when the screen opens, the screen wallpaper is the flower opening, and when the screen closes, the screen wallpaper is the flower shrinking.
- a butterfly wing incites with the opening and closing of the device.
- the above customization processing has a high implementation cost and a limited number of optional pictures, and cannot generate adaptively a satisfactory latent image according to the state of a terminal device. For example, a self-photographing cannot be dynamically displayed according to the device’s characteristics.
- an aspect of the disclosure is to provide a method and apparatus for generating a latent image, a computer storage medium, and an electronic device, which can adaptively generate a latent image suitable for a current terminal state according to different states of a terminal device and a basic image.
- a method for generating and displaying a latent image includes acquiring a behavior text vector representing a behavior state of a device and an attribute text vector representing a display attribute of the device, acquiring an image text vector and an image feature element of a basic image, combining vector values of the behavior text vector, the attribute text vector, and the image text vector to obtain a relevant vector combination, the relevant vector combination being a combination including a value of the behavior text vector, a value of the attribute text vector, and a value of the image text vector, inputting all the relevant vector combinations into a pre-trained semantic script generation model for processing to generate a semantic script text for describing latent image generation requirements, inputting the semantic script text and the image feature element into a pre-trained conditional image generation model for processing to generate a latent image corresponding to the behavior state of the device, and displaying the corresponding latent image based on the behavior state of the device.
- LSTM long short-term memory
- the identifying of the effective processing results includes determining to be an ineffective processing result if there is no difference in processing results at different times corresponding to the relevant vector combination.
- the pre-trained semantic script generation model is a hierarchical attention neural network based on LSTM.
- conditional image generation model is a latent diffusion model
- a target image is generated based on the image feature element
- the semantic script text and the image feature element are fused to obtain a multi-modal vector
- a target parameter under the behavior state is generated based on the multi-modal vector
- the generated target image is verified and adjusted based on the target parameter to obtain the latent image under the behavior state.
- Results generated corresponding to different times are compressed into a latent feature space for learning a representation of the latent image.
- the generated latent image preferentially changes domain-dependent image feature elements indicated by the semantic script text and preferentially remains unchanged for domain-independent image feature elements.
- the target parameters under the behavior state include target parameters corresponding to different time states under the behavior state
- the latent images under the behavior state include latent images corresponding to different time states under the behavior state
- the acquiring of the behavior text vector representing different behavior states of a device includes detecting the different behavior states of the device and generating corresponding behavior text vectors.
- the obtaining of the relevant vector combination includes performing relevance filtering on vector value combinations of the behavior text vector, the attribute text vector, and the image text vector to obtain a plurality of vector value combinations with relevance greater than a set threshold as the relevant vector combination, each vector value combination being a combination including the value of the behavior text vector, the value of the attribute text vector, and the value of the image text vector.
- the performing of the relevance filtering on vector value combinations of the behavior text vector, the attribute text vector, and the image text vector includes calculating, for each vector value combination, a pointwise mutual information (PMI) value between two-word vector values in the combination, and calculating a sum of the PMI values as the relevance of the vector value combination.
- PMI pointwise mutual information
- an apparatus for generating and displaying a latent image includes a state and attribute acquisition device, a basic image processor, a filter, a semantic script generation model processor, a conditional image generation model processor, and a display
- the state and attribute acquisition device is configured to acquire a behavior text vector representing different behavior states of a device and an attribute text vector representing different display attributes of the device
- the basic image processor is configured to acquire an image text vector and an image feature element of a basic image
- the filter is configured to combine various vector values of the behavior text vector, the attribute text vector, and the image text vector to obtain a relevant vector combination, the relevant vector combination including a combination including a value of the behavior text vector, a value of the attribute text vector, and a value of the image text vector
- the semantic script generation model processor is configured to input all the relevant vector combinations into a pre-trained semantic script generation model for processing to generate a semantic script text for describing latent image generation requirements, wherein the conditional
- one or more non-transitory computer-readable storage media storing computer-executable instructions that, when executed by one or more processors of an apparatus, cause the apparatus to perform operations.
- the operations include acquiring a behavior text vector representing a behavior state of a device and an attribute text vector representing a display attribute of the device, acquiring an image text vector and an image feature element of a basic image, combining vector values of the behavior text vector, the attribute text vector, and the image text vector, obtaining a relevant vector combination, the relevant vector combination being a combination including a value of the behavior text vector, a value of the attribute text vector, and a value of the image text vector, inputting all the relevant vector combinations into a pre-trained semantic script generation model for processing to generate a semantic script text for describing latent image generation requirements, inputting the semantic script text and the image feature element into a pre-trained conditional image generation model for processing to generate a latent image corresponding to the behavior state of the device, and displaying the corresponding la
- an electronic device includes memory storing one or more computer programs, and one or more processors communicatively coupled to the memory, wherein the one or more computer programs include computer-executable instructions that, when executed by the one or more processors, cause the electronic device to acquire a behavior text vector representing a behavior state of a device and an attribute text vector representing a display attribute of the device, acquire an image text vector and an image feature element of a basic image, combine vector values of the behavior text vector, the attribute text vector, and the image text vector, obtaining a relevant vector combination, the relevant vector combination being a combination including a value of the behavior text vector, a value of the attribute text vector, and a value of the image text vector, input all the relevant vector combinations into a pre-trained semantic script generation model for processing to generate a semantic script text for describing latent image generation requirements, input the semantic script text and the image feature element into a pre-trained conditional image generation model for processing to generate a latent image corresponding to
- the application acquiring a behavior text vector representing a behavior state of a device and an attribute text vector representing a display attribute of the device, acquiring an image text vector and an image feature element of a basic image, combining various vector values of the behavior text vector, the attribute text vector, and the image text vector to obtain a relevant vector combination, these relevant vector combinations representing the combination relationships between various image feature elements and behavior states and attributes of the device, and the need for latent images at various behavior states being subsequently determined based on these combinations, inputting all the relevant vector combinations into a pre-trained semantic script generation model for processing to generate a semantic script text for describing latent image generation requirements, inputting the semantic script text and the image feature element into a pre-trained conditional image generation model for processing, and modifying and recombining the image feature element according to the requirements described by the semantic script text to generate a latent image corresponding to the behavior state of the device, and displaying the corresponding latent image based on the behavior state of the device.
- a latent image that
- FIG. 1 is a diagram of an existing fixed wallpaper display according to the related art
- FIG. 2A is a diagram I of an existing customized wallpaper according to the related art
- FIG. 2B is a diagram II of an existing customized wallpaper according to the related art
- FIG. 3 is a basic flow diagram of a method for generating and displaying a latent image according to an embodiment of the disclosure
- FIGS. 4A and 4B are diagrams of a basic image and a corresponding latent image according to various embodiments of the disclosure.
- FIG. 5 is a flow diagram of a method for generating and displaying a latent image according to an embodiment of the disclosure
- FIG. 6 is a flow framework diagram of a method for generating and displaying a latent image with the basic image and corresponding latent image shown in FIGS. 4A and 4B as an example according to an embodiment of the disclosure;
- FIG. 7 is a processing diagram of a filter according to an embodiment of the disclosure.
- FIG. 8 is a structural diagram of a semantic script generation model according to an embodiment of the disclosure.
- FIG. 9 is a structural diagram of a conditional image generation model according to an embodiment of the disclosure.
- FIG. 10 is a diagram of a latent image generation process according to an embodiment of the disclosure.
- FIG. 11 is a diagram I of latent image generation and display by a method according to an embodiment of the disclosure.
- FIG. 12 is a diagram II of latent image generation and display by a method according to an embodiment of the disclosure.
- FIG. 13 is a diagram III of latent image generation and display by a method according to an embodiment of the disclosure.
- FIG. 14 is a basic structural diagram of an apparatus for generating and displaying a latent image according to an embodiment of the disclosure.
- FIG. 15 is a basic structural diagram of an electronic device provided according to an embodiment of the disclosure.
- the basic idea of the application is as follows: according to the behavior state and attribute information of the device, the text vector and image elements of the basic image are used to adaptively generate the latent image conforming to the different behavior state and attributes of the device through the neural network model.
- each flowchart and combinations of the flowcharts may be performed by one or more computer programs which include computer-executable instructions.
- the entirety of the one or more computer programs may be stored in a single memory device or the one or more computer programs may be divided with different portions stored in different multiple memory devices.
- the one processor or the combination of processors is circuitry performing processing and includes circuitry like an application processor (AP, e.g., a central processing unit (CPU)), a communication processor (CP, e.g., a modem), a graphical processing unit (GPU), a neural processing unit (NPU) (e.g., an artificial intelligence (AI) chip), a wireless-fidelity (Wi-Fi) chip, a BluetoothTM chip, a global positioning system (GPS) chip, a near field communication (NFC) chip, connectivity chips, a sensor controller, a touch controller, a finger-print sensor controller, a display drive integrated circuit (IC), an audio CODEC chip, a universal serial bus (USB) controller, a camera controller, an image processing IC, a microprocessor unit (MPU), a system on chip (SoC), an IC, or the like.
- AP application processor
- CPU central processing unit
- CP e.g., a modem
- GPU e.g.,
- FIG. 3 is a basic flow diagram of a method for generating and displaying a latent image according to an embodiment of the disclosure.
- the method includes the following operations:
- a text vector is used to characterize different behavior states of a device, and the text vector is referred to as a behavior text vector B, at the same time, it is also necessary to obtain text vectors characterizing different display properties of the device, and the text vectors are referred to as attribute text vectors X, for example, different screen sizes of the device, or rotation angles, rotation speeds of the display screen of the device.
- image text vector a text vector for describing the image
- Image feature elements may be embodied through, such as image segmentation and recognition.
- the image text vector may also be obtained in a variety of existing ways, for example, by the results of image segmentation and recognition.
- Different values of the behavior text vector represent different behavior states of the device
- different values of the attribute text vector represent different display attributes of the device
- different values of the image text vector may represent different image feature elements of the basic image.
- the value combination of each text vector is a combination of the value of a behavior text vector, the value of an attribute text vector, and the value of an image text vector.
- the different value combinations of these three types of text vectors represent the combination of different behavior states, different display attributes, and different image feature elements of the device.
- each value combination of the three types of text vectors is determined as a relevant vector combination for representing various cases of the three types of text vector combinations.
- the relevant vector combination in the operation it is also possible to determine the relevance of each value combination of the three types of text vectors, and then perform filtering processing based on the relevance result to obtain a value combination of which the relevance exceeds a set threshold as a relevant vector combination for representing various cases of strong relevance of the three types of text vectors.
- the vector combinations represent strong relevance combination relationships between various image feature elements and behavior states and attributes of the device and subsequently determine the requirements for latent images in various behavior states based on these strong relevance combinations.
- a neural network model is used to generate semantic script text based on all relevant vector combinations.
- the semantic script text is used to describe the generation requirements of the latent image, that is, what requirements should be met for the latent image to be generated.
- the generation requirements of the latent image correspond to different behavior states and attribute combinations of the device to direct the generation of latent images corresponding to different behavior states of the device.
- the neural network model used in the operation is a pre-trained semantic script generation model.
- the model may be a hierarchical attention neural network based on LSTM, with two salient features:
- the attention mechanism is a long-term memory mechanism, which can intuitively give each word's contribution or sentence's result. It has two levels of attention mechanism applied in word and sentence level, so that more and more important content can be noticed when constructing semantic script representation.
- LSTM is performed on each input relevant vector combination, and effective processing results are identified, an attention weight corresponding to each relevant vector combination is generated based on an attention mechanism, and each effective processing result is weighted and fused by using the attention weight to obtain the semantic script text.
- identifying effective processing results if there is no difference in processing results corresponding to the relevant vector combination at different times, it is determined to be an ineffective processing result.
- the feature attributes related to the time sequence can be determined for each relevant vector combination using the LSTM, and the feature states in a long time and a short time can be specifically determined
- the hierarchical attention mechanism is used to allocate appropriate attention weight for each relevant vector combination, so that more attention is paid to the more important relevance vector combinations when generating the semantic script text, that is to say, the latent image generation requirement reflects more important relevant vector combination.
- a neural network model is used to generate latent images that adapt to different behavior states of the device.
- the neural network model used in the operation is a pre-trained conditional image generation model, mainly including a latent diffusion model.
- the latent diffusion model serves as a generating model, whose purpose is to describe its basic data distribution, and the model parameters are estimated by minimizing the difference between the actual and generated data distributions.
- the processing is performed using a latent diffusion model, and the result generated in each operation is compressed into a high-quality latent feature space, a latent representation is learned, and each image feature element of a basic image is modified and recombined according to the requirements described by a semantic script text, to generate a latent image corresponding to a behavior state of the device.
- a target image is generated based on the image feature element, and the semantic script text and the image feature element are fused to obtain a multi-modal vector, a target parameter under the behavior state is generated based on the multi-modal vector, the generated target image is verified and adjusted based on the target parameter to obtain the latent image under the behavior state which meets the verification requirements.
- Target parameters in a behavior state of the device may be a group, and a latent image in a corresponding behavior state of the device may be one and may be displayed as a static image, alternatively, the target parameters in the behavior state of the device may be a plurality of groups corresponding to different time states, and the latent images in the corresponding behavior state of the device may also be a plurality of images corresponding to different time states, and may be displayed as dynamic images.
- the generated latent image may preferentially change the domain-dependent image feature elements indicated by the semantic script text and preferentially remain unchanged for the corresponding domain-independent image feature elements.
- FIGS. 4A and 4B are diagrams of a basic image and a corresponding latent image according to various embodiments of the disclosure.
- FIG. 4A is a basic image, image feature elements thereof include a child's head, arm, body, bubble, background forest, color, and the like.
- FIG. 4B is a generated plurality of latent images, as shown in FIG. 4B, when generating these latent images, the child's arm is gradually closed, domain-dependent image feature elements including the child's head, arm, and the like can be analyzed through semantic script text, and when generating the latent images, these image feature elements are preferentially modified, domain-independent image feature elements include background forest, body, color, and the like.
- the priority processing method for these image feature elements in generating a latent image remains unchanged.
- a latent image corresponding to the behavior state of the device can be generated, and the operation displays the corresponding latent image based on the behavior state of the current device.
- the previously generated latent image corresponding to a behavior state of the device may be one or a plurality of latent images arranged in a time sequence and may be displayed as a video image, such as dynamic wallpaper.
- the application can use an image feature element of a basic image to perform modification and recombination in combination with a state and a display attribute of the device to adaptively generate a latent image matching the state and the display attribute of the device.
- FIG. 5 is a flow diagram of a method for generating and displaying a latent image according to an embodiment of the disclosure.
- FIG. 6 is a flow framework diagram of a method for generating and displaying a latent image with the basic image generating a latent image shown in FIGS. 4A and 4B according to an embodiment of the disclosure.
- the method of the embodiment specifically includes the following operations:
- the user can start the corresponding function before latent image generation is required, for example, the user sets a new wallpaper in the folding device and opens the generation function of the artificial intelligence wallpaper.
- At operation 502 detect a behavior state of a device and generate a behavior text vector B, and acquire an attribute text vector X of the device.
- a corresponding latent image is generated for display by real-time detection of a currently occurring behavior state of the device.
- various types of behavior states of a device can also be acquired through various types of device operations in advance, a corresponding latent image is generated and saved, and when the device is in a new behavior state due to a certain operation, the saved latent image corresponding to the new behavior state is displayed.
- a behavior text vector B1 is correspondingly generated, for example, folding, standing, and unfolding
- the display attributes of the acquisition device are the main display size and the cover display size, 1812 * 2176 and 904 * 2316, respectively, corresponding to the attribute text vectors X 1 and X 2 .
- the operation can be implemented in the device behavior discriminator shown in FIG. 6.
- the processing of the operation is implemented by a visual encoder and decoder model, and in particular the image recognition portion in FIG. 6.
- the visual encoder performs segmentation and recognition on the basic image to obtain image feature elements and generates an image text vector corresponding to the image feature elements through a decoder (such as an autoregressive language model).
- the acquired image feature elements include an image E 1 of a background number portion, an image E 2 of a child portion, and an image E 3 of a bubble portion
- the acquired image text vectors include I 1 , I 2 , and I 3 .
- I 1 represents a background forest
- I 2 represents a child with open arms
- I 3 represents 3 bubbles.
- operations 502 and 503 are performed after operation 501 and before operation 504, and operations 502 and 503 may be performed in parallel or in any order.
- the filter performs a combination of different values for all the inputs, each combination includes the values of three text vectors, and the three text vectors belong to different text vector categories, for each combination, the relevance of the three text vector values is determined, and a combination with a relevance higher than a set threshold is selected from all combinations, namely, a combination with a high relevance is filtered out.
- the filter may be based on point mutual information PMI and a value among word vectors in a word vector combination to calculate relevance or trend change convergence, the larger the PMI and the value are, the stronger the relevance is, and a corresponding word vector is filtered according to a set threshold.
- the word vector combination in the filter is the value of three text vectors.
- the semantic script generation model is a hierarchical attention neural network based on LSTM.
- the training samples are used to train various parameters of the neural network to generate a semantic script generation model.
- all the input relevant vector combinations are processed using the semantic script generation model to generate a semantic script text.
- FIG. 8 is a structural diagram of a semantic script generation model according to an embodiment of the disclosure.
- a structural example structured skip-gram (SSG) of a semantic script generation model is given. All relevant vector combinations are input into a SSG model, and the SSG model includes a plurality of identical branch models, and each branch model is used for processing one relevant vector combination.
- each branch model an embedding layer processing is firstly performed on an input relevant vector combination to obtain an embedded feature, and then the LSTM processing of different time levels is performed to reflect the state or degree of the embedded feature changing with time, and after the LSTM processing results of various time levels are combined, validity judgment of the processing results is performed through dropout processing to identify effective processing results therein (dropout is generally used in a training and learning stage to prevent over-fitting and reduce errors).
- the result that the state or degree of change over time is not obvious can be determined as an ineffective processing result, and the other can be determined as an effective processing result.
- attention mechanism processing is used to obtain an attention weight corresponding to each relevant vector combination.
- Each effective processing result and its corresponding attention weight are used to perform weighting and fusion, to finally obtain a latent image generation requirement corresponding to a behavior state of the device, and to use a text representation, namely, a semantic script text.
- softmax is used to compare the predicted semantic script text with the actual script text to obtain the result of the loss function, and each parameter of the model is adjusted in reverse based on the result until the completion condition of the model training is satisfied.
- the conditional image generation model mainly includes a latent diffusion model, which is also a neural network model.
- the training samples are used to train various parameters of the neural network in advance to generate the conditional image generation model.
- the conditional image generation model is used to modify and recombine the input image feature elements according to the latent image generation requirements expressed by the input semantic script text to generate the latent image corresponding to the behavior state of the device.
- FIG. 9 is a structural diagram of a conditional image generation model according to an embodiment of the disclosure.
- the model includes a diffusion processing module, a condition input layer, and a back-propagation denoising module, and the functions specifically realized include: the diffusion processing module is configured to generate an image and specifically able to continuously adjust the pixel value in the generated image according to the partial differential equation in the back-propagation denoising module so that the pixel value gradually tends towards the target image, the condition input layer is configured to fuse text features and image features in a semantic operation text to obtain a multi-modal vector and generate a target parameter (namely, T (y)) in a certain state according to a predicted semantic script pair, the back-propagation denoising module is configured to describe the propagation process of materials in images and calculate the verification and adjustment of images generated by diffusion processing module in the current state.
- the diffusion processing module is configured to generate an image and specifically able to continuously adjust the pixel value in the generated image according to the partial differential equation in the back-propagation denoising module so that the pixel value gradually tends towards the target image
- the condition input layer is configured to fuse text
- the latent image generated by the conditional image generation model corresponds to a particular behavior state of the device, which in the embodiment corresponds to B 1 .
- the latent image corresponding to the behavior state of the device may be one or may be a plurality of latent images arranged in chronological order, as shown in FIGS. 4A and 4B.
- FIG. 10 is a diagram of a latent image generation process according to an embodiment of the disclosure.
- the generation process of the latent images can be represented by the formula in FIG. 10, X 1 to X T represent the transition process of the state space from one state to another state, y represents the input condition data, and T(y) represents the posterior probability obtained after adding the condition data in each time step t, ⁇ (t) represents the relevance coefficient of the current state in the state process, the higher the coefficient, the closer to the target image, ⁇ 2 (t) is the hyper-parameter of the variance of Gaussian distribution, N represents the Markov chain calculation process, and p(x t
- y) represents the output of a state in the state space.
- the picture located on the left side in FIG. 10 is the original image, and the picture located on the right side is the target image correspondingly generated at the time X T .
- a correspondingly generated latent image such as the child’s arm closed image given in FIG. 6, is displayed depending on the current behavior state of the device.
- a latent image may also be generated adaptively corresponding to a plurality of behavior states of the device by using the method of the application.
- FIG. 11 is a diagram I of latent image generation and display by a method according to an embodiment of the disclosure.
- a plurality of latent images arranged in chronological order can be generated and displayed by the above method, and visually displayed as the main object in the images gradually moves to the right
- a plurality of latent images arranged in chronological order can be generated and displayed by the above method, and visually displayed as the main object in the image gradually moves to the left.
- FIG. 12 is a diagram II of latent image generation and display by a method according to an embodiment of the disclosure.
- the operation of folding the cellular phone up and down is detected, and the latent image generated by the above method is visually displayed as the boat moving up and down with the folding action.
- FIG. 13 is a diagram III of latent image generation and display by a method according to an embodiment of the disclosure.
- feature elements of a basic image can be extracted by the method of the application mentioned above, and a plurality of latent images are generated to constitute an animation wallpaper in combination with the rotation attribute of a device, and the ball scrolls as the screen rotates.
- a matching latent image can be adaptively generated and displayed in combination with the behavior state and attribute information of the device, which can satisfy the user’s requirement for image change as the device state changes, without needing to customize an image according to a terminal, enriching the user’s image selection and providing a better experience for the user.
- the application also provides an apparatus for generating and displaying a latent image that may be used to implement the methods of the application described above.
- FIG. 14 is a basic structural diagram of the apparatus according to an embodiment of the disclosure.
- the apparatus includes a state and attribute acquisition device, a basic image processor, a filter, a semantic script generation model processor, a conditional image generation model processor, and a display.
- the state and attribute acquisition device is configured to acquire a behavior text vector representing different behavior states of a device and an attribute text vector representing different display attributes of the device.
- the basic image processor is configured to acquire an image text vector and an image feature element of a basic image.
- the filter is configured to combine various vector values of the behavior text vector, the attribute text vector, and the image text vector to obtain a relevant vector combination.
- the relevant vector combination includes a combination including a value of the behavior text vector, a value of the attribute text vector, and a value of the image text vector.
- the semantic script generation model processor is configured to input all the relevant vector combinations into a pre-trained semantic script generation model for processing to generate a semantic script text for describing latent image generation requirements.
- the conditional image generation model processor is configured to input the semantic script text and the image feature element into a pre-trained conditional image generation model for processing to generate a latent image corresponding to the different behavior states of the device.
- the display is configured to display the corresponding latent image based on the behavior state of the device.
- the application also provides one or more non-transitory computer-readable storage media storing computer-executable instructions that, when executed by one or more processors of an apparatus, cause the electronic device to perform operations in the above method for generating and displaying a latent image.
- the one or more non-transitory computer-readable media may be included in each device/apparatus/system of the above embodiments or may be separate and not incorporated into the device/apparatus/system. Instructions are stored in a computer-readable storage medium, the stored instructions, when executed by a processor, may perform the steps in the above method for generating and displaying a latent image.
- the one or more non-transitory computer-readable storage media may be a non-volatile computer-readable storage media, for example, may include, but is not limited to a portable computer diskette, hard disk, random-access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above, which is not intended to limit the scope of protection of the application.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
- FIG. 15 is an electronic device provided according to an embodiment of the disclosure.
- FIG. 15 illustrates a structural diagram of the electronic device according to an embodiment of the application, specifically:
- the electronic device may include a processor 1501 of one or more processing cores, memory 1502 of one or more computer-readable storage media, and a computer program stored on the memory and executable on the processor. In executing the program of the memory 1502, a method for generating and displaying a latent image can be implemented.
- the electronic device may further include a power supply 1503, an input-output unit 1504, and the like. It will be understood by the skilled in the art that the structure of the electronic device shown in FIG. 15 is not limiting of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
- the processor 1501 is the control center of the electronic device, connecting various portions of the entire electronic device with various interfaces and lines, performing various functions of the server, and processing data by running or executing software programs and/or modules stored in the memory 1502 and calling data stored in the memory 1502, to monitor the electronic device as a whole.
- the memory 1502 can be configured to store software programs and modules, that is, the above computer-readable storage media.
- the processor 1501 performs various functional applications and data processing by running software programs and modules stored in the memory 1502.
- the memory 1502 may mainly include a storage program area and a storage data area.
- the storage program area may store an operating system, an application program required by at least one function, and the like.
- the storage data area may store data created according to the use of the server, and the like.
- the memory 1502 may include high-speed random-access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, a flash device, or other volatile solid-state storage device. Accordingly, the memory 1502 may also include memory controller to provide access to the memory 1502 by the processor 1501.
- the electronic device also includes a power supply 1503 for powering the various components, which may be logically connected to the processor 1501 through a power management system, such that charging, discharging, and power consumption management functions are managed through the power management system.
- the power supply 1503 may also include any one or more of a direct or alternating current power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
- the electronic device may further include an input-output unit 1504, and the input-output unit 1504 may be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, and optical signal input related to user settings and function control.
- the input-output unit 1504 may also be configured to display information input by or provided to a user as well as various graphical user interfaces that may be including graphics, text, icons, video, and any combination thereof.
- Non-transitory computer readable storage media store one or more computer programs (software modules), the one or more computer programs include computer-executable instructions that, when executed by one or more processors of an electronic device, cause the electronic device to perform a method of the disclosure.
- Any such software may be stored in the form of volatile or non-volatile storage such as, for example, a storage device like read only memory (ROM), whether erasable or rewritable or not, or in the form of memory such as, for example, random access memory (RAM), memory chips, device or integrated circuits or on an optically or magnetically readable medium such as, for example, a compact disk (CD), digital versatile disc (DVD), magnetic disk or magnetic tape or the like.
- ROM read only memory
- RAM random access memory
- CD compact disk
- DVD digital versatile disc
- the storage devices and storage media are various embodiments of non-transitory machine-readable storage that are suitable for storing a computer program or computer programs comprising instructions that, when executed, implement various embodiments of the disclosure. Accordingly, various embodiments provide a program comprising code for implementing apparatus or a method as claimed in any one of the claims of this specification and a non-transitory machine-readable storage storing such a program.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
Abstract
Description
Claims (14)
- A method for generating and displaying a latent image, the method comprising:acquiring a behavior text vector representing a behavior state of a device and an attribute text vector representing a display attribute of the device;acquiring an image text vector and an image feature element of a basic image;combining vector values of the behavior text vector, the attribute text vector, and the image text vector to obtain a relevant vector combination, the relevant vector combination being a combination including a value of the behavior text vector, a value of the attribute text vector, and a value of the image text vector;inputting all the relevant vector combinations into a pre-trained semantic script generation model for processing to generate a semantic script text for describing latent image generation requirements;inputting the semantic script text and the image feature element into a pre-trained conditional image generation model for processing to generate a latent image corresponding to the behavior state of the device; anddisplaying the corresponding latent image based on the behavior state of the device.
- The method of claim 1, further comprising:in the pre-trained semantic script generation model, performing processing of long short-term memory (LSTM) on each input relevant vector combination, and identifying effective processing results;generating an attention weight corresponding to each relevant vector combination based on an attention mechanism; andweighting and fusing each effective processing result by the attention weight to obtain the semantic script text.
- The method of claim 2, wherein the identifying of the effective processing results comprises determining an ineffective processing result if there is no difference in processing results at different times corresponding to the relevant vector combination.
- The method of claim 1, wherein the pre-trained semantic script generation model is a hierarchical attention neural network based on LSTM.
- The method of claim 1,wherein the pre-trained conditional image generation model is a latent diffusion model,wherein, in the pre-trained conditional image generation model, a target image is generated based on the image feature element, and the semantic script text and the image feature element are fused to obtain a multi-modal vector,wherein a target parameter in the behavior state is generated based on the multi-modal vector,wherein the generated target image is verified and adjusted based on the target parameter to obtain the latent image in the behavior state, andwherein results generated corresponding to different times are compressed into a latent feature space for learning a representation of the latent image.
- The method of claim 1, wherein in the pre-trained conditional image generation model, the generated latent image preferentially changes domain-dependent image feature elements indicated by the semantic script text and preferentially remain unchanged for domain-independent image feature elements.
- The method of claim 5,wherein the target parameter in the behavior state comprise target parameters corresponding to different time states under the behavior state,wherein the latent images in the behavior state comprise latent images corresponding to different time states under the behavior state, andwherein there are a plurality of latent images corresponding to the behavior state of the device, comprising latent images corresponding to different time points.
- The method of claim 1, wherein the acquiring of the behavior text vector representing different behavior states of a device comprises:detecting the different behavior states of the device; andgenerating corresponding behavior text vectors.
- The method of claim 1, wherein obtaining of the relevant vector combination comprises:performing relevance filtering on vector value combinations of the behavior text vector, the attribute text vector, and the image text vector to obtain a plurality of vector value combinations with a relevance greater than a set threshold as the relevant vector combination, each vector value combination being a combination including the value of the behavior text vector, the value of the attribute text vector, and the value of the image text vector.
- The method of claim 9, wherein the performing of relevance filtering on vector value combinations of the behavior text vector, the attribute text vector, and the image text vector comprises:calculating, for each vector value combination, a pointwise mutual information (PMI) value between two-word vector values in the vector value combination; andcalculating a sum of the PMI values as relevance of the vector value combination.
- An apparatus for generating and displaying a latent image, the apparatus comprising:a state and attribute acquisition device,a basic image processor,a filter,a semantic script generation model processor,a conditional image generation model processor, anda display,wherein the state and attribute acquisition device is configured to acquire a behavior text vector representing different behavior states of a device and an attribute text vector representing different display attributes of the device,wherein the basic image processor is configured to acquire an image text vector and an image feature element of a basic image,wherein the filter is configured to combine vector values of the behavior text vector, the attribute text vector, and the image text vector to obtain a relevant vector combination, the relevant vector combination comprising a combination including a value of the behavior text vector, a value of the attribute text vector, and a value of the image text vector,wherein the semantic script generation model processor is configured to input all the relevant vector combinations into a pre-trained semantic script generation model for processing to generate a semantic script text for describing latent image generation requirements,wherein the conditional image generation model processor is configured to input the semantic script text and the image feature element into a pre-trained conditional image generation model for processing to generate latent images corresponding to the different behavior states of the device, andwherein the display is configured to display the corresponding latent image based on the behavior state of the device.
- The apparatus of claim 11, wherein the semantic script generation model processor is further configured to:perform processing of long short-term memory (LSTM) on each input relevant vector combination, and identify effective processing results,generate an attention weight corresponding to each relevant vector combination based on an attention mechanism, andweight and fuse each effective processing result by the attention weight to obtain the semantic script text.
- The apparatus of claim 12, wherein, in identifying of the effective processing results, the semantic script generation model processor is further configured to determine an ineffective processing result if there is no difference in processing results at different times corresponding to the relevant vector combination.
- The apparatus of claim 11, wherein the pre-trained semantic script generation model is a hierarchical attention neural network based on LSTM.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP24860040.5A EP4670127A4 (en) | 2023-08-28 | 2024-04-25 | METHOD AND DEVICE FOR GENERATING A LATENT IMAGE, COMPUTER STORAGE MEDIUM AND ELECTRONIC DEVICE |
| US18/750,127 US12608850B2 (en) | 2023-08-28 | 2024-06-21 | Method and apparatus for generating latent image, computer storage medium, and electronic device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311096074.5A CN117152286A (en) | 2023-08-28 | 2023-08-28 | Potential image generation method, device, computer storage medium and electronic equipment |
| CN202311096074.5 | 2023-08-28 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US18/750,127 Continuation US12608850B2 (en) | 2023-08-28 | 2024-06-21 | Method and apparatus for generating latent image, computer storage medium, and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025048113A1 true WO2025048113A1 (en) | 2025-03-06 |
Family
ID=88909318
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/KR2024/005609 Pending WO2025048113A1 (en) | 2023-08-28 | 2024-04-25 | Method and apparatus for generating latent image, computer storage medium, and electronic device |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12608850B2 (en) |
| EP (1) | EP4670127A4 (en) |
| CN (1) | CN117152286A (en) |
| WO (1) | WO2025048113A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117152286A (en) * | 2023-08-28 | 2023-12-01 | 三星电子(中国)研发中心 | Potential image generation method, device, computer storage medium and electronic equipment |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20120010691A (en) * | 2010-07-27 | 2012-02-06 | 이기성 | Multifunction display device and method |
| US20140062856A1 (en) * | 2012-09-06 | 2014-03-06 | Industrial Technology Research Institute | Foldable display and image processing method thereof |
| US20200174646A1 (en) * | 2018-11-29 | 2020-06-04 | Samsung Electronics Co., Ltd. | Foldable electronic device and method for displaying information in foldable electronic device |
| US20200389578A1 (en) * | 2019-06-07 | 2020-12-10 | Samsung Electronics Co., Ltd. | Foldable electronic device and method for displaying information in foldable electronic device |
| US20220147106A1 (en) * | 2013-08-02 | 2022-05-12 | Semiconductor Energy Laboratory Co., Ltd. | Display device |
| CN117152286A (en) * | 2023-08-28 | 2023-12-01 | 三星电子(中国)研发中心 | Potential image generation method, device, computer storage medium and electronic equipment |
Family Cites Families (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9684935B2 (en) * | 2012-11-14 | 2017-06-20 | Facebook, Inc. | Content composer for third-party applications |
| WO2016080559A1 (en) * | 2014-11-17 | 2016-05-26 | 엘지전자 주식회사 | Foldable display device capable of fixing screen by means of folding display and method for controlling the foldable display device |
| KR102449842B1 (en) * | 2017-11-30 | 2022-09-30 | 삼성전자주식회사 | Language model training method and device using the same |
| WO2019177344A1 (en) * | 2018-03-12 | 2019-09-19 | Samsung Electronics Co., Ltd. | Electronic apparatus and controlling method thereof |
| KR102703500B1 (en) * | 2019-01-10 | 2024-09-05 | 삼성전자주식회사 | Method for providing image using foldable display and electronic device for supporting the same |
| CN111752509B (en) | 2019-03-29 | 2025-05-23 | 北京小米移动软件有限公司 | Display control method, device and storage medium for display screen |
| CN110598671B (en) * | 2019-09-23 | 2022-09-27 | 腾讯科技(深圳)有限公司 | Text-based avatar behavior control method, apparatus, and medium |
| US11138912B2 (en) | 2019-10-01 | 2021-10-05 | Microsoft Technology Licensing, Llc | Dynamic screen modes on a bendable computing device |
| US11200072B2 (en) | 2019-10-01 | 2021-12-14 | Microsoft Technology Licensing, Llc | User interface adaptations based on inferred content occlusion and user intent |
| KR102885249B1 (en) | 2020-06-18 | 2025-11-12 | 삼성전자주식회사 | Electronic apparatus and controlling method thereof |
| US11720651B2 (en) | 2021-01-28 | 2023-08-08 | Adobe Inc. | Text-conditioned image search based on transformation, aggregation, and composition of visio-linguistic features |
| KR102884546B1 (en) | 2021-06-09 | 2025-11-11 | 삼성전자주식회사 | Method for displaying a background image through a flexuble display and electronic device thereof |
| CN116414328A (en) * | 2022-01-05 | 2023-07-11 | 荣耀终端有限公司 | Method for displaying dynamic wallpaper and related equipment |
| KR20230111461A (en) | 2022-01-18 | 2023-07-25 | 삼성전자주식회사 | Foldable device and operaintg method thereof |
| CN116233491B (en) | 2023-05-04 | 2023-07-18 | 阿里巴巴达摩院(杭州)科技有限公司 | Video generation method and server |
-
2023
- 2023-08-28 CN CN202311096074.5A patent/CN117152286A/en active Pending
-
2024
- 2024-04-25 WO PCT/KR2024/005609 patent/WO2025048113A1/en active Pending
- 2024-04-25 EP EP24860040.5A patent/EP4670127A4/en active Pending
- 2024-06-21 US US18/750,127 patent/US12608850B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20120010691A (en) * | 2010-07-27 | 2012-02-06 | 이기성 | Multifunction display device and method |
| US20140062856A1 (en) * | 2012-09-06 | 2014-03-06 | Industrial Technology Research Institute | Foldable display and image processing method thereof |
| US20220147106A1 (en) * | 2013-08-02 | 2022-05-12 | Semiconductor Energy Laboratory Co., Ltd. | Display device |
| US20200174646A1 (en) * | 2018-11-29 | 2020-06-04 | Samsung Electronics Co., Ltd. | Foldable electronic device and method for displaying information in foldable electronic device |
| US20200389578A1 (en) * | 2019-06-07 | 2020-12-10 | Samsung Electronics Co., Ltd. | Foldable electronic device and method for displaying information in foldable electronic device |
| CN117152286A (en) * | 2023-08-28 | 2023-12-01 | 三星电子(中国)研发中心 | Potential image generation method, device, computer storage medium and electronic equipment |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4670127A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| US20250078332A1 (en) | 2025-03-06 |
| CN117152286A (en) | 2023-12-01 |
| US12608850B2 (en) | 2026-04-21 |
| EP4670127A1 (en) | 2025-12-31 |
| EP4670127A4 (en) | 2026-04-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019050360A1 (en) | Electronic device and method for automatic human segmentation in image | |
| WO2020171621A1 (en) | Method of controlling display of avatar and electronic device therefor | |
| WO2019164232A1 (en) | Electronic device, image processing method thereof, and computer-readable recording medium | |
| WO2018038277A1 (en) | Message sharing method for sharing image data reflecting status of each user via chat room and computer program for executing same method | |
| WO2015012495A1 (en) | User terminal device and the control method thereof | |
| WO2021071155A1 (en) | Electronic apparatus and control method thereof | |
| WO2024014819A1 (en) | Multimodal disentanglement for generating virtual human avatars | |
| WO2024019337A1 (en) | Video enhancement method and apparatus | |
| EP4670127A1 (en) | METHOD AND DEVICE FOR GENERATING A LATENT IMAGE, COMPUTER STORAGE MEDIUM AND ELECTRONIC DEVICE | |
| WO2023075508A1 (en) | Electronic device and control method therefor | |
| WO2023239041A1 (en) | Creating images, meshes, and talking animations from mouth shape data | |
| WO2017003031A1 (en) | Method for providing lifelike avatar emoticon-based ultralight data animation creation system, and terminal device providing lifelike avatar emoticon for implementing same | |
| WO2023182796A1 (en) | Artificial intelligence device for sensing defective products on basis of product images and method therefor | |
| WO2020027584A1 (en) | Method and an apparatus for performing object illumination manipulation on an image | |
| WO2021261727A1 (en) | Capsule endoscopy image reading system and method | |
| WO2025028676A1 (en) | Tagging method for content and system therefor | |
| WO2020050550A1 (en) | Methods and systems for performing editing operations on media | |
| CN112788254A (en) | Camera image matting method, device, equipment and storage medium | |
| WO2011040653A1 (en) | Photography apparatus and method for providing a 3d object | |
| CN117934339A (en) | Image restoration method and device, electronic equipment and storage medium | |
| WO2023085610A1 (en) | Method and electronic device for performing multi-task model learning | |
| WO2024025142A1 (en) | Electronic device for providing video call service and control method thereof | |
| WO2024242306A1 (en) | Distortion-based image rendering | |
| CN120279470B (en) | A method and related device for obtaining frame sequence from text | |
| CN118172819B (en) | Facial paralysis grading method, device and equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24860040 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024860040 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2024860040 Country of ref document: EP Effective date: 20250923 |
|
| ENP | Entry into the national phase |
Ref document number: 2024860040 Country of ref document: EP Effective date: 20250923 |
|
| WWP | Wipo information: published in national office |
Ref document number: 2024860040 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |