WO2025089769A1 - Electronic device and image editing method - Google Patents
Electronic device and image editing method Download PDFInfo
- Publication number
- WO2025089769A1 WO2025089769A1 PCT/KR2024/016131 KR2024016131W WO2025089769A1 WO 2025089769 A1 WO2025089769 A1 WO 2025089769A1 KR 2024016131 W KR2024016131 W KR 2024016131W WO 2025089769 A1 WO2025089769 A1 WO 2025089769A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- electronic device
- processor
- depth information
- executed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/50—Depth or shape recovery
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/764—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
Definitions
- the present disclosure relates to an electronic device and an image editing method.
- Various electronic devices such as smart phones, tablet PCs, portable multimedia players (PMPs), personal digital assistants (PDAs), laptop personal computers (Laptop PCs), and wearable devices such as wrist watches and head-mounted displays (HMDs), contain cameras and can capture images using cameras.
- PMPs portable multimedia players
- PDAs personal digital assistants
- Laytop PCs laptop personal computers
- HMDs head-mounted displays
- the electronic device and image editing method of the present disclosure aim to move an object on an image based on depth information on the image.
- An electronic device of the present disclosure may include a display; a memory storing instructions; and a processor.
- the instructions of the present disclosure when executed by the processor, may cause the electronic device to: execute an image editing application including a user interface for selecting an image based on a user input, the image editing application including a user interface for moving a position of an object, determine depth information of the image, recognize and classify an object in the image, change a position of the selected object on the image based on the user input through the user interface for moving the position of the object, and perform an outpainting and/or inpainting operation on one of the image or the selected object based on the position of the selected object.
- an image editing application including a user interface for selecting an image based on a user input
- the image editing application including a user interface for moving a position of an object, determine depth information of the image, recognize and classify an object in the image, change a position of the selected object on the image based on the user input through the user interface for moving the position of the object, and perform an outpainting and/or inpainting operation on one of the image or the selected object based on
- the image editing method of the present disclosure may include: an operation of selecting an image based on a user input; an operation of executing an image editing application including a user interface relating to movement of a position of an object; an operation of checking depth information of the image; an operation of recognizing and classifying an object in the image; an operation of changing a position of the selected object on the image based on a user input through the user interface relating to movement of the position of the object; and an operation of performing an outpainting and/or inpainting operation on one of the image or the selected object based on the position of the selected object.
- the electronic device and image editing method of the present disclosure can obtain an image in which the position of an object is naturally edited by moving the object based on depth information on the image.
- FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
- FIG. 2 is a block diagram of an electronic device according to one embodiment of the present disclosure.
- FIG. 3 is a drawing illustrating an image editing method of an electronic device according to one embodiment of the present disclosure.
- FIG. 4 is a drawing illustrating an image editing method of an electronic device according to one embodiment of the present disclosure.
- FIG. 5 is a drawing showing an image editing method according to one embodiment of the present disclosure.
- FIG. 6 is a drawing showing an image editing method according to one embodiment of the present disclosure.
- FIG. 7 is a drawing illustrating an image editing method according to one embodiment of the present disclosure.
- FIG. 8A is a diagram illustrating a user interface for object position editing based on an indicator according to one embodiment of the present disclosure.
- FIG. 8b is a diagram illustrating a user interface for object position editing based on an indicator according to one embodiment of the present disclosure.
- FIG. 8c is a diagram illustrating a user interface for object position editing based on an indicator according to one embodiment of the present disclosure.
- FIG. 9 is a drawing showing an image editing method according to one embodiment of the present disclosure.
- FIG. 10a is a diagram showing an image when a selected object is moved in one embodiment of the present disclosure.
- FIG. 10b is a diagram showing an image when a selected object is moved in one embodiment of the present disclosure.
- FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments.
- an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network).
- the electronic device (101) may communicate with the electronic device (104) via the server (108).
- 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).
- 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.
- 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)).
- the processor (120) may control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) by executing, for example, software (e.g., a program (140)), and may perform various data processing or calculations.
- the processor (120) may store a command or data received from another component (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the command or data stored in the volatile memory (132), and store result data in a nonvolatile memory (134).
- the processor (120) may include a main processor (121) (e.g., a central processing unit or processor) or a secondary processor (123) (e.g., a graphic 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 therewith.
- a main processor (121) e.g., a central processing unit or processor
- a secondary processor (123) e.g., a graphic processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor
- the secondary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a given function.
- the secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
- the auxiliary processor (123) may control at least a portion of functions or states associated with at least one of the components of the electronic device (101) (e.g., the display module (160), the sensor module (176), or the communication module (190)), for example, 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.
- the auxiliary processor (123) e.g., an image signal processor or a communication processor
- the auxiliary processor (123) may include a hardware structure specialized for processing artificial intelligence models.
- the artificial intelligence models may be generated through machine learning. Such learning may be performed, for example, in the electronic device (101) itself on which the artificial intelligence model is executed, or may be performed through a separate server (e.g., server (108)).
- the learning algorithm may 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 may include a plurality of 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), deep Q-networks, or a combination of two or more of the above, but is not limited to the examples described above.
- the artificial intelligence model may additionally or alternatively include a software structure.
- 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 nonvolatile memory (134).
- the program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
- 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).
- the audio output module (155) can output an audio signal 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 an incoming call. According to one embodiment, the receiver can be implemented separately from the speaker or as a part thereof.
- 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) can include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device.
- the display module (160) can 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.
- 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 obtain sound through an input module (150), or output sound through an audio output module (155), or an external electronic device (e.g., an electronic device (102)) (e.g., a speaker or a headphone) directly or wirelessly connected to the electronic device (101).
- an electronic device e.g., an electronic device (102)
- a speaker or a headphone directly or wirelessly connected to the electronic device (101).
- the sensor module (176) can detect an operating state (e.g., power or temperature) of the electronic device (101) or an external environmental state (e.g., user state) and generate an electric signal or data value corresponding to the detected state.
- 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.
- 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)).
- 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.
- HDMI high definition multimedia interface
- USB universal serial bus
- SD card interface Secure Digital Card
- connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., the electronic device (102)).
- 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).
- the haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that a user can perceive through a tactile or kinesthetic sense.
- the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
- the camera module (180) can capture still images and moving images.
- the camera module (180) can include one or more lenses, image sensors, image signal processors, or flashes.
- the power management module (188) can manage power supplied to the electronic device (101).
- the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
- PMIC power management integrated circuit
- the battery (189) can power at least one component of the electronic device (101).
- the battery (189) can include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
- the communication module (190) may support 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., the electronic device (102), the electronic device (104), or the server (108)), and performance of communication through the established communication channel.
- the communication module (190) may operate independently from the processor (120) (e.g., the application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication.
- 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 GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module or a power line communication module).
- a wireless communication module (192) e.g., a cellular communication module, a short-range wireless communication module, or a GNSS (global navigation satellite system) communication module
- a wired communication module (194) e.g., a local area network (LAN) communication module or a power line communication module.
- a corresponding communication module may 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)).
- a first network (198) e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
- 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)
- a computer network e.g.,
- the wireless communication module (192) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196) to identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199).
- subscriber information e.g., an international mobile subscriber identity (IMSI)
- IMSI international mobile subscriber identity
- the wireless communication module (192) can support a 5G network and next-generation communication technology after a 4G network, for example, NR access technology (new radio access technology).
- the NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), terminal power minimization and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)).
- eMBB enhanced mobile broadband
- mMTC massive machine type communications
- 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.
- a high-frequency band e.g., mmWave band
- the wireless communication module (192) may 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) may support various requirements specified in an electronic device (101), an external electronic device (e.g., an electronic device (104)), or a network system (e.g., a second network (199)).
- 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) each, or 1 ms or less for round trip) for URLLC realization.
- a peak data rate e.g., 20 Gbps or more
- a loss coverage e.g., 164 dB or less
- U-plane latency e.g., 0.5 ms or less for downlink (DL) and uplink (UL) each, or 1 ms or less for round trip
- the antenna module (197) can transmit or receive signals or power to or from the outside (e.g., an external electronic device).
- the antenna module (197) can include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB).
- the antenna module (197) can include a plurality of antennas (e.g., an array antenna).
- 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) can be selected from the plurality of antennas by, for example, the communication module (190).
- a signal or power can be transmitted or received between the communication module (190) and the external electronic device through the selected at least one antenna.
- another component e.g., a radio frequency integrated circuit (RFIC)
- RFIC radio frequency integrated circuit
- the antenna module (197) may form a mmWave antenna module.
- the mmWave antenna module may include a printed circuit board, an RFIC positioned 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) positioned on or adjacent a second side (e.g., a top side or a side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
- a first side e.g., a bottom side
- a plurality of antennas e.g., an array antenna
- peripheral devices e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)
- GPIO general purpose input and output
- SPI serial peripheral interface
- MIPI mobile industry processor interface
- 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).
- 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 executing the function or service itself or in addition, request one or more external electronic devices to perform at least a part of the function or service.
- One or more external electronic devices that have received the request may execute at least a part 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 it is or additionally and provide it as at least a part of a response to the request.
- cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
- the electronic device (101) may provide an ultra-low latency service by using, for example, distributed computing or mobile edge computing.
- the external electronic device (104) may include an IoT (Internet of Things) device.
- the server (108) may be an intelligent server using machine learning and/or a neural network.
- 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.
- FIG. 2 is a block diagram of an electronic device (101) according to one embodiment of the present disclosure.
- the electronic device (101) may include a camera (280), a display (260), a processor (120), and memory (130).
- the camera (280) of FIG. 2 may include the camera module (180) of FIG. 1.
- the display (260) of FIG. 2 may include the display module (160) of FIG. 1.
- the processor (120) of FIG. 2 may include the processor (120) of FIG. 1.
- the memory (130) of FIG. 2 may include the memory (130) of FIG. 1.
- the memory (130) may include a depth information generation module (131), an object recognition/classification module (132), an out painting/in painting module (133), and/or a re-lighting module (134).
- a depth information generation module 131
- an object recognition/classification module 132
- an out painting/in painting module 133
- a re-lighting module 134
- the depth information generation module (131), the object recognition/classification module (132), the outpainting/inpainting module (133), and/or the rewriting module (134) may be programs and/or applications stored in the memory (130).
- each of the depth information generation module (131), the object recognition/classification module (132), the outpainting/inpainting module (133), and/or the rewriting module (134) may be a generative artificial intelligence (AI).
- AI generative artificial intelligence
- the depth information generation module (131), the object recognition/classification module (132), the outpainting/inpainting module (133), and/or the rewriting module (134) may be a single generative AI.
- the generative AI may perform operations of a depth information generation module (131), an object recognition/classification module (132), an out painting/in painting module (133), and/or a rewriting module (134) based on input defined by a prompt under the control of the processor (120).
- the depth information generation module (131) may generate a depth map for an image to be edited under the control of the processor (120).
- the depth information generation module (131) may include not only a generative AI but also a general AI.
- the depth map may include information related to a surface distance of an object included in an image from a view point.
- the depth information generation module (131) may be an artificial intelligence learned to calculate depth information from a single image.
- the depth information may include information acquired using a sensor that acquires depth information when capturing an image (e.g., lidar or time of flight (ToF)).
- the depth information may be stored in metadata within the image.
- the depth information generation module (131) can update the depth information of the image based on the result of the object moving within the image. Until the user finishes editing the object movement within the image, the electronic device (101) can provide image editing that maintains perspective when the object is moved using the updated depth information.
- the object recognition/classification module (132) can perform segmentation in an image under the control of the processor (120).
- the object recognition/classification module (132) can detect and classify objects through segmentation in an image under the control of the processor (120).
- the object recognition/classification module (132) can identify information about a movable object among at least one object detected in the image under the control of the processor (120).
- the movable object can be, for example, an object whose position within the image can be changed. For example, the movable object can be moved within the image based on an input via a user interface for editing the position of the object.
- the object recognition/classification module (132) can, under the control of the processor (120), identify objects recognized or recognized in an image whose size is greater than a specified size as movable objects.
- the object recognition/classification module (132) may, under the control of the processor (120), identify an object corresponding to a specified object classification (e.g., a person, a flower pot, a piece of furniture, etc.) as a movable object.
- a specified object classification e.g., a person, a flower pot, a piece of furniture, etc.
- the object recognition/classification module (132) may, under the control of the processor (120), perform a segmentation operation only on objects corresponding to a classification of a specified object.
- the object recognition/classification model (132) may, under the control of the processor (120), perform an operation of recognizing and classifying another object corresponding to a movable location of a movable object within an image. For example, if an image including a living room includes a person, a sofa, and a table as objects, the object recognition/classification model (132) may, under the control of the processor (120), recognize the person within the image as a movable object. If the person is moved behind the sofa based on an input via a user interface for editing an object location, the electronic device (101) may provide a resulting image in which a portion of the person area is covered by the sofa area.
- the object recognition/classification model (132) may perform an operation (e.g., matting) to separate a user-selected object in an image from a background under the control of the processor (120).
- the object recognition/classification model (132) may perform an operation to smoothly process a boundary area of a separated object by removing background residue under the control of the processor (120).
- the out painting/in painting module (133) can, under the control of the processor (120), identify a first region on the image in which a movable object identified in the image is to be emptied as it moves in position, and/or a second region of an object in which a movable object identified in the image is to be generated as it moves in position.
- the out painting/in painting module (133) can, under the control of the processor (120), perform a filling operation based on objects and/or pixels recognized or detected in the image for the first region and the second region.
- the filling operation can include an operation of adding objects and/or pixels recognized or detected in the region to be filled in.
- the out painting/in painting module (133) may determine, under the control of the processor (120), that a part of the movable object has moved outside the image boundary.
- the out painting/in painting module (133) may perform an operation of displaying the entire shape of the movable object when, under the control of the processor (120), a part of the movable object has moved outside the image boundary.
- the out painting/in painting module (133) may analyze an area of the original image that requires expansion so that the entire shape of the moved object can be displayed based on the original image size (e.g., resolution) under the control of the processor (120), and may perform out painting on the determined area requiring expansion.
- the processor (120) under the control of the re-lighting module (134), the processor (120), when an object (e.g., a movable object) moves its position on the image by a user input, light and/or shadow corresponding to the moved object can be adjusted. Under the control of the re-lighting module (134), the processor (120), the light and/or shadow can be repeatedly adjusted corresponding to the moved object. Under the control of the re-lighting module (134), the processor (120), an image with adjusted light and/or shadow corresponding to the moved object can be displayed as a preview.
- an object e.g., a movable object
- the processor (120) Under the control of the re-lighting module (134), the processor (120), an image with adjusted light and/or shadow corresponding to the moved object can be displayed as a preview.
- a re-lighting module (134) under the control of the processor (120), may perform operations to adjust light and/or shadows on a background image based on the moved object position and updated depth information as the object changes.
- the memory (130) may further include an image editing management module.
- the image editing management module may display a user interface related to editing controls when editing an image.
- FIG. 3 is a drawing showing an image editing method of an electronic device (101) according to one embodiment of the present disclosure.
- the electronic device (101) may execute an image editing application in operation 301 under the control of the processor (120).
- the memory (130) may include instructions including an image editing method of the electronic device (101) of FIG. 3.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to execute an image editing application.
- the electronic device (101), under the control of the processor (120), in operation 301, may select one image from among a plurality of images displayed on a gallery application by user input.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to select one image from among a plurality of images displayed on a gallery application based on a user input.
- the electronic device (101), under the control of the processor (120), may execute an image editing application by selecting one image from among a plurality of images displayed on a gallery application in operation 301.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to execute an image editing application when selecting one image from among a plurality of images displayed on the gallery application.
- the electronic device (101), under the control of the processor (120), may, in operation 301, execute an image editing application to display at least one selected image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display at least one selected image when executing an image editing application.
- the electronic device (101), under the control of the processor (120), may determine depth information of an image in operation 303.
- the image may be displayed in a running image editing application.
- the image may be an image selected for image editing.
- the electronic device (101) can first perform operation 305 regarding recognition and classification of an object under the control of the processor (120) and then check depth information from the image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine depth information of an image.
- the electronic device (101), under the control of the processor (120), may generate depth information of an image using the depth information generation module (131) in operation 303.
- instructions stored in memory (130), when executed by processor (120), may cause electronic device (101) to generate depth information of an image using depth information generation module (131).
- the electronic device (101), under control of the processor (120), may generate a depth map of an image in operation 303.
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to generate a depth map of an image.
- the electronic device (101), under the control of the processor (120), in operation 305, may recognize and/or detect and classify an object in an image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify objects in an image.
- the electronic device (101), under the control of the processor (120), may perform segmentation on an image in operation 305.
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to perform segmentation on an image.
- the electronic device (101), under the control of the processor (120), in operation 305, may use the object recognition/classification module (132) to recognize and/or detect and classify an object in an image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify objects in an image using the object recognition/classification module (132).
- the electronic device (101), under the control of the processor (120), in operation 305, may recognize and/or detect and classify an object through segmentation in an image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify objects through segmentation in an image.
- the electronic device (101), under the control of the processor (120), in operation 305, may identify information about a movable object among at least one object recognized and/or detected in the image.
- the movable object may be, for example, an object whose position within the image may change.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify information about a movable object among at least one object recognized and/or detected in the image.
- the electronic device (101), under the control of the processor (120), in operation 305, may identify an object recognized and/or detected in an image whose size is greater than a specified size as a movable object.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify objects recognized and/or detected in an image whose size is greater than a specified size as movable objects.
- the electronic device (101), under the control of the processor (120), in operation 305, may identify an object corresponding to a classification of a specified object (e.g., a person, a flower pot, a piece of furniture, etc.) as a movable object.
- a specified object e.g., a person, a flower pot, a piece of furniture, etc.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify an object corresponding to a specified object classification (e.g., a person, a flower pot, a piece of furniture, etc.) as a movable object.
- a specified object classification e.g., a person, a flower pot, a piece of furniture, etc.
- the electronic device (101), under the control of the processor (120), may perform a segmentation operation only for objects corresponding to a classification of a specified object in operation 305.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a segmentation operation only for objects corresponding to a classification of a specified object.
- the electronic device (101), under the control of the processor (120), may perform outpainting/inpainting on an image based on object recognition information or depth information in operation 307.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform outpainting/inpainting on an image based on object recognition information or depth information.
- the electronic device (101) may, under the control of the processor (120), in operation 307, perform outpainting/inpainting on an image based on object recognition information or depth information through the outpainting/inpainting module (133).
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform outpainting/inpainting on an image through the outpainting/inpainting module (133) based on object recognition information or depth information.
- the electronic device (101), under the control of the processor (120), in operation 307, can identify a first area on the image where the movable object identified in the image is to be emptied as the position moves, and/or a second area of the object where the movable object identified in the image is to be created as the position moves.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify a first region of the image in which a movable object identified in the image is to be emptied as it moves in position, and/or a second region of an object in which a movable object identified in the image is to be created as it moves in position.
- the electronic device (101), under the control of the processor (120), in operation 307, may perform a filling operation based on objects and/or pixels recognized and/or detected on an image for the first area and the second area, under the control of the processor (120).
- the filling operation may include adding recognized or detected objects and/or pixels to the area to be filled.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a filling operation based on objects and/or pixels recognized and/or detected on the image for the first area and the second area.
- the electronic device (101) may perform out-painting/in-painting when the position of the object on the image changes based on the object recognition information or the depth information under the control of the processor (120).
- the electronic device (101) may perform out-painting/in-painting based on the object recognition information or the depth information under the control of the processor (120).
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform out-painting/in-painting when the position of the object on the image changes based on the object recognition information or the depth information.
- the electronic device (101), under control of the processor (120), in operation 308, may display a user interface for editing an object location.
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to display a user interface for editing object locations.
- the electronic device (101), under control of the processor (120), in operation 308, may display a user interface for editing an object position on the display (260).
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a user interface for editing object positions on the display (260).
- the electronic device (101), under control of the processor (120), in operation 308, may display a user interface for editing object positions on an image editing application.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a user interface for object position editing on an image editing application.
- a user interface for editing an object location may include a user interface that displays an image highlighting an object selected on an image.
- the object selected on the image may be selected by user input for positioning movement within the image.
- a user interface for editing object positions can indicate positions between objects with text and/or indicators (or images) based on positions of objects included on a selected image.
- a user interface for editing object positions can indicate positions between objects with text and/or indicators (or images) in proportion to positions of objects included on a selected image.
- a selected image may contain a table and a wall as objects, and the objects may be arranged in the order of table and wall from the observation point of view.
- a user interface for editing object positions may display the positions between objects in the order of table and wall.
- the user interface for editing object positions may include a sphere-shaped interface and/or a slide-shaped interface.
- the present invention is not limited thereto, and in one embodiment, the user interface for editing object positions may include moving an object in response to a user's drag input on a selected image.
- a user interface for editing an object position may indicate an object (e.g., a person or a person object) that a user wishes to move in a selected image as a first indicator.
- the first indicator may include a user interface (520) that highlights an outline of the selected object as shown in FIG. 5.
- a user interface for editing object positions may display a second indicator indicating an object(s) corresponding to a movable position in the image image.
- the second indicator may include a user interface (530) indicating an object(s) corresponding to a movable position in the image of FIG. 5.
- the electronic device (101) may, under the control of the processor (120), move the object (e.g., a person or a person object) corresponding to the desired location to be moved behind the object (e.g., the table) corresponding to the desired location so that the object (e.g., the table) corresponding to the desired location is located at the top layer (e.g., the closest distance from the user, or the top layer among overlapping objects) based on depth information (e.g., z-depth).
- the object e.g., a person or a person object
- the top layer e.g., the closest distance from the user, or the top layer among overlapping objects
- the electronic device (101) may, under the control of the processor (120), apply perspective based on the depth information to reduce the size of the object (e.g., the person or the person object) to be moved and display it on an image.
- the electronic device (101), under the control of the processor (120), may determine, in operation 309, whether there is object movement on the image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine whether there is object movement in the image.
- the electronic device (101), under the control of the processor (120), may determine, in operation 309, whether there is an object movement based on user input.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine whether there is object movement based on user input.
- the user input may include an input for moving an indicator representing an object on a user interface for editing the object's position.
- the user input may include an input for moving an object on a selected image.
- the electronic device (101) may branch from operation 309 to operation 311.
- the electronic device (101) may branch from operation 309 to operation 301.
- the electronic device (101) can, under the control of the processor (120), change the position of an object on an image in operation 311.
- the object whose position has been moved (or the object that is moving) can be positioned with its size changed based on depth information.
- the object on the image can have a sense of perspective, thereby reducing the sense of incongruity.
- instructions stored in memory (130), when executed by the processor (120), may cause the electronic device (101) to change the position of an object on an image.
- the electronic device (101), under the control of the processor (120), in operation 311, can improve the image quality of the object moved (or a moving object) and display it on the image.
- instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to improve the image quality (e.g., perform super resolution processing) of the object moved (or an object in motion) and display it on the image.
- image quality e.g., perform super resolution processing
- the electronic device (101), under the control of the processor (120), may perform outpainting/inpainting when the position of an object on an image changes in operation 311.
- the electronic device (101), under the control of the processor (120), in operation 311, when the position of an object on an image is changed, may perform an outpainting/inpainting operation of the object and/or image whose position has been changed based on object recognition information or depth information.
- the electronic device (101) may not perform an out-painting/in-painting operation under the control of the processor (120).
- the electronic device (101) may, under the control of the processor (120), determine an area to be covered or filled in on an object or an image whose position has changed due to a change in the position of the object on the image, and perform an outpainting/inpainting operation.
- the area to be covered may include an area that should be removed by perspective or depth information according to the movement of the object.
- the area to be filled in may include an area that should be added by perspective or depth information according to the movement of the object.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform outpainting/inpainting when the position of an object on an image changes.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine an object whose position has changed due to a change in the position of the object on the image or an area to be covered or filled in the image, and perform an out-painting/in-painting operation.
- the electronic device (101), under the control of the processor (120), in operation 313, may perform a re-lighting operation on an image including an object whose position has changed.
- the electronic device (101), under the control of the processor (120), may display light and/or shadow corresponding to the object whose position has changed on the image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a re-lighting operation on an image that includes an object whose position has changed.
- the electronic device (101), under the control of the processor (120), may, in operation 313, display a re-lighted image as a preview on the display (260).
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to display a re-lighted image as a preview on the display (260).
- the electronic device (101), under the control of the processor (120), may determine, at operation 315, whether the image editing application has been terminated.
- instructions stored in memory (130), when executed by the processor (120), may cause the electronic device (101) to determine whether the image editing application has been terminated.
- the electronic device (101) may branch from operation 315 to operation 317.
- the electronic device (101) may branch from operation 315 to operation 301.
- the electronic device (101), under the control of the processor (120), in operation 317 may provide an image of a changed object location. In one embodiment, the electronic device (101), under the control of the processor (120), in operation 317, may cause the image of a changed object location to be displayed on the display (160). In one embodiment, the electronic device (101), under the control of the processor (120), in operation 317, may cause the image of a changed object location to be stored in the memory (130).
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to provide an image of an object having a changed position. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display an image of an object having a changed position on the display (160). In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to store an image of an object having a changed position in the memory (130).
- FIG. 4 is a drawing showing an image editing method of an electronic device (101) according to one embodiment of the present disclosure.
- the electronic device (101), under control of the processor (120), may, in operation 401, select an object from a first image.
- the memory (130) may include instructions including an image editing method of the electronic device (101) of FIG. 3.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to execute an image editing application.
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to select an object in a first image.
- the object selected in the first image may be an object selected by a user input.
- the electronic device (101) may, under the control of the processor (120), select the object in the first image.
- the user input for the object included in the first image may be, for example, a touch input of long pressing the object included in the first image.
- the electronic device (101), under the control of the processor (120), may, in operation 401, select an object included in a first image from among a plurality of images displayed on a gallery application.
- the object selected through the first image may be a first object.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to select an object included in a first image from among a plurality of images displayed on a gallery application.
- the electronic device (101), under the control of the processor (120), may, in operation 403, determine depth information of the first image and/or the second image.
- the electronic device (101) may first perform operation 405 regarding recognition and classification of an object in the second image under the control of the processor (120), and then check depth information in the first image and/or the second image.
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to determine depth information of the first image and/or the second image.
- the second image may be an image acquired through the camera (280).
- the second image may be displayed on the display (260) as a preview image.
- the second image may be an image being acquired in real time through the camera (280).
- the second image may be an image being displayed via the display (260).
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to generate depth information of the first image and/or the second image.
- the electronic device (101), under control of the processor (120), may generate a depth map of the second image in operation 403.
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to generate a depth map of the second image.
- the electronic device (101), under control of the processor (120), in operation 405, may recognize and/or detect and classify an object in the second image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify an object in the second image.
- the electronic device (101), under the control of the processor (120), may perform segmentation on the second image in operation 405.
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to perform segmentation on the second image.
- the electronic device (101), under the control of the processor (120), in operation 405, may use the object recognition/classification module (132) to recognize and/or detect and classify an object in the second image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify an object in the second image using the object recognition/classification module (132).
- the electronic device (101), under the control of the processor (120), in operation 405, may recognize and/or detect and classify an object through segmentation in the second image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify an object through segmentation in the second image.
- the electronic device (101), under the control of the processor (120), may perform outpainting/inpainting on the second image based on object recognition information or depth information in operation 407.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform outpainting/inpainting on the second image based on object recognition information or depth information.
- the electronic device (101) may, under the control of the processor (120), perform outpainting/inpainting on the second image through the outpainting/inpainting module (133) in operation 407.
- the object selected through the first image may be the first object.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform out-painting/in-painting on the second image through the out-painting/in-painting module (133).
- the electronic device (101), under the control of the processor (120), in operation 407, can identify a first region on an image in which a first object is emptied as it moves in position in the second image, and/or a second region of an object in which the first object is to be generated as it moves in position in the second image.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify a first region of an image in which a first object is emptied as it moves in position in the second image, and/or a second region of an object in which the first object is to be generated as it moves in position in the second image.
- the electronic device (101), under the control of the processor (120), in operation 407, may perform a filling operation based on objects and/or pixels recognized and/or detected on a second image for the first area and the second area based on object recognition information or depth information, under the control of the processor (120).
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a filling operation based on objects and/or pixels recognized and/or detected on a second image for the first area and the second area based on object recognition information or depth information.
- the present invention is not limited thereto, and the electronic device (101) may perform out-painting/in-painting when the position of the first object on the second image is changed under the control of the processor (120).
- the electronic device (101) may perform out-painting/in-painting based on object recognition information or depth information under the control of the processor (120).
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform out-painting/in-painting when the position of the first object on the second image is changed.
- the electronic device (101), under control of the processor (120), in operation 408, may display a user interface for editing an object location.
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to display a user interface for editing object locations.
- the electronic device (101), under control of the processor (120), in operation 408, may display a user interface for editing an object position on the display (260).
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a user interface for editing object positions on the display (260).
- the electronic device (101), under control of the processor (120), in operation 408, may display a user interface for editing object positions on the image editing application.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a user interface for object position editing on an image editing application.
- a user interface for editing an object location may include a user interface that displays an image highlighting a first object on a second image.
- the user interface for editing object locations can indicate locations between objects with text and/or indicators (or images) based on locations of objects included in the second image.
- the user interface for editing object locations can indicate locations between objects with text and/or indicators (or images) in proportion to locations of objects included in the second image.
- the user interface for editing an object position may include a sphere-shaped interface and/or a slide-shaped interface.
- the present invention is not limited thereto, and in one embodiment, the user interface for editing an object position may include moving a first object in response to a user's drag input on a second image.
- the electronic device (101), under the control of the processor (120), may determine, in operation 409, whether there is movement of a selected object.
- the selected object may be a first object.
- instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to determine whether there is movement of a selected object.
- the electronic device (101), under the control of the processor (120), may determine, in operation 409, whether there is movement of a selected object based on user input.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine whether there is movement of a selected object based on user input.
- the electronic device (101) may branch from operation 409 to operation 411.
- the electronic device (101) may branch from operation 409 to operation 401.
- the electronic device (101), under the control of the processor (120), in operation 411, can change the position of the selected object (or the first object) on the second image.
- the selected object (or the first object) can be positioned with its size changed based on the depth information.
- the selected object (or the first object) on the second image can have a sense of perspective, thereby reducing the sense of incongruity.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to change the position of the selected object (or, the first object) on the second image.
- the selected object (or, the first object) may be arranged with its size changed based on the depth information.
- the electronic device (101) may, under the control of the processor (120), improve the image quality of the object moved (or an object in motion) in operation 411 (e.g., perform super resolution processing) and display the object in the image.
- improve the image quality of the object moved (or an object in motion) in operation 411 e.g., perform super resolution processing
- instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to improve the image quality (e.g., perform super resolution processing) of the object moved (or an object in motion) and display it on the image.
- image quality e.g., perform super resolution processing
- the electronic device (101) may perform out-painting/in-painting when the position of the selected object (or the first object) on the second image changes under the control of the processor (120).
- the electronic device (101), under the control of the processor (120), in operation 411, may perform an outpainting/inpainting operation of the first object and/or the second image based on object recognition information or depth information when the position of the first object on the image changes.
- the electronic device (101) may not perform the out-painting/in-painting operation under the control of the processor (120).
- the electronic device (101) may, under the control of the processor (120), determine an area to be covered or filled in in the first object or the second image according to a change in the position of the object on the image, and perform an out-painting/in-painting operation.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform out-painting/in-painting when the position of the selected object (or the first object) on the second image changes.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine an area to be covered or filled in in the first object or second image according to a change in the position of the object, and perform an out-painting/in-painting operation.
- the electronic device (101), under the control of the processor (120), may perform a re-lighting operation on a second image including the selected object (or the first object) whose position has been changed, in operation 413.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a re-lighting operation on a second image that includes a selected object (or, the first object) whose position has changed.
- the electronic device (101) may, under the control of the processor (120), display light and/or shadow corresponding to the selected object (or first object) whose position has changed on the second image.
- the electronic device (101), under the control of the processor (120), may, in operation 413, display the re-lighted second image as a preview on the display (260).
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a re-lighted second image as a preview on the display (260).
- the electronic device (101), under the control of the processor (120), may, in operation 416, provide a second image in which the position of the selected object (or the first object) has been changed.
- the electronic device (101), under the control of the processor (120), may, in operation 416, display a second image with a changed position of the selected object (or the first object) on the display (160).
- the electronic device (101), under the control of the processor (120), may store a second image in which the position of the selected object (or the first object) is changed in the memory (130) in operation 416.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to provide a second image in which the position of the selected object (or, the first object) has been changed.
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a second image with a changed position of the selected object (or, the first object) on the display (160).
- the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to store a second image in which the position of the selected object (or, the first object) has been changed in the memory (130).
- FIG. 5 is a drawing showing an image editing method according to one embodiment of the present disclosure.
- Screens 501, 503, and 505 are diagrams showing image editing operations on an image editing application.
- the image may include at least one object (511, 513, 515).
- a first object (511) may include a person
- a second object (513) may include a table
- a third object (515) may include a wall.
- the electronic device (101) can recognize and/or detect and classify an object in an image under the control of the processor (120).
- the electronic device (101) can identify an object corresponding to a classification of a specified object (e.g., a person, a flower pot, furniture, etc.) as a movable object under the control of the processor (120).
- the electronic device (101) can perform a segmentation operation only for an object corresponding to a classification of a specified object under the control of the processor (120).
- a user interface (520) for highlighting an outline of the selected object may be displayed.
- the first indicator may include a user interface (520) for highlighting an outline of the selected object.
- the selected object can move its position on the image by user input.
- the first object (511) can move its position on the image by user input (e.g., drag input).
- the first object (511) whose position has been changed can be placed with its size changed based on depth information.
- the electronic device (101) can display a user interface (530) indicating object(s) corresponding to a movable position in the image on the display (160).
- the second indicator can include the user interface (530) indicating object(s) corresponding to a movable position in the image.
- the present invention is not limited thereto, and the electronic device (101) may not display the user interface (530) or the second indicator indicating object(s) corresponding to the movable position.
- the electronic device (101) can perform out-painting/in-painting on the image under the control of the processor (120).
- the electronic device (101) can perform the out-painting/in-painting operation on the image before the movement of the first object (511) under the control of the processor (120). However, it is not limited thereto, and the electronic device (101), under the control of the processor (120), may perform an out-painting/in-painting operation on the image after the movement of the first object (511). Comparing the screens 501 and 505, the first object (511) was placed in front of the second object (513) and then moved to be placed between the second object (513) and the third object (515). The space left empty due to the movement of the first object (511) may be filled with a table image corresponding to the second object (513), and at least a part of the first object (511) may be obscured.
- the electronic device (101) can perform a rewriting operation on the image under the control of the processor (120).
- the electronic device (101) can display light and/or shadow corresponding to the first object (511) whose position has changed on the image under the control of the processor (120).
- FIG. 6 is a drawing showing an image editing method according to one embodiment of the present disclosure.
- Screens 601, 603, and 605 are diagrams showing image editing operations on an image editing application.
- the image may include at least one object (511, 513, 515).
- a first object (511) may include a person
- a second object (513) may include a table
- a third object (515) may include a wall.
- the electronic device (101) can recognize and/or detect and classify an object in an image under the control of the processor (120).
- the electronic device (101) can identify an object corresponding to a classification of a specified object (e.g., a person, a flower pot, a piece of furniture, etc.) as a movable object under the control of the processor (120).
- the electronic device (101) can perform a segmentation operation only for an object corresponding to a classification of a specified object under the control of the processor (120).
- a user interface (520) for highlighting an outline of the selected object may be displayed.
- the first indicator may include a user interface (520) for highlighting an outline of the selected object.
- a user interface (610) for editing object positions can be displayed.
- the user interface (610) for editing object positions can display positions between objects with indicators (or images) (612, 613) based on positions of objects included in the selected image.
- a user interface (610) for editing object positions can display the relative positions among the first object (511), the second object (513), and the third object (515) using a second indicator (612) and a third indicator (613).
- the second indicator (612) can be an image that represents a wall, which is the third object (515).
- the third indicator (613) can be an image that represents a table, which is the second object (513).
- the first indicator (611) can be an icon or representation indicating the selected first object (511).
- the first indicator (611) corresponding to the first object (511) can move its position on the user interface (610) for editing object positions by user input.
- the first indicator (611) corresponding to the first object (511) can move its position on the user interface (610) for editing object positions by user input (e.g., drag input or slide input).
- user input e.g., drag input or slide input.
- the electronic device (101) can perform out painting/in painting on the image under the control of the processor (120).
- the electronic device (101) can perform a rewriting operation on the image under the control of the processor (120).
- the operation of the electronic device (101) can be the same as the operation of the electronic device (101) in the 505 screen.
- FIG. 7 is a drawing illustrating an image editing method according to one embodiment of the present disclosure.
- Screens 701, 703, and 605 are diagrams showing image editing operations on an image editing application.
- the image may include at least one object (511, 513, 515).
- a first object (511) may include a person
- a second object (513) may include a table
- a third object (515) may include a wall.
- the electronic device (101) can recognize and/or detect and classify an object in an image under the control of the processor (120).
- the electronic device (101) can identify an object corresponding to a classification of a specified object (e.g., a person, a flower pot, a piece of furniture, etc.) as a movable object under the control of the processor (120).
- the electronic device (101) can perform a segmentation operation only for an object corresponding to a classification of a specified object under the control of the processor (120).
- a user interface (520) may be displayed that emphasizes the outline of the selected object.
- the first indicator may include the user interface (520) that emphasizes the outline of the selected object.
- a user interface (610) for editing object positions can be displayed.
- the user interface (610) for editing object positions can display positions between objects with indicators (or images) (612, 613) based on positions of objects included in the selected image.
- the images are arranged in the order of a first object (511), a second object (513), and a third object (515) when viewed from the observation point.
- the user interface (610) for editing object positions can display the relative positions among the first object (511), the second object (513), and the third object (515) as a first text (712) and a second text (713).
- the first text (712) can represent a wall, which is the third object (515).
- the second text (713) can represent a table, which is the second object (513).
- the indicator (711) can be an icon or representation representing the selected first object (511).
- the indicator (711) corresponding to the first object (511) can move its position on the user interface (610) for editing object positions by user input.
- the indicator (711) corresponding to the first object (511) can move its position on the user interface (710) for editing object positions by user input (e.g., drag input or slide input).
- user input e.g., drag input or slide input.
- the electronic device (101) can perform out painting/in painting on the image under the control of the processor (120).
- the electronic device (101) can perform a rewriting operation on the image under the control of the processor (120).
- the operation of the electronic device (101) can be the same as the operation of the electronic device (101) in screen 505.
- FIG. 8A is a diagram illustrating a user interface (810) for object position editing based on an indicator according to one embodiment of the present disclosure.
- the user interface (810) for editing object locations in FIG. 8a may be identical to the user interface (610) for editing object locations in FIG. 6.
- a user interface (810) for editing object positions can display relative positions between objects as indicators.
- the fourth indicator (811) may be an icon or representation representing the selected object.
- the fifth indicator (812) and the sixth indicator (813) can indicate objects included in the image.
- the distance between the fifth indicator (812) and the sixth indicator (813) can correspond to a relative distance between the objects corresponding to the fifth indicator (812) and the sixth indicator (813).
- the distance between the fifth indicator (812) and the sixth indicator (813) can correspond to an arrangement between the objects corresponding to the fifth indicator (812) and the sixth indicator (813).
- the fourth indicator (811) corresponding to the selected object can move its position on the user interface (810) for editing the object position by a user input (e.g., a drag input or a slide input). When changing the position of the fourth indicator (811) on the user interface (810) for editing the object position, the position of the object selected on the image may also move accordingly.
- FIG. 8b is a diagram illustrating a user interface (820) for object position editing based on an indicator according to one embodiment of the present disclosure.
- the user interface (820) for editing object positions in FIG. 8b may be identical to the user interface (710) for editing object positions in FIG. 7.
- the user interface (820) for editing object positions may display relative positions between objects as text.
- the seventh indicator (821) may be an indicator or representation representing a selected object.
- the third text (823) and the fourth indicator (824) may represent objects included in the image.
- the distance between the third text (823) and the fourth indicator (824) may correspond to a relative distance between the objects corresponding to the third text (823) and the fourth indicator (824).
- the distance between the third text (823) and the fourth indicator (824) may correspond to an arrangement between the objects corresponding to the third text (823) and the fourth indicator (824).
- the seventh indicator (821) corresponding to the selected object may move a position on the user interface (810) for editing the object position by a user input (e.g., a drag input or a slide input).
- a user input e.g., a drag input or a slide input
- FIG. 8c is a diagram illustrating a user interface (830) for object position editing based on an indicator according to one embodiment of the present disclosure.
- the user interface (830) for editing object positions in FIG. 8c may be in the shape of a sphere.
- the eighth indicator (831) may be an icon or representation indicating a selected object.
- the eighth indicator (831) is moved in the user interface (840) for editing object positions, the position of the object selected on the image may also be moved accordingly.
- the user interface (810) for editing object positions in FIG. 8A allows a selected object to be moved along the x-axis and/or y-axis on the image.
- the user interface (820) for editing object positions in FIG. 8b allows a selected object to be moved along the x-axis and/or y-axis on the image.
- the user interface (830) for editing object positions in FIG. 8c allows a selected object to be moved along the z-axis as well as the x-axis and/or y-axis on the image.
- FIG. 9 is a drawing showing an image editing method according to one embodiment of the present disclosure.
- Screen 912, screen 913 and screen 913 are drawings showing image editing operations on the second image of FIG. 4.
- the electronic device (101) can select a first object (911) included in a first image from among a plurality of images (910) displayed on a gallery application by user input.
- the first object (911) included in a first image from among a plurality of images (910) displayed on a gallery application can be selected by user input.
- the electronic device (101) can recognize and/or detect and classify an object in the second image under the control of the processor (120).
- the second image may be an image acquired through the camera (280).
- the second image may be displayed on the display (260) as a preview image.
- the second image may be an image being displayed through the display (260).
- the electronic device (101) may generate a depth map of the second image under the control of the processor (120).
- the electronic device (101) may, under control of the processor (120), recognize and/or detect and classify an object in the second image.
- the electronic device (101) may include a user interface (920) for editing the object location.
- the user interface (920) for editing the object location of FIG. 9 may be identical to the user interface (810) for editing the object location of FIG. 8 a.
- the fourth indicator (811) may be an icon or representation representing the selected object.
- the tenth indicator (921) and the eleventh indicator (922) can indicate objects included in the second image.
- the distance between the tenth indicator (921) and the eleventh indicator (922) can correspond to the arrangement between the objects corresponding to the tenth indicator (921) and the eleventh indicator (922).
- the ninth indicator (921) corresponding to the first object (911) can move its position on the user interface (810) for editing object positions by a user input (e.g., a drag input or a slide input).
- a user input e.g., a drag input or a slide input.
- the electronic device (101) can change the size of the first object (911) according to the movement based on the depth map of the second image under the control of the processor (120). In addition, the electronic device (101) can rewrite the second image corresponding to the position of the moved first object (911).
- FIG. 10a is a diagram showing an image when a selected object (1003) is moved in one embodiment of the present disclosure.
- FIG. 10b is a diagram showing an image when a selected object (1003) is moved in one embodiment of the present disclosure.
- a temporarily blank object (1001) corresponding to the outline or size of the selected object (1003) may be displayed.
- the present invention is not limited thereto, and as shown in FIGS. 5, 6, and 7, the electronic device (101) may perform an out-painting/in-painting operation in advance to fill the image without a blank object according to the object movement.
- the same object (1005) corresponding to the outline or size of the selected object (1003) can be displayed.
- the electronic device (101) can perform an out-painting/in-painting operation in advance to fill the image without the same object according to the object movement.
- the image editing method of the electronic device (101) of FIGS. 3 and 4 may be stored in a computer-readable recording medium or storage medium.
- the image editing method of the electronic device (101) of FIGS. 3 and 4 stored as instructions in a computer-readable recording medium or storage medium, when executed by a processor (120), may cause the electronic device (101) to perform the instructions.
- an electronic device (101) includes a display (160); a memory (130) storing instructions; and a processor (120), wherein the instructions, when executed by the processor (120), cause the electronic device (101) to: execute an image editing application including a user interface for selecting an image based on a user input, and for moving a position of an object; determine depth information of the image; recognize and classify an object in the image; change a position of the selected object on the image based on a user input through the user interface for moving the position of the object; and perform an outpainting and/or inpainting operation on one of the image or the selected object based on the position of the selected object.
- an image editing application including a user interface for selecting an image based on a user input, and for moving a position of an object; determine depth information of the image; recognize and classify an object in the image; change a position of the selected object on the image based on a user input through the user interface for moving the position of the object; and perform an outpainting and/or in
- the instructions when executed by the processor (120), may cause the electronic device (101) to provide an image with a changed position of an object when the image editing application is terminated.
- the electronic device (101) when executed by the processor (120), may be caused to generate depth information using a depth information generation model that generates depth information using a single image.
- the electronic device (101) when executed by the processor (120), the electronic device (101) may be enabled to recognize and classify objects in an image using an object recognition and classification model that segments an image to recognize and classify objects.
- the processor (120) when executed by the processor (120), it may cause the electronic device (101) to perform re-lighting in response to an object whose position has changed.
- the processor (120) when executed by the processor (120), it may cause the electronic device (101) to improve the image quality of an object whose position has been moved based on the position of the selected object.
- the user interface may display indicators corresponding to recognized objects according to the distance between the recognized objects.
- the electronic device (101) when executed by the processor (120), may be caused to perform an out-painting/in-painting operation by determining an area to be covered or filled in in an object or image whose position has changed due to a change in the position of the object.
- the electronic device (101) when executed by the processor (120), may be configured to select a first object from a first image, verify depth information of the first image, recognize and classify an object from a second image, perform out-painting and/or in-painting of the image based on at least one movable object in the second image, and, if there is a user input for movement of a position of the first object on the second image, change the position of the first object on the second image, and perform re-lighting corresponding to the first object whose position has been changed.
- the processor (120) when executed by the processor (120), it may cause the electronic device (101) to provide the second image in which the position of the first object is changed.
- an image editing method may include: selecting an image based on a user input; executing an image editing application including a user interface relating to movement of a position of an object; checking depth information of the image; recognizing and classifying an object in the image; changing a position of the selected object on the image based on the user input through the user interface relating to movement of the position of the object; and performing an outpainting and/or inpainting operation on one of the image or the selected object based on the position of the selected object.
- the image editing method may include an action of providing an image with a changed position of an object when the image editing application is terminated.
- an image editing method may include generating depth information using a depth information generation model that generates depth information using a single image.
- the image editing method may include recognizing and classifying objects in the image using an object recognition and classification model that segments the image to recognize and classify objects.
- the image editing method may include performing re-lighting in response to a changed position of an object.
- the image editing method may include an operation of improving the image quality of a moved object based on a location of the selected object.
- the image editing method may include an action of displaying indicators corresponding to recognized objects according to a distance between the recognized objects.
- the image editing method may include an operation of performing an outpainting/inpainting operation by determining an area to be covered or filled in of an object or image whose position has changed due to a change in the position of the object.
- an image editing method may include: selecting a first object from a first image; checking depth information of the first image; recognizing and classifying an object from the second image; performing outpainting and/or inpainting of the image based on at least one movable object in the second image; changing a position of the first object on the second image if there is a user input for movement of a position of the first object on the second image; and performing re-lighting corresponding to the first object whose position has been changed.
- the image editing method may include providing a second image in which the position of the first object is changed.
- the electronic devices according to various embodiments disclosed in this document may be devices of various forms.
- the 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 appliance devices.
- portable communication devices e.g., smartphones
- computer devices portable multimedia devices
- portable medical devices e.g., cameras
- wearable devices e.g., smart watch devices
- home appliance devices e.g., smartphones
- the electronic devices according to embodiments of this document are not limited to the above-described devices.
- 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, for example.
- a module may be an integrally configured component or a minimum unit of the component or a part thereof that performs one or more functions.
- a module may be implemented in the form of an application-specific integrated circuit (ASIC).
- ASIC application-specific integrated circuit
- 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)).
- a processor e.g., a processor (120)
- the machine e.g., an electronic device (101)
- 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.
- '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.
- the method according to various embodiments disclosed in the present document may be provided as included in a computer program product.
- the computer program product may be traded between a seller and a buyer as a commodity.
- the computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store TM ) or directly between two user devices (e.g., smart phones).
- an application store e.g., Play Store TM
- at least a part of the computer program product may be at least temporarily stored or temporarily generated in a machine-readable storage medium, such as a memory of a manufacturer's server, a server of an application store, or an intermediary server.
- each component e.g., a module or a program of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately arranged in other components.
- one or more components or operations of the above-described corresponding components may be omitted, or one or more other components or operations may be added.
- the multiple components e.g., a module or a program
- the integrated component may perform one or more functions of each of the multiple components identically or similarly to those performed by the corresponding component of the multiple components before the integration.
- the operations performed by the module, program, or other component may be executed sequentially, in parallel, repeatedly, 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.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
본 개시는 전자 장치 및 이미지 편집 방법에 관한 것이다.The present disclosure relates to an electronic device and an image editing method.
스마트 폰(Smart Phone), 태블릿 PC(Tablet PC), PMP(Portable Multimedia Player), PDA(Personal Digital Assistant), 랩탑 PC(Laptop Personal Computer) 및 손목 시계(Wrist watch), HMD(Head-Mounted Display)와 같은 웨어러블 기기(Wearable device) 등의 다양한 전자 장치는 카메라를 포함하고, 카메라를 이용하여 이미지를 촬영할 수 있다.Various electronic devices, such as smart phones, tablet PCs, portable multimedia players (PMPs), personal digital assistants (PDAs), laptop personal computers (Laptop PCs), and wearable devices such as wrist watches and head-mounted displays (HMDs), contain cameras and can capture images using cameras.
이미지 상에서, 객체를 이동할 때 전자 장치가 연산해야 되는 정보의 양이 많고, 공간 정보가 무시되어 이동된 객체를 포함하는 이미지가 부자연스러운 문제가 있다.There is a problem that when an object moves on an image, the amount of information that the electronic device must calculate is large, and the spatial information is ignored, resulting in an unnatural appearance of the image containing the moved object.
본 개시의 전자 장치 및 이미지 편집 방법은 이미지 상의 깊이 정보를 기반으로 객체를 이미지 상에 이동하는데 목적이 있다. The electronic device and image editing method of the present disclosure aim to move an object on an image based on depth information on the image.
본 개시의 전자 장치는 디스플레이; 인스트럭션들을 저장하는 메모리; 및 프로세서를 포함할 수 있다. An electronic device of the present disclosure may include a display; a memory storing instructions; and a processor.
본 개시의 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 때, 상기 전자 장치로 하여금: 사용자 입력에 기반하여 이미지가 선택되고, 객체의 위치 이동에 관한 사용자 인터페이스를 포함하는 이미지 편집 어플리케이션을 실행하고, 상기 이미지의 깊이 정보를 확인하며, 상기 이미지에서 객체를 인식하고 분류하고, 상기 객체의 위치 이동에 관한 사용자 인터페이스를 통한 사용자 입력에 기반하여, 상기 이미지 상에서 상기 선택된 객체의 위치를 변경하고, 상기 선택된 객체의 위치에 기반하여, 상기 이미지 또는 상기 선택된 객체 중 하나에 아웃 페인팅 및/또는 인 페이팅 동작을 수행하게 할 수 있다.The instructions of the present disclosure, when executed by the processor, may cause the electronic device to: execute an image editing application including a user interface for selecting an image based on a user input, the image editing application including a user interface for moving a position of an object, determine depth information of the image, recognize and classify an object in the image, change a position of the selected object on the image based on the user input through the user interface for moving the position of the object, and perform an outpainting and/or inpainting operation on one of the image or the selected object based on the position of the selected object.
본 개시의 이미지 편집 방법은 사용자 입력에 기반하여 이미지가 선택되는 동작; 객체의 위치 이동에 관한 사용자 인터페이스를 포함하는 이미지 편집 어플리케이션을 실행하는 동작; 상기 이미지의 깊이 정보를 확인하는 동작; 상기 이미지에서 객체를 인식하고 분류하는 동작; 상기 객체의 위치 이동에 관한 사용자 인터페이스를 통한 사용자 입력에 기반하여, 상기 이미지 상에서 상기 선택된 객체의 위치를 변경하는 동작; 및 상기 선택된 객체의 위치에 기반하여, 상기 이미지 또는 상기 선택된 객체 중 하나에 아웃 페인팅 및/또는 인 페이팅 동작을 수행하는 동작을 포함할 수 있다.The image editing method of the present disclosure may include: an operation of selecting an image based on a user input; an operation of executing an image editing application including a user interface relating to movement of a position of an object; an operation of checking depth information of the image; an operation of recognizing and classifying an object in the image; an operation of changing a position of the selected object on the image based on a user input through the user interface relating to movement of the position of the object; and an operation of performing an outpainting and/or inpainting operation on one of the image or the selected object based on the position of the selected object.
본 개시의 전자 장치 및 이미지 편집 방법은 이미지 상의 깊이 정보를 기반으로 객체를 이동시킴으로써, 자연스럽게 객체의 위치가 편집된 이미지를 획득할 수 있다.The electronic device and image editing method of the present disclosure can obtain an image in which the position of an object is naturally edited by moving the object based on depth information on the image.
도면의 설명과 관련하여, 동일 또는 유사한 구성 요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components.
도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
도 2는 본 개시의 일 실시예에 따른 전자 장치의 블록도이다.FIG. 2 is a block diagram of an electronic device according to one embodiment of the present disclosure.
도 3은 본 개시의 일 실시예에 따른 전자 장치의 이미지 편집 방법을 나타내는 도면이다.FIG. 3 is a drawing illustrating an image editing method of an electronic device according to one embodiment of the present disclosure.
도 4는 본 개시의 일 실시예에 따른 전자 장치의 이미지 편집 방법을 나타내는 도면이다.FIG. 4 is a drawing illustrating an image editing method of an electronic device according to one embodiment of the present disclosure.
도 5는 본 개시의 일 실시예에 따른 이미지 편집 방법을 나타내는 도면이다.FIG. 5 is a drawing showing an image editing method according to one embodiment of the present disclosure.
도 6은 본 개시의 일 실시예에 따른 이미지 편집 방법을 나타내는 도면이다.FIG. 6 is a drawing showing an image editing method according to one embodiment of the present disclosure.
도 7은 본 개시의 일 실시예에 따른 이미지 편집 방법을 나타내는 도면이다.FIG. 7 is a drawing illustrating an image editing method according to one embodiment of the present disclosure.
도 8a는 본 개시의 일 실시예에 따른 인디케이터에 기반한 객체 위치 편집을 위한 사용자 인터페이스를 나타내는 도면이다.FIG. 8A is a diagram illustrating a user interface for object position editing based on an indicator according to one embodiment of the present disclosure.
도 8b는 본 개시의 일 실시예에 따른 인디케이터에 기반한 객체 위치 편집을 위한 사용자 인터페이스를 나타내는 도면이다.FIG. 8b is a diagram illustrating a user interface for object position editing based on an indicator according to one embodiment of the present disclosure.
도 8c는 본 개시의 일 실시예에 따른 인디케이터에 기반한 객체 위치 편집을 위한 사용자 인터페이스를 나타내는 도면이다.FIG. 8c is a diagram illustrating a user interface for object position editing based on an indicator according to one embodiment of the present disclosure.
도 9는 본 개시의 일 실시예에 따른 이미지 편집 방법을 나타내는 도면이다.FIG. 9 is a drawing showing an image editing method according to one embodiment of the present disclosure.
도 10a는 본 개시의 일 실시예에서 선택된 객체가 이동될 때 이미지를 나타내는 도면이다.FIG. 10a is a diagram showing an image when a selected object is moved in one embodiment of the present disclosure.
도 10b는 본 개시의 일 실시예에서 선택된 객체가 이동될 때 이미지를 나타내는 도면이다.FIG. 10b is a diagram showing an image when a selected object is moved in one embodiment of the present disclosure.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). According to 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)).
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor (120) may control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) by executing, for example, software (e.g., a program (140)), and may perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculations, the processor (120) may store a command or data received from another component (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the command or data stored in the volatile memory (132), and store result data in a nonvolatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or processor) or a secondary processor (123) (e.g., a graphic 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 therewith. For example, if the electronic device (101) includes a main processor (121) and a secondary processor (123), the secondary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a given function. The secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The auxiliary processor (123) may control at least a portion of functions or states associated with at least one of the components of the electronic device (101) (e.g., the display module (160), the sensor module (176), or the communication module (190)), for example, 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 device) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. Such learning may be performed, for example, in the electronic device (101) itself on which the artificial intelligence model is executed, or may be performed through a separate server (e.g., server (108)). The learning algorithm may 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 may include a plurality of 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), deep Q-networks, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may additionally or alternatively include a software structure.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. 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 nonvolatile memory (134).
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. 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).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The audio output module (155) can output an audio signal 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 an incoming call. According to one embodiment, the receiver can be implemented separately from the speaker or as a part thereof.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. 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) can 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) can 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.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.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 obtain sound through an input module (150), or output sound through an audio output module (155), or an external electronic device (e.g., an electronic device (102)) (e.g., a speaker or a headphone) directly or wirelessly connected to the electronic device (101).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module (176) can detect an operating state (e.g., power or temperature) of the electronic device (101) or an external environmental state (e.g., user state) and generate an electric signal or data value corresponding to the detected state. 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.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.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.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.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., the 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).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that a user can perceive through a tactile or kinesthetic sense. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module (180) can capture still images and moving images. According to one embodiment, the camera module (180) can include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.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).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery (189) can power at least one component of the electronic device (101). In one embodiment, the battery (189) can include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. The communication module (190) may support 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., the electronic device (102), the electronic device (104), or the server (108)), and performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., the 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 GNSS (global navigation satellite system) 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, a corresponding communication module may 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 may 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) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196) to identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199).
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module (192) can support a 5G network and next-generation communication technology after a 4G network, for example, NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), terminal power minimization 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) may 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) may support various requirements specified in an electronic device (101), an external electronic device (e.g., an electronic device (104)), or a network system (e.g., a 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) each, or 1 ms or less for round trip) for URLLC realization.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다. The antenna module (197) can transmit or receive signals or power to or from the outside (e.g., an external electronic device). According to one embodiment, the antenna module (197) can include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) can 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), can be selected from the plurality of antennas by, for example, the communication module (190). A signal or power can be transmitted or received between the communication module (190) and the external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) can be additionally formed as a part of the antenna module (197).
다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC positioned 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) positioned on or adjacent a second side (e.g., a top side or a side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the above components may be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.In 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). In 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 executing the function or service itself or in addition, request one or more external electronic devices to perform at least a part of the function or service. One or more external electronic devices that have received the request may execute at least a part 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 it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (101) may provide an ultra-low latency service by using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (104) may include an IoT (Internet of Things) device. The server (108) may be an intelligent server using 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.
도 2는 본 개시의 일 실시예에 따른 전자 장치(101)의 블록도이다. FIG. 2 is a block diagram of an electronic device (101) according to one embodiment of the present disclosure.
일 실시예에서, 전자 장치(101)는 카메라(280), 디스플레이(260), 프로세서(120) 및 메모리(130)를 포함할 수 있다. In one embodiment, the electronic device (101) may include a camera (280), a display (260), a processor (120), and memory (130).
일 실시예에서, 도 2의 카메라(280)는 도 1의 카메라 모듈(180)을 포함할 수 있다. 도 2의 디스플레이(260)는 도 1의 디스플레이 모듈(160)을 포함할 수 있다. 도 2의 프로세서(120)는 도 1 의 프로세서(120)를 포함할 수 있다. 도 2의 메모리(130)는 도 1의 메모리(130)를 포함할 수 있다. In one embodiment, the camera (280) of FIG. 2 may include the camera module (180) of FIG. 1. The display (260) of FIG. 2 may include the display module (160) of FIG. 1. The processor (120) of FIG. 2 may include the processor (120) of FIG. 1. The memory (130) of FIG. 2 may include the memory (130) of FIG. 1.
일 실시예에서, 메모리(130)는 깊이 정보 생성 모듈(131), 객체 인식/분류 모듈(132), 아웃 페인팅(out painting)/인 페이팅(in painting) 모듈(133), 및/또는 리라이팅(re-lighting) 모듈(134)을 포함할 수 있다. In one embodiment, the memory (130) may include a depth information generation module (131), an object recognition/classification module (132), an out painting/in painting module (133), and/or a re-lighting module (134).
일 실시예에서, 깊이 정보 생성 모듈(131), 객체 인식/분류 모듈(132), 아웃 페인팅/인 페이팅 모듈(133), 및/또는 리라이팅 모듈(134)은 메모리(130)에 저장된 프로그램 및/또는 어플리케이션일 수 있다. In one embodiment, the depth information generation module (131), the object recognition/classification module (132), the outpainting/inpainting module (133), and/or the rewriting module (134) may be programs and/or applications stored in the memory (130).
일 실시예에서, 깊이 정보 생성 모듈(131), 객체 인식/분류 모듈(132), 아웃 페인팅/인 페이팅 모듈(133), 및/또는 리라이팅 모듈(134) 각각은 생성형 AI(artificial intelligence)일 수 있다. In one embodiment, each of the depth information generation module (131), the object recognition/classification module (132), the outpainting/inpainting module (133), and/or the rewriting module (134) may be a generative artificial intelligence (AI).
일 실시예에서, 깊이 정보 생성 모듈(131), 객체 인식/분류 모듈(132), 아웃 페인팅/인 페이팅 모듈(133), 및/또는 리라이팅 모듈(134)은 하나의 생성형 AI일 수 있다.In one embodiment, the depth information generation module (131), the object recognition/classification module (132), the outpainting/inpainting module (133), and/or the rewriting module (134) may be a single generative AI.
일 실시예에서, 생성형 AI은, 프로세서(120)의 제어 하에, 프롬프트(prompt)에 의해 정의된 입력을 기반으로 깊이 정보 생성 모듈(131), 객체 인식/분류 모듈(132), 아웃 페인팅(out painting)/인 페이팅(in painting) 모듈(133), 및/또는 리라이팅 모듈(134)의 동작을 수행할 수 있다.In one embodiment, the generative AI may perform operations of a depth information generation module (131), an object recognition/classification module (132), an out painting/in painting module (133), and/or a rewriting module (134) based on input defined by a prompt under the control of the processor (120).
일 실시예에서, 깊이 정보 생성 모듈(131)은, 프로세서(120)의 제어 하에, 편집 대상이 되는 이미지에 대해서 깊이 지도(depth map)을 생성할 수 있다. 깊이 정보 생성 모듈(131)은 생성형 AI 뿐만 아니라 일반적인 AI를 포함할 수 있다. 깊이 지도는 관찰 시점(view point)으로부터 이미지에 포함된 객체의 표면 거리와 관련된 정보를 포함할 수 있다. 깊이 정보 생성 모듈(131)은 낱장의 이미지로부터 깊이 정보를 계산하도록 학습된 인공지능일 수 있다.In one embodiment, the depth information generation module (131) may generate a depth map for an image to be edited under the control of the processor (120). The depth information generation module (131) may include not only a generative AI but also a general AI. The depth map may include information related to a surface distance of an object included in an image from a view point. The depth information generation module (131) may be an artificial intelligence learned to calculate depth information from a single image.
일 실시예에서, 깊이 정보는 이미지 촬영 시 깊이 정보를 획득하는 센서(예: 라이다(lidar)나 티오에프(time of flight, ToF))를 이용하여 획득한 정보를 포함할 수 있다. 깊이 정보는 이미지 내의 메타데이터에 저장될 수 있다. In one embodiment, the depth information may include information acquired using a sensor that acquires depth information when capturing an image (e.g., lidar or time of flight (ToF)). The depth information may be stored in metadata within the image.
일 실시예에서, 깊이 정보 생성 모듈(131)은 이미지 내 객체가 이동된 결과에 기반하여 이미지의 깊이 정보를 업데이트 할 수 있다. 사용자가 이미지 내의 객체 이동 편집을 종료할 때까지, 전자 장치(101)는 업데이트 된 깊이 정보를 이용하여 객체가 이동될 때 원근감을 유지한 이미지 편집을 제공할 수 있다. In one embodiment, the depth information generation module (131) can update the depth information of the image based on the result of the object moving within the image. Until the user finishes editing the object movement within the image, the electronic device (101) can provide image editing that maintains perspective when the object is moved using the updated depth information.
일 실시예에서, 객체 인식/분류 모듈(132)은, 프로세서(120)의 제어 하에, 이미지에서 세그멘테이션(segmentation)을 수행할 수 있다. 객체 인식/분류 모듈(132)은, 프로세서(120)의 제어 하에, 이미지에서 세그멘테이션을 통해 객체를 인식(detecting)하고 분류(classification)할 수 있다. 객체 인식/분류 모듈(132)은, 프로세서(120)의 제어 하에, 이미지에서 감지된 적어도 하나 이상의 객체 중에서 이동 가능한 객체에 대한 정보를 확인할 수 있다. 이동 가능한 객체는, 예를 들어, 이미지 내에서 객체의 위치가 변경될 수 있는 객체일 수 있다. 예를 들어, 이동 가능한 객체는 객체 위치 편집을 위한 사용자 인터페이스를 통한 입력에 기반하여 이미지 내에서 이동될 수 있다. In one embodiment, the object recognition/classification module (132) can perform segmentation in an image under the control of the processor (120). The object recognition/classification module (132) can detect and classify objects through segmentation in an image under the control of the processor (120). The object recognition/classification module (132) can identify information about a movable object among at least one object detected in the image under the control of the processor (120). The movable object can be, for example, an object whose position within the image can be changed. For example, the movable object can be moved within the image based on an input via a user interface for editing the position of the object.
일 실시예에서, 객체 인식/분류 모듈(132)은, 프로세서(120)의 제어 하에, 이미지에서 인식 또는 인식된 객체들 중에 객체의 크기가 지정된 크기 이상인 객체를 이동 가능한 객체로 확인할 수 있다. In one embodiment, the object recognition/classification module (132) can, under the control of the processor (120), identify objects recognized or recognized in an image whose size is greater than a specified size as movable objects.
일 실시예에서, 객체 인식/분류 모듈(132)은, 프로세서(120)의 제어 하에, 지정된 객체의 분류(예, 인물, 화분, 가구, 등)에 대응하는 객체를 이동 가능한 객체로 확인할 수 있다. In one embodiment, the object recognition/classification module (132) may, under the control of the processor (120), identify an object corresponding to a specified object classification (e.g., a person, a flower pot, a piece of furniture, etc.) as a movable object.
일 실시예에서, 객체 인식/분류 모듈(132)은, 프로세서(120)의 제어 하에, 지정된 객체의 분류에 대응하는 객체에 대해서만 세그멘테이션 동작을 수행할 수 있다.In one embodiment, the object recognition/classification module (132) may, under the control of the processor (120), perform a segmentation operation only on objects corresponding to a classification of a specified object.
일 실시예에서, 객체 인식/분류 모델(132)은, 프로세서(120)의 제어 하에, 이동 가능한 객체가 이미지 내에서 이동이 가능한 위치에 대응하는 다른 객체를 인식 및 분류하는 동작을 수행할 수 있다. 예를 들어, 거실을 포함하는 이미지에 인물, 소파, 테이블이 객체로 포함된 경우, 객체 인식/분류 모델(132)은, 프로세서(120)의 제어 하에, 이미지 내에서 인물을 이동 가능한 객체로 인식할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스를 통한 입력에 기반하여 인물이 소파 뒤로 이동되면, 전자 장치(101)는 인물 영역의 일부가 소파 영역에 의해 가려지는 결과 이미지를 제공할 수 있다. In one embodiment, the object recognition/classification model (132) may, under the control of the processor (120), perform an operation of recognizing and classifying another object corresponding to a movable location of a movable object within an image. For example, if an image including a living room includes a person, a sofa, and a table as objects, the object recognition/classification model (132) may, under the control of the processor (120), recognize the person within the image as a movable object. If the person is moved behind the sofa based on an input via a user interface for editing an object location, the electronic device (101) may provide a resulting image in which a portion of the person area is covered by the sofa area.
일 실시예에서, 객체 인식/분류 모델(132)은, 프로세서(120)의 제어 하에, 이미지 내 사용자가 선택한 객체를 배경과 분리하는 동작(예: matting)을 수행할 수 있다. 객체 인식/분류 모델(132)은, 프로세서(120)의 제어 하에, 분리된 객체의 경계선 영역에 대해 배경의 잔여물을 제거하여 부드럽게 처리하는 동작을 수행할 수 있다. In one embodiment, the object recognition/classification model (132) may perform an operation (e.g., matting) to separate a user-selected object in an image from a background under the control of the processor (120). The object recognition/classification model (132) may perform an operation to smoothly process a boundary area of a separated object by removing background residue under the control of the processor (120).
일 실시예에서, 아웃 페인팅(out painting)/인 페이팅(in painting) 모듈(133)은, 프로세서(120)의 제어 하에, 이미지에서 확인된 이동 가능한 객체가 위치 이동에 따라 비워지는 이미지 상의 제 1 영역, 및/또는 이미지에서 확인된 이동 가능한 객체가 위치 이동에 따라 생성되어야 객체의 제 2 영역을 확인할 수 있다. 아웃 페인팅/인 페이팅 모듈(133)은, 프로세서(120)의 제어 하에, 제 1 영역, 제 2 영역에 대해서 이미지 상에서 인식 또는 감지된 객체 및/또는 픽셀을 기반으로 채워넣기 동작을 수행할 수 있다. 채워넣기 동작은 채워넣을 영역에 인식 또는 감지된 객체 및/또는 픽셀을 추가하는 동작을 포함할 수 있다. In one embodiment, the out painting/in painting module (133) can, under the control of the processor (120), identify a first region on the image in which a movable object identified in the image is to be emptied as it moves in position, and/or a second region of an object in which a movable object identified in the image is to be generated as it moves in position. The out painting/in painting module (133) can, under the control of the processor (120), perform a filling operation based on objects and/or pixels recognized or detected in the image for the first region and the second region. The filling operation can include an operation of adding objects and/or pixels recognized or detected in the region to be filled in.
일 실시예에서, 아웃 페인팅(out painting)/인 페이팅(in painting) 모듈(133)은, 프로세서(120)의 제어 하에, 이동 가능한 객체의 일부가 이미지 경계선 밖으로 이동되었다고 판단할 수 있다. 아웃 페인팅(out painting)/인 페이팅(in painting) 모듈(133)은, 프로세서(120)의 제어 하에, 이동 가능한 객체의 일부가 이미지 경계선 밖으로 이동되면, 이동 가능한 객체의 전체 형상을 표시하는 동작을 수행할 수 있다. 아웃 페인팅(out painting)/인 페이팅(in painting) 모듈(133)은, 프로세서(120)의 제어 하에, 이미지 원본 크기(예: 해상도)를 기준으로 상기 이동된 객체의 전체 형상을 표시 할 수 있도록 원본 이미지의 확장이 필요한 영역을 분석하고, 결정된 확장 필요 영역에 아웃 페인팅을 수행할 수 있다.In one embodiment, the out painting/in painting module (133) may determine, under the control of the processor (120), that a part of the movable object has moved outside the image boundary. The out painting/in painting module (133) may perform an operation of displaying the entire shape of the movable object when, under the control of the processor (120), a part of the movable object has moved outside the image boundary. The out painting/in painting module (133) may analyze an area of the original image that requires expansion so that the entire shape of the moved object can be displayed based on the original image size (e.g., resolution) under the control of the processor (120), and may perform out painting on the determined area requiring expansion.
일 실시예에서, 리라이팅(re-lighting) 모듈(134), 프로세서(120)의 제어 하에, 객체(예, 이동 가능한 객체)가 사용자 입력에 의해서 이미지 상의 위치를 이동하면, 이동된 객체에 대응하는 빛 및/또는 그림자를 조정할 수 있다. 리라이팅(re-lighting) 모듈(134), 프로세서(120)의 제어 하에, 이동된 객체에 대응하여 빛 및/또는 그림자를 반복적으로 조정할 수 있다. 리라이팅(re-lighting) 모듈(134), 프로세서(120)의 제어 하에, 이동된 객체에 대응하여 빛 및/또는 그림자를 조정한 이미지를 프리뷰(preview)로 표시할 수 있다. In one embodiment, under the control of the re-lighting module (134), the processor (120), when an object (e.g., a movable object) moves its position on the image by a user input, light and/or shadow corresponding to the moved object can be adjusted. Under the control of the re-lighting module (134), the processor (120), the light and/or shadow can be repeatedly adjusted corresponding to the moved object. Under the control of the re-lighting module (134), the processor (120), an image with adjusted light and/or shadow corresponding to the moved object can be displayed as a preview.
일 실시예에서, 리라이팅(re-lighting) 모듈(134), 프로세서(120)의 제어 하에, 이동된 객체 위치와, 객체가 변경됨에 따라 업데이트된 깊이 정보에 기반하여 배경 이미지에 빛 및/또는 그림자를 조정할 수 있는 동작을 수행할 수 잇다. In one embodiment, a re-lighting module (134), under the control of the processor (120), may perform operations to adjust light and/or shadows on a background image based on the moved object position and updated depth information as the object changes.
일 실시예에서, 메모리(130)는 이미지 편집 관리 모듈을 더 포함할 수 있다. 이미지 편집 관리 모듈은 이미지를 편집할 때, 편집 제어와 관련된 사용자 인터페이스를 표시할 수 있다. In one embodiment, the memory (130) may further include an image editing management module. The image editing management module may display a user interface related to editing controls when editing an image.
도 3은 본 개시의 일 실시예에 따른 전자 장치(101)의 이미지 편집 방법을 나타내는 도면이다. 일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 301 동작에서, 이미지 편집 어플리케이션을 실행할 수 있다. FIG. 3 is a drawing showing an image editing method of an electronic device (101) according to one embodiment of the present disclosure. In one embodiment, the electronic device (101) may execute an image editing application in
일 실시예에서, 메모리(130)는 도3의 전자 장치(101)의 이미지 편집 방법을 포함하는 인스트럭션들을 포함할 수 있다. 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 편집 어플리케이션을 실행하게 할 수 있다.In one embodiment, the memory (130) may include instructions including an image editing method of the electronic device (101) of FIG. 3. The instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to execute an image editing application.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 301 동작에서, 갤러리 어플리케이션 상에 표시 중인 복수의 이미지들 중에서 하나의 이미지가 사용자 입력에 의해서 선택될 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 사용자 입력에 기반하여 갤러리 어플리케이션 상에 표시 중인 복수의 이미지들 중에서 하나의 이미지를 선택하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to select one image from among a plurality of images displayed on a gallery application based on a user input.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 301 동작에서, 갤러리 어플리케이션 상에 표시 중인 복수의 이미지들 중에서 하나의 이미지를 선택하면, 이미지 편집 어플리케이션이 실행될 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may execute an image editing application by selecting one image from among a plurality of images displayed on a gallery application in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은. 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 갤러리 어플리케이션 상에 표시 중인 복수의 이미지들 중에서 하나의 이미지를 선택하면, 이미지 편집 어플리케이션이 실행되게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to execute an image editing application when selecting one image from among a plurality of images displayed on the gallery application.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 301 동작에서, 이미지 편집 어플리케이션을 실행되면, 적어도 하나 이상의 선택된 이미지를 표시할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may, in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 편집 어플리케이션을 실행되면, 적어도 하나 이상의 선택된 이미지를 표시하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display at least one selected image when executing an image editing application.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 303 동작에서, 이미지의 깊이 정보를 확인할 수 있다. 이미지는 실행 중인 이미지 편집 어플리케이션에 표시될 수 있다. 이미지는 이미지 편집을 위해 선택된 이미지일 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may determine depth information of an image in
그러나, 이에 한정되는 것은 아니며, 전자 장치(101)는, 프로세서(120)의 제어 하에, 객체의 인식 및 분류에 관한 305 동작을 먼저 수행하고, 이미지에서 깊이 정보를 확인할 수 있다. However, it is not limited thereto, and the electronic device (101) can first perform
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지의 깊이 정보를 확인하게 할 수 있다. 일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 303 동작에서, 깊이 정보 생성 모듈(131)을 이용하여 이미지의 깊이 정보를 생성할 수 있다.In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine depth information of an image. In one embodiment, the electronic device (101), under the control of the processor (120), may generate depth information of an image using the depth information generation module (131) in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 깊이 정보 생성 모듈(131)을 이용하여 이미지의 깊이 정보를 생성하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause electronic device (101) to generate depth information of an image using depth information generation module (131).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 303 동작에서, 이미지의 깊이 지도(depth map)을 생성할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), may generate a depth map of an image in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지의 깊이 지도(depth map)을 생성하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to generate a depth map of an image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 305 동작에서, 이미지에서 객체를 인식 및/또는 감지하고 분류할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지에서 객체를 인식 및/또는 감지하고 분류하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify objects in an image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 305 동작에서, 이미지에서 세그멘테이션(segmentation)을 수행할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may perform segmentation on an image in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지에서 세그멘테이션(segmentation)을 수행하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to perform segmentation on an image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 305 동작에서, 객체 인식/분류 모듈(132)을 이용하여 이미지에서 객체를 인식 및/또는 감지하고 분류할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체 인식/분류 모듈(132)을 이용하여 이미지에서 객체를 인식 및/또는 감지하고 분류하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify objects in an image using the object recognition/classification module (132).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 305 동작에서, 이미지에서 세그멘테이션을 통해 객체를 인식 및/또는 감지하고 분류할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지에서 세그멘테이션을 통해 객체를 인식 및/또는 감지하고 분류하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify objects through segmentation in an image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 305 동작에서, 이미지에서 인식 및/또는 감지된 적어도 하나 이상의 객체 중에서 이동 가능한 객체에 대한 정보를 확인할 수 있다. 이동 가능한 객체는, 예를 들어, 이미지 내에서 객체의 위치가 변경될 수 있는 객체일 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지에서 인식 및/또는 감지된 적어도 하나 이상의 객체 중에서 이동 가능한 객체에 대한 정보를 확인하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify information about a movable object among at least one object recognized and/or detected in the image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 305 동작에서, 이미지에서 인식된 및/또는 감지된 객체들 중에 객체의 크기가 지정된 크기 이상인 객체를 이동 가능한 객체로 확인할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지에서 인식된 및/또는 감지된 객체들 중에 객체의 크기가 지정된 크기 이상인 객체를 이동 가능한 객체로 확인하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify objects recognized and/or detected in an image whose size is greater than a specified size as movable objects.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 305 동작에서, 지정된 객체의 분류(예, 인물, 화분, 가구, 등)에 대응하는 객체를 이동 가능한 객체로 확인할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 지정된 객체의 분류(예, 인물, 화분, 가구, 등)에 대응하는 객체를 이동 가능한 객체로 확인하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify an object corresponding to a specified object classification (e.g., a person, a flower pot, a piece of furniture, etc.) as a movable object.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 305 동작에서, 지정된 객체의 분류에 대응하는 객체에 대해서만 세그멘테이션 동작을 수행할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may perform a segmentation operation only for objects corresponding to a classification of a specified object in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 지정된 객체의 분류에 대응하는 객체에 대해서만 세그멘테이션 동작을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a segmentation operation only for objects corresponding to a classification of a specified object.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 307 동작에서, 객체 인식 정보 또는 깊이 정보에 기반하여 이미지에 대한 아웃 페인팅/인 페인팅을 수행할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may perform outpainting/inpainting on an image based on object recognition information or depth information in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체 인식 정보 또는 깊이 정보에 기반하여 이미지에 대한 아웃 페인팅/인 페인팅을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform outpainting/inpainting on an image based on object recognition information or depth information.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 307 동작에서, 아웃 페인팅/인 페이팅 모듈(133)을 통해, 객체 인식 정보 또는 깊이 정보에 기반하여 이미지에 대한 아웃 페인팅/ 인 페인팅을 수행할 수 있다. In one embodiment, the electronic device (101) may, under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체 인식 정보 또는 깊이 정보에 기반하여 아웃 페인팅/인 페이팅 모듈(133)을 통해, 이미지에 대한 아웃 페인팅/ 인 페인팅을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform outpainting/inpainting on an image through the outpainting/inpainting module (133) based on object recognition information or depth information.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 307 동작에서, 이미지에서 확인된 이동 가능한 객체가 위치 이동에 따라 비워지는 이미지 상의 제 1 영역, 및/또는 이미지에서 확인된 이동 가능한 객체가 위치 이동에 따라 생성되어야하는 객체의 제 2 영역을 확인할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지에서 확인된 이동 가능한 객체가 위치 이동에 따라 비워지는 이미지 상의 제 1 영역, 및/또는 이미지에서 확인된 이동 가능한 객체가 위치 이동에 따라 생성되어야하는 객체의 제 2 영역을 확인하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify a first region of the image in which a movable object identified in the image is to be emptied as it moves in position, and/or a second region of an object in which a movable object identified in the image is to be created as it moves in position.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 307 동작에서, 프로세서(120)의 제어 하에, 제 1 영역, 제 2 영역에 대해서 이미지 상에서 인식된 및/또는 감지된 객체 및/또는 픽셀을 기반으로 채워넣기 동작을 수행할 수 있다. 채워넣기 동작은 채워넣을 영역에 인식 또는 감지된 객체 및/또는 픽셀을 추가하는 동작을 포함할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 1 영역, 제 2 영역에 대해서 이미지 상에서 인식된 및/또는 감지된 객체 및/또는 픽셀을 기반으로 채워넣기 동작을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a filling operation based on objects and/or pixels recognized and/or detected on the image for the first area and the second area.
그러나, 이에 한정되는 것은 아니며, 전자 장치(101)는, 프로세서(120)의 제어 하에, 객체 인식 정보 또는 깊이 정보에 기반하여 이미지 상에서 객체의 위치가 변경되면 아웃 페인팅/인 페인팅을 수행할 수 있다. 예를 들어, 307 동작 대신 311 동작에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 객체 인식 정보 또는 깊이 정보에 기반하여 아웃 페인팅/인 페인팅을 수행할 수 있다. 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체 인식 정보 또는 깊이 정보에 기반하여 이미지 상에서 객체의 위치가 변경되면 아웃 페인팅/인 페인팅을 수행하게 할 수 있다. However, it is not limited thereto, and the electronic device (101) may perform out-painting/in-painting when the position of the object on the image changes based on the object recognition information or the depth information under the control of the processor (120). For example, in
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 308 동작에서, 객체 위치 편집을 위한 사용자 인터페이스를 표시할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체 위치 편집을 위한 사용자 인터페이스를 표시하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to display a user interface for editing object locations.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 308 동작에서, 디스플레이(260) 상에 객체 위치 편집을 위한 사용자 인터페이스를 표시할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 디스플레이(260) 상에 객체 위치 편집을 위한 사용자 인터페이스를 표시하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a user interface for editing object positions on the display (260).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 308 동작에서, 이미지 편집 어플리케이션 상에, 객체 위치 편집을 위한 사용자 인터페이스를 표시할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 편집 어플리케이션 상에, 객체 위치 편집을 위한 사용자 인터페이스를 표시하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a user interface for object position editing on an image editing application.
일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 이미지 상에서 선택된 객체에 대해서 강조하는 이미지를 표시하는 사용자 인터페이스를 포함할 수 있다. 이미지 상에서 선택된 객체는 이미지 내의 위치 이동을 위해서 사용자 입력에 의해서 선택될 수 있다. In one embodiment, a user interface for editing an object location may include a user interface that displays an image highlighting an object selected on an image. The object selected on the image may be selected by user input for positioning movement within the image.
일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 선택된 이미지 상에 포함된 객체들의 위치에 기반하여 텍스트 및/또는 인디케이터(또는 이미지)로 객체들 간의 위치를 표시할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스는 선택된 이미지 상에 포함된 객체들의 위치에 비례하여 텍스트 및/또는 인디케이터(또는 이미지)로 객체들 간의 위치를 표시할 수 있다.In one embodiment, a user interface for editing object positions can indicate positions between objects with text and/or indicators (or images) based on positions of objects included on a selected image. A user interface for editing object positions can indicate positions between objects with text and/or indicators (or images) in proportion to positions of objects included on a selected image.
예를 들어, 선택된 이미지에 탁자 및 벽을 객체로 포함되어 있고, 관찰 시점에서 탁자, 벽 순서로 객체가 배치되어 있을 수 있다. 객체 위치 편집을 위한 사용자 인터페이스는 탁자, 벽 순서로 객체 간의 위치를 표시할 수 있다. For example, a selected image may contain a table and a wall as objects, and the objects may be arranged in the order of table and wall from the observation point of view. A user interface for editing object positions may display the positions between objects in the order of table and wall.
일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 구(sphere) 형상 인터페이스 및/또는 슬라이드(slide) 형상 인터페이스를 포함할 수 있다. 그러나, 이에 한정되는 것은 아니며, 일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 선택된 이미지 상에서 사용자의 드래그 입력에 따라 객체가 이동하는 것을 포함할 수 있다. In one embodiment, the user interface for editing object positions may include a sphere-shaped interface and/or a slide-shaped interface. However, the present invention is not limited thereto, and in one embodiment, the user interface for editing object positions may include moving an object in response to a user's drag input on a selected image.
일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 선택된 이미지에서 사용자가 이동하고자 하는 객체(예: 인물 또는 인물 객체)를 제 1 인디케이터로 표시할 수 있다. 제 1 인디케이터는 도 5의 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 포함할 수 있다. In one embodiment, a user interface for editing an object position may indicate an object (e.g., a person or a person object) that a user wishes to move in a selected image as a first indicator. The first indicator may include a user interface (520) that highlights an outline of the selected object as shown in FIG. 5.
일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 이미지 이미지에서 이동 가능한 위치에 대응되는 객체(들)을 나타내는 제 2 인디케이터를 표시할 수 있다. 제 2 인디케이터는 도 5의 이미지에서 이동 가능한 위치에 대응되는 객체(들)를 나타내는 사용자 인터페이스(530)를 포함할 수 있다.In one embodiment, a user interface for editing object positions may display a second indicator indicating an object(s) corresponding to a movable position in the image image. The second indicator may include a user interface (530) indicating an object(s) corresponding to a movable position in the image of FIG. 5.
일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스에 입력되는 사용자 입력을 통해, 이동을 원하는 위치에 대응되는 객체(예: 테이블 또는 테이블 객체)를 선택되면, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이동을 원하는 위치에 대응되는 객체(예: 테이블)를 깊이 정보(예: z-depth)를 기반으로 최상위 레이어(예: 사용자 기준 가장 근거리, 또는 겹치는 객체 중 가장 상위 레이어)에 위치하도록 이동하고자 하는 객체(예: 인물 또는 인물 객체)를 이동을 원하는 위치에 대응되는 객체(예: 테이블)의 뒤쪽으로 이동시킬 수 있다. 이동하고자 하는 객체(예: 인물 또는 인물 객체)가 이동을 원하는 위치에 대응되는 객체(예: 테이블) 뒤쪽으로 이동함에 따라, 전자 장치(101)는, 프로세서(120)의 제어 하에, 깊이 정보에 근거하여 원근감이 적용되어 이동하고자 하는 객체(예: 인물 또는 인물 객체)의 사이즈를 줄여 이미지 상에 표시할 수 있다. In one embodiment, when an object (e.g., a table or a table object) corresponding to a desired location is selected through a user input input into a user interface for editing an object location, the electronic device (101) may, under the control of the processor (120), move the object (e.g., a person or a person object) corresponding to the desired location to be moved behind the object (e.g., the table) corresponding to the desired location so that the object (e.g., the table) corresponding to the desired location is located at the top layer (e.g., the closest distance from the user, or the top layer among overlapping objects) based on depth information (e.g., z-depth). As the object (e.g., the person or the person object) to be moved moves behind the object (e.g., the table) corresponding to the desired location, the electronic device (101) may, under the control of the processor (120), apply perspective based on the depth information to reduce the size of the object (e.g., the person or the person object) to be moved and display it on an image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 309 동작에서, 이미지 상에 객체 이동이 있는지 여부를 판단할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may determine, in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 상에 객체 이동이 있는지 여부를 판단하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine whether there is object movement in the image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 309 동작에서, 사용자 입력에 기반한 객체 이동이 있는지 여부를 판단할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may determine, in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 사용자 입력에 기반한 객체 이동이 있는지 여부를 판단하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine whether there is object movement based on user input.
일 실시예에서, 사용자 입력은 객체 위치 편집을 위한 사용자 인터페이스 상에서 객체를 나타내는 인디케이터를 이동하는 입력을 포함할 수 있다. In one embodiment, the user input may include an input for moving an indicator representing an object on a user interface for editing the object's position.
일 실시예에서, 사용자 입력은 선택된 이미지 상에서 객체를 이동하는 입력을 포함할 수 있다.In one embodiment, the user input may include an input for moving an object on a selected image.
일 실시예에서, 객체 이동이 있으면, 전자 장치(101)는 309 동작에서 311 동작으로 분기할 수 있다. In one embodiment, if there is an object movement, the electronic device (101) may branch from
일 실시예에서, 객체 이동이 없으면, 전자 장치(101)는 309 동작에서 301 동작으로 분기할 수 있다. In one embodiment, if there is no object movement, the electronic device (101) may branch from
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 311 동작에서, 이미지 상의 객체의 위치를 변경할 수 있다. 이미지 상에서 객체의 위치가 변경될 때, 위치가 이동된 객체(또는, 이동중인 객체)는 깊이 정보에 기반하여 객체의 크기가 변경되어 배치될 수 있다. 이동된 객체(또는, 이동중인 객체)가 깊이 정보에 기반하여 객체의 크기가 변경되면, 이미지 상에서 객체가 원근감을 가지게 되어 이질감이 줄어들 수 있다. In one embodiment, the electronic device (101) can, under the control of the processor (120), change the position of an object on an image in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 상의 객체의 위치를 변경하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by the processor (120), may cause the electronic device (101) to change the position of an object on an image.
일 실시예에서, 이미지 상에서 이동된 객체(또는, 이동중인 객체)가 커지면, 전자 장치(101)는, 프로세서(120)의 제어 하에, 311 동작에서, 이동된 객체(또는, 이동중인 객체)의 화질을 개선(예: 슈퍼 해상도(super resolution)처리)하여 이미지 상에서 표시할 수 있다. In one embodiment, when an object moved (or a moving object) on an image becomes larger, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 이미지 상에서 이동된 객체(또는, 이동중인 객체)가 커지면, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이동된 객체(또는, 이동중인 객체)의 화질을 개선(예: 슈퍼 해상도(super resolution)처리)하여 이미지 상에서 표시하게 할 수 있다. In one embodiment, when an object moved (or an object in motion) on an image becomes larger, instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to improve the image quality (e.g., perform super resolution processing) of the object moved (or an object in motion) and display it on the image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 311 동작에서, 이미지 상에서 객체의 위치가 변경되면 아웃 페인팅/ 인 페인팅을 수행할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may perform outpainting/inpainting when the position of an object on an image changes in
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 311 동작에서, 이미지 상에서 객체의 위치가 변경되면, 객체 인식 정보 또는 깊이 정보에 기반하여 위치가 변경된 객체 및/또는 이미지를 아웃 페인팅/ 인 페인팅 동작을 수행할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
그러나, 이에 한정되지 않으며, 이미지 상에서 객체의 위치가 변경되어도, 위치가 변경된 객체 또는 이미지가 가려지지 않거나 가려졌던 영역이 없으면, 전자 장치(101)는, 프로세서(120)의 제어 하에, 아웃 페인팅/인 페인팅 동작을 수행하지 않을 수 있다. However, this is not limited to this, and even if the position of an object on an image is changed, if the object or image whose position has been changed is not obscured or there is no obscured area, the electronic device (101) may not perform an out-painting/in-painting operation under the control of the processor (120).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지 상에서 객체의 위치 변경에 따른 위치가 변경된 객체 또는 이미지에서 가릴 영역, 채워넣을 영역을 판단하여 아웃 페인팅/인 페인팅 동작을 수행할 수 있다. 가릴 영역은 객체 이동에 따라 원근법 또는 깊이 정보에 의해서 없어져야 하는 영역을 포함할 수 있다. 채워넣기 영역은 객체 이동에 따라 원근법 또는 깊이 정보에 의해서 추가되어야 하는 영역을 포함할 수 있다In one embodiment, the electronic device (101) may, under the control of the processor (120), determine an area to be covered or filled in on an object or an image whose position has changed due to a change in the position of the object on the image, and perform an outpainting/inpainting operation. The area to be covered may include an area that should be removed by perspective or depth information according to the movement of the object. The area to be filled in may include an area that should be added by perspective or depth information according to the movement of the object.
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 상에서 객체의 위치가 변경되면 아웃 페인팅/ 인 페인팅을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform outpainting/inpainting when the position of an object on an image changes.
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 상에서 객체의 위치 변경에 따른 위치가 변경된 객체 또는 이미지에서 가릴 영역, 채워넣을 영역을 판단하여 아웃 페인팅/인 페인팅 동작을 수행하게 수 있다.In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine an object whose position has changed due to a change in the position of the object on the image or an area to be covered or filled in the image, and perform an out-painting/in-painting operation.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 313 동작에서, 위치가 변경된 객체를 포함하는 이미지에 대해 리라이팅(re-lighting) 동작을 수행할 수 있다. 일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 위치가 변경된 객체에 대응하는 빛 및/또는 그림자를 이미지 상에서 표시할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 위치가 변경된 객체를 포함하는 이미지에 대해 리라이팅(re-lighting) 동작을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a re-lighting operation on an image that includes an object whose position has changed.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 313 동작에서, 리라이팅(re-lighting)된 이미지를 프리뷰로 디스플레이(260) 상에 표시할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may, in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 리라이팅(re-lighting)된 이미지를 프리뷰로 디스플레이(260) 상에 표시하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to display a re-lighted image as a preview on the display (260).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 315 동작에서, 이미지 편집 어플리케이션이 종료되었는지 여부를 판단할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may determine, at
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 편집 어플리케이션이 종료되었는지 여부를 판단하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by the processor (120), may cause the electronic device (101) to determine whether the image editing application has been terminated.
일 실시예에서, 이미지 편집 어플리케이션이 종료되면, 전자 장치(101)는 315 동작에서 317 동작으로 분기할 수 있다. In one embodiment, when the image editing application is terminated, the electronic device (101) may branch from
일 실시예에서, 이미지 편집 어플리케이션이 종료되지 않았으면, 전자 장치(101)는 315 동작에서 301 동작으로 분기할 수 있다. In one embodiment, if the image editing application has not been terminated, the electronic device (101) may branch from
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 317 동작에서, 객체의 위치가 변경된 이미지를 제공할 수 있다. 일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 317 동작에서, 객체의 위치가 변경된 이미지를 디스플레이(160) 상에 표시하게 할 수 있다. 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 317 동작에서, 객체의 위치가 변경된 이미지를 메모리(130)에 저장하게 할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체의 위치가 변경된 이미지를 제공하게 할 수 있다. 일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체의 위치가 변경된 이미지 객체의 위치가 변경된 이미지를 디스플레이(160) 상에 표시하게 할 수 있다. 일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체의 위치가 변경된 이미지 객체의 위치가 변경된 이미지를 메모리(130)에 저장하게 할 수 있다.In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to provide an image of an object having a changed position. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display an image of an object having a changed position on the display (160). In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to store an image of an object having a changed position in the memory (130).
도 4는 본 개시의 일 실시예에 따른 전자 장치(101)의 이미지 편집 방법을 나타내는 도면이다. FIG. 4 is a drawing showing an image editing method of an electronic device (101) according to one embodiment of the present disclosure.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 401 동작에서, 제 1 이미지에서 객체를 선택할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), may, in
일 실시예에서, 메모리(130)는 도3의 전자 장치(101)의 이미지 편집 방법을 포함하는 인스트럭션들을 포함할 수 있다. 메모리(130)에 저장된 인스트럭션들은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 편집 어플리케이션을 실행하게 할 수 있다.In one embodiment, the memory (130) may include instructions including an image editing method of the electronic device (101) of FIG. 3. The instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to execute an image editing application.
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 1 이미지에서 객체를 선택하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to select an object in a first image.
일 실시예에서, 제 1 이미지에서 선택된 객체는 사용자 입력에 의해서 선택된 객체일 수 있다. 전자 장치(101)는 제 1 이미지에 포함된 객체에 대해서 사용자 입력을 수신하면, 전자 장치(101)는, 프로세서(120)의 제어 하에, 제 1 이미지에서 객체를 선택할 수 있다. 제 1 이미지에 포함된 객체에 대한 사용자 입력은, 예를 들어, 제 1 이미지에 포함된 객체를 롱 프레스(long press)하는 터치입력일 수 있다. In one embodiment, the object selected in the first image may be an object selected by a user input. When the electronic device (101) receives a user input for an object included in the first image, the electronic device (101) may, under the control of the processor (120), select the object in the first image. The user input for the object included in the first image may be, for example, a touch input of long pressing the object included in the first image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 401 동작에서, 갤러리 어플리케이션 상에 표시 중인 복수의 이미지들 중에서 제 1 이미지에 포함된 객체를 선택할 수 있다. 제 1 이미지를 통해 선택된 객체는 제 1 객체일 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may, in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 갤러리 어플리케이션 상에 표시 중인 복수의 이미지들 중에서 제 1 이미지에 포함된 객체를 선택하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to select an object included in a first image from among a plurality of images displayed on a gallery application.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 403 동작에서, 제 1 이미지 및/또는 제 2 이미지의 깊이 정보를 확인할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may, in
그러나, 이에 한정되는 것은 아니며, 전자 장치(101)는, 프로세서(120)의 제어 하에, 제 2 이미지의 객체의 인식 및 분류에 관한 405 동작을 먼저 수행하고, 제 1 이미지 및/또는 제 2 이미지에서 깊이 정보를 확인할 수 있다. However, it is not limited thereto, and the electronic device (101) may first perform
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 1 이미지 및/또는 제 2 이미지의 깊이 정보를 확인하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to determine depth information of the first image and/or the second image.
일 실시예에서, 제 2 이미지는 카메라(280)를 통해 획득한 이미지일 수 있다. 제 2 이미지는 프리뷰 이미지로 디스플레이(260) 상에 표시될 수 있다. 제 2 이미지는 카메라(280)를 통해 실시간으로 획득 중인 이미지일 수 있다.In one embodiment, the second image may be an image acquired through the camera (280). The second image may be displayed on the display (260) as a preview image. The second image may be an image being acquired in real time through the camera (280).
일 실시예에서, 제 2 이미지는 디스플레이(260)를 통해 표시 중인 이미지일 수 있다. In one embodiment, the second image may be an image being displayed via the display (260).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 403 동작에서, 깊이 정보 생성 모듈(131)을 이용하여 제 1 이미지 및/또는 제 2 이미지의 깊이 정보를 생성할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may generate depth information of the first image and/or the second image using the depth information generation module (131) in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 1 이미지 및/또는 제 2 이미지의 깊이 정보를 생성하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to generate depth information of the first image and/or the second image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 403 동작에서, 제 2 이미지의 깊이 지도(depth map)을 생성할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), may generate a depth map of the second image in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 2 이미지의 깊이 지도(depth map)을 생성하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to generate a depth map of the second image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 405 동작에서, 제 2 이미지에서 객체를 인식 및/또는 감지하고 분류할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 2 이미지에서 객체를 인식 및/또는 감지하고 분류하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify an object in the second image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 405 동작에서, 제 2 이미지에서 세그멘테이션(segmentation)을 수행할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may perform segmentation on the second image in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 2 이미지에서 세그멘테이션(segmentation)을 수행하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to perform segmentation on the second image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 405 동작에서, 객체 인식/분류 모듈(132)을 이용하여 제 2 이미지에서 객체를 인식 및/또는 감지하고 분류할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체 인식/분류 모듈(132)을 이용하여 제 2 이미지에서 객체를 인식 및/또는 감지하고 분류하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify an object in the second image using the object recognition/classification module (132).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 405 동작에서, 제 2 이미지에서 세그멘테이션을 통해 객체를 인식 및/또는 감지하고 분류할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 2 이미지에서 세그멘테이션을 통해 객체를 인식 및/또는 감지하고 분류하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to recognize and/or detect and classify an object through segmentation in the second image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 407 동작에서, 객체 인식 정보 또는 깊이 정보에 기반하여 제 2 이미지에 대한 아웃 페인팅/ 인 페인팅을 수행할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may perform outpainting/inpainting on the second image based on object recognition information or depth information in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체 인식 정보 또는 깊이 정보에 기반하여 제 2 이미지에 대한 아웃 페인팅/ 인 페인팅을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform outpainting/inpainting on the second image based on object recognition information or depth information.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 407 동작에서, 아웃 페인팅/인 페이팅 모듈(133)을 통해, 제 2 이미지에 대한 아웃 페인팅/ 인 페인팅을 수행할 수 있다. 제 1 이미지를 통해 선택된 객체는 제 1 객체일 수 있다. In one embodiment, the electronic device (101) may, under the control of the processor (120), perform outpainting/inpainting on the second image through the outpainting/inpainting module (133) in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 아웃 페인팅/인 페이팅 모듈(133)을 통해, 제 2 이미지에 대한 아웃 페인팅/ 인 페인팅을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform out-painting/in-painting on the second image through the out-painting/in-painting module (133).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 407 동작에서, 제 2 이미지에서 제 1 객체가 위치 이동에 따라 비워지는 이미지 상의 제 1 영역, 및/또는 제 2 이미지에서 제 1 객체가 위치 이동에 따라 생성되어야 객체의 제 2 영역을 확인할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 2 이미지에서 제 1 객체가 위치 이동에 따라 비워지는 이미지 상의 제 1 영역, 및/또는 제 2 이미지에서 제 1 객체가 위치 이동에 따라 생성되어야 객체의 제 2 영역을 확인하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to identify a first region of an image in which a first object is emptied as it moves in position in the second image, and/or a second region of an object in which the first object is to be generated as it moves in position in the second image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 407 동작에서, 프로세서(120)의 제어 하에, 객체 인식 정보 또는 깊이 정보에 기반하여 제 1 영역, 제 2 영역에 대해서 제 2 이미지 상에서 인식된 및/또는 감지된 객체 및/또는 픽셀을 기반으로 채워넣기 동작을 수행할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체 인식 정보 또는 깊이 정보에 기반하여 제 1 영역, 제 2 영역에 대해서 제 2 이미지 상에서 인식된 및/또는 감지된 객체 및/또는 픽셀을 기반으로 채워넣기 동작을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a filling operation based on objects and/or pixels recognized and/or detected on a second image for the first area and the second area based on object recognition information or depth information.
그러나, 이에 한정되는 것은 아니며, 전자 장치(101)는, 프로세서(120)의 제어 하에, 제 2 이미지 상에서 제 1 객체의 위치가 변경되면 아웃 페인팅/인 페인팅을 수행할 수 있다. 예를 들어, 407 동작 대신 411 동작에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 객체 인식 정보 또는 깊이 정보에 기반하여 아웃 페인팅/인 페인팅을 수행할 수 있다. 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 2 이미지 상에서 제 1 객체의 위치가 변경되면 아웃 페인팅/인 페인팅을 수행하게 할 수 있다. However, the present invention is not limited thereto, and the electronic device (101) may perform out-painting/in-painting when the position of the first object on the second image is changed under the control of the processor (120). For example, in
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 408 동작에서, 객체 위치 편집을 위한 사용자 인터페이스를 표시할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체 위치 편집을 위한 사용자 인터페이스를 표시하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to display a user interface for editing object locations.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 408 동작에서, 디스플레이(260) 상에 객체 위치 편집을 위한 사용자 인터페이스를 표시할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 디스플레이(260) 상에 객체 위치 편집을 위한 사용자 인터페이스를 표시하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a user interface for editing object positions on the display (260).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 408 동작에서, 이미지 편집 어플리케이션 상에, 객체 위치 편집을 위한 사용자 인터페이스를 표시할 수 있다. In one embodiment, the electronic device (101), under control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이미지 편집 어플리케이션 상에, 객체 위치 편집을 위한 사용자 인터페이스를 표시하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a user interface for object position editing on an image editing application.
일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 제 2 이미지 상에서 제 1 객체에 대해서 강조하는 이미지를 표시하는 사용자 인터페이스를 포함할 수 있다. In one embodiment, a user interface for editing an object location may include a user interface that displays an image highlighting a first object on a second image.
일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 제 2 이미지에 포함된 객체들의 위치에 기반하여 텍스트 및/또는 인디케이터(또는 이미지)으로 객체들 간의 위치를 표시할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스는 제 2 이미지 상에 포함된 객체들의 위치에 비례하여 텍스트 및/또는 인디케이터(또는 이미지)으로 객체들 간의 위치를 표시할 수 있다.In one embodiment, the user interface for editing object locations can indicate locations between objects with text and/or indicators (or images) based on locations of objects included in the second image. The user interface for editing object locations can indicate locations between objects with text and/or indicators (or images) in proportion to locations of objects included in the second image.
일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 구(sphere) 형상 인터페이스 및/또는 슬라이드(slide) 형상 인터페이스를 포함할 수 있다. 그러나, 이에 한정되는 것은 아니며, 일 실시예에서, 객체 위치 편집을 위한 사용자 인터페이스는 제 2 이미지 상에서 사용자의 드래그 입력에 따라 제 1 객체가 이동하는 것을 포함할 수 있다.In one embodiment, the user interface for editing an object position may include a sphere-shaped interface and/or a slide-shaped interface. However, the present invention is not limited thereto, and in one embodiment, the user interface for editing an object position may include moving a first object in response to a user's drag input on a second image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 409 동작에서, 선택된 객체의 이동이 있는지 여부를 판단할 수 있다. 선택된 객체는 제 1 객체일 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may determine, in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 선택된 객체의 이동이 있는지 여부를 판단하게 할 수 있다. In one embodiment, instructions stored in memory (130), when executed by processor (120), may cause the electronic device (101) to determine whether there is movement of a selected object.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 409 동작에서, 사용자 입력에 기반한 선택된 객체의 이동이 있는지 여부를 판단할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may determine, in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 사용자 입력에 기반한 선택된 객체의 이동이 있는지 여부를 판단하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine whether there is movement of a selected object based on user input.
일 실시예에서, 선택된 객체 이동이 있으면, 전자 장치(101)는 409 동작에서 411 동작으로 분기할 수 있다. In one embodiment, if there is a selected object movement, the electronic device (101) may branch from
일 실시예에서, 객체 이동이 없으면, 전자 장치(101)는 409 동작에서 401 동작으로 분기할 수 있다. In one embodiment, if there is no object movement, the electronic device (101) may branch from
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 411 동작에서, 제 2 이미지 상의 선택된 객체(또는, 제 1 객체)의 위치를 변경할 수 있다. 제 2 이미지 상의 선택된 객체(또는, 제 1 객체)의 위치를 변경할 때, 선택된 객체(또는, 제 1 객체)는 깊이 정보에 기반하여 객체의 크기가 변경되어 배치될 수 있다. 선택된 객체(또는, 제 1 객체)가 깊이 정보에 기반하여 객체의 크기가 변경되면, 제 2 이미지 상에서 선택된 객체(또는, 제 1 객체)가 원근감을 가지게 되어 이질감이 줄어들 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 2 이미지 상의 선택된 객체(또는, 제 1 객체)의 위치를 변경할 수 있다. 제 2 이미지 상의 선택된 객체(또는, 제 1 객체)의 위치를 변경할 때, 선택된 객체(또는, 제 1 객체)는 깊이 정보에 기반하여 객체의 크기가 변경되어 배치하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to change the position of the selected object (or, the first object) on the second image. When changing the position of the selected object (or, the first object) on the second image, the selected object (or, the first object) may be arranged with its size changed based on the depth information.
일 실시예에서, 이미지 상에서 이동된 객체(또는, 이동중인 객체)가 커지면, 전자 장치(101)는, 프로세서(120)의 제어 하에, 411 동작 이동된 객체(또는, 이동중인 객체)의 화질을 개선(예: 슈퍼 해상도(super resolution)처리)하여 이미지 상에서 표시할 수 있다. In one embodiment, when an object moved (or an object in motion) on an image becomes larger, the electronic device (101) may, under the control of the processor (120), improve the image quality of the object moved (or an object in motion) in operation 411 (e.g., perform super resolution processing) and display the object in the image.
일 실시예에서, 이미지 상에서 이동된 객체(또는, 이동중인 객체)가 커지면, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 이동된 객체(또는, 이동중인 객체)의 화질을 개선(예: 슈퍼 해상도(super resolution)처리)하여 이미지 상에서 표시하게 할 수 있다.In one embodiment, when an object moved (or an object in motion) on an image becomes larger, instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to improve the image quality (e.g., perform super resolution processing) of the object moved (or an object in motion) and display it on the image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 제 2 이미지 상에서 선택된 객체(또는, 제 1 객체)의 위치가 변경되면 아웃 페인팅/ 인 페인팅을 수행할 수 있다.In one embodiment, the electronic device (101) may perform out-painting/in-painting when the position of the selected object (or the first object) on the second image changes under the control of the processor (120).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 411 동작에서, 이미지 상에서 제 1 객체의 위치가 변경되면, 객체 인식 정보 또는 깊이 정보에 기반하여 제 1 객체 및/또는 제 2 이미지를 아웃 페인팅/ 인 페인팅 동작을 수행할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), in
그러나, 이에 한정되지 않으며, 이미지 상에서 객체의 위치가 변경되어도, 제 1 객체 또는 제 2 이미지가 가려지지 않거나 가려졌던 영역이 없으면, 전자 장치(101)는, 프로세서(120)의 제어 하에, 아웃 페인팅/인 페인팅 동작을 수행하지 않을 수 있다. However, this is not limited thereto, and if the first object or the second image is not obscured or there is no obscured area even if the position of the object on the image changes, the electronic device (101) may not perform the out-painting/in-painting operation under the control of the processor (120).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지 상에서 객체의 위치 변경에 따른 제 1 객체 또는 제 2 이미지에서 가릴 영역, 채워넣을 영역을 판단하여 아웃 페인팅/인 페인팅 동작을 수행할 수 있다. In one embodiment, the electronic device (101) may, under the control of the processor (120), determine an area to be covered or filled in in the first object or the second image according to a change in the position of the object on the image, and perform an out-painting/in-painting operation.
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 제 2이미지 상에서 선택된 객체(또는, 제 1 객체)의 위치가 변경되면 아웃 페인팅/ 인 페인팅을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform out-painting/in-painting when the position of the selected object (or the first object) on the second image changes.
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 객체의 위치 변경에 따른 제 1 객체 또는 제 2 이미지에서 가릴 영역, 채워넣을 영역을 판단하여 아웃 페인팅/인 페인팅 동작을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to determine an area to be covered or filled in in the first object or second image according to a change in the position of the object, and perform an out-painting/in-painting operation.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 413 동작에서, 위치가 변경된 선택된 객체(또는, 제 1 객체)를 포함하는 제 2 이미지에 대해 리라이팅(re-lighting) 동작을 수행할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may perform a re-lighting operation on a second image including the selected object (or the first object) whose position has been changed, in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 위치가 변경된 선택된 객체(또는, 제 1 객체)를 포함하는 제 2 이미지에 대해 리라이팅(re-lighting) 동작을 수행하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to perform a re-lighting operation on a second image that includes a selected object (or, the first object) whose position has changed.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 위치가 변경된 선택된 객체(또는, 제 1 객체)에 대응하는 빛 및/또는 그림자를 제 2 이미지 상에서 표시할 수 있다. In one embodiment, the electronic device (101) may, under the control of the processor (120), display light and/or shadow corresponding to the selected object (or first object) whose position has changed on the second image.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 413 동작에서, 리라이팅(re-lighting)된 제 2 이미지를 프리뷰로 디스플레이(260) 상에 표시할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may, in
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 리라이팅(re-lighting)된 제 2 이미지를 프리뷰로 디스플레이(260) 상에 표시하게 할 수 있다. In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a re-lighted second image as a preview on the display (260).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 416 동작에서, 선택된 객체(또는, 제 1 객체)의 위치가 변경된 제 2 이미지를 제공할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may, in operation 416, provide a second image in which the position of the selected object (or the first object) has been changed.
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 416 동작에서, 선택된 객체(또는, 제 1 객체)의 위치가 변경된 제 2 이미지를 디스플레이(160) 상에 표시할 수 있다. In one embodiment, the electronic device (101), under the control of the processor (120), may, in operation 416, display a second image with a changed position of the selected object (or the first object) on the display (160).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 416 동작에서, 선택된 객체(또는, 제 1 객체)의 위치가 변경된 제 2 이미지를 메모리(130)에 저장할 수 있다.In one embodiment, the electronic device (101), under the control of the processor (120), may store a second image in which the position of the selected object (or the first object) is changed in the memory (130) in operation 416.
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 선택된 객체(또는, 제 1 객체)의 위치가 변경된 제 2 이미지를 제공하게 할 수 있다.In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to provide a second image in which the position of the selected object (or, the first object) has been changed.
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 선택된 객체(또는, 제 1 객체)의 위치가 변경된 제 2 이미지를 디스플레이(160) 상에 표시하게 할 수 있다.In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to display a second image with a changed position of the selected object (or, the first object) on the display (160).
일 실시예에서, 메모리(130)에 저장된 인스트럭션들은 프로세서(120)에 의해 실행될 때, 전자 장치(101)로 하여금 선택된 객체(또는, 제 1 객체)의 위치가 변경된 제 2 이미지를 메모리(130)에 저장하게 할 수 있다.In one embodiment, the instructions stored in the memory (130), when executed by the processor (120), may cause the electronic device (101) to store a second image in which the position of the selected object (or, the first object) has been changed in the memory (130).
도 5는 본 개시의 일 실시예에 따른 이미지 편집 방법을 나타내는 도면이다.FIG. 5 is a drawing showing an image editing method according to one embodiment of the present disclosure.
501 화면, 503 화면 및 505 화면은 이미지 편집 어플레이션 상에서 이미지 편집 동작을 나타내는 도면이다.
501 화면에서, 이미지는 적어도 하나 이상의 객체(511, 513, 515)를 포함할 수 있다. 예를 들어, 제 1 객체(511)는 인물을 포함하고, 제 2 객체(513)은 테이블을 포함하고, 제 3 객체(515)은 벽을 포함할 수 있다.In
501 화면에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에서 객체를 인식 및/또는 감지하고 분류할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 지정된 객체의 분류(예, 인물, 화분, 가구, 등)에 대응하는 객체를 이동 가능한 객체로 확인할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 지정된 객체의 분류에 대응하는 객체에 대해서만 세그멘테이션 동작을 수행할 수 있다. In the 501 screen, the electronic device (101) can recognize and/or detect and classify an object in an image under the control of the processor (120). The electronic device (101) can identify an object corresponding to a classification of a specified object (e.g., a person, a flower pot, furniture, etc.) as a movable object under the control of the processor (120). The electronic device (101) can perform a segmentation operation only for an object corresponding to a classification of a specified object under the control of the processor (120).
501 화면에서, 이미지는 적어도 하나 이상의 객체(511, 513, 515) 중에서 하나의 객체를 선택하면, 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 표시할 수 있다. 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 표시하게 되면, 사용자가 선택한 객체의 시인성이 좋아질 수 있다. 제 1 인디케이터는 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 포함할 수 있다. In the
503 화면에서, 선택된 객체는 사용자 입력에 의해서 이미지 상에 위치를 이동할 수 있다. 예를 들어, 제 1 객체(511)는 사용자 입력(예, 드래그 입력)에 의해서 이미지 상에 위치를 이동할 수 있다. 이미지 상에서 제 1 객체(511)의 위치를 변경할 때, 위치가 이동된 제 1 객체(511)는 깊이 정보에 기반하여 객체의 크기가 변경되어 배치될 수 있다.In the 503 screen, the selected object can move its position on the image by user input. For example, the first object (511) can move its position on the image by user input (e.g., drag input). When the position of the first object (511) on the image is changed, the first object (511) whose position has been changed can be placed with its size changed based on depth information.
503 화면에서, 전자 장치(101)는 이미지에서 이동 가능한 위치에 대응되는 객체(들)를 나타내는 사용자 인터페이스(530)을 디스플레이(160) 상에 표시할 수 있다. 제 2 인디케이터는 이미지에서 이동 가능한 위치에 대응되는 객체(들)를 나타내는 사용자 인터페이스(530)를 포함할 수 있다. 그러나, 이에 한정되는 것은 아니며, 전자 장치(101)는 이동 가능한 위치에 대응되는 객체(들)를 나타내는 사용자 인터페이스(530) 또는 제 2 인디케이터를 표시하지 않을 수 있다. 505 화면에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에 대한 아웃 페인팅/인 페인팅을 수행할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에 대한 아웃 페인팅/인 페인팅 동작은 제 1 객체(511)의 이동 전에 수행될 수 있다. 그러나, 이에 한정되는 것은 아니며, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에 대한 아웃 페인팅/인 페인팅 동작은 제 1 객체(511)의 이동 후에 수행될 수 있다. 501 화면과 505 화면을 비교하면, 제 1 객체(511)는 제 2 객체(513) 앞에 배치되었다가 위치가 이동되어 제 2 객체(513)와 제 3 객체(515) 사이에 배치하게 되었다. 제 1 객체(511)의 이동으로 인하여 비어진 공간은 제 2 객체(513)에 대응하는 테이블 이미지로 채워지고, 제 1 객체(511)의 적어도 일부는 가려지게 될 수 있다. On the
505 화면에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에 대한 리라이팅 동작을 수행할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 위치가 변경된 제 1 객체(511)에 대응하는 빛 및/또는 그림자를 이미지 상에서 표시할 수 있다. On the
도 6은 본 개시의 일 실시예에 따른 이미지 편집 방법을 나타내는 도면이다.FIG. 6 is a drawing showing an image editing method according to one embodiment of the present disclosure.
601 화면, 603 화면 및 605 화면은 이미지 편집 어플레이션 상에서 이미지 편집 동작을 나타내는 도면이다.
601 화면에서, 이미지는 적어도 하나 이상의 객체(511, 513, 515)를 포함할 수 있다. 예를 들어, 제 1 객체(511)는 인물을 포함하고, 제 2 객체(513)은 테이블을 포함하고, 제 3 객체(515)은 벽을 포함할 수 있다.In
601 화면에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에서 객체를 인식 및/또는 감지하고 분류할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 지정된 객체의 분류(예, 인물, 화분, 가구, 등)에 대응하는 객체를 이동 가능한 객체로 확인할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 지정된 객체의 분류에 대응하는 객체에 대해서만 세그멘테이션 동작을 수행할 수 있다. In the 601 screen, the electronic device (101) can recognize and/or detect and classify an object in an image under the control of the processor (120). The electronic device (101) can identify an object corresponding to a classification of a specified object (e.g., a person, a flower pot, a piece of furniture, etc.) as a movable object under the control of the processor (120). The electronic device (101) can perform a segmentation operation only for an object corresponding to a classification of a specified object under the control of the processor (120).
601 화면에서, 이미지는 적어도 하나 이상의 객체(511, 513, 515) 중에서 하나의 객체를 선택하면, 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 표시할 수 있다. 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 표시하게 되면, 사용자가 선택한 객체의 시인성이 좋아질 수 있다. 제 1 인디케이터는 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 포함할 수 있다. In the 601 screen, when an image selects one object from among at least one object (511, 513, 515), a user interface (520) for highlighting an outline of the selected object may be displayed. By displaying a user interface (520) for highlighting an outline of the selected object, the visibility of the object selected by the user may be improved. The first indicator may include a user interface (520) for highlighting an outline of the selected object.
601 화면에서, 이미지는 적어도 하나 이상의 객체(511, 513, 515) 중에서 하나의 객체를 선택하면, 객체 위치 편집을 위한 사용자 인터페이스(610)를 표시할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스(610)는 선택된 이미지 상에 포함된 객체들의 위치에 기반하여 인디케이터(또는 이미지)(612, 613)로 객체들 간의 위치를 표시할 수 있다. In the 601 screen, when an image selects one object from among at least one object (511, 513, 515), a user interface (610) for editing object positions can be displayed. The user interface (610) for editing object positions can display positions between objects with indicators (or images) (612, 613) based on positions of objects included in the selected image.
601 화면에서, 이미지를 관찰 시점에서부터 보면 제 1 객체(511), 제 2 객체(513), 제 3 객체(515) 순으로 배치되어 있다. 객체 위치 편집을 위한 사용자 인터페이스(610)는 제 1 객체(511), 제 2 객체(513), 제 3 객체(515) 간의 상대적 위치를 제 2 인디케이터(612) 및 제 3 인디케이터(613)로 표시할 수 있다. 제 2 인디케이터(612)는 제 3 객체(515)인 벽을 형상화한 이미지일 수 있다. 제 3 인디케이터(613)는 제 2 객체(513)인 테이블을 형상화한 이미지일 수 있다. 제 1 인디케이터(611)는 선택된 제 1 객체(511)를 나타내는 아이콘 또는 대표(representation)일 수 있다. On the 601 screen, the images are arranged in the order of a first object (511), a second object (513), and a third object (515) when viewed from the observation point. A user interface (610) for editing object positions can display the relative positions among the first object (511), the second object (513), and the third object (515) using a second indicator (612) and a third indicator (613). The second indicator (612) can be an image that represents a wall, which is the third object (515). The third indicator (613) can be an image that represents a table, which is the second object (513). The first indicator (611) can be an icon or representation indicating the selected first object (511).
603 화면에서, 제 1 객체(511)에 대응하는 제 1 인디케이터(611)는 사용자 입력에 의해서 객체 위치 편집을 위한 사용자 인터페이스(610) 상에 위치를 이동할 수 있다. 예를 들어, 제 1 객체(511)에 대응하는 제 1 인디케이터(611)는 사용자 입력(예, 드래그 입력 또는 슬라이드 입력)에 의해서 객체 위치 편집을 위한 사용자 인터페이스(610) 상에 위치를 이동할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스(610) 상에서 제 1 인디케이터(611)의 위치를 변경할 때, 이미지 상에서 제 1 객체(511)의 위치도 함께 따라 이동될 수 있다. In the 603 screen, the first indicator (611) corresponding to the first object (511) can move its position on the user interface (610) for editing object positions by user input. For example, the first indicator (611) corresponding to the first object (511) can move its position on the user interface (610) for editing object positions by user input (e.g., drag input or slide input). When the position of the first indicator (611) on the user interface (610) for editing object positions is changed, the position of the first object (511) on the image can also be moved accordingly.
605 화면에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에 대한 아웃 페인팅/인 페인팅을 수행할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에 대한 리라이팅 동작을 수행할 수 있다. 605 화면에서, 전자 장치(101) 동작은 505 화면에서, 전자 장치(101) 동작과 동일할 수 있다.In the 605 screen, the electronic device (101) can perform out painting/in painting on the image under the control of the processor (120). The electronic device (101) can perform a rewriting operation on the image under the control of the processor (120). In the 605 screen, the operation of the electronic device (101) can be the same as the operation of the electronic device (101) in the 505 screen.
도 7은 본 개시의 일 실시예에 따른 이미지 편집 방법을 나타내는 도면이다.FIG. 7 is a drawing illustrating an image editing method according to one embodiment of the present disclosure.
701 화면, 703 화면 및 605 화면은 이미지 편집 어플레이션 상에서 이미지 편집 동작을 나타내는 도면이다.
701 화면에서, 이미지는 적어도 하나 이상의 객체(511, 513, 515)를 포함할 수 있다. 예를 들어, 제 1 객체(511)는 인물을 포함하고, 제 2 객체(513)은 테이블을 포함하고, 제 3 객체(515)은 벽을 포함할 수 있다.In
701 화면에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에서 객체를 인식 및/또는 감지하고 분류할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 지정된 객체의 분류(예, 인물, 화분, 가구, 등)에 대응하는 객체를 이동 가능한 객체로 확인할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 지정된 객체의 분류에 대응하는 객체에 대해서만 세그멘테이션 동작을 수행할 수 있다. In the 701 screen, the electronic device (101) can recognize and/or detect and classify an object in an image under the control of the processor (120). The electronic device (101) can identify an object corresponding to a classification of a specified object (e.g., a person, a flower pot, a piece of furniture, etc.) as a movable object under the control of the processor (120). The electronic device (101) can perform a segmentation operation only for an object corresponding to a classification of a specified object under the control of the processor (120).
701 화면에서, 이미지는 적어도 하나 이상의 객체(511, 513, 515) 중에서 하나의 객체를 선택하면, 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 표시할 수 있다. 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 표시하게 되면, 사용자가 선택한 객체의 시인성이 좋아질 수 있다. 제 1 인디케이터는 선택된 개체의 윤곽선을 강조하는 사용자 인터페이스(520)를 포함할 수 있다. In the 701 screen, when an image selects one object from among at least one object (511, 513, 515), a user interface (520) may be displayed that emphasizes the outline of the selected object. By displaying the user interface (520) that emphasizes the outline of the selected object, the visibility of the object selected by the user may be improved. The first indicator may include the user interface (520) that emphasizes the outline of the selected object.
701 화면에서, 이미지는 적어도 하나 이상의 객체(511, 513, 515) 중에서 하나의 객체를 선택하면, 객체 위치 편집을 위한 사용자 인터페이스(610)를 표시할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스(610)는 선택된 이미지 상에 포함된 객체들의 위치에 기반하여 인디케이터(또는 이미지)(612, 613)로 객체들 간의 위치를 표시할 수 있다. In the 701 screen, when an image selects one object from among at least one object (511, 513, 515), a user interface (610) for editing object positions can be displayed. The user interface (610) for editing object positions can display positions between objects with indicators (or images) (612, 613) based on positions of objects included in the selected image.
701 화면에서, 이미지를 관찰 시점에서부터 보면 제 1 객체(511), 제 2 객체(513), 제 3 객체(515) 순으로 배치되어 있다. 객체 위치 편집을 위한 사용자 인터페이스(610)는 제 1 객체(511), 제 2 객체(513), 제 3 객체(515) 간의 상대적 위치를 제 1 텍스트(712) 및 제 2 텍스트(713)으로 표시할 수 있다. 제 1 텍스트(712)는 제 3 객체(515)인 벽을 나타낼 수 있다. 제 2 텍스트(713)는 제 2 객체(513)인 테이블을 나타낼 수 있다. 인디케이터(711)는 선택된 제 1 객체(511)를 나타내는 아이콘 또는 대표(representation)일 수 있다. On the 701 screen, the images are arranged in the order of a first object (511), a second object (513), and a third object (515) when viewed from the observation point. The user interface (610) for editing object positions can display the relative positions among the first object (511), the second object (513), and the third object (515) as a first text (712) and a second text (713). The first text (712) can represent a wall, which is the third object (515). The second text (713) can represent a table, which is the second object (513). The indicator (711) can be an icon or representation representing the selected first object (511).
703 화면에서, 제 1 객체(511)에 대응하는 인디케이터(711)는 사용자 입력에 의해서 객체 위치 편집을 위한 사용자 인터페이스(610) 상에 위치를 이동할 수 있다. 예를 들어, 제 1 객체(511)에 대응하는 인디케이터(711)는 사용자 입력(예, 드래그 입력 또는 슬라이드 입력)에 의해서 객체 위치 편집을 위한 사용자 인터페이스(710) 상에 위치를 이동할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스(710) 상에서 인디케이터(711)의 위치를 변경할 때, 이미지 상에서 제 1 객체(511)의 위치도 함께 따라 이동될 수 있다. In the 703 screen, the indicator (711) corresponding to the first object (511) can move its position on the user interface (610) for editing object positions by user input. For example, the indicator (711) corresponding to the first object (511) can move its position on the user interface (710) for editing object positions by user input (e.g., drag input or slide input). When the position of the indicator (711) on the user interface (710) for editing object positions is changed, the position of the first object (511) on the image can also move accordingly.
705 화면에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에 대한 아웃 페인팅/인 페인팅을 수행할 수 있다. 전자 장치(101)는, 프로세서(120)의 제어 하에, 이미지에 대한 리라이팅 동작을 수행할 수 있다. 705 화면에서, 전자 장치(101) 동작은 505 화면에서, 전자 장치(101) 동작과 동일할 수 있다.In
도 8a는 본 개시의 일 실시예에 따른 인디케이터에 기반한 객체 위치 편집을 위한 사용자 인터페이스(810)를 나타내는 도면이다.FIG. 8A is a diagram illustrating a user interface (810) for object position editing based on an indicator according to one embodiment of the present disclosure.
도 8a의 객체 위치 편집을 위한 사용자 인터페이스(810)는 도 6의 객체 위치 편집을 위한 사용자 인터페이스(610)와 동일할 수 있다. The user interface (810) for editing object locations in FIG. 8a may be identical to the user interface (610) for editing object locations in FIG. 6.
객체 위치 편집을 위한 사용자 인터페이스(810)는 객체 간의 상대적 위치를 인디케이터로 표시할 수 있다. A user interface (810) for editing object positions can display relative positions between objects as indicators.
제 4 인디케이터(811)은 선택된 객체를 나타내는 아이콘 또는 대표(representation)일 수 있다. The fourth indicator (811) may be an icon or representation representing the selected object.
제 5 인디케이터(812) 및 제 6 인디케이터(813)는 이미지의 포함된 객체들을 나타낼 수 있다. 제 5 인디케이터(812) 및 제 6 인디케이터(813) 사이의 거리는 제 5 인디케이터(812) 및 제 6 인디케이터(813)에 대응하는 객체들 간에 상대적 거리에 대응할 수 있다. 제 5 인디케이터(812) 및 제 6 인디케이터(813) 사이의 거리는 제 5 인디케이터(812) 및 제 6 인디케이터(813)에 대응하는 객체들 간에 배치에 대응할 수 있다. 선택된 객체에 대응하는 제 4 인디케이터(811)는 사용자 입력(예, 드래그 입력 또는 슬라이드 입력)에 의해서 객체 위치 편집을 위한 사용자 인터페이스(810) 상에 위치를 이동할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스(810) 상에서 제 4 인디케이터(811)의 위치를 변경할 때, 이미지 상에서 선택된 객체의 위치도 함께 따라 이동될 수 있다. The fifth indicator (812) and the sixth indicator (813) can indicate objects included in the image. The distance between the fifth indicator (812) and the sixth indicator (813) can correspond to a relative distance between the objects corresponding to the fifth indicator (812) and the sixth indicator (813). The distance between the fifth indicator (812) and the sixth indicator (813) can correspond to an arrangement between the objects corresponding to the fifth indicator (812) and the sixth indicator (813). The fourth indicator (811) corresponding to the selected object can move its position on the user interface (810) for editing the object position by a user input (e.g., a drag input or a slide input). When changing the position of the fourth indicator (811) on the user interface (810) for editing the object position, the position of the object selected on the image may also move accordingly.
도 8b는 본 개시의 일 실시예에 따른 인디케이터에 기반한 객체 위치 편집을 위한 사용자 인터페이스(820)를 나타내는 도면이다.FIG. 8b is a diagram illustrating a user interface (820) for object position editing based on an indicator according to one embodiment of the present disclosure.
도 8b의 객체 위치 편집을 위한 사용자 인터페이스(820)는 도 7의 객체 위치 편집을 위한 사용자 인터페이스(710)와 동일할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스(820)는 객체 간의 상대적 위치를 텍스트로 표시할 수 있다. The user interface (820) for editing object positions in FIG. 8b may be identical to the user interface (710) for editing object positions in FIG. 7. The user interface (820) for editing object positions may display relative positions between objects as text.
일 실시예에서, 제 7 인디케이터(821)는 선택된 객체를 나타내는 인디케이터 또는 대표(representation)일 수 있다. 제 3 텍스트(823) 및 제 4 인디케이터(824)는 이미지의 포함된 객체들을 나타낼 수 있다. 제 3 텍스트(823) 및 제 4 인디케이터(824)사이의 거리는 제 3 텍스트(823) 및 제 4 인디케이터(824)에 대응하는 객체들 간에 상대적 거리에 대응할 수 있다. 제 3 텍스트(823) 및 제 4 인디케이터(824) 사이의 거리는 제 3 텍스트(823) 및 제 4 인디케이터(824)에 대응하는 객체들 간에 배치에 대응할 수 있다. 선택된 객체에 대응하는 제 7 인디케이터(821)는 사용자 입력(예, 드래그 입력 또는 슬라이드 입력)에 의해서 객체 위치 편집을 위한 사용자 인터페이스(810) 상에 위치를 이동할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스(810) 상에서 제 7 인디케이터(821)의 위치를 변경할 때, 이미지 상에서 선택된 객체의 위치도 함께 따라 이동될 수 있다.In one embodiment, the seventh indicator (821) may be an indicator or representation representing a selected object. The third text (823) and the fourth indicator (824) may represent objects included in the image. The distance between the third text (823) and the fourth indicator (824) may correspond to a relative distance between the objects corresponding to the third text (823) and the fourth indicator (824). The distance between the third text (823) and the fourth indicator (824) may correspond to an arrangement between the objects corresponding to the third text (823) and the fourth indicator (824). The seventh indicator (821) corresponding to the selected object may move a position on the user interface (810) for editing the object position by a user input (e.g., a drag input or a slide input). When changing the position of the seventh indicator (821) on the user interface (810) for editing the object position, the position of the object selected on the image may also move accordingly.
도 8c는 본 개시의 일 실시예에 따른 인디케이터에 기반한 객체 위치 편집을 위한 사용자 인터페이스(830)를 나타내는 도면이다.FIG. 8c is a diagram illustrating a user interface (830) for object position editing based on an indicator according to one embodiment of the present disclosure.
도 8c의 객체 위치 편집을 위한 사용자 인터페이스(830)는 구(sphere) 형상일 수 있다. 일 실시예에서, 제 8 인디케이터(831)는 선택된 객체를 나타내는 아이콘 또는 대표(representation)일 수 있다. 객체 위치 편집을 위한 사용자 인터페이스(840)에서 제 8 인디케이터(831)가 이동되면, 이미지 상에서 선택된 객체의 위치도 함께 따라 이동될 수 있다.The user interface (830) for editing object positions in FIG. 8c may be in the shape of a sphere. In one embodiment, the eighth indicator (831) may be an icon or representation indicating a selected object. When the eighth indicator (831) is moved in the user interface (840) for editing object positions, the position of the object selected on the image may also be moved accordingly.
도 6 및 도 8a를 참조하면, 도 8a 의 객체 위치 편집을 위한 사용자 인터페이스(810)는 선택된 객체가 이미지 상의 x축 및/또는 y축상에서 이동될 수 있다. Referring to FIGS. 6 and 8A, the user interface (810) for editing object positions in FIG. 8A allows a selected object to be moved along the x-axis and/or y-axis on the image.
도 7 및 도 8b를 참조하면, 도 8b의 객체 위치 편집을 위한 사용자 인터페이스(820)는 선택된 객체가 이미지 상의 x축 및/또는 y축 상에서 이동될 수 있다. Referring to FIGS. 7 and 8b, the user interface (820) for editing object positions in FIG. 8b allows a selected object to be moved along the x-axis and/or y-axis on the image.
도 5 및 도 8c를 참조하면, 도 8c의 객체 위치 편집을 위한 사용자 인터페이스(830)는 선택된 객체가 이미지 상의 x축 및/또는 y축 뿐만 아니라 z축 상으로도 이동될 수 있다.Referring to FIG. 5 and FIG. 8c, the user interface (830) for editing object positions in FIG. 8c allows a selected object to be moved along the z-axis as well as the x-axis and/or y-axis on the image.
도 9는 본 개시의 일 실시예에 따른 이미지 편집 방법을 나타내는 도면이다.FIG. 9 is a drawing showing an image editing method according to one embodiment of the present disclosure.
912 화면, 913 화면 및 913 화면은 도 4의 제 2 이미지 상에서 이미지 편집 동작을 나타내는 도면이다.
전자 장치(101)는 갤러리 어플리케이션 상에 표시 중인 복수의 이미지들(910) 중에서 제 1 이미지에 포함된 제 1 객체(911)를 사용자 입력에 의해서 선택할 수 있다. 갤러리 어플리케이션 상에 표시 중인 복수의 이미지들(910) 중에서 제 1 이미지에 포함된 제 1 객체(911)는 사용자 입력에 의해서 선택될 수 있다. The electronic device (101) can select a first object (911) included in a first image from among a plurality of images (910) displayed on a gallery application by user input. The first object (911) included in a first image from among a plurality of images (910) displayed on a gallery application can be selected by user input.
912 화면에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 제 2 이미지에서 객체를 인식 및/또는 감지하고 분류할 수 있다. 제 2 이미지는 카메라(280)를 통해 획득한 이미지일 수 있다. 제 2 이미지는 프리뷰 이미지로 디스플레이(260) 상에 표시될 수 있다. 제 2 이미지는 디스플레이(260)를 통해 표시 중인 이미지일 수 있다. On the 912 screen, the electronic device (101) can recognize and/or detect and classify an object in the second image under the control of the processor (120). The second image may be an image acquired through the camera (280). The second image may be displayed on the display (260) as a preview image. The second image may be an image being displayed through the display (260).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 제 2 이미지의 깊이 지도(depth map)을 생성할 수 있다.In one embodiment, the electronic device (101) may generate a depth map of the second image under the control of the processor (120).
일 실시예에서, 전자 장치(101)는, 프로세서(120)의 제어 하에, 제 2 이미지에서 객체를 인식 및/또는 감지하고 분류할 수 있다. In one embodiment, the electronic device (101) may, under control of the processor (120), recognize and/or detect and classify an object in the second image.
913 화면 및 914화면에서, 제 1 객체(911)가 제 2 이미지 상에 배치되면, 전자 장치(101)는 객체 위치 편집을 위한 사용자 인터페이스(920)을 포함할 수 있다. 도 9의 객체 위치 편집을 위한 사용자 인터페이스(920)는 도 8 a의 객체 위치 편집을 위한 사용자 인터페이스(810)와 동일할 수 있다. In
제 4 인디케이터(811)는 선택된 객체를 나타내는 아이콘 또는 대표(representation)일 수 있다. The fourth indicator (811) may be an icon or representation representing the selected object.
제 10 인디케이터(921) 및 제 11 인디케이터(922)는 제 2 이미지의 포함된 객체들을 나타낼 수 있다. 제 10 인디케이터(921) 및 제 11 인디케이터(922) 사이의 거리는 제 10 인디케이터(921) 및 제 11 인디케이터(922)에 대응하는 객체들 간에 배치에 대응할 수 있다. 제 1 객체(911)에 대응하는 제 9 인디케이터(921)는 사용자 입력(예, 드래그 입력 또는 슬라이드 입력)에 의해서 객체 위치 편집을 위한 사용자 인터페이스(810) 상에 위치를 이동할 수 있다. 객체 위치 편집을 위한 사용자 인터페이스(920) 상에서 제 9 인디케이터(921)의 위치를 변경할 때, 제 2 이미지 상에서 제 1 객체(911)의 위치도 함께 따라 이동될 수 있다. 이때, 전자 장치(101)는, 프로세서(120)의 제어 하에, 제 2 이미지의 깊이 지도에 기반하여 이동에 따라 제 1 객체(911)의 크기를 변경할 수 있다. 또한, 전자 장치(101)는 이동된 제 1 객체(911)의 위치에 대응하여 제 2 이미지를 리라이팅할 수 있다.The tenth indicator (921) and the eleventh indicator (922) can indicate objects included in the second image. The distance between the tenth indicator (921) and the eleventh indicator (922) can correspond to the arrangement between the objects corresponding to the tenth indicator (921) and the eleventh indicator (922). The ninth indicator (921) corresponding to the first object (911) can move its position on the user interface (810) for editing object positions by a user input (e.g., a drag input or a slide input). When the position of the ninth indicator (921) is changed on the user interface (920) for editing object positions, the position of the first object (911) on the second image can also be moved accordingly. At this time, the electronic device (101) can change the size of the first object (911) according to the movement based on the depth map of the second image under the control of the processor (120). In addition, the electronic device (101) can rewrite the second image corresponding to the position of the moved first object (911).
도 10a는 본 개시의 일 실시예에서 선택된 객체(1003)가 이동될 때 이미지를 나타내는 도면이다.FIG. 10a is a diagram showing an image when a selected object (1003) is moved in one embodiment of the present disclosure.
도 10b는 본 개시의 일 실시예에서 선택된 객체(1003)가 이동될 때 이미지를 나타내는 도면이다.FIG. 10b is a diagram showing an image when a selected object (1003) is moved in one embodiment of the present disclosure.
도 10a에서 선택된 객체(1003)가 이동되면, 선택된 객체(1003)의 윤곽 또는 크기에 대응하는 잠시 빈 객체(1001)를 표시할 수 있다. 그러나 이에 한정되는 것은 아니며, 도 5, 도 6 및 도 7과 같이, 전자 장치(101)는 사전에 아웃 페인팅/인 페인팅 동작을 수행하여 객체 이동에 따라 빈 객체 없이 이미지를 채울 수 있다.When the selected object (1003) in FIG. 10a is moved, a temporarily blank object (1001) corresponding to the outline or size of the selected object (1003) may be displayed. However, the present invention is not limited thereto, and as shown in FIGS. 5, 6, and 7, the electronic device (101) may perform an out-painting/in-painting operation in advance to fill the image without a blank object according to the object movement.
도 10b에서 선택된 객체(1003)가 이동되면, 선택된 객체(1003)의 윤곽 또는 크기에 대응하는 동일한 객체(1005)를 표시할 수 있다. 그러나 이에 한정되는 것은 아니며, 도 5, 도 6 및 도 7과 같이, 전자 장치(101)는 사전에 아웃 페인팅/인 페인팅 동작을 수행하여 객체 이동에 따라 동일한 객체없이 이미지를 채울 수 있다.When the selected object (1003) in FIG. 10b is moved, the same object (1005) corresponding to the outline or size of the selected object (1003) can be displayed. However, it is not limited thereto, and as in FIG. 5, FIG. 6, and FIG. 7, the electronic device (101) can perform an out-painting/in-painting operation in advance to fill the image without the same object according to the object movement.
일 실시예에서, 도 3 및 도 4의 전자 장치(101)의 이미지 편집 방법은 컴퓨터에서 판독 가능한 기록 매체 또는 저장 매체에 저장될 수 있다. 컴퓨터에서 판독 가능한 기록 매체 또는 저장 매체에 인스트럭션들로 저장된 도 3 및 도 4의 전자 장치(101)의 이미지 편집 방법은, 프로세서(120)에 의해 실행될 때, 전자 장치(101)가 인스트럭션들을 수행하게 할 수 있다. In one embodiment, the image editing method of the electronic device (101) of FIGS. 3 and 4 may be stored in a computer-readable recording medium or storage medium. The image editing method of the electronic device (101) of FIGS. 3 and 4, stored as instructions in a computer-readable recording medium or storage medium, when executed by a processor (120), may cause the electronic device (101) to perform the instructions.
일 실시예에서, 전자 장치(101)는 디스플레이(160); 인스트럭션들을 저장하는 메모리(130); 및 프로세서(120)를 포함하며, 상기 인스트럭션들은, 상기 프로세서(120)에 의해 실행될 때, 상기 전자 장치(101)로 하여금: 사용자 입력에 기반하여 이미지가 선택되고, 객체의 위치 이동에 관한 사용자 인터페이스를 포함하는 이미지 편집 어플리케이션을 실행하고, 상기 이미지의 깊이 정보를 확인하며, 상기 이미지에서 객체를 인식하고 분류하고, 상기 객체의 위치 이동에 관한 사용자 인터페이스를 통한 사용자 입력에 기반하여, 상기 이미지 상에서 상기 선택된 객체의 위치를 변경하고, 상기 선택된 객체의 위치에 기반하여, 상기 이미지 또는 상기 선택된 객체 중 하나에 아웃 페인팅 및/또는 인 페이팅 동작을 수행하게 할 수 있다. In one embodiment, an electronic device (101) includes a display (160); a memory (130) storing instructions; and a processor (120), wherein the instructions, when executed by the processor (120), cause the electronic device (101) to: execute an image editing application including a user interface for selecting an image based on a user input, and for moving a position of an object; determine depth information of the image; recognize and classify an object in the image; change a position of the selected object on the image based on a user input through the user interface for moving the position of the object; and perform an outpainting and/or inpainting operation on one of the image or the selected object based on the position of the selected object.
일 실시예에서, 상기 인스트럭션들은, 상기 프로세서(120)에 의해 실행될 때, 상기 전자 장치(101)로 하여금 상기 이미지 편집 어플리케이션이 종료되면, 객체의 위치가 변경된 이미지를 제공하게 할 수 있다. In one embodiment, the instructions, when executed by the processor (120), may cause the electronic device (101) to provide an image with a changed position of an object when the image editing application is terminated.
일 실시예에서, 상기 프로세서(120)에 의해 실행될 때, 상기 전자 장치(101)로 하여금 낱장의 이미지를 이용하여 깊이 정보를 생성하는 깊이 정보 생성 모델을 이용하여 깊이 정보를 생성하게 할 수 있다. In one embodiment, when executed by the processor (120), the electronic device (101) may be caused to generate depth information using a depth information generation model that generates depth information using a single image.
일 실시예에서, 상기 프로세서(120)에 의해 실행될 때, 상기 전자 장치(101)로 하여금 이미지를 세그멘테이션(segmentation)하여 객체를 인식하고 분류하는 객체 인식 및 분류 모델을 이용하여 상기 이미지에서 객체를 인식하고 분류하게 할 수 있다. In one embodiment, when executed by the processor (120), the electronic device (101) may be enabled to recognize and classify objects in an image using an object recognition and classification model that segments an image to recognize and classify objects.
일 실시예에서, 상기 프로세서(120)에 의해 실행될 때, 상기 전자 장치(101)로 하여금 위치가 변경된 객체에 대응하여 리라이팅(re-lighting)을 수행하게 할 수 있다. In one embodiment, when executed by the processor (120), it may cause the electronic device (101) to perform re-lighting in response to an object whose position has changed.
일 실시예에서, 상기 프로세서(120)에 의해 실행될 때, 상기 전자 장치(101)로 하여금 상기 선택된 객체의 위치에 기반하여, 위치가 이동된 객체의 화질을 개선하게 할 수 있다. In one embodiment, when executed by the processor (120), it may cause the electronic device (101) to improve the image quality of an object whose position has been moved based on the position of the selected object.
일 실시예에서, 상기 사용자 인터페이스는 인식된 객체들에 대응하는 인디케이터들을 상기 인식된 객체들 간의 거리에 따라 표시하게 할 수 있다. In one embodiment, the user interface may display indicators corresponding to recognized objects according to the distance between the recognized objects.
일 실시예에서, 상기 프로세서(120)에 의해 실행될 때, 상기 전자 장치(101)로 하여금 객체의 위치 변경에 따른 위치가 변경된 객체 또는 이미지에서 가릴 영역, 채워넣을 영역을 판단하여 아웃 페인팅/인 페인팅 동작을 수행하게 할 수 있다. In one embodiment, when executed by the processor (120), the electronic device (101) may be caused to perform an out-painting/in-painting operation by determining an area to be covered or filled in in an object or image whose position has changed due to a change in the position of the object.
일 실시예에서, 상기 프로세서(120)에 의해 실행될 때, 상기 전자 장치(101)로 하여금 제 1 이미지에서 제 1 객체를 선택하고, 제 1 이미지의 깊이 정보를 확인하며, 상기 제 2 이미지에서 객체를 인식하고 분류하고, 상기 제 2 이미지에서 적어도 하나 이상의 이동 가능한 객체에 기초하여 상기 이미지의 아웃 페인팅 및/또는 인 페인팅을 수행하며, 상기 제 1 객체에 대한 제 2 이미지상의 위치 이동에 대한 사용자 입력이 있으면, 상기 제 2 이미지 상에서 상기 제 1 객체의 위치를 변경하고, 위치가 변경된 제 1 객체에 대응하여 리라이팅(re-lighting)을 수행하게 할 수 있다. In one embodiment, when executed by the processor (120), the electronic device (101) may be configured to select a first object from a first image, verify depth information of the first image, recognize and classify an object from a second image, perform out-painting and/or in-painting of the image based on at least one movable object in the second image, and, if there is a user input for movement of a position of the first object on the second image, change the position of the first object on the second image, and perform re-lighting corresponding to the first object whose position has been changed.
일 실시예에서, 상기 프로세서(120)에 의해 실행될 때, 상기 전자 장치(101)로 하여금 상기 제 1 객체의 위치가 변경된 상기 제 2 이미지를 제공하게 할 수 있다. In one embodiment, when executed by the processor (120), it may cause the electronic device (101) to provide the second image in which the position of the first object is changed.
일 실시예에서, 이미지 편집 방법은 사용자 입력에 기반하여 이미지가 선택되는 동작; 객체의 위치 이동에 관한 사용자 인터페이스를 포함하는 이미지 편집 어플리케이션을 실행하는 동작; 상기 이미지의 깊이 정보를 확인하는 동작; 상기 이미지에서 객체를 인식하고 분류하는 동작; 상기 객체의 위치 이동에 관한 사용자 인터페이스를 통한 사용자 입력에 기반하여, 상기 이미지 상에서 상기 선택된 객체의 위치를 변경하는 동작; 및 상기 선택된 객체의 위치에 기반하여, 상기 이미지 또는 상기 선택된 객체 중 하나에 아웃 페인팅 및/또는 인 페이팅 동작을 수행하는 동작을 포함할 수 있다. In one embodiment, an image editing method may include: selecting an image based on a user input; executing an image editing application including a user interface relating to movement of a position of an object; checking depth information of the image; recognizing and classifying an object in the image; changing a position of the selected object on the image based on the user input through the user interface relating to movement of the position of the object; and performing an outpainting and/or inpainting operation on one of the image or the selected object based on the position of the selected object.
일 실시예에서, 이미지 편집 방법은 상기 이미지 편집 어플리케이션이 종료되면, 객체의 위치가 변경된 이미지를 제공하는 동작을 포함할 수 있다. In one embodiment, the image editing method may include an action of providing an image with a changed position of an object when the image editing application is terminated.
일 실시예에서, 이미지 편집 방법은 낱장의 이미지를 이용하여 깊이 정보를 생성하는 깊이 정보 생성 모델을 이용하여 깊이 정보를 생성하는 동작을 포함할 수 있다. In one embodiment, an image editing method may include generating depth information using a depth information generation model that generates depth information using a single image.
일 실시예에서, 이미지 편집 방법은 이미지를 세그멘테이션(segmentation)하여 객체를 인식하고 분류하는 객체 인식 및 분류 모델을 이용하여 상기 이미지에서 객체를 인식하고 분류하는 동작을 포함할 수 있다. In one embodiment, the image editing method may include recognizing and classifying objects in the image using an object recognition and classification model that segments the image to recognize and classify objects.
일 실시예에서, 이미지 편집 방법은 위치가 변경된 객체에 대응하여 리라이팅(re-lighting)을 수행하게 동작을 포함할 수 있다. In one embodiment, the image editing method may include performing re-lighting in response to a changed position of an object.
일 실시예에서, 이미지 편집 방법은 상기 선택된 객체의 위치에 기반하여, 위치가 이동된 객체의 화질을 개선하는 동작을 포함할 수 있다. In one embodiment, the image editing method may include an operation of improving the image quality of a moved object based on a location of the selected object.
일 실시예에서, 이미지 편집 방법은 인식된 객체들에 대응하는 인디케이터들을 상기 인식된 객체들 간의 거리에 따라 표시하는 동작을 포함할 수 있다. In one embodiment, the image editing method may include an action of displaying indicators corresponding to recognized objects according to a distance between the recognized objects.
일 실시예에서, 이미지 편집 방법은 객체의 위치 변경에 따른 위치가 변경된 객체 또는 이미지에서 가릴 영역, 채워넣을 영역을 판단하여 아웃 페인팅/인 페인팅 동작을 수행 동작을 포함할 수 있다. In one embodiment, the image editing method may include an operation of performing an outpainting/inpainting operation by determining an area to be covered or filled in of an object or image whose position has changed due to a change in the position of the object.
일 실시예에서, 이미지 편집 방법은 제 1 이미지에서 제 1 객체를 선택하는 동작; 제 1 이미지의 깊이 정보를 확인하는 동작; 상기 제 2 이미지에서 객체를 인식하고 분류하는 동작; 상기 제 2 이미지에서 적어도 하나 이상의 이동 가능한 객체에 기초하여 상기 이미지의 아웃 페인팅 및/또는 인 페인팅을 수행하는 동작; 상기 제 1 객체에 대한 제 2 이미지상의 위치 이동에 대한 사용자 입력이 있으면, 상기 제 2 이미지 상에서 상기 제 1 객체의 위치를 변경하는 동작; 및 위치가 변경된 제 1 객체에 대응하여 리라이팅(re-lighting)을 수행하게 하는 동작을 포함할 수 있다. In one embodiment, an image editing method may include: selecting a first object from a first image; checking depth information of the first image; recognizing and classifying an object from the second image; performing outpainting and/or inpainting of the image based on at least one movable object in the second image; changing a position of the first object on the second image if there is a user input for movement of a position of the first object on the second image; and performing re-lighting corresponding to the first object whose position has been changed.
일 실시예에서, 이미지 편집 방법은 상기 제 1 객체의 위치가 변경된 상기 제 2 이미지를 제공하는 동작을 포함할 수 있다. In one embodiment, the image editing method may include providing a second image in which the position of the first object is changed.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic devices according to various embodiments disclosed in this document may be devices of various forms. The 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 appliance devices. The electronic devices according to embodiments of this document are not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.It should be understood that the various embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but 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 dictates 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, 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) 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.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. 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, for example. A module may be an integrally configured component or a minimum unit of the component or a part thereof 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).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.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 called at least one 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.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded between a seller and a buyer as a commodity. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store TM ) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a part of the computer program product may be at least temporarily stored or temporarily generated in a machine-readable storage medium, such as a memory of a manufacturer's server, a server of an application store, or an intermediary server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately arranged in other components. According to various embodiments, one or more components or operations of the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, the multiple components (e.g., a module or a program) may be integrated into one component. In such a case, the integrated component may perform one or more functions of each of the multiple components identically or similarly to those performed by the corresponding component of the multiple components before the integration. According to various embodiments, the operations performed by the module, program, or other component may be executed sequentially, in parallel, repeatedly, 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.
Claims (15)
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR20230143037 | 2023-10-24 | ||
| KR10-2023-0143037 | 2023-10-24 | ||
| KR1020230164567A KR20250059242A (en) | 2023-10-24 | 2023-11-23 | electronic device and method for editing image |
| KR10-2023-0164567 | 2023-11-23 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025089769A1 true WO2025089769A1 (en) | 2025-05-01 |
Family
ID=95516136
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/KR2024/016131 Pending WO2025089769A1 (en) | 2023-10-24 | 2024-10-23 | Electronic device and image editing method |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2025089769A1 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20140019072A (en) * | 2012-07-23 | 2014-02-14 | 엘지전자 주식회사 | Mobile terminal and control method thereof |
| KR20140122054A (en) * | 2013-04-09 | 2014-10-17 | 삼성전자주식회사 | converting device for converting 2-dimensional image to 3-dimensional image and method for controlling thereof |
| JP2020064339A (en) * | 2018-10-15 | 2020-04-23 | 株式会社Uei | Map making device, robot, map making method and map making program |
| KR20210056944A (en) * | 2019-11-11 | 2021-05-20 | 주식회사 날비컴퍼니 | Method for editing image |
| KR20220146865A (en) * | 2021-04-26 | 2022-11-02 | 한국전자통신연구원 | Method and apparatus for virtually moving real object in augmetnted reality |
-
2024
- 2024-10-23 WO PCT/KR2024/016131 patent/WO2025089769A1/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20140019072A (en) * | 2012-07-23 | 2014-02-14 | 엘지전자 주식회사 | Mobile terminal and control method thereof |
| KR20140122054A (en) * | 2013-04-09 | 2014-10-17 | 삼성전자주식회사 | converting device for converting 2-dimensional image to 3-dimensional image and method for controlling thereof |
| JP2020064339A (en) * | 2018-10-15 | 2020-04-23 | 株式会社Uei | Map making device, robot, map making method and map making program |
| KR20210056944A (en) * | 2019-11-11 | 2021-05-20 | 주식회사 날비컴퍼니 | Method for editing image |
| KR20220146865A (en) * | 2021-04-26 | 2022-11-02 | 한국전자통신연구원 | Method and apparatus for virtually moving real object in augmetnted reality |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2022025450A1 (en) | Slidable electronic device and control method therefor | |
| WO2022131784A1 (en) | Electronic device and method for providing augmented reality content | |
| WO2022086126A1 (en) | Wireless charging device for providing touch pad and haptic | |
| WO2023017954A1 (en) | Electronic device comprising flexible display and control method thereof | |
| WO2022154166A1 (en) | Method for providing content creation function and electronic device supporting same | |
| WO2025089769A1 (en) | Electronic device and image editing method | |
| WO2022270885A1 (en) | Flexible display and electronic device comprising flexible display | |
| WO2022103209A1 (en) | Electronic device comprising contact structure using magnet | |
| WO2025075288A1 (en) | Electronic device, method, and non-transitory computer-readable recording medium for determining whether to fill image | |
| WO2024210693A1 (en) | Electronic device for controlling display of execution screens, operation method thereof, and recording medium | |
| WO2025048623A1 (en) | Electronic device and camera control method | |
| WO2025258824A1 (en) | Electronic device, method, and non-transitory computer-readable storage medium for generating additional region of video frame | |
| WO2024191063A1 (en) | Method for providing user interface, and wearable electronic device supporting same | |
| WO2025154933A1 (en) | Electronic device for editing image and operation method therefor | |
| WO2025005539A1 (en) | Electronic device for recognizing structure of space by using camera and control method thereof | |
| WO2024063432A1 (en) | Method for controlling application execution screen of electronic device and electronic device therefor | |
| WO2025084758A1 (en) | First electronic device including artificial intelligence model, method for operating same, and second electronic device including artificial intelligence model | |
| WO2025121933A1 (en) | Electronic device and scroll bar display method using same | |
| WO2025100697A1 (en) | Electronic device and method for displaying content on flexible display, and non-transitory computer-readable recording medium | |
| WO2024196117A1 (en) | Electronic device that processes input of stylus pen, and operating method thereof | |
| WO2025110607A1 (en) | Case, electronic device communicating with case, and control method therefor | |
| WO2024117558A1 (en) | Electronic device comprising flexible display, and method for controlling same | |
| WO2025089689A1 (en) | Electronic device comprising light-emitting unit, and control method therefor | |
| WO2025095326A1 (en) | Slidable electronic device and method therefor | |
| WO2023182654A1 (en) | Electronic device and method for identifying user input |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24882796 Country of ref document: EP Kind code of ref document: A1 |