Electronic device for generating image on basis of lighting arrangement and method thereof

The electronic device addresses the limitation of lacking lighting layout capabilities by using gesture input and spatial analysis to generate images with specific lighting effects, thereby enhancing user creativity in image manipulation.

WO2025089752A1PCT designated stage expired Publication Date: 2025-05-01SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/016094
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-21
Filing Date
2024-10-22
Publication Date
2025-05-01

AI Technical Summary

Technical Problem

Existing electronic devices lack the capability to generate images based on lighting layout, limiting user creativity in applying image effects or modifying existing images.

Method used

The electronic device includes a processor, display, and input module that allows users to input gestures, which are analyzed to determine spatial information and lighting information. This information is then used to generate a second image by applying the lighting information to the first image based on the spatial analysis.

Benefits of technology

The solution enables users to create modified images with specific lighting effects by analyzing user gestures and spatial information, enhancing user creativity and image manipulation capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024016094_01052025_PF_FP_ABST
    Figure KR2024016094_01052025_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device disclosed in the present document may perform the operations of: displaying a first image; receiving a gesture input for the first image; identifying a shape configured by the gesture input and a position of the gesture input on the first image; identifying spatial information on the first image on the basis of the gesture input; determining lighting information corresponding to the shape and the position on the basis of the spatial information; and generating a second image by applying the lighting information to the first image on the basis of the spatial information.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device and method for generating an image based on lighting arrangement

[0001] Embodiments disclosed in this document relate to an electronic device and method for generating an image based on a lighting arrangement.

[0002] With the advancement of digital technology, various types of electronic devices, such as mobile terminals, personal digital assistants (PDAs), electronic notebooks, smartphones, tablet PCs (personal computers), and wearable devices, are becoming widely used. These electronic devices are constantly undergoing improvements in their hardware and / or software to support and enhance their functionality.

[0003] Users may want to apply various image effects to capture images using electronic devices, or to existing images, to create their own desired images. To achieve this, various image processing technologies are being developed.

[0004] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.

[0005] An electronic device according to embodiments disclosed in the present document may include a touch display, a memory including instructions, and a processor. The instructions, when executed by the processor, may cause the electronic device to display a first image through the display, receive a gesture input for the first image, identify a shape configured by the gesture input and a position of the gesture input on the first image, identify spatial information for the first image based on the gesture input, and determine lighting information corresponding to the shape and position based on the spatial information. The instructions, when executed by the processor, may cause the electronic device to apply the lighting information to the first image based on the spatial information to generate a second image.

[0006] A method of an electronic device according to various embodiments may include an operation of displaying a first image, an operation of receiving a gesture input for the first image, an operation of confirming a shape configured by the gesture input and a position of the gesture input on the first image, an operation of confirming spatial information for the first image based on the gesture input, an operation of determining lighting information corresponding to the shape and position based on the spatial information, and an operation of applying the lighting information to the first image based on the spatial information to generate a second image.

[0007] The technical tasks, technical features, and effects to be achieved in the present disclosure are not limited to the technical tasks, technical features, and effects mentioned above, and other technical tasks, technical features, and effects not mentioned will be clearly understood by a person having ordinary skill in the technical field to which the present invention pertains from the description below.

[0008] In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components.

[0009] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.

[0010] FIG. 2 is a flowchart illustrating an operation of generating an image based on a lighting arrangement of an electronic device according to various embodiments.

[0011] FIG. 3 illustrates an example of displaying an image in an electronic device according to one embodiment.

[0012] FIG. 4 illustrates an example of gesture input in an electronic device according to one embodiment.

[0013] FIG. 5 illustrates an example of gesture analysis in an electronic device according to one embodiment.

[0014] FIG. 6 illustrates an example of gesture analysis in an electronic device according to one embodiment.

[0015] FIG. 7 illustrates an example of image generation based on lighting arrangement of an electronic device according to one embodiment.

[0016] FIG. 8 is a flowchart illustrating an operation of generating an image based on a lighting arrangement of an electronic device according to one embodiment.

[0017] FIG. 9 illustrates an example of a lighting arrangement proposal for an electronic device according to one embodiment.

[0018] FIGS. 10 and 11 illustrate examples of setting lighting characteristics of an electronic device according to one embodiment.

[0019] FIG. 12 is a diagram illustrating an example of applying lighting information according to the positional relationship between surrounding objects and lighting according to one embodiment.

[0020] FIG. 13 illustrates an example of a user interface for controlling lighting information of an electronic device according to one embodiment.

[0021] FIG. 14 is a flowchart illustrating a lighting control operation of an electronic device according to one embodiment.

[0022] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).

[0023] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.

[0024] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0025] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).

[0026] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

[0027] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0028] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0029] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0030] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).

[0031] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0032] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0033] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0034] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0035] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

[0036] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0037] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0038] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).

[0039] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0040] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).

[0041] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.

[0042] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0043] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0044] FIG. 2 is a flowchart illustrating an operation of generating an image based on a lighting arrangement of an electronic device (e.g., an electronic device (101) of FIG. 1) according to various embodiments.

[0045] According to one embodiment, the electronic device (101) can add virtual lighting based on a user gesture input to a displayed image and apply the added lighting to generate a modified image. The user can obtain an image with proposed lighting applied based on spatial analysis of the image and / or gesture input analysis by performing a gesture input, such as a simple drawing motion. To this end, the electronic device (101) can obtain spatial information corresponding to the image through spatial analysis of the image. In addition, the electronic device (101) can identify the shape and / or location of the gesture input through gesture input analysis. The electronic device (101) can determine information about lighting corresponding to the shape and / or location of the gesture input based on the spatial information. The electronic device (101) can generate a modified image by applying information about lighting corresponding to the shape and / or location of the gesture input to the displayed image based on the spatial information.

[0046] In operation 201, the electronic device (101) may display a first image (e.g., an original image). The first image may include, for example, an image stored in a memory (e.g., a memory (130) of FIG. 1) or a cloud server (e.g., a server (108) of FIG. 1). The first image may include, for example, an image received through one or more cameras (e.g., a camera module (180) of FIG. 1). The first image may include, for example, an image received through a camera and processed by an image processor or processor of the camera (e.g., a processor (120) of FIG. 1). The first image may include, for example, a two-dimensional image or a three-dimensional image. The first image may include, for example, virtual reality (VR), augmented reality (AR), or mixed reality (MR) object images received through a camera and processed by a processor. The electronic device (101) may display the first image on a display (e.g., a display module (160) of FIG. 1). The electronic device (101) can display a three-dimensional image including a VR, AR, or MR object image by projecting it onto a virtual space or a real space through a display (e.g., a head-mounted display).

[0047] In operation 203, the electronic device (101) may receive a gesture input. For example, the gesture input may include a contact or non-contact input to a touch screen of the electronic device (101) (e.g., an input module (150) of FIG. 1). For example, the gesture input may include a contact or non-contact input to a touch screen of the electronic device (101) (e.g., an input module (150) of FIG. 1). For example, the gesture input may include a touch gesture or a hovering gesture. For example, a touch gesture may be input by performing a touch drawing on a touch screen by a user's hand or a stylus pen. For example, the gesture input may include an input through a camera of a wearable input device according to a movement of a user's hand or hand on a three-dimensional image including a displayed VR, AR, or MR object image.

[0048] The electronic device (101) can obtain detailed information related to the received gesture input. For example, the detailed information related to the gesture input can be received via text and / or voice input. For example, the text input and / or voice input can be received from the user via an input module such as a keyboard, a touch screen, or a microphone (e.g., the input module (150) of FIG. 1 ). For example, the electronic device (101) can receive additional user input related to the gesture input via text and / or voice input after the gesture input. For example, the detailed information related to the gesture input can be received via additional input such as text input and / or voice input, depending on the user's selection. The electronic device (101) can extract detailed information related to the gesture input from the received text input and / or voice input. The extracted detailed information can reflect the user's intention with respect to the gesture input. The electronic device (101) can provide a notification requesting information input via the touch screen and / or speaker, as needed, to prompt the user to input information related to the gesture input. For example, the details may include various additional information for adding lights, such as the command to add lights, information about the location of the gesture input, and the type, number, and shape of the lights.

[0049] In operation 205, the electronic device (101) can identify a shape formed by the gesture input and a position corresponding to the gesture input on the displayed image. For example, the shape of the gesture input may include a shape formed by a drawing such as a point, a line, and / or a shape. The electronic device (101) can identify a position where the gesture input was performed with respect to the first image. For example, the electronic device (101) can identify a position where the gesture input was performed within the first image. For example, the electronic device (101) can identify objects around the position where the gesture input was performed within the first image, and further identify a positional relationship between the identified objects and the gesture input to identify the position of the gesture input. The identification of objects around the position where the gesture input was performed and the identification of the positional relationship between the gesture input positions may be additionally performed after analyzing the spatial information and / or determining the lighting information based on the spatial information identified in operation 205.

[0050] In one embodiment, the electronic device (101) may automatically execute an application for adding lighting in response to a designated user gesture input received for a displayed image. For example, when a user performs a designated gesture input, such as a drawing input for a Christmas tree object in the displayed image or a drawing input for drawing a line along a wall and ceiling boundary, the electronic device (101) may automatically execute an application for adding lighting in response.

[0051] In operation 207, the electronic device (101) can check spatial information about the first image. The electronic device (101) can obtain spatial information about the first image through image analysis of the first image and / or metadata analysis of the first image. The spatial information about the first image may include identification information, style information, and / or physical space information about the place or space represented by the first image. For example, the identification information about the place or space may indicate which place or space the first image represents is among indoor / outdoor, living room, room, kitchen, office, cafe, office, and exhibition hall. For example, the style information may indicate which style the space represented by the first image represents is among classic antique style, vintage style, natural style, Nordic style, modern style, and Hanok style. For example, the physical space information may include spatial characteristics of objects included in the first image, such as the size, position, and / or shape of various objects, such as walls, ceilings, tables, tables, letters, lines, trees, and floors.

[0052] According to one embodiment, the electronic device (101) can further confirm the shape and / or location of the gesture input based on the physical spatial information of the first image. For example, by identifying objects surrounding the location where the gesture input was performed in the first image, the positional relationship between the objects and the location, such as a wall, a ceiling, a table, a table, a floor, or next to a window, can be confirmed for the location. The electronic device (101) can identify objects surrounding the location where the gesture input was performed and confirm the positional relationship in space using depth information and / or individual pixel information of the first image. For example, an object overlapping with the gesture input location or the lighting location can be identified through an image segmentation technique such as semantic segmentation using depth information or individual pixel information of the first image, or semantic segmentation or instance segmentation using individual pixel information, and the positional relationship between the identified object and the lighting can be confirmed to determine the location and / or characteristics of the lighting. For example, if a line crossing a specific object is specified based on a gesture input, it can be determined whether the lighting determined in response to the gesture input will be positioned in front of or behind the specific object. For example, if a light is placed at a gesture input location, it can be determined which area of ​​the light is exposed to the outside of the surrounding objects and / or which area is covered by the surrounding objects. For example, depending on the location of the light and its positional relationship with the surrounding objects, it can function as direct light that is fully exposed to the outside within the first image or as indirect light that is fully covered, or it can function as direct light in some areas of the light and as indirect light in some areas.

[0053] For example, the electronic device (101) can naturally position lighting based on spatial information, taking into account the structure of the space and the continuity of the area. For example, if indirect lighting is positioned along the boundary between the floor and the wall, the indirect lighting can be applied only to the back of an object in front of the wall. The electronic device (101) can determine the position of lighting by predicting the geometric arrangement of objects, such as the wall and objects in the first image, and the plane information of the wall, and can determine the position of lighting by considering the visible and invisible parts depending on the angle of the wall, for example.

[0054] In operation 209, the electronic device (101) may determine lighting information for the first image. For example, the lighting information may include information on the type, shape, style, size, or characteristics of the lighting. The type of lighting may include, for example, a ceiling light, a down light, a chandelier, a spotlight, a cove light, a bracket, a pendant, a floor lamp, a foot light, a table lamp, or a floor lamp. The shape of the lighting may include information on shape, such as a square, bulb, rail light, recessed light, or panel light. The style of the lighting may include information on the shape, material properties, material, and / or color of the lighting corresponding to the space style. The characteristics of the lighting may include information, for example, a color temperature and / or illuminance of the lighting.

[0055] According to one embodiment, lighting information corresponding to spatial information and / or lighting positions may be pre-stored in memory or a cloud server. The lighting information corresponding to spatial information and / or lighting positions may be determined by an artificial intelligence model trained on the basis of learning data for various images collected or provided in advance, for example, via the Internet. For example, the lighting information may be generated by the artificial intelligence model based on a first image, spatial information for the first image, and / or shape and position information based on touch gestures.

[0056] In addition to the first image, spatial information about the first image, and / or shape and location information according to the touch gesture, the electronic device (101) may additionally input detailed information related to the input gesture as an artificial intelligence model input to generate the lighting information. As described above, the detailed information may be extracted from user input (e.g., text and / or voice input) additionally received after receiving the gesture input, and may reflect the user's intention regarding the gesture input.

[0057] The electronic device (101) can determine lighting information corresponding to the shape and / or position of the gesture input based on the identified spatial information. For example, the type, shape, size, and characteristics of lighting can be determined based on the identification information of the place or space of the first image, such as indoor / outdoor, living room, room, kitchen, office, cafe, or office. In addition, for example, the type, shape, style, size, and characteristics of lighting can be determined based on the style of the space represented by the first image, such as classic antique style, vintage style, natural style, Nordic style, modern style, or Hanok style, based on the style information of the first image. For example, the type, shape, style, size, and characteristics of lighting can be determined based on the physical spatial information of the position of the gesture input for the first image, such as whether the position corresponds to an object, such as a wall, a ceiling, a table, a table, letters, lines, wood, or a floor. For example, the type, design, size, and characteristics of lighting can be determined based on the shape of the gesture input for the first image.

[0058] The electronic device (101) can determine one or more lighting information using the verified spatial information and location information. If two or more lighting information items are generated, the electronic device (101) can determine the lighting information by providing the generated lighting information to the user for selection, for example, through priority. If the type of lighting is determined among one lighting information item, the lighting information can be determined by allowing the user to select other information about the lighting item, for example, the shape, design, and / or characteristics of the lighting item.

[0059] In operation 211, the electronic device (101) may apply lighting information to the first image based on the identified spatial information to generate a second image. For example, the electronic device (101) may apply lighting information to various objects included in the first image based on the identified spatial information to change the brightness, color, or sharpness of the borders in whole or in part to generate the second image. For example, if the applied lighting information is a high-color daylight ceiling light, a second image in which the overall brightness of the first image is increased to white light may be generated through the second image generation application. For example, if the applied lighting information is a low-color incandescent wall light, the brightness around the wall light may be slightly brighter and a yellow light may be added overall to generate a changed second image.

[0060] According to one embodiment, the electronic device (101) may apply spatial information and lighting information to a first image to generate a second image by using an application executed by a processor by executing instructions stored in a memory or by using a generative artificial intelligence model that is machine-learned for spatial images including various spatial information and lighting information. For example, the electronic device (101) may input identified spatial information and determined lighting information, for example, the type, shape, design, size and / or characteristics of lighting, and lighting information corresponding to the location information of a gesture input identified based on the spatial information, and generate a second image to which lighting information has been applied through a generative artificial intelligence model.

[0061] According to one embodiment, the electronic device (101) may provide adjustable lighting information based on lighting information. For example, the electronic device (101) may provide an adjustment menu for a specific light through the display. For example, the adjustment menu for a specific light may provide an on / off, brightness or illuminance adjustment, and / or color temperature adjustment menu for the specific light. Accordingly, the user may turn off the light or adjust the brightness and color temperature. The specific light may include the light generated according to the above-described operation, but may also include the light previously included in the first image. For example, the electronic device (101) may obtain lighting information by identifying the light included in the first image through image segmentation, such as semantic segmentation or instance segmentation using individual pixel information. The electronic device (101) may generate a second image by applying the adjusted lighting information.

[0062] A user may specify a location and / or shape to which lighting is to be added through a gesture, such as drawing a dot or line on the first image, thereby causing the electronic device (101) to automatically select appropriate lighting through spatial information analysis and gesture analysis of the first image and apply the lighting to the first image to generate a second image. In addition, the electronic device (101) may provide a plurality of appropriate lightings for the user to select.

[0063] FIG. 3 illustrates an example of analyzing the space of an image displayed in an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment.

[0064] According to one embodiment, the electronic device (101) may display a first image (e.g., an original image) (301). The first image (301) may include, for example, an image stored in a memory (e.g., a memory (130) of FIG. 1) or a cloud server (e.g., a server (108) of FIG. 1). The first image (301) may include, for example, an image received through one or more cameras (e.g., a camera module (180) of FIG. 1). The first image (301) may include, for example, an image received through a camera and processed by an image processor or processor of the camera (e.g., a processor (120) of FIG. 1).

[0065] According to one embodiment, the electronic device (101) can analyze spatial information through image segmentation, such as semantic segmentation or object segmentation, using depth information and / or individual pixel information for the first image (301) of FIG. 3. Accordingly, the first image (301) can be analyzed as an indoor space including two tables and a sofa installed on a wall, including one window and a door, and the size, position, and shape of the ceiling and floor, as well as the position and structure of the boundary line. The location of the first image (301) can be analyzed as a waiting space of a living room or office. In addition, the electronic device (101) can analyze the first image (301) as having a modern style.

[0066] FIG. 4 illustrates an example of a gesture input in an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment.

[0067] According to one embodiment, a user may perform a contact or non-contact gesture input by performing a drawing gesture (401) using an input device (403), such as a hand or a stylus pen. For example, the gesture input may include a contact or non-contact input to a touch screen of the electronic device (101) (e.g., the input module (150) of FIG. 1). For example, the gesture input may include a contact or non-contact input to a touch screen of the electronic device (101) (e.g., the input module (150) of FIG. 1). For example, the gesture input may include a touch gesture or a hovering gesture.

[0068] FIG. 5 illustrates an example of gesture analysis in an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment.

[0069] According to one embodiment, the electronic device (101) can identify the shape and location of the received gesture input. For example, the shape of the gesture input may include a shape corresponding to a drawing such as a point, a line, and / or a shape. For example, the electronic device (101) can identify the location where the gesture input was performed in the first image as an arch-shaped bent line shape consisting of a first portion (501) extending from the bottom to the top along the inner edge of a decorative wall protruding from the wall where the sofa is located, a second portion (502) extending horizontally after bending at the top, and a third portion (503) extending to the bottom after bending again.

[0070] FIG. 6 illustrates an example of additional gesture analysis in an electronic device (e.g., the electronic device (101) of FIG. 1 ) according to one embodiment.

[0071] According to one embodiment, the electronic device (101) may identify objects around a location where a gesture input is performed based on spatial information in the first image, and further confirm the location of the gesture input by confirming the spatial positional relationship between the identified objects and the gesture input based on semantic segmentation or object segmentation based on depth information and / or individual pixel information. For example, a first portion (601) extending from the bottom to the top, a second portion (602) bending at the top and extending horizontally, and a third portion (603) extending from the top to the bottom may each be analyzed as a structure in which straight lines are connected to each other as curved surfaces. For example, the location where the gesture input is performed in the first image may be analyzed as being located along the inner edge of a decorative wall protruding from the wall where a sofa is located, behind a table and a cushion placed on the sofa, and located on the same plane as the back of the sofa installed on the wall. For example, the lighting placed in the first part (601) and the second part (602) in the front of the image can be analyzed as being directly exposed to the front, while the third part can be analyzed as being obscured behind due to a protruding decorative wall. Accordingly, the lighting of the first part (601) and the second part (602) can be analyzed as applying direct lighting, and the lighting of the third part (603) can be analyzed as applying indirect lighting.

[0072] FIG. 7 illustrates an example of image generation based on lighting arrangement of an electronic device (e.g., electronic device (101) of FIG. 1) according to one embodiment.

[0073] According to one embodiment, the electronic device (101) may determine lighting information corresponding to the shape and position at which a gesture input is performed based on spatial information about a first image (e.g., the first image (301) of FIG. 3), and apply the lighting information to the first image (301) based on the spatial information to generate a second image (700) of FIG. 7. The second image may be generated by applying lighting to a first portion (701) extending from the bottom to the top corresponding to the gesture input based on the spatial information, a second portion (702) extending horizontally after being bent at the top, and a third portion (703) extending from the top to the bottom. For example, in the second image, the first portion (701) and the second portion (702) to which lighting is applied may be direct lighting, which increases brightness in the forward direction, so that a portion (704) of the table top in front of it becomes relatively bright, and a shadow effect (705) may be added in contrast below it. In the second image (700), the third portion (703) may be indirect lighting, which increases brightness in the forward direction. The brightness may not change, so the brightness of the top of the table (706) in front of it may be the same as before, and the brightness of the area reflected on the wall or the top of the sofa behind it may increase relatively slightly, so that the edge of the wall inside the sofa may become faintly brighter.

[0074] FIG. 8 is a flowchart illustrating an operation of generating an image based on a lighting arrangement of an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment.

[0075] According to one embodiment, the electronic device (101) may analyze characteristics of a gesture input based on a user gesture input for a displayed image, analyze spatial characteristics of the image, add virtual lighting based on the analysis of spatial characteristics corresponding to the gesture location, and apply the added lighting to generate a corrected image. The electronic device (101) may provide a user interface for controlling the added virtual lighting.

[0076] In operation 801, the electronic device (101) may display an original image (e.g., a first image). The first image may include, for example, an image stored in a memory (e.g., a memory (130) of FIG. 1) or a cloud server (e.g., a server (108) of FIG. 1). The first image may include, for example, an image received through one or more cameras (e.g., a camera module (180) of FIG. 1). The first image may include, for example, an image received through a camera and processed by an image processor or processor of the camera (e.g., a processor (120) of FIG. 1). The first image may include, for example, a two-dimensional image or a three-dimensional image. The first image may include, for example, virtual reality (VR), augmented reality (AR), or mixed reality (MR) object images received through a camera and processed by a processor. The electronic device (101) may display the first image on a display (e.g., a display module (160) of FIG. 1). The electronic device (101) can display a three-dimensional image including a VR, AR, or MR object image by projecting it onto a virtual space or a real space through a display (e.g., a head-mounted display).

[0077] In operation 803, the electronic device (101) may receive a gesture input while a first image is displayed, and analyze the characteristics of the gesture. For example, the gesture may be received through a contact or non-contact input according to a drawing gesture using a user's hand or a stylus pen on a touch screen (e.g., an input module (150) of FIG. 1) of the electronic device (101). For example, the gesture input may include an input through a camera for a drawing gesture according to a movement of a user's hand or a wearable input device for the hand while a three-dimensional image including a VR, AR, or MR object image is displayed.

[0078] The electronic device (101) can analyze characteristics of the gesture, including, for example, a shape corresponding to a drawing, such as a point, line, and / or shape, and a location where the gesture was performed with respect to the first image.

[0079] In operation 805, the electronic device (101) may analyze spatial characteristics of the first image. The electronic device (101) may analyze the spatial characteristics of the first image using an image segmentation technique, such as semantic segmentation or object segmentation, and / or metadata of the first image. For example, the spatial characteristics of the first image may be analyzed based on various information, such as object information, depth information, or location information, included in the metadata of the first image. For example, depth information of the first image may be obtained through spatial map analysis of the first image. For example, based on individual pixel information of the first image, individual pixels may be divided into pixel areas belonging to different categories, and different objects or categories of objects and their locations may be analyzed by identifying the location of each category and determining the representation represented by each category. Based on the analyzed objects, the electronic device (101) may derive information representing spatial characteristics, such as identification information, style information, and / or physical space information, regarding the location or space represented by the first image. For example, identification information about a place or space may indicate whether the place or space represented by the first image is an indoor or outdoor location, such as a living room, a room, a kitchen, an office, a cafe, an office, or an exhibition hall. For example, style information may indicate whether the style of the space represented by the first image is a classic antique style, a vintage style, a natural style, a Nordic style, a modern style, or a Hanok style. For example, physical space information may include characteristics such as the size, position, and / or shape of various objects that make up the first image, such as a wall, a ceiling, a table, a table, letters, lines, wood, or a floor.

[0080] In operation 807, the electronic device (101) may analyze spatial characteristics corresponding to a location where a gesture input is performed within the first image. For example, it may analyze whether the location where the gesture input is performed corresponds to an object such as a wall, a ceiling, a table, a table, letters, a line, a tree, or a floor within the first image.

[0081] In operation 809, the electronic device (101) may determine lighting characteristics corresponding to the gesture based on the spatial characteristics of the first image and the spatial characteristics corresponding to the gesture location. For example, the lighting characteristics may include the type, shape, style, size, or characteristic information of the lighting. The type of lighting may include, for example, ceiling lights, down lights, chandeliers, spotlights, cove lights, brackets, pendants, floor lamps, foot lights, table lamps, and floor lamps. The shape of the lighting may include shape information such as square, bulb, rail light, recessed light, and panel light. The style of the lighting may include shape information, material characteristics, material, and / or color of the lighting corresponding to the spatial style. The detailed characteristics of the lighting may include, for example, information such as the color temperature and / or illuminance of the lighting. The detailed characteristics of the lighting may be additionally determined after the characteristics of other lighting are determined.

[0082] The electronic device (101) can determine lighting characteristics based on object characteristics corresponding to the location where the gesture input is performed. For example, neon sign lighting can be added for letters. For example, ceiling recessed lights can be added for gesture inputs indicating points entered at ceiling locations. For example, LED lights installed at the edge of a tent can be added for a line gesture input entered along the edge of a tent. For example, Christmas lights can be added for a line or shape gesture input for a Christmas tree. For example, chandelier lighting can be added for a circular gesture input in the center of a ceiling. For example, highlight lighting can be added for a shape gesture input for a person.

[0083] The electronic device (101) can determine the lighting characteristics by generating two or more pieces of lighting information based on the determined lighting characteristics and providing the generated lighting information to the user for selection, for example, via a display. When determining one piece of lighting information, for example, the type of lighting, the lighting characteristics can be determined by allowing the user to select other information about the lighting, for example, the shape, design, and / or characteristics of the lighting.

[0084] In operation 811, the electronic device (101) may identify objects around a location where a gesture input is performed using depth information and / or individual pixel information for the first image. In operation 813, the electronic device (101) may analyze spatial characteristics corresponding to the location of the gesture input by confirming a spatial positional relationship between the identified objects and the location of the gesture input. The analysis of the spatial characteristics corresponding to the location where the gesture input is performed may include identifying characteristics of a drawing for an object in the displayed first image, for example, a line drawn along a wall or ceiling line or boundary line, a line drawn along a tent line, a dot or line drawn on the upper body of an object, a shape drawn surrounding a boundary line of a letter or object, or a shape or point drawn at a specific location on the ceiling. The analysis of the spatial characteristics corresponding to the location where the gesture input is performed may include analyzing a positional relationship of surrounding objects according to the identified drawing characteristics. For example, in the first image, it is possible to identify surrounding objects around a location where a gesture input was performed, and to confirm the positional relationship with surrounding objects, such as walls, ceilings, tables, floors, and windows around that location. For example, it is possible to confirm that a specific object (e.g., a person) crossed by a line drawn along a wall or ceiling line or boundary line is in front of the location of the line. For example, it is possible to confirm that a drawn oval shape that includes a portion of the edge of a specific object (e.g., a table) is located in front of the object. For example, it is possible to confirm that a straight line drawn vertically that includes a portion of the middle part of a specific object (e.g., a table) is located behind the object.

[0085] In operation 815, the electronic device (101) may place lighting according to the determined lighting characteristics at the gesture input location by considering the spatial positional relationship between the identified objects and the gesture input location, and may generate a modified image (e.g., a second image) by applying the placed lighting. For example, the electronic device (101) may apply lighting characteristics to various objects included in the first image based on spatial characteristic information to change the brightness, color, or sharpness of the boundary line in whole or in part to generate a second image. For example, if the applied lighting information is a high-color daylight ceiling light, a second image in which the overall brightness of the first image is increased to white light may be generated through the second image generation application. For example, if the applied lighting information is a low-color incandescent wall light, the brightness around the wall light may be slightly brighter and a yellow light may be added overall to generate a changed second image.

[0086] According to one embodiment, the electronic device (101) may apply the spatial characteristic information and the lighting characteristic information to the first image to generate a second image by using an application executed by the processor by executing instructions stored in the memory or by using a generative artificial intelligence model machine-learned on spatial images including various spatial characteristic information and lighting characteristic information. For example, the electronic device (101) may generate a second image to which additional lighting is applied through the generative artificial intelligence model by inputting lighting characteristic information determined according to the identified spatial characteristic and the spatial characteristic corresponding to the gesture input location, and positional relationship information between objects around the gesture input location and the lighting.

[0087] In operation 817, the electronic device (101) may provide a user setting screen for the lights added to the second image, for example, via a display. The user setting screen may include a configurable menu for each light. For example, the user setting screen may provide menus for turning on / off, adjusting brightness or illuminance, and / or adjusting color temperature for each light. Accordingly, the user may turn off the lights or adjust the brightness and color temperature.

[0088] According to one embodiment, the electronic device (101) may apply spatial information and lighting information to a first image to generate a second image by using an application executed by a processor by executing instructions stored in a memory or by using a generative artificial intelligence model machine-learned for spatial images including various spatial information and lighting information. For example, the electronic device (101) may input identified spatial information and determined lighting information, for example, lighting information corresponding to the type, shape, design, size and / or characteristics of lighting, and position information of a gesture input identified based on the spatial information, and generate a second image by applying the lighting information through the generative artificial intelligence model.

[0089] According to one embodiment, the electronic device (101) may provide adjustable lighting information based on lighting information. For example, the electronic device (101) may provide an adjustment menu for a specific light through the display. For example, the adjustment menu for a specific light may provide an on / off, brightness or illuminance adjustment, and / or color temperature adjustment menu for the specific light. Accordingly, the user may turn off the light or adjust the brightness and color temperature. The specific light may include the light generated according to the above-described operation, but may also include the light previously included in the first image. For example, the electronic device (101) may obtain lighting information by identifying the light included in the first image through image segmentation, such as semantic segmentation or object segmentation. The electronic device (101) may apply the adjusted lighting information to generate a second image.

[0090] FIG. 9 illustrates an example of a proposed additional lighting arrangement for an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment.

[0091] Referring to FIG. 9, the electronic device (101) may suggest additional lighting in addition to the lighting (901) generated based on the user's gesture input. The electronic device (101) may suggest additional lighting based on spatial characteristic information analyzed for the displayed image. For example, the electronic device (101) may suggest additional lighting based on spatial characteristic information such as identification information, style information, and / or physical spatial information about the space. For example, the electronic device (101) may suggest adding a recessed light (902, 903, or 904) to the ceiling included in the displayed image, adding a table lamp (905 or 906) on the tables, or adding a floor stand (907 or 908) on the floor.

[0092] In one embodiment, the electronic device (101) may provide a user interface for selecting the proposed additional lighting. For example, the electronic device (101) may display the proposed additional lighting in a dim or blinking manner and prompt a touch input for the lighting to be selected. For example, the electronic device (101) may display a check box, for example a square, at or near the location of the proposed additional lighting and, when the displayed check box is selected by the user, cause the corresponding lighting to be additionally placed in the image.

[0093] FIGS. 10 and 11 illustrate examples of lighting characteristic settings of an electronic device according to one embodiment.

[0094] Referring to FIG. 10, an electronic device (101) may provide a user interface for setting lighting characteristic information for lighting within an image. The lighting within an image may include existing lighting within the image, lighting additionally placed by the user, or lighting additionally placed according to additional suggestions.

[0095] Referring to FIG. 10, a user interface may be provided for setting lighting characteristic information for, for example, a table lamp (1001) or a floor stand (1002) among lights within an image.

[0096] Referring to FIG. 11, a user interface for setting lighting characteristic information for a table lamp (1001) may, for example, provide various table lamp designs (1101, 1102, or 1103) to select a lighting design. A user interface for setting lighting characteristic information for a floor stand (1002) may, for example, provide various floor stand designs (1111, 1112, or 1113) to select a lighting design.

[0097] FIG. 12 is a diagram illustrating an example of applying lighting information according to the positional relationship between surrounding objects and lighting according to one embodiment.

[0098] Referring to FIG. 12, when the location of a user gesture input overlaps with a specific surrounding object (e.g., a table) (1203), the electronic device (101) can analyze the relationship between the location of the specific object and the location of the added lighting and adjust the location of the lighting based on this. For example, when the shape and location of a drawing corresponding to the user gesture input correspond to a drawn oval shape that includes a part of the edge of the specific object (1203), the lighting (1201) can be determined to be located in front of the specific object (1203). For example, when the shape and location of a drawing corresponding to the user gesture input correspond to a drawn oval shape that includes a part of the middle part of the specific object (1203), the lighting (1202) can be determined to be located behind the specific object (1203).

[0099] FIG. 13 illustrates an example of a user interface for controlling lighting information of an electronic device according to one embodiment.

[0100] Referring to FIG. 13, the electronic device (101) may provide a user interface for setting lighting characteristic information for lighting within an image. The lighting within the image may include existing lighting within the image, lighting additionally placed by the user, or lighting additionally placed according to additional suggestions.

[0101] Referring to FIG. 13, a user interface may be provided for setting lighting characteristic information for a light (1301) placed, for example, inside a decorative wall, among lights within an image. For example, when a user selects an area of ​​a light (1301), for example, by touch input, the electronic device (101) may provide a user interface screen (1300) for adjusting characteristic information of the light (1301), for example, in the form of a pop-up window. The user interface screen (1300) may include, for example, an on / off control menu, a color temperature control menu, and / or a brightness control menu for the light (1301).

[0102] FIG. 14 is a flowchart illustrating a lighting control operation of an electronic device (e.g., the electronic device (101) of FIG. 1) according to one embodiment.

[0103] Referring to FIG. 14, the electronic device (101) can analyze the displayed first image in operation 1401 and identify the location of lighting in operation 1403. The lighting identified in the first image may include, for example, lighting generated according to the operation of FIG. 2 or FIG. 8, and may also include lighting previously included in the first image. For example, the electronic device (101) can analyze the first image, identify objects, and identify the location of lighting among the identified objects through an image segmentation method such as semantic segmentation or instance segmentation using individual pixel information.

[0104] In operation 1405, the electronic device (101) can analyze the characteristics of the identified lighting. For example, the electronic device (101) can analyze the brightness and color of the identified lighting area and its surroundings in the first image to determine characteristics such as illuminance and / or color temperature of the lighting. For example, the electronic device (101) can determine characteristics such as the type, design, and shape of the lighting by determining the shape and location of the identified lighting in the first image.

[0105] In operation 1407, the electronic device (101) may provide a menu for adjusting lighting characteristics based on the analyzed lighting characteristics, for example, via a display. For example, the adjustment menu for a specific light may provide menus for turning the identified light on / off, adjusting brightness or illuminance, and / or adjusting color temperature. Accordingly, the user may turn off the light or adjust the brightness and color temperature. The electronic device (101) may apply the adjusted lighting information to generate a second image.

[0106] A method of an electronic device according to various embodiments may include an operation of displaying a first image, an operation of receiving a gesture input for the first image, an operation of confirming a shape configured by the gesture input and a position of the gesture input on the first image, an operation of confirming spatial information for the first image based on the gesture input, an operation of determining lighting information corresponding to the shape and position based on the spatial information, and an operation of applying the lighting information to the first image based on the spatial information to generate a second image.

[0107] According to various embodiments, the method further includes an operation of identifying a surrounding object of the location based on the spatial information; and the second image generation operation may generate the second image by applying the lighting information to the identified surrounding object.

[0108] According to various embodiments, the method applies the lighting information to the identified surrounding object based on a spatial positional relationship between the identified surrounding object and the lighting information, and the spatial positional relationship can be confirmed based on depth information or image segmentation for the first image.

[0109] According to various embodiments, the method may further include an operation of displaying the lighting information on the first image through the display, and an operation of receiving a selection input for the displayed lighting information.

[0110] According to various embodiments, the lighting information may include two or more pieces of lighting selection information.

[0111] According to various embodiments, the selection input may include a selection input for turning on or off the two or more lighting selection information, a detailed characteristic selection input, or a detailed characteristic adjustment input.

[0112] According to various embodiments, the method may further include an operation of identifying two or more pieces of lighting information for the first image based on the spatial information, an operation of displaying the two or more pieces of lighting information on the first image through the display, and an operation of receiving a selection input for the two or more pieces of lighting information.

[0113] According to various embodiments, the method may include: the spatial information may include identification information, style information, and physical spatial information for a space corresponding to the first image.

[0114] According to various embodiments, the method may determine at least one of the type, shape, size or characteristic information of the lighting, wherein the lighting information includes information on the type, shape, size or characteristic of the lighting, and based on at least one of identification information for the space, the style information or the physical space information.

[0115] According to various embodiments, the method may further include an operation of providing a menu through the display for selecting or adjusting one or more of the type, shape, size or characteristic information of the lighting.

[0116] According to various embodiments, an electronic device (e.g., the electronic device (101) of FIG. 1) may include a touch display (e.g., the display module (160) and / or the input module (150) of FIG. 1), a memory (e.g., the memory (130) of FIG. 1) including instructions, and a processor (e.g., the processor (120) of FIG. 1). When the instructions are executed by the processor, the instructions may cause the electronic device to display a first image through the display, receive a gesture input for the first image, identify a shape configured by the gesture input and a position of the gesture input on the first image, identify spatial information for the first image based on the gesture input, determine lighting information corresponding to the shape and position based on the spatial information, and apply the lighting information to the first image based on the spatial information to generate a second image.

[0117] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to identify a surrounding object at the location based on the spatial information, and to apply the lighting information to the identified surrounding object to generate the second image.

[0118] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to apply the lighting information to the identified surrounding object based on a spatial positional relationship between the identified surrounding object and the lighting information, and to verify the spatial positional relationship based on depth information or image segmentation for the first image.

[0119] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to display the lighting information on the first image through the display and receive a selection input for the displayed lighting information.

[0120] According to various embodiments, the lighting information may include two or more pieces of lighting selection information.

[0121] According to various embodiments, the selection input may include a selection input for turning on or off the two or more lighting selection information, a detailed characteristic selection input, or a detailed characteristic adjustment input.

[0122] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to identify two or more pieces of lighting information for the first image based on the spatial information, display the two or more pieces of lighting information on the first image through the display, and receive a selection input for the two or more pieces of lighting information.

[0123] According to various embodiments, the spatial information may include identification information, style information, and physical spatial information for a space corresponding to the first image.

[0124] According to various embodiments, the lighting information includes information on the type, shape, size or characteristics of lighting, and the instructions, when executed by the processor, may cause the electronic device to determine one or more of the type, shape, size or characteristics of lighting based on one or more of the identification information for the space, the style information or the physical space information.

[0125] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to provide a menu through the display for selecting or adjusting one or more of the type, shape, size, or characteristic information of the lighting.

[0126] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0127] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0128] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0129] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0130] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0131] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

[0132] A method of an electronic device (e.g., the electronic device (101) of FIG. 1) according to various embodiments may include an operation of displaying a first image, an operation of receiving a gesture input for the first image, an operation of confirming a shape configured by the gesture input and a position of the gesture input on the first image, an operation of confirming spatial information for the first image based on the gesture input, an operation of determining lighting information corresponding to the shape and position based on the spatial information, and an operation of applying the lighting information to the first image based on the spatial information to generate a second image.

[0133] According to various embodiments, the method may further include an operation of identifying a surrounding object of the location based on the spatial information. The second image generation operation may generate the second image by applying the lighting information to the identified surrounding object.

[0134] According to various embodiments, the method applies the lighting information to the identified surrounding object based on a spatial positional relationship between the identified surrounding object and the lighting information, and the spatial positional relationship can be confirmed based on depth information or image segmentation for the first image.

[0135] According to various embodiments, the method may further include an operation of displaying the lighting information on the first image through the display, and an operation of receiving a selection input for the displayed lighting information.

[0136] According to various embodiments, the method may include the lighting information including two or more pieces of lighting selection information.

[0137] According to various embodiments, the selection input may include a selection input for turning on or off the two or more lighting selection information, a detailed characteristic selection input, or a detailed characteristic adjustment input.

[0138] According to various embodiments, the method may further include an operation of identifying two or more pieces of lighting information for the first image based on the spatial information, an operation of displaying the two or more pieces of lighting information on the first image through the display, and an operation of receiving a selection input for the two or more pieces of lighting information.

[0139] According to various embodiments, the spatial information may include identification information, style information, and physical spatial information for a space corresponding to the first image.

[0140] According to various embodiments, the lighting information includes information on the type, shape, size or characteristics of the lighting, and one or more of the type, shape, size or characteristics of the lighting can be determined based on one or more of the identification information for the space, the style information or the physical space information.

[0141] According to various embodiments, the method may further include an operation of providing a menu through the display for selecting or adjusting one or more of the type, shape, size or characteristic information of the lighting.

[0142] An electronic device (e.g., the electronic device (101) of FIG. 1) according to various embodiments may include a touch display (e.g., the display module (160) and the input module (150) of FIG. 1), a memory (e.g., the memory (130) of FIG. 1) including instructions, and a processor (e.g., the processor (120) of FIG. 1). When the instructions are executed by the processor, the electronic device may display a first image through the display, receive a gesture input for the first image, confirm a shape configured by the gesture input and a position of the gesture input on the first image, confirm spatial information for the first image based on the gesture input, determine lighting information corresponding to the shape and position based on the spatial information, and apply the lighting information to the first image based on the spatial information to generate a second image.

[0143] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to identify a surrounding object at the location based on the spatial information, and to apply the lighting information to the identified surrounding object to generate the second image.

[0144] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to apply the lighting information to the identified surrounding object based on a spatial positional relationship between the identified surrounding object and the lighting information, and to verify the spatial positional relationship based on depth information or image segmentation for the first image.

[0145] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to display the lighting information on the first image through the display and receive a selection input for the displayed lighting information.

[0146] According to various embodiments, the lighting information may include two or more pieces of lighting selection information.

[0147] According to various embodiments, the selection input may include a selection input for turning on or off the two or more lighting selection information, a detailed characteristic selection input, or a detailed characteristic adjustment input.

[0148] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to identify two or more pieces of lighting information for the first image based on the spatial information, display the two or more pieces of lighting information on the first image through the display, and receive a selection input for the two or more pieces of lighting information.

[0149] According to various embodiments, the spatial information may include identification information, style information, and physical spatial information for a space corresponding to the first image.

[0150] According to various embodiments, the lighting information includes information on the type, shape, size or characteristics of lighting, and the instructions, when executed by the processor, may cause the electronic device to determine one or more of the type, shape, size or characteristics of lighting based on one or more of the identification information for the space, the style information or the physical space information.

[0151] According to various embodiments, the instructions, when executed by the processor, may cause the electronic device to provide, through the display, a menu for selecting or adjusting one or more of the type, shape, size, or characteristic information of the lighting.

[0152] The embodiments disclosed in this document are merely examples presented to facilitate easy explanation and understanding of the technical content, and are not intended to limit the scope of the technology disclosed in this document. Therefore, the scope of the technology disclosed in this document should be interpreted to include all modifications or variations derived based on the technical concepts of the various embodiments disclosed in this document, in addition to the embodiments disclosed herein.

Claims

1. In the method of an electronic device, Action to display the first image; An action of receiving a gesture input for the first image; An operation of confirming a shape formed by the gesture input and a location of the gesture input on the first image; An operation of checking spatial information for the first image based on the gesture input; An operation of determining lighting information corresponding to the shape and position based on the spatial information; and A method comprising: an operation of generating a second image by applying the lighting information to the first image based on the spatial information; 2. In paragraph 1, Further comprising an operation of identifying objects surrounding the location based on the spatial information; The above second image generating operation is a method of generating the second image by applying the lighting information to the identified surrounding object.

3. In paragraph 2, Applying the lighting information to the identified surrounding object based on the spatial positional relationship between the identified surrounding object and the lighting information, A method for confirming the above spatial position relationship based on depth information or image segmentation for the first image.

4. In paragraph 1, An operation of displaying the above lighting information on the first image through a display; and A method further comprising: receiving a selection input for the displayed lighting information; 5. In paragraph 4, A method wherein the lighting information includes two or more lighting selection information, and the selection input includes a selection input for turning on or off the two or more lighting selection information, a detailed characteristic selection input, or a detailed characteristic adjustment input.

6. In electronic devices, touch display; Memory containing instructions; and Contains a processor, The above instructions, when executed by the processor, cause the electronic device to: Displaying the first image through the above display, Receive a gesture input for the first image above, Verify the shape formed by the above gesture input and the location of the above gesture input on the first image, Check the spatial information for the first image based on the above gesture input, Based on the above spatial information, lighting information corresponding to the shape and location is determined, Generate a second image by applying the lighting information to the first image based on the spatial information. device.

7. In paragraph 6, The above instructions, when executed by the processor, cause the electronic device to: Identify objects surrounding the location based on the above spatial information, A device that applies the above lighting information to the identified surrounding objects to generate the second image.

8. In paragraph 7, The above instructions, when executed by the processor, cause the electronic device to: Applying the lighting information to the identified surrounding object based on the spatial positional relationship between the identified surrounding object and the lighting information, A device for confirming the spatial positional relationship based on depth information or image segmentation for the first image.

9. In paragraph 6, The above instructions, when executed by the processor, cause the electronic device to: Displaying the above lighting information on the first image through the above display, A device for receiving a selection input for the above lighting information displayed.

10. In paragraph 9, A device wherein the lighting information includes two or more lighting selection pieces of information.

11. In paragraph 10, A device wherein the above selection input includes a selection input for on or off for the two or more lighting selection information, a detailed characteristic selection input, or a detailed characteristic adjustment input.

12. In paragraph 9, The above instructions, when executed by the processor, cause the electronic device to: Based on the above spatial information, two or more pieces of lighting information for the first image are identified, Displaying the two or more pieces of lighting information on the first image through the display, A device for receiving a selection input for two or more of the above lighting information.

13. In paragraph 6, A device wherein the above spatial information includes identification information, style information, and physical spatial information for a space corresponding to the first image.

14. In paragraph 13, The above lighting information includes information on the type, shape, size or characteristics of the lighting, A device wherein the instructions, when executed by the processor, cause the electronic device to determine at least one of the type, shape, size or characteristic information of the lighting based on at least one of the identification information for the space, the style information or the physical space information.

15. In paragraph 14, The above instructions, when executed by the processor, cause the electronic device to: A device that provides a menu through the display for selecting or adjusting one or more of the types, shapes, sizes or characteristic information of the lighting.

Citation Information

Patent Citations

  • Information processor, information processing method, and program

    JP2020126582A

  • Image processing system and control method thereof, and imaging device

    JP2023035676A

  • Mobile terminal and controlling method thereof

    KR1020150009017A

  • Electronic apparatus for processing image and mehotd for controlling thereof

    KR1020160144851A

  • Weaving manufacturing device

    KR102701977B1