Image display method and electronic device supporting same
The electronic device method optimizes background screens by editing images based on display size, addressing the challenge of varying form factors and display sizes, resulting in improved image quality and reduced storage needs.
Patent Information
- Application Number
- PCT/KR2024/002319
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-03
- Filing Date
- 2024-02-22
- Publication Date
- 2024-09-06
AI Technical Summary
Conventional electronic devices do not provide background screens optimized for various display sizes and form factors, leading to cumbersome video editing tasks for users to achieve suitable images on their devices.
An electronic device method that separates images into main and background objects, edits them based on display size, and combines the edited objects to generate an optimized image for display, improving image quality and reducing capacity through encoding techniques.
This method provides intuitive and convenient background screen settings tailored to each display, enhancing image quality and reducing storage capacity while maintaining high compression rates.
Smart Images

Figure KR2024002319_06092024_PF_FP
Abstract
Description
Image display method and electronic device supporting the same
[0001] Embodiments of the present disclosure provide a method for displaying an image (e.g., wallpaper and / or lockscreen) on a display and an electronic device supporting the same.
[0002] With the advancement of digital technology, various types of electronic devices, such as smartphones, tablet PCs (personal computers), laptop PCs, and / or wearable devices, are becoming widely used. The hardware and / or software components of these electronic devices are continuously being developed to support and enhance their functionality.
[0003] Electronic devices, as part of their software components, provide a feature that allows a user to set a designated image as a wallpaper (and / or lockscreen) on the electronic device according to their own preferences. For example, a user may set a wallpaper on the electronic device based on an image captured by the user using the electronic device and / or an image obtained (e.g., downloaded) from an external source (e.g., a server or another electronic device) via a designated communication channel. In this way, the electronic device may support a feature that provides (e.g., displays) a customized wallpaper on the lock screen and / or home screen of the electronic device using an image designated by the user.
[0004] Recently, electronic devices with various form factors are being developed. For example, electronic devices may have different display sizes (e.g., display sizes or screen sizes) depending on the form factor. For example, recent electronic devices may have new form factors such as foldable devices, rollable devices, slidable devices, and / or foldable and slidable hybrid devices. For example, an electronic device may be equipped with a flexible display and / or a slidable display, and may be used by folding or rolling at least a portion of the display, or by unfolding at least a portion of the display. According to one embodiment, the electronic device may be implemented so that the screen of the display can be expanded or contracted in an unfolding manner and / or a sliding manner.
[0005] Meanwhile, conventional electronic devices, when providing a wallpaper, provide a fragmented wallpaper based on an image specified by the user, regardless of the various form factors and / or display sizes of the electronic device. For example, electronic devices provide a fixed wallpaper setting based on the size of the specified image, regardless of the various display sizes. In other words, electronic devices do not provide wallpapers that are more suitable for various displays according to the form factors of the electronic device. Therefore, users experience the inconvenience of having to perform cumbersome tasks, such as image editing, to obtain a wallpaper more suitable for the electronic device. Therefore, in recent years, there has been an increasing need for the development of a user interface (UI) and its operation that corresponds to various form factors of electronic devices.
[0006] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.
[0007] In one embodiment of the present disclosure, a method for providing an image (e.g., a wallpaper) optimized for each display according to a form factor of an electronic device and an electronic device supporting the same are provided.
[0008] In one embodiment of the present disclosure, a method and device are provided that can edit (or modify) a specified image to fit the display size of an electronic device, and provide a wallpaper (and / or lock screen) that is more optimized for the display size of the electronic device based on the edited image.
[0009] In one embodiment of the present disclosure, when supporting image editing in an electronic device, a method is provided, and an electronic device supporting the same is provided, which supports image display with improved quality and more optimized for the display size by editing, repositioning, and correcting objects within a specified image based on analysis of the display size of a specified image and a specified display.
[0010] The technical problems to be achieved in this document are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by a person having ordinary skill in the technical field to which the present invention belongs from the description below.
[0011] An electronic device according to one embodiment of the present disclosure may include a display, a memory, and a processor operatively connected to the display and the memory. The processor according to one embodiment may perform an operation of displaying an image on a first display. The processor according to one embodiment may perform an operation of dividing the image into a main object and a background object. The processor according to one embodiment may perform an operation of determining a second display on which an edited image is to be displayed. The processor according to one embodiment may perform an operation of editing the main object and the background object respectively based on a display size of the second display. The processor according to one embodiment may perform an operation of generating the edited image by combining the edited main object and the edited background object. The processor according to one embodiment may perform an operation of displaying the edited image through the second display.
[0012] An operating method of an electronic device according to one embodiment of the present disclosure may include an operation of displaying an image on a first display. The operating method may include an operation of dividing the image into a main object and a background object. The operating method may include an operation of determining a second display on which an edited image is to be displayed. The operating method may include an operation of editing the main object and the background object respectively based on a display size of the second display. The operating method may include an operation of generating the edited image by combining the edited main object and the edited background object. The operating method may include an operation of displaying the edited image through the second display.
[0013] In order to solve the above-described problem, various embodiments of the present disclosure may include a computer-readable recording medium having recorded thereon a program for executing the method on a processor.
[0014] According to one embodiment, a non-transitory computer-readable storage medium (or computer program product) storing one or more programs is described. According to one embodiment, the one or more programs may include instructions that, when executed by a processor of an electronic device, cause an operation to display an image on a first display, an operation to separate the image into a main object and a background object, an operation to determine a second display on which an edited image is to be displayed, an operation to edit each of the main object and the background object based on a display size of the second display, an operation to generate the edited image by combining the edited main object and the edited background object, and an operation to display the edited image through the second display.
[0015] Further scope of the applicability of the present disclosure will become apparent from the detailed description below. However, since various modifications and variations within the spirit and scope of the present disclosure will readily become apparent to those skilled in the art, it should be understood that the detailed description and specific examples, such as preferred embodiments of the present disclosure, are given by way of example only.
[0016] According to an embodiment of the present disclosure, an electronic device, an operation method thereof, and a recording medium, a more optimized background screen (and / or lock screen) can be provided according to a corresponding display according to various form factors of the electronic device. According to an embodiment, the electronic device can include one or more displays divided according to the form factor, and can set and provide a background screen (and / or lock screen) suitable for the display size of each display. According to an embodiment, when setting a background screen in the electronic device, an image specified by a user can be automatically edited (or modified) and its quality improved to fit the display size (e.g., screen size) of the specified display, and provided as a background screen.
[0017] According to one embodiment, when supporting image editing for image display, such as a wallpaper and / or lock screen, on an electronic device, rather than simply resizing or correcting a specified image, the image can be provided based on analysis of the display size of the specified image and the specified display. For example, by editing, repositioning, and correcting objects within a specified image, the user can set a wallpaper with improved quality and optimized for the display size. This can provide intuitiveness and convenience for the user to set the wallpaper for each display on the electronic device.
[0018] According to one embodiment, an electronic device can provide an image by reducing its size while improving its quality (e.g., by correcting its resolution and / or quality). For example, the electronic device can reduce the size of an image by encoding it using a designated encoding technology (e.g., webp encoding). For example, when improving the quality of an image (e.g., by correcting its resolution and / or quality) to fit the display size, the image size may increase. However, this increased size can be improved through a high compression ratio based on the designated encoding technology.
[0019] In addition, various effects may be directly or indirectly realized through this document. The effects obtained through this disclosure are not limited to those mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art to which this disclosure pertains, based on the description below.
[0020] In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
[0021] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
[0022] FIG. 2 is a diagram schematically illustrating the configuration of an electronic device according to one embodiment of the present disclosure.
[0023] FIGS. 3A, 3B, and 3C are drawings illustrating examples of various form factors of an electronic device according to one embodiment of the present disclosure.
[0024] FIG. 4 is a flowchart illustrating a method of operating an electronic device according to one embodiment of the present disclosure.
[0025] FIGS. 5A, 5B, and 5C are diagrams illustrating examples of supporting image settings in an electronic device according to one embodiment of the present disclosure.
[0026] FIG. 6 is a flowchart illustrating a method of operating an electronic device according to one embodiment of the present disclosure.
[0027] FIG. 7 is a flowchart illustrating a method of operating an electronic device according to one embodiment of the present disclosure.
[0028] FIGS. 8A, 8B, 8C, 8D, and 8E are drawings illustrating examples of providing a background screen according to a display size in an electronic device according to one embodiment of the present disclosure.
[0029] FIGS. 9A, 9B, 9C, and 9D are drawings illustrating examples of providing a background screen according to a display size in an electronic device according to one embodiment of the present disclosure.
[0030] FIGS. 10A and 10B are diagrams illustrating an example of separating a main object and a background object in an image in an electronic device according to one embodiment of the present disclosure.
[0031] FIGS. 11A and 11B are diagrams illustrating examples of distinguishing an alignment state for a main object in an image in an electronic device according to one embodiment of the present disclosure.
[0032] FIGS. 12a, 12b and 12c are diagrams illustrating examples of specifying the position of a main object within an image in an electronic device according to one embodiment of the present disclosure.
[0033] FIGS. 13A and 13B are diagrams illustrating examples of providing a background screen based on editing of a main object in an electronic device according to one embodiment of the present disclosure.
[0034] FIG. 14 is a diagram illustrating an example of providing a background screen in response to a change in display size in an electronic device according to one embodiment of the present disclosure.
[0035] FIGS. 15a, 15b, 15c, 15d, 15e, and 15f are drawings illustrating examples of providing images in response to a change in display size in an electronic device according to one embodiment of the present disclosure.
[0036] FIGS. 16A, 16B, 16C, and 16D are diagrams illustrating examples of arranging objects in an image in an electronic device according to one embodiment of the present disclosure.
[0037] FIGS. 17A, 17B, and 17C are diagrams illustrating examples of providing images corresponding to a display of an electronic device according to one embodiment of the present disclosure.
[0038] FIGS. 18a, 18b, and 18c are diagrams illustrating examples of providing images corresponding to display sizes in an electronic device according to one embodiment of the present disclosure.
[0039] FIG. 19 is a flowchart illustrating an operating method of an electronic device according to one embodiment of the present disclosure.
[0040] FIGS. 20A, 20B, 20C, 20D, 20E, 20F, 20G, and 20H are diagrams illustrating examples of supporting image editing in an electronic device according to one embodiment of the present disclosure.
[0041] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein. In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Furthermore, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and conciseness.
[0042] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments.
[0043] 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)).
[0044] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit (CPU) or an application processor (AP)) or an auxiliary processor (123) (e.g., a graphic processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0045] The auxiliary processor (123) may control at least a part of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0046] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0047] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (OS) (142), middleware (144), or an application (146).
[0048] 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).
[0049] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0050] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0051] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0052] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0053] 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, a secure digital (SD) card interface, or an audio interface.
[0054] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0055] A haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. In one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0056] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0057] 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, for example, as at least a part of a power management integrated circuit (PMIC).
[0058] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0059] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0060] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). NR access technology can support high-speed transmission of high-capacity data (eMBB, enhanced mobile broadband), minimizing terminal power and connecting multiple terminals (mMTC, massive machine type communications), or high reliability and low latency 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. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0061] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device through the selected at least one antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0062] 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 disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band.
[0063] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0064] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server 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.
[0065] FIG. 2 is a diagram schematically illustrating the configuration of an electronic device according to one embodiment of the present disclosure.
[0066] Referring to FIG. 2, an electronic device (101) according to one embodiment of the present disclosure may include a display (290) (e.g., the display module (160) of FIG. 1), a memory (130) (e.g., the memory (130) of FIG. 1), and / or a processor (120) (e.g., the processor (120) of FIG. 1). According to one embodiment, the electronic device (101) may include all or at least a portion of the components of the electronic device (101) as described in the description with reference to FIG. 1.
[0067] According to one embodiment, the display (290) may include a configuration identical or similar to the display module (160) of FIG. 1. According to one embodiment, the display (290) may include one or more displays (e.g., a first display (291) and / or a second display (292)) depending on a form factor of the electronic device (101), and may visually provide various information to an external body (e.g., a user) of the electronic device (101) through the corresponding displays. According to one embodiment, the display (290) may, under the control of the processor (120), visually provide an application (e.g., an application (146) of FIG. 1) being executed and various information related to the use thereof (e.g., contents, images (e.g., still images, videos, animation images (e.g., GIF (graphics interchange format) images, webp images)).
[0068] In one embodiment, the display (290) may be combined with a touch sensor, a pressure sensor capable of measuring the intensity of a touch, and / or a touch panel (e.g., a digitizer) for detecting a magnetic stylus pen. In one embodiment, the display (290) may detect a touch input and / or a hovering input (or a proximity input) by measuring a change in a signal (e.g., voltage, light intensity, resistance, electromagnetic signal, and / or charge) for a specific location of the display (290) based on the touch sensor, the pressure sensor, and / or the touch panel. In one embodiment, the display (290) may include a liquid crystal display (LCD), an organic light emitting diode (OLED), and / or an active matrix organic light emitting diode (AMOLED). In one embodiment, the display (290) may include a flexible display.
[0069] According to one embodiment, the first display (291) and the second display (292) may be implemented in various forms depending on the form factor of the electronic device (101).
[0070] According to one embodiment, when the electronic device (101) has a form factor of a foldable device, the first display (291) may include a main display having a first display size operable in a first state (e.g., an unfolded state or an open state). According to one embodiment, when the electronic device (101) has a form factor of a foldable device, the second display (292) may include a cover display having a second display size different from the first display size operable in a second state (e.g., a folded state or a close state) and / or the first state.
[0071] In one embodiment, when the electronic device (101) has a form factor of a rollable / slidable device, the first display (291) may include a main display having a third display size that allows the electronic device (101) to operate in a third state (e.g., a closed state or a slide-in state). In one embodiment, when the electronic device (101) has a form factor of a rollable / slidable device, the second display (292) may include an extended display having a fourth display size that is different from the third display size that allows the electronic device (101) to operate in a fourth state (e.g., an open state or a slide-out state).
[0072] In one embodiment, the type, shape and / or size of the display (290) is not limited to the above-described examples and may be implemented in various ways depending on the form factor of the electronic device (101).
[0073] According to one embodiment, the memory (130) may correspond to the memory (130) of FIG. 1. According to one embodiment, the memory (130) may store various data used by the electronic device (101). In one embodiment, the data may include, for example, input data or output data for an application (e.g., the program (140) of FIG. 1) and commands related to the application. In one embodiment, the data may include various types of image data acquired through the camera module (180) or acquired from an external device (e.g., another electronic device and / or a server). In one embodiment, the image data may include still images, videos, and / or animation images (e.g., graphics interchange format (GIF) images and / or webp images). In one embodiment, the data may include information regarding various settings for supporting operations according to background screen (and / or lock screen) settings in the electronic device (101).
[0074] In one embodiment, the information regarding various settings may include information related to the display size of the display (290) of the electronic device (101) (e.g., the first display (291) and / or the second display (292)) (e.g., the screen resolution of each display (290)) and / or information related to the repositioning of the main object within the image (e.g., the margin regarding the distance between the object within the image and the edge of the display (290). In one embodiment, the information regarding various settings may include reference information corresponding to one or more specified conditions for analyzing and / or determining the object within the image (e.g., reference information for determining whether the object within the image is resized, cropped, and / or aligned).
[0075] In one embodiment, the data may include various learning data and parameters acquired based on the user's learning through interaction with the user. In one embodiment, the data may include various schemas (or algorithms, models, networks, or functions) for supporting operations related to image settings, such as wallpaper and / or lock screen.
[0076] For example, a scheme for supporting actions related to image settings, such as wallpaper and / or lock screen, may include a neural network. In one embodiment, the neural network may include a neural network model based on at least one of an artificial neural network (ANN), a convolution neural network (CNN), a region with convolution neural network (R-CNN), a region proposal network (RPN), a recurrent neural network (RNN), a stacking-based deep neural network (S-DNN), a state-space dynamic neural network (S-SDNN), a deconvolution network, a deep belief network (DBN), a restricted Boltzman machine (RBM), a long short-term memory (LSTM) network, a classification network, a plain residual network, a dense network, a hierarchical pyramid network, and / or a fully convolutional network. According to one embodiment, the type of the neural network model is not limited to the examples described above.
[0077] According to one embodiment, the memory (130) may store instructions that, when executed, cause the processor (120) to operate. For example, the application may be stored as software (e.g., the program (140) of FIG. 1) on the memory (130) and may be executable by the processor (120). According to one embodiment, the application may be a variety of applications that may provide various functions or services (e.g., a wallpaper and / or lock screen setting function) on the electronic device (101).
[0078] According to one embodiment, the processor (120) may perform an application layer processing function requested by a user of the electronic device (101). According to one embodiment, the processor (120) may provide control and commands of functions for various blocks of the electronic device (101). According to one embodiment, the processor (120) may perform operations or data processing related to control and / or communication of each component of the electronic device (101). For example, the processor (120) may include at least some of the configurations and / or functions of the processor (120) of FIG. 1. According to one embodiment, the processor (120) may be operatively connected to the components of the electronic device (101). According to one embodiment, the processor (120) may load commands or data received from other components of the electronic device (101) into the memory (130), process the commands or data stored in the memory (130), and store result data.
[0079] According to one embodiment of the present disclosure, the processor (120) may include processing circuitry and / or executable program elements. According to one embodiment, the processor (120) may control (or process) the overall operation related to displaying an image (e.g., supporting setting of an image such as a background screen and / or a lock screen) according to a display size in the electronic device (101) based on the processing circuitry and / or executable program elements.
[0080] According to one embodiment, the processor (120) may perform an operation of separating a main object and a background object from a given image. According to one embodiment, the processor (120) may perform an operation of determining a display size of a designated display on which the image is to be displayed. According to one embodiment, the processor (120) may perform an operation of editing (or modifying) each of the main object and the background object in accordance with the display size. According to one embodiment, the processor (120) may perform an operation of combining the edited main object and the edited background object to generate an edited image in accordance with the display size of the designated display. According to one embodiment, the processor (120) may perform an operation of displaying the edited image through the designated display.
[0081] According to one embodiment, the processor (120) may perform an operation of displaying an image specified by a user on a display. According to one embodiment, the processor (120) may perform an operation of detecting a user input for setting a background screen based on the specified image. According to one embodiment, the processor (120) may perform an operation of determining a display size of a specified display on which a background screen is to be set. According to one embodiment, the processor (120) may perform an operation of editing the specified image in response to the display size. According to one embodiment, the processor (120) may perform an operation of setting the edited image as the background screen of the specified display. According to one embodiment, the display displaying the specified image and the specified display may include the same display or different displays having different display sizes.
[0082] According to one embodiment, the processor (120) may perform an operation of analyzing the entire image frame of the image. According to one embodiment, the processor (120) may perform an operation of determining a main object based on the entire image frame. According to one embodiment, when the main object is determined in the image, the processor (120) may perform an operation of identifying the remaining objects in the image excluding the main object as background objects. According to one embodiment, the processor (120) may perform an operation of separating the main object and the background object in the image into independent objects.
[0083] According to one embodiment, the detailed operation of the processor (120) of the electronic device (101) is described with reference to the drawings described below.
[0084] According to one embodiment, the processor (120) may be an application processor (AP). According to one embodiment, the processor (120) may be a system semiconductor that is responsible for the operation and multimedia driving functions of the electronic device (101). According to one embodiment, the processor (120) may be configured in the form of a system-on-chip (SoC), and may include a technology-intensive semiconductor chip that integrates multiple semiconductor technologies into one and implements system blocks into a single chip. According to one embodiment, the system blocks of the processor (120) may include a graphics processing unit (GPU) (210), an image signal processor (ISP) (220), a central processing unit (CPU) (230), a neural processing unit (NPU) (240), a digital signal processor (250), a modem (260), a connectivity (270), and / or a security (280) block, as illustrated in FIG. 2.
[0085] In one embodiment, the GPU (210) may be responsible for graphics processing. In one embodiment, the GPU (210) may receive commands from the CPU (230) and perform graphics processing to express the shape, position, color, shading, movement, and / or texture of objects (or objects) on the display.
[0086] In one embodiment, the ISP (220) may be responsible for image processing and correction of images and videos. In one embodiment, the ISP (220) may correct raw data (e.g., raw data) transmitted from the image sensor of the camera module (180) to generate an image in a form more preferred by the user. In one embodiment, the ISP (220) may perform post-processing, such as adjusting partial brightness of the image and emphasizing detailed parts. For example, the ISP (220) may independently perform a process of tuning and correcting the image quality of the image acquired through the camera module (180) to generate a result preferred by the user.
[0087] According to one embodiment, the ISP (220) may support scene segmentation (e.g., image segmentation) technology that recognizes and / or classifies parts of a scene being captured in conjunction with the NPU (240). For example, the ISP (220) may include a function that processes objects such as the sky, bushes, and / or skin by applying different parameters to them. According to one embodiment, the ISP (220) may detect and display a human face during image capture through an artificial intelligence function, or adjust the brightness, focus, and / or color of the image using the coordinates and information of the face.
[0088] According to one embodiment, the CPU (230) may perform a role corresponding to the processor (120). According to one embodiment, the CPU (230) may decode a user's command, perform arithmetic and logical operations, and / or data processing. For example, the CPU (230) may be responsible for functions such as memory, interpretation, calculation, and control. According to one embodiment, the CPU (230) may control the overall functions of the electronic device (101). For example, the CPU (230) may execute all software (e.g., applications) of the electronic device (101) on top of an operating system (OS) and control hardware devices.
[0089] According to one embodiment, the CPU (230) may include a single processor core or multiple processor cores (multi-core). According to one embodiment, the CPU (230) may control the overall operation of the processor (120) to execute an application and perform neural network-based tasks required according to the execution of the application.
[0090] According to one embodiment, the NPU (240) may be responsible for processing optimized for artificial intelligence deep-learning algorithms. According to one embodiment, the NPU (240) is a processor optimized for deep-learning algorithm operations (e.g., artificial intelligence operations) and can process big data quickly and efficiently like a human neural network. For example, the NPU (240) may be mainly used for artificial intelligence operations. According to one embodiment, the NPU (240) may recognize objects, environments, and / or people in the background when taking a video through the camera module (180) and automatically adjust the focus, automatically switch the shooting mode of the camera module (180) to food mode when taking a picture of food, and / or be responsible for processing only the deletion of unnecessary subjects from the taken result.
[0091] According to one embodiment, the electronic device (101) can support integrated machine learning processing by interacting with all processors such as the GPU (210), the ISP (220), the CPU (230), and the NPU (240).
[0092] In one embodiment, the DSP (250) may represent an integrated circuit that facilitates rapid processing of digital signals. In one embodiment, the DSP (250) may perform the function of converting analog signals into digital signals and performing high-speed processing.
[0093] According to one embodiment, the modem (260) may perform a role that enables the use of various communication functions in the electronic device (101). For example, the modem (260) may support communications such as phone calls and data transmission and reception by exchanging signals with a base station. According to one embodiment, the modem (260) may include an integrated modem (e.g., a cellular modem, an LTE modem, a 5G modem, a 5G-Advanced modem, and a 6G modem) that supports communication technologies such as LTE and 2G to 5G. According to one embodiment, the modem (260) may include an artificial intelligence modem that applies an artificial intelligence algorithm.
[0094] In one embodiment, the connectivity (270) may support wireless data transmission based on IEEE 802.11. In one embodiment, the connectivity (270) may support communication services based on IEEE 802.11 (e.g., Wi-Fi) and / or 802.15 (e.g., Bluetooth, ZigBee, UWB). For example, the connectivity (270) may support communication services targeting an unspecified number of people in a localized area, such as indoors, using an unlicensed band.
[0095] According to one embodiment, security (280) may provide an independent security execution environment between data or services stored in the electronic device (101). According to one embodiment, security (280) may play a role in preventing and / or reducing hacking from the outside through software and hardware security during the process of user authentication when providing services such as biometrics, mobile identification, and / or payment of the electronic device (101). For example, security (280) may provide an independent security execution environment for device security for reinforcing the security of the electronic device (101) itself and for security services based on user information such as mobile identification, payment, and car keys in the electronic device (101).
[0096] According to one embodiment, the operations performed by the processor (120) may be implemented by executing instructions stored in a recording medium (or a computer program product). For example, the recording medium may include a non-transitory computer-readable recording medium having recorded thereon a program for executing various operations performed by the processor (120).
[0097] The embodiments described in the present disclosure may be implemented in a computer-readable recording medium using software, hardware, or a combination thereof. In a hardware implementation, the operations described in one embodiment may be implemented using at least one of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, and / or other electrical units for performing functions.
[0098] In one embodiment, a computer-readable recording medium (or computer program product) having recorded thereon a program that causes an electronic device to perform various operations may include a computer-readable recording medium having recorded thereon a program that causes an electronic device to perform operations such as: separating a main object and a background object from a given image; determining a display size of a designated display on which the image is to be displayed; editing (or modifying) each of the main object and the background object in accordance with the display size; combining the edited main object and the edited background object to generate an edited image in accordance with the display size of the designated display; and displaying the edited image through the designated display.
[0099] FIGS. 3A, 3B, and 3C are drawings illustrating examples of various form factors of an electronic device according to one embodiment of the present disclosure.
[0100] According to one embodiment, FIGS. 3A, 3B, and 3C may illustrate examples of various form factors of an electronic device (101) according to various display types. According to one embodiment, the electronic device (101) may include various form factors such as a bar type or a plate type, foldable, rollable, and / or slidable. According to one embodiment, as illustrated in FIGS. 3A, 3B, and 3C, the electronic device (101) may be implemented in various forms, and depending on the implementation form of the electronic device (101), the display (e.g., the display module (160) of FIG. 1 or the display (290) of FIG. 2) may be provided in various ways.
[0101] Although the electronic device (101) according to one embodiment disclosed in this document is described as an electronic device (101) having a foldable form factor (e.g., a foldable device), the electronic device (101) and its operation according to various embodiments are not limited thereto. For example, the electronic device (101) may have various form factors, such as a bar-shaped or flat-panel type, a rollable type, and / or a slideable type, and may also operate accordingly. For example, the illustrated electronic device (101) may be part of a bar-shaped or flat-panel type device, a foldable device, a rollable device, or a slideable device.
[0102] According to one embodiment, the electronic device (101) illustrated in FIGS. 3A, 3B, and 3C may represent an electronic device that is foldable so that two different areas of a main display (e.g., the display module (160) of FIG. 1 or the display (290) of FIG. 2) face each other, although not shown. Typically, when carrying the electronic device (101), the user may fold the display of the electronic device (101) so that the two different areas face each other, and when actually using the electronic device (101), the user may unfold the display so that the two different areas form a substantially flat surface. According to one embodiment, the electronic device (101) may include a cover display (310, 320, 330) (e.g., the display module (160) of FIG. 1 or the display (290) of FIG. 2) as illustrated in FIGS. 3A, 3B, and 3C.
[0103] According to one embodiment, the electronic device (101) may include a form factor that includes at least two display surfaces (e.g., a first display surface and a second display surface) based on at least one folding axis. Various embodiments are not limited thereto, which are exemplary and do not limit the number of folding axes that the electronic device (101) may have. According to one embodiment, the electronic device (101) may have a display that can be folded or unfolded in various ways (e.g., in-folding, out-folding, or in / out folding) depending on the implementation form.
[0104] According to one embodiment, FIGS. 3A and 3B may illustrate examples of an electronic device (101) in a vertically foldable form. According to one embodiment, FIG. 3C may illustrate examples of an electronic device (101) in a horizontally foldable form. According to one embodiment, as illustrated in FIGS. 3A, 3B, and 3C, the display of the electronic device (101) may have various specifications of the display (e.g., main display and / or cover display) depending on the form factor of the electronic device (101).
[0105] According to one embodiment, the display of the electronic device (101) may vary in terms of screen size (e.g., length of the screen diagonal), resolution, aspect ratio (e.g., aspect ratio according to resolution), and display form (e.g., width / height ratio) of the display, and is not limited to the examples described above. In one embodiment, the term “display size” used in connection with editing an image in the following description may be used to encompass at least one display specification of the examples described above. For example, the term “display size” herein may include hardware specifications (e.g., screen size) and / or software specifications (e.g., resolution, aspect ratio, width / height ratio) of the display. For example, the term “display size” may be used interchangeably with terms such as screen size, resolution, aspect ratio, and display form of the display.
[0106] According to one embodiment, when the electronic device (101) has a form factor of a foldable device, such as the examples of FIGS. 3A, 3B, and 3C, the electronic device (101) may include a main display (not shown) having a first display size (e.g., a first screen size and a first screen ratio) operable in a first state (e.g., an unfolded state or an open state). According to one embodiment, when the electronic device (101) has a form factor of a foldable device, the electronic device (101) may include a cover display (310, 320, 330) having a second display size (e.g., a second screen size and a second screen ratio) different from the first display size operable in a second state (e.g., a folded state or a closed state) and / or in the first state.
[0107] According to one embodiment, FIGS. 3A, 3B, and 3C may illustrate examples of the cover displays (310, 320, 330) operating in a second state of the electronic device (101). For example, examples of a state in which a background screen set by a user is displayed through the cover displays (310, 320, 330) may be illustrated. According to one embodiment, the cover displays (310, 320, 330) may have different display shapes and display sizes depending on the form factor of the electronic device (101). For example, as illustrated in FIGS. 3A, 3B, and 3C, the cover displays (310, 320, 330) of the electronic device (101) may be provided in different shapes (e.g., the size of an image for a background screen, an alignment reference position of an object within an image) depending on the display size (or screen resolution).
[0108] In one embodiment, although not shown in FIGS. 3A, 3B, and 3C, if the electronic device (101) has a form factor of a rollable / slidable device, the electronic device (101) may include a main display having a third display size operable in a third state (e.g., a closed state or a slide-in state). In one embodiment, if the electronic device (101) has a form factor of a rollable / slidable device, the electronic device (101) may include an extended display having a fourth display size different from the third display size operable in a fourth state (e.g., an open state or a slide-out state).
[0109] In one embodiment, the form factor of the electronic device (101) and the type, shape, and / or size of the display (e.g., main display, cover display, and / or extended display) according to the form factor are not limited to the examples described above, and may be implemented in various ways according to the form factor of the electronic device (101). According to one embodiment, the electronic device (101) may include a form factor such as a foldable & slideable hybrid device.
[0110] According to one embodiment, the electronic device (101) may display (e.g., provide as a wallpaper) an image that has been edited (or modified) to correspond to a display size according to a form factor of the electronic device (101) (e.g., various form factors such as the examples of FIGS. 3A, 3B, and 3C) when setting a wallpaper of the electronic device (101). In accordance with an embodiment of the present disclosure, displaying an image according to a display size (e.g., supporting wallpaper setting) will be described in detail with reference to the drawings described below.
[0111] An electronic device (101) according to one embodiment of the present disclosure may include a display (e.g., a display module (160) of FIG. 1 or a display (290) of FIG. 2), a memory (e.g., a memory (130) of FIG. 1 or 2), and at least one processor (e.g., a processor (120) of FIG. 1 or 2) operatively connected to the display and processing circuitry.
[0112] According to one embodiment, the processor (120) may be operable to separate a main object and a background object from a given image. According to one embodiment, the processor (120) may be operable to determine a display size of a designated display on which the image is to be displayed. According to one embodiment, the processor (120) may be operable to edit (or modify) each of the main object and the background object in response to the display size. According to one embodiment, the processor (120) may be operable to combine the edited main object and the edited background object to generate an image edited in response to the display size of the designated display. According to one embodiment, the processor (120) may be operable to display the edited image through the designated display.
[0113] According to one embodiment, the processor (120) may be operable to display an image on a first display. According to one embodiment, the processor (120) may be operable to separate the image into a main object and a background object. According to one embodiment, the processor (120) may be operable to determine a second display on which the edited image is to be displayed. According to one embodiment, the processor (120) may be operable to edit each of the main object and the background object based on a display size of the second display. According to one embodiment, the processor (120) may be operable to generate the edited image by combining the edited main object and the edited background object. According to one embodiment, the processor (120) may be operable to display the edited image through the second display.
[0114] According to one embodiment, the processor (120) may operate to improve the quality of the edited image based on the execution of a designated function for improving image quality when the edited image is generated.
[0115] According to one embodiment, the processor (120) may operate to display an image specified by a user on a display (e.g., a first display), detect a user input for setting a background screen based on the specified image, determine a display size of a specified display (e.g., a second display) on which the background screen is to be set, edit the specified image in response to the display size, and set the edited image as a background screen of the specified display.
[0116] According to one embodiment, the display (e.g., first display) for displaying the image and the designated display (e.g., second display) for displaying the edited image may be the same display, or may include different displays having different display sizes.
[0117] According to one embodiment, the processor (120) may be operable to determine the display size of the selected display based on a user input selecting the display on which the image is to be displayed.
[0118] According to one embodiment, the processor (120) may be operable to analyze the entire image frame of the video and determine the main object based on the entire image frame.
[0119] According to one embodiment, when a main object is determined in the image, the processor (120) may operate to identify objects other than the main object in the image as background objects, and separate the main object and background objects in the image into independent objects.
[0120] According to one embodiment, the processor (120) may operate to independently edit the main object and the background object by separating them from the image.
[0121] In one embodiment, editing the main object may include first adjusting the main object based on the display size. In one embodiment, editing the background object may include second adjusting the background object based on the display size.
[0122] According to one embodiment, the processor (120) may be operable to perform editing to resize and / or adjust the position of the main object so that the main object is displayed within the second display, and to perform editing to draw or crop the background object based on the main object.
[0123] According to one embodiment, the processor (120) may operate to independently edit a main object and a background object in an image, and then recombine and store the edited main object and the edited background object.
[0124] According to one embodiment, the processor (120) may be configured to determine whether the main object is an animation object, determine whether the entire main object is included within the screen if the main object is not an animation object, process the placement of the object based on a first processing method if the entire main object is included within the screen, and process the placement of the object based on a second processing method if the entire main object is not included within the screen.
[0125] According to one embodiment, the processor (120) may be operable to determine whether a background object includes a specified condition when the main object is an animation object, determine whether the background object is animated together with the main object when the background object does not include the specified condition, process the placement of the object based on a third processing method when the background object is not animated together with the main object, and process the placement of the object based on a fourth processing method when the background object is animated together with the main object.
[0126] According to one embodiment, the processor (120) may be operable to determine whether the entire main object is included within the screen when the background object includes a specified condition, process the placement of the object based on the fifth processing method when the entire main object is included within the screen, and process the placement of the object based on the sixth processing method when the entire main object is not included within the screen.
[0127] In one embodiment, the first processing method may include a processing method that positions the main object at the center of the screen. In one embodiment, the second processing method may include a processing method that aligns the position of the main object based on the surface where the main object touches the edge of the screen.
[0128] According to one embodiment, the processor (120) may operate to place the main object at the center of the screen according to the display size based on the first processing method determination. According to one embodiment, the processor (120) may operate to place the main object by aligning it to the cross-section where the main object touches based on the second processing method determination.
[0129] In one embodiment, the specified condition may include a condition in which the background object has a characteristic point such as a certain color and / or pattern. In one embodiment, the third processing method may include a processing method for specifying the location of the main object. In one embodiment, the fourth processing method may include a processing method for filling the entire screen of the display size by processing an image including the main object and the background object based on a specified image processing technology.
[0130] In one embodiment, the processor (120) may determine that there is no background object based on the third processing method determination and operate to designate the location of the main object. In one embodiment, the processor (120) may operate to fill the image to fit the display size using an outpainting technique based on the fourth processing method determination.
[0131] According to one embodiment, the fifth processing method and the sixth processing method may include a processing method for processing the main object and the background object together.
[0132] According to one embodiment, the processor (120) may operate to place the main object at the center of the screen according to the display size based on the fifth processing method determination, and adjust the color and pattern of the background object in an area excluding the main object to fit the display size based on the position of the main object. According to one embodiment, the processor (120) may operate to place the main object so as to be aligned with the cross-section where the main objects touch, and adjust the color and pattern of the background object in an area excluding the main object to fit the display size based on the position of the main object.
[0133] Hereinafter, the operating method of the electronic device (101) of various embodiments will be described in detail. The operations performed in the electronic device (101) according to various embodiments may be executed by the processor (120) including various processing circuitry and / or executable program elements of the electronic device (101). According to one embodiment, the operations performed in the electronic device (101) may be stored in the memory (130) and individually and / or collectively performed by at least one processor (e.g., the processor (120) of FIG. 1 or 2).
[0134] FIG. 4 is a flowchart illustrating a method of operating an electronic device according to one embodiment of the present disclosure.
[0135] FIGS. 5A, 5B, and 5C are diagrams illustrating examples of supporting image settings in an electronic device according to one embodiment of the present disclosure.
[0136] According to one embodiment, FIG. 4 may illustrate an example of a method for supporting setting an image to fit the display size of an electronic device (101) according to one embodiment. According to one embodiment, FIGS. 5A, 5B, and 5C may illustrate screen examples related to an operation for supporting setting an image (e.g., setting a background screen and / or a lock screen) to fit the display size of an electronic device (101).
[0137] In an electronic device according to an embodiment of the present disclosure (e.g., the electronic device (101) of FIG. 1 or 2), a method for supporting image settings may be performed, for example, according to a flowchart illustrated in FIG. 4. The flowchart illustrated in FIG. 4 is an example according to an embodiment of an operation of the electronic device (101), and the order of at least some operations may be changed or performed in parallel, performed as independent operations, or at least some other operations may be performed complementarily to at least some operations. According to an embodiment of the present disclosure, operations 401 to 411 may be performed in at least one processor of the electronic device (101) (e.g., the processor (120) of FIG. 1 or 2).
[0138] As illustrated in FIG. 4, an operation method performed by an electronic device (101) according to one embodiment may include an operation (401) of detecting the execution of an application, an operation (403) of displaying an image specified by a user on a display, an operation (405) of detecting a user input related to setting a background screen, an operation (407) of determining a display size of a display on which a background screen is to be set, an operation (409) of editing (or modifying) an image corresponding to the display size, and an operation (411) of setting the edited image as a background screen of the display.
[0139] Referring to FIG. 4, in operation 401, the processor (120) of the electronic device (101) may detect the execution of an application. According to one embodiment, a user may perform a user input (e.g., selecting an application icon) to command the electronic device (101) to execute an application (e.g., a gallery application) designated for setting a background screen by manipulating the electronic device (101) (e.g., user input). According to one embodiment, the processor (120) may execute the application (e.g., the gallery application) based on the user input.
[0140] In operation 403, the processor (120) may perform an operation of displaying an image specified by the user on the display. According to one embodiment, the processor (120) may provide thumbnails related to images stored in the memory (130) of the electronic device (101) based on the execution of the application, and an image related to one of the thumbnails according to the settings of the electronic device (101) among the thumbnails (e.g., an image of priority according to the sorting order of the thumbnails (e.g., a recent image)) through a display (e.g., the display (290) of FIG. 2). According to one embodiment, the specified video may include images in various formats (e.g., still images (e.g., joint photographic experts group (JPEG) images, portable network graphics (PNG) images, bitmap (BMP) images), animation images (e.g., graphics interchange format (GIF) images, webp images)) and videos in various formats (e.g., moving picture experts group (MPEG)-4 (MP4) videos, audio visual interleave (AVI) videos, matroska multimedia container for video (MKV) videos). In one embodiment, the videos are not limited to the formats of the examples described above.
[0141] In one embodiment, a user may perform a user input to select a thumbnail of an image to be edited (or displayed) from the thumbnails. For example, the user may select a thumbnail of an image to be edited (or modified) to fit the display of the electronic device (101). In one embodiment, the user may save the image edited to fit the display of the electronic device (101), share it with other users, and / or set it as the background image of the electronic device (101). In one embodiment, the processor (120) may control the display to display an image of a designated (or selected) thumbnail according to the user input. An example of this is illustrated in FIG. 5A.
[0142] According to one embodiment, FIG. 5A may illustrate an example of a gallery application running on an electronic device (101) and an execution screen of the gallery application. As illustrated in FIG. 5A, thumbnails (520) (or a thumbnail list) of images stored in a memory (130) of the electronic device (101) and an image (510) corresponding to a thumbnail (530) selected by a user from among the thumbnails (520) may be provided on the display (290) of the electronic device (101).
[0143] At step 405, the processor (120) may perform an operation to detect user input related to editing an image. In one embodiment, the processor (120) may receive user input that causes an operation to edit the displayed image to fit the display. An example of this is illustrated in FIG. 5B.
[0144] According to one embodiment, FIG. 5B may illustrate an example of a related screen provided in response to a user input to edit an image (e.g., image (510) of FIG. 5A) on an electronic device (101). As illustrated in FIG. 5B, a menu (540) that allows selection (or execution) of a function that can be executed based on a specified image (e.g., image (510) of FIG. 5A) may be provided on an execution screen (e.g., execution screen of FIG. 5A) displayed on a display (290) of the electronic device (101). According to one embodiment, the menu (540) may include designated objects (e.g., text and / or icons) related to a first function (e.g., Details) for providing detailed information related to the image, a second function (e.g., Remaster GIF) for correcting the quality of the image, a third function (e.g., Set as wallpaper) for setting a wallpaper based on the image, a fourth function (e.g., Move to Secure Folder) for moving the storage path of the image (e.g., moving to a secure folder), and / or a fifth function (e.g., Print) for printing the image. In one embodiment, the menu (540) may be provided as a pop-up window. In one embodiment, the pop-up window for the menu (540) may be provided by overlapping, overlaying, or superimposing the execution screen.
[0145] According to one embodiment, a user may perform a user input of selecting (e.g., touching) an object (550) related to a function (e.g., a third function) to edit a currently displayed image (e.g., an image (510) of FIG. 5A) to fit the display and set it as a wallpaper based on a menu (540). According to one embodiment, the processor (120) may perform an operation of editing the displayed image to fit the display based on a user input of selecting an object (550) from the menu (540).
[0146] In operation 407, the processor (120) may perform an operation of determining a display size of a display on which an image is to be provided (or displayed). For example, the processor (120) may determine a display size of a display on which an image is to be set as a background image. According to one embodiment, the processor (120) may perform an operation of determining a display size automatically and / or manually according to a setting of the electronic device (101). According to one embodiment, the processor (120) may identify a display size designated for each display (e.g., a main display and a cover display) formed according to a form factor of the electronic device (101).
[0147] In one embodiment, the processor (120) may identify a designated display size of a predefined display (e.g., a main display or a cover display) associated with displaying an image (e.g., setting a background image) among all displays. In one embodiment, the processor (120) may identify a designated display size of a currently operating display (e.g., a main display or a cover display). In one embodiment, the processor (120) may receive a user input based on a menu for selecting a display on which to display an image (e.g., setting a background image based on an image), and identify a display size of a display corresponding to the user input. In one embodiment, an example related to identifying a display size based on a user input is illustrated in FIG. 5C.
[0148] According to one embodiment, FIG. 5C may illustrate an example of a related screen that supports selecting a display, a mode of the display, and / or a display size for displaying an image in an electronic device (101). As illustrated in FIG. 5C, a menu (560) may be provided on the display (290) to select (or execute) options related to editing of an image, such as an operation mode (e.g., portrait mode or landscape mode) of a display on which a specified image (e.g., image (510) of FIG. 5A) will be displayed (e.g., a wallpaper will be set), a display on which the image will be displayed (e.g., Cover, Wallpaper), and / or an aspect ratio (or resolution) of the image to be displayed (e.g., 1:1, 3:4, 9:16, Full).
[0149] In one embodiment, the menu (560) may include a first submenu (570) for setting the operating mode of the display (e.g., portrait mode or landscape mode) on which the image will be displayed, and a second submenu (580) for setting the display on which the image will be displayed (e.g., Cover, Wallpaper) and / or the aspect ratio of the image to be displayed (e.g., 1:1, 3:4, 9:16, Full). In one embodiment, the menu (560) may be provided as a replacement for a thumbnail based on an area in which a thumbnail (e.g., thumbnail (520) of FIG. 5A) is provided.
[0150] According to one embodiment, the user may select at least one object (e.g., text and / or icon) of an option related to editing based on the currently displayed image (e.g., image (510) of FIG. 5A) based on the menu (560). According to one embodiment, the user may perform a user input to select an object of an operation mode in which the image will be displayed (e.g., a portrait icon or a landscape icon), select a display on which the image will be displayed (e.g., a Cover text or a Wallpaper text), and / or select (e.g., by touching) an aspect ratio (or resolution) of the image (e.g., 1:1 text, 3:4 text, 9:16 text, or Full text). According to one embodiment, the processor (120) may perform an operation of determining a display size of a display on which the image will be displayed based on the user input of selecting at least one object from the menu (560).
[0151] According to one embodiment, although not shown in the drawing, the electronic device (101) may also provide an interface related to a function (e.g., an image enhancement function (e.g., a remaster function)) for improving the quality of a specified image (e.g., image quality correction) in a screen for setting options for image editing, such as FIG. 5c. For example, the image enhancement function (e.g., a remaster function) may refer to a function of automatically analyzing and correcting the resolution, brightness, color, sharpness, backlight, and / or shaking of an image through AI in the electronic device (101).
[0152] In operation 409, the processor (120) may perform an operation of editing an image in accordance with the display size. According to one embodiment, the processor (120) may extract a main object from the image. According to one embodiment, the processor (120) may separate a main object and a background object from the image. According to one embodiment, the processor (120) may edit (e.g., resize) a main object of the image to fit the display size. According to one embodiment, the processor (120) may edit (e.g., outpaint, draw, or fill in) a background object of the image to fit the display size. According to one embodiment, the processor (120) may further perform a correction operation (e.g., an image enhancement function) to improve the quality of the image based on the edited main object and background object. According to one embodiment, an operation of editing an image in accordance with the display size will be described with reference to the drawings described below.
[0153] In operation 411, the processor (120) may perform an operation of providing an edited image. According to one embodiment, the processor (120) may perform an operation of displaying the edited image through a designated display, storing the edited image to fit the designated display, transmitting (e.g., sharing) the edited image to at least one designated external device (e.g., another electronic device and / or a cloud server), and / or setting the edited image as a background image of the designated display of the electronic device (101). According to one embodiment, the processor (120) may display an image (e.g., an edited image) optimized for the display size of the designated display through the designated display and provide the image to the user. According to one embodiment, the processor (120) may set an image (e.g., an edited image) optimized for the display size of the designated display as a background image of the designated display and provide the image to the user. According to one embodiment, the processor (120) may perform an operation of storing the edited image in the memory (130), and when storing the edited image in the memory (130), may perform an operation of mapping and storing the edited image as a background image of the designated display.
[0154] FIG. 6 is a flowchart illustrating a method of operating an electronic device according to one embodiment of the present disclosure.
[0155] According to one embodiment, FIG. 6 may illustrate an example of a method for supporting setting a wallpaper according to a display size of an electronic device (101) according to one embodiment. According to one embodiment, FIG. 6 may illustrate an example of a method for editing an image according to a display size of a display designated for setting a wallpaper in an electronic device (101).
[0156] In an electronic device (101) according to one embodiment of the present disclosure, a method for supporting background screen setting may be performed, for example, according to a flowchart illustrated in FIG. 6. The flowchart illustrated in FIG. 6 is an example according to one embodiment of an operation of the electronic device (101), and the order of at least some operations may be changed or performed in parallel, performed as independent operations, or at least some other operations may be performed complementarily to at least some operations. According to one embodiment of the present disclosure, operations 601 to 611 may be performed in at least one processor of the electronic device (101) (e.g., the processor 120 of FIG. 1 or 2).
[0157] According to one embodiment, the operation described in FIG. 6 may be performed heuristically, for example, in combination with the operations described in FIGS. 4 to 5c, or may be performed heuristically as a detailed operation of at least some of the operations described.
[0158] As illustrated in FIG. 6, an operation method performed by an electronic device (101) according to one embodiment may include an operation of extracting a main object (601), an operation of separating a main object and a background object (603), an operation of editing (e.g., modifying) a main object based on a display size (605), an operation of editing (e.g., modifying) a background object based on a display size (607), an operation of combining a main object and a background object (609), and an operation of storing an image (611).
[0159] Referring to FIG. 6, in operation 601, the processor (120) of the electronic device (101) may perform an operation of extracting a main object. According to one embodiment, the processor (120) may perform an operation of analyzing (e.g., analyzing image quality and / or scene (e.g., outdoors, food, object, person)) the entire image frame of an image (e.g., image (510) of FIG. 5A). According to one embodiment, the processor (120) may extract a main object (e.g., an anchoring object) from all image frames of the image in the analyzing operation. According to one embodiment, the processor (120) may select a main object based on at least one designated image processing technique (e.g., object detection and / or saliency object detection (SOD)). According to one embodiment, the method of selecting a main object may, for example, select an object that satisfies a designated condition as the main object rather than all objects when various objects exist in a given image. For example, when various objects exist in an image, a flower pot or tree in the background may be difficult to classify as the main object, even though it is an object. Therefore, when selecting the main object, the processor (120) may select the main object based on object detection and / or important object detection technology using AI-based machine learning (ML).
[0160] According to one embodiment, various types of objects can be defined based on object detection technology. For example, based on object detection technology, we can detect 'car', 'motorcycle', 'bus', 'truck', 'traffic light', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'sandwich', 'broccoli', 'carrot', 'pizza', 'donut', Many different kinds of objects can be defined, such as 'cake', 'couch', 'bed', 'dining table', 'toilet', 'tv', 'mouse', 'keyboard', 'person', 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', 'hair drier', 'toothbrush', 'bicycle', 'airplane', 'train', 'boat', 'fire hydrant', 'skateboard', 'apple', 'orange', 'hot dog', 'chair', 'potted plant', 'laptop', 'remote', 'cell phone', 'surfboard'.
[0161] Accordingly, the electronic device (101) may determine in advance which type of object among various types of objects to select as the main object and store it, and / or may allow the user to specify in advance the type of object to be selected. For example, the electronic device may select designated (or selected) objects such as 'person', 'car', 'airplane', 'cat', 'dog', 'sheep', 'cow', 'elephant', 'bear', 'zebra', 'giraffe', 'sports ball', 'kite', 'baseball glove', 'apple', 'cell phone', 'bicycle', 'bird', 'horse', 'frisbee', 'baseball bat', and 'orange' as the main object.
[0162] In one embodiment, saliency object detection technology may refer to a technique for finding objects of interest (e.g., objects of interest) within an image. For example, a machine learning model may be trained by inputting information such as the gaze of multiple users, the spaces where users frequently spend time, and / or information deemed important by the user, and then the main object may be selected based on the objects corresponding to the training.
[0163] In one embodiment, in addition to the main object selection method based on object detection and / or important object detection technology, the main object may also be selected based on the size of the object, color change and movement of the object, and / or user intervention.
[0164] In one embodiment, when using the size of an object, the importance of the object can be determined based on the proportion of the object's area in the image. For example, when using the size of an object, whether the number of pixels of the object detected in the image exceeds approximately p% (e.g., p is a natural number) of the total number of pixels can be used to select the object as the main object. For example, approximately p% can be set to approximately 10%.
[0165] In one embodiment, in the case of a method using color change and movement of an object, a method of selecting an object as a main object may be indicated if the color change of an object in each image frame of the video is about α% or more (e.g., α is a natural number) or the position of the object moves by β (e.g., β is a natural number) pixels or more.
[0166] In one embodiment, the user intervention-based selection method may indicate a method that allows the user to directly specify the main object when an error occurs in selecting the main object in an automated method as described above (e.g., a method based on object detection, central object detection, object size, and / or object color change and movement).
[0167] In operation 603, the processor (120) may perform an operation of separating the main object and the background object. According to one embodiment, when the main object is determined in the image, the processor (120) may identify the remaining objects in the image, excluding the main object, as background objects. According to one embodiment, the processor (120) may separate the main object extracted from the image and the identified background object into independent objects.
[0168] In operation 605, the processor (120) may perform an operation of editing the main object based on the display size. According to one embodiment, the processor (120) may perform an operation of resizing the main object to a specified size corresponding to the display size (e.g., adjusting the size of the main object (e.g., increasing or decreasing)) and / or adjusting the position of the main object (e.g., aligning or disposing) corresponding to the display size. For example, the processor (120) may resize the main object to fit the display size so that it is not cut off. According to one embodiment, an operation of editing the main object corresponding to the display size will be described with reference to the drawings described below.
[0169] In operation 607, the processor (120) may perform an operation of editing a background object based on the display size. According to one embodiment, the processor (120) may perform an operation of drawing and / or filling in a background object corresponding to the display size. For example, the processor (120) may fill an area other than the main object in the image with a background object corresponding to the display size. According to one embodiment, the operation of editing a background object corresponding to the display size will be described with reference to the drawings described below.
[0170] In operation 609, the processor (120) may perform an operation of combining the main object and the background object. According to one embodiment, the processor (120) may edit an image as illustrated in FIG. 6 and perform an operation of combining the edited main object and the edited background object (e.g., object capture (or object segmentation)). For example, the processor (120) may separate the main object and the background object from the image, independently edit them, and then combine the edited main object and the edited background object again.
[0171] In operation 611, the processor (120) may perform an operation of storing an image. According to one embodiment, the processor (120) may store a new image (e.g., an image edited to fit the display size) in which the edited main object and the edited background object are combined in the memory (130). According to one embodiment, when storing the edited image, the processor (120) may execute an image enhancement function (e.g., execute a remaster function) to correct the image (e.g., correct the resolution and / or correct the quality), and store the corrected image.
[0172] FIG. 7 is a flowchart illustrating a method of operating an electronic device according to one embodiment of the present disclosure.
[0173] According to one embodiment, FIG. 7 may illustrate an example of a method for supporting setting a wallpaper according to a display size of an electronic device (101) according to one embodiment. According to one embodiment, FIG. 7 may illustrate an example of a method for editing an image according to a display size of a display designated for setting a wallpaper in an electronic device (101).
[0174] In an electronic device (101) according to one embodiment of the present disclosure, a method for supporting background screen setting may be performed, for example, according to a flowchart illustrated in FIG. 7. The flowchart illustrated in FIG. 7 is an example according to one embodiment of an operation of the electronic device (101), and the order of at least some operations may be changed or performed in parallel, performed as independent operations, or at least some other operations may be performed complementarily to at least some operations. According to one embodiment of the present disclosure, operations 701 to 725 may be performed in at least one processor of the electronic device (101) (e.g., the processor 120 of FIG. 1 or 2 ).
[0175] According to one embodiment, the operation described in FIG. 7 may be performed heuristically, for example, in combination with the operations described in FIGS. 4 to 6, or may be performed heuristically as a detailed operation of at least some of the operations described.
[0176] As illustrated in FIG. 7, the operation method performed by the electronic device (101) according to one embodiment includes: an operation (701) of analyzing a main object and a background object; an operation (703) of determining whether the main object is an animated object; an operation (705) of determining whether the entire main object is included in the screen if the main object is not an animated object; an operation (709) of processing the placement of objects based on a first processing method if the entire main object is included in the screen; an operation (711) of processing the placement of objects based on a second processing method if the entire main object is not included in the screen; an operation (713) of determining whether a background object includes a specified condition if the main object is an animated object; an operation (715) of determining whether the background object is animated together with the main object if the background object does not include the specified condition; an operation (717) of processing the placement of objects based on a third processing method if the background object is not animated together with the main object; an operation (719) of processing the placement of objects based on a fourth processing method if the background object is animated together with the main object; and an operation (720) of processing the placement of objects based on a fourth processing method if the background object includes the specified condition. It may include an operation (721) for determining whether the entire object is included within the screen, an operation (723) for processing the placement of the object based on the fifth processing method if the entire main object is included within the screen, and an operation (725) for processing the placement of the object based on the sixth processing method if the entire main object is not included within the screen.
[0177] Referring to FIG. 7, in operation 701, the processor (120) of the electronic device (101) may perform an operation of analyzing a main object and a background object. According to one embodiment, the processor (120) may first perform an operation of analyzing the entire image frame of the video (e.g., analyzing image quality, scene (e.g., outdoors, food, object, person)). According to one embodiment, the processor (120) may perform an operation of distinguishing and separating the main object and the background object from all image frames of the video during the analysis operation. According to one embodiment, the processor (120) may separate the main object and the background object based on various image processing techniques for extracting the main object as described above. According to one embodiment, the processor (120) may individually perform object analysis on the separated main object and background object. For example, the processor (120) may perform object analysis to determine the size, position, presence or absence of a background, movement (e.g., animation), color, and / or pattern of the object for the video.
[0178] In operation 703, the processor (120) may perform an operation for determining whether the main object is an animation object. According to one embodiment, the processor (120) may determine whether the main object extracted from a given image is an animation object that provides a moving animation based on a plurality of image frames.
[0179] In operation 703, if the main object is not an animation object (e.g., 'No' in operation 703), in operation 705, the processor (120) may perform an operation of determining whether the entire main object is included in the screen. According to one embodiment, the processor (120) may determine whether the entire main object is shown (or included) in the screen according to a specified display size. According to one embodiment, the processor (120) may determine whether at least a portion of the main object is aligned with an edge of the screen (e.g., at least one of the top, bottom, left, and right sides of the screen) based on edge detection based on the main object.
[0180] According to one embodiment, the processor (120) may determine that the main object is not fully contained within the screen and is cropped when the pixel coordinates of the main object are adjacent to the edge of the screen. According to one embodiment, the processor (120) may determine that the main object is fully contained within the screen when the pixel coordinates of the main object are not adjacent to the edge of the screen. According to one embodiment, the processor (120) may set an arbitrary distance 'α' (e.g., α is approximately 3 pixels by default) and, if the boundary (or edge) of the image exists within the designated 'α' distance from the pixels of the image (e.g., pixels of the object), the processor may determine that the main object is a cropped image. For example, if the height of the image is approximately 180 pixels, and the y-coordinate of the pixel of the main object is approximately 179 pixels, the processor may determine that the main object is cropped. According to one embodiment, an operation for determining whether the entire main object is contained within the screen is described with reference to the drawings described below.
[0181] In operation 705, if the entire main object is included within the screen (e.g., 'Yes' in operation 705), in operation 709, the processor (120) may perform an operation of processing the placement of the object based on the first processing method. In one embodiment, the first processing method may include a processing method of designating the location of the main object as the center of the screen. For example, the processor (120) may place the location of the main object at the center of the screen (e.g., the center of the screen according to the display size) based on the determination of the first processing method.
[0182] In operation 705, if the entire main object is not included in the screen (e.g., 'No' in operation 705), in operation 711, an operation for processing the placement of objects may be performed based on a second processing method. In one embodiment, the second processing method may include a processing method for aligning the position of the main object based on a surface where the main object touches an edge of the screen. For example, if the main object is aligned or cut based on at least one surface of the screen, the processor (120) may place the main object so as to be aligned with the surface where the main object touches, based on the determination of the second processing method.
[0183] In operation 703, if the main object is an animation object (e.g., 'yes' in operation 703), in operation 713, the processor (120) may perform an operation of determining whether the background object includes a specified condition. In one embodiment, the specified condition may include a condition in which the background object has a characteristic point such as a constant color and / or pattern. According to one embodiment, the processor (120) may determine whether the background object is an object included in the specified condition based on whether the background object has a constant color or pattern.
[0184] In operation 713, if the background object does not include the specified condition (e.g., 'No' in operation 713), in operation 715, the processor (120) may perform an operation of determining whether the background object is animated together with the main object. According to one embodiment, the processor (120) may determine whether the background object extracted from the given image is an animation object that provides a moving animation based on a plurality of image frames.
[0185] In operation 715, if the background object is not animated together with the main object (e.g., 'No' in operation 715), in operation 717, the processor (120) may perform an operation for processing the placement of objects based on a third processing method. In one embodiment, the third processing method may include a processing method for specifying the position of the main object. For example, the third processing method may correspond to the first processing method or the second processing method. According to one embodiment, if the background object does not include a specified condition and the background object is not animated together with the main object, the processor (120) may determine that there is no background and may operate to specify only the position of the main object.
[0186] In operation 715, if the background object is animated together with the main object (e.g., 'Yes' in operation 715), in operation 719, the processor (120) may perform an operation of processing the placement of objects based on the fourth processing method. In one embodiment, the fourth processing method may include a processing method of filling the entire screen of the display size by processing an image including the main object and the background object based on a designated image processing technique (e.g., an outpainting technique). According to one embodiment, the processor (120) may perform image processing to fill the entire image to fit the display size using the outpainting technique. In one embodiment, the outpainting technique may include an AI-based (e.g., deep learning-based) image generation technique that completes a new image by filling the outside of an image based on a given image (e.g., an original image).
[0187] In operation 713, if the background object includes a specified condition (e.g., 'yes' in operation 713), in operation 721, the processor (120) may perform an operation of determining whether the entire main object is included in the screen. According to one embodiment, the processor (120) may determine whether the entire main object is shown (or included) in the screen according to the specified display size. According to one embodiment, the processor (120) may determine whether at least a portion of the main object is aligned with an edge of the screen (e.g., at least one of the top, bottom, left, and right sides of the screen) based on edge detection based on the main object. According to one embodiment, if the pixel coordinates of the main object are in contact with the edge of the screen, the processor (120) may determine that the main object is not included in the screen but is cut off. According to one embodiment, the processor (120) may determine that the main object is fully contained within the screen if the pixel coordinates of the main object do not touch the edge of the screen. According to one embodiment, an operation for determining whether the entire main object is contained within the screen is described with reference to the drawings described below.
[0188] In operation 721, if the entire main object is included in the screen (e.g., 'Yes' in operation 721), in operation 723, the processor (120) may perform an operation of processing the placement of the object based on the fifth processing method. In one embodiment, the fifth processing method may include a processing method of processing the main object and the background object together. For example, the processor (120) may place the main object at the center of the screen (e.g., the center of the screen according to the display size) based on the fifth processing method determination, and may adjust the color and pattern of the background object in an area excluding the main object to fit the display size based on the position of the main object (e.g., outpainting, drawing, or filling-in).
[0189] In operation 721, if the entire main object is not included in the screen (e.g., 'No' in operation 721), the processor (120) may perform an operation of processing the placement of the object based on the sixth processing method in operation 725. In one embodiment, the sixth processing method may include a processing method of processing the main object and the background object together. For example, if the main object is aligned or cut based on at least one surface of the screen, the processor (120) may, based on the determination of the sixth processing method, place the main object so as to be aligned with the cross-section where the main object touches, and adjust the color and pattern of the background object in the area excluding the main object to fit the display size based on the position of the main object (e.g., outpainting, drawing, or filling-in).
[0190] FIGS. 8A, 8B, 8C, 8D, and 8E are drawings illustrating examples of providing a background screen according to a display size in an electronic device according to one embodiment of the present disclosure.
[0191] In one embodiment, FIG. 8A may illustrate an example of a main object (800) extracted from an image. For example, FIG. 8A is a diagram illustrating an example of a main object (800) separated from a background object in an image. In one embodiment, the main object (800) may be illustrated as a moving animated object. In one embodiment, the main object (800) may be illustrated as an object that is aligned or cropped based on at least a portion of a cross-section of the screen (e.g., a bottom surface).
[0192] In one embodiment, FIG. 8B may illustrate an example of a screen in which a background image is set on a lock screen according to a conventional method in an electronic device (101). As illustrated in FIG. 8B, in the conventional method, the movement (or animation) of the resized main object (810) may be cut off and not visible due to the main object (800) being simply resized to fit the height value of the display.
[0193] In one embodiment, FIGS. 8C, 8D, and 8E may illustrate screen examples in which a background image is set to fit a display size in an electronic device (101) according to an embodiment of the present disclosure. In one embodiment, FIGS. 8C, 8D, and 8E may illustrate examples in which a main object (800) is resized to fit a display size in an electronic device (101) having different display sizes, and the resized main objects (820, 830, and 840) are aligned and arranged on a cross-section (e.g., a bottom surface) of a display (290). For example, in FIGS. 8C, 8D, and 8E, elements 295, 395, and 495 may indicate display areas (295, 395, and 495) of different sizes in which a background image can be displayed in a display (290) having different display sizes depending on a form factor of the electronic device (101). For example, as illustrated in FIGS. 8c, 8d, and 8e, the sizes of display areas (295, 395, 495) where the background image can be displayed may be different depending on the display size.
[0194] Referring to FIG. 8C, the electronic device (101) can resize and arrange the main object (800) extracted from the image to fit the first display size. According to one embodiment, unlike the example of FIG. 8B, the movement (or animation) of the main object (820) resized and arranged to fit the display size can be displayed entirely within the display area (295). According to one embodiment, the electronic device (101) can provide a background screen optimized for the first display size by filling the remaining area, excluding the resized main object (820), in the display area (295) of the background screen of the display (290) with a background object (825).
[0195] Referring to FIG. 8d, the electronic device (101) can resize and arrange the main object (800) extracted from the image to fit the second display size. According to one embodiment, unlike the example of FIG. 8b, the movement (or animation) of the main object (830) resized and arranged to fit the display size can be displayed entirely within the display area (395). According to one embodiment, the electronic device (101) can provide a background screen optimized for the second display size by filling the remaining area, excluding the resized main object (830), in the display area (395) of the background screen of the display (290) with a background object (835).
[0196] Referring to FIG. 8E, the electronic device (101) can resize and arrange the main object (800) extracted from the image to fit the third display size. According to one embodiment, unlike the example of FIG. 8B, the movement (or animation) of the main object (840) resized and arranged to fit the display size can be displayed entirely within the display area (495). According to one embodiment, the electronic device (101) can provide a background screen optimized for the third display size by filling the remaining area, excluding the resized main object (840), in the display area (495) of the background screen of the display (290) with a background object (845).
[0197] FIGS. 9A, 9B, 9C, and 9D are drawings illustrating examples of providing a background screen according to a display size in an electronic device according to one embodiment of the present disclosure.
[0198] In one embodiment, FIG. 9A may illustrate an example of a main object (900) extracted from an image. For example, FIG. 9A is a diagram illustrating an example of a main object (900) separated from a background object in an image. In one embodiment, the main object (900) may be illustrated as a moving animation object. In one embodiment, the main object (900) may be illustrated as an object that is entirely included in the screen.
[0199] In one embodiment, FIGS. 9b, 9c, and 9d may illustrate screen examples in which a background screen is set to fit a display size according to an embodiment of the present disclosure in an electronic device (101). In one embodiment, FIGS. 9b, 9c, and 9d may illustrate examples in which a main object (900) is resized to fit different display sizes in an electronic device (101) having different display sizes, and the resized main objects (910, 920, 930) are placed at the center of the screens of different displays (290) (e.g., the center of the screen according to the display size).
[0200] Referring to FIG. 9B, the electronic device (101) can resize the main object (900) extracted from the image to fit the first display size, and position the resized main object (910) at the center of the screen according to the first display size. According to one embodiment, the electronic device (101) can provide a background image optimized for the first display size by filling the remaining area other than the resized main object (910) in the display area of the background image of the display (290) with a background object.
[0201] Referring to FIG. 9c, the electronic device (101) can resize the main object (900) extracted from the image to fit the second display size, and position the resized main object (920) at the center of the screen according to the second display size. According to one embodiment, the electronic device (101) can provide a background screen optimized for the second display size by filling the remaining area other than the resized main object (920) in the display area of the background screen of the display (290) with a background object.
[0202] Referring to FIG. 9D, the electronic device (101) can resize the main object (900) extracted from the image to fit the third display size, and position the resized main object (930) at the center of the screen according to the third display size. According to one embodiment, the electronic device (101) can provide a background screen optimized for the third display size by filling the remaining area other than the resized main object (930) in the display area of the background screen of the display (290) with a background object.
[0203] FIGS. 10 a and 10 b are diagrams illustrating examples of separating a main object and a background object in an image in an electronic device according to one embodiment of the present disclosure.
[0204] According to one embodiment, FIG. 10A may illustrate an example of an image (1000) including a main object (1010) and a background object (1020). According to one embodiment, FIG. 10A may illustrate an example of a case where the main object (1010) is not entirely included in the screen, but is aligned or cropped based on a cross-section of the screen (e.g., a bottom surface (1030)). For example, FIG. 10A may illustrate an example of a case where a moving main object (1010) in the image (1000) is aligned based on the bottom surface (1030) of the screen, so that the entire main object (1010) is not visible and is obscured (e.g., cropped). In one embodiment, the cropped state of the main object (1010) can be determined based on edge detection based on the main object (1010), based on whether at least a portion of the main object (1010) is aligned with an edge of the screen (e.g., a bottom surface (1030) of the screen). For example, if the pixel coordinates of the main object (1010) are in contact with the edge of the screen, it can be defined that the main object (1010) is not entirely contained within the screen and is cropped. According to one embodiment, if an arbitrary distance 'α' (e.g., α is about 3 pixels by default) is set and the boundary of the image exists within the distance 'α' of the pixels of the image, it can be defined that the main object (1010) is a cropped image. For example, if the image height is about 180 pixels, and the y-coordinate of the pixel of the main object is about 179 pixels, the main object can be defined as being cropped.
[0205] As illustrated in FIG. 10b, the main object (1010) may be extracted from the image (1000) based on the aligned cross-section of the main object (1010), and the main object (1010) and the background object (1020) may be separated from the image (1000). According to one embodiment, the main object (1010) and the background object (1020) may be separated from the image (1000) and individually analyzed and edited. According to one embodiment, when the main object (1010) is determined in the image (1000), the electronic device (101) may distinguish the remaining objects in the image (1000) excluding the main object (1010) as background objects (1020). According to one embodiment, the electronic device (101) may separate the main object (1010) and the background object (1020) from the image (1000) into independent objects.
[0206] According to one embodiment, the electronic device (101) can edit the separated main object (1010) and background object (1020), and combine the edited main object (1010) and the edited background object (1020) using object capture (or object segmentation) technology. For example, the electronic device (101) can separate the main object (1010) and the background object (1020) from the image (1000), independently edit them, and then combine the edited main object (1010) and the edited background object (1020) again.
[0207] FIGS. 11A and 11B are diagrams illustrating examples of distinguishing an alignment state for a main object in an image in an electronic device according to one embodiment of the present disclosure.
[0208] According to one embodiment, FIGS. 11A and 11B may illustrate an example of an operation for determining whether a main object identified from an image is aligned with respect to a screen. For example, FIGS. 11A and 11B may illustrate an example in which at least a portion of a moving main object is cut off with respect to one or more cross-sections of the top, bottom, left, and right sides of the screen.
[0209] According to one embodiment, FIG. 11A may illustrate an example in which a first object (1110) and a second object (1120) are selected as main objects, and at least a portion of the main objects (e.g., the second object (1120)) are not included in the screen and are provided aligned with respect to a cross-section of the screen (e.g., the right side (1130)). According to one embodiment, the electronic device (101) may operate to rearrange the main objects (e.g., the first object (1110) and the second object (1120)) based on the cross-section in which the main objects are aligned. According to one embodiment, FIG. 11A illustrates an example in which the first object (1110) and the second object (1120) are provided as main objects, but in the case in which the first object (1110) is selected as the main object, the main object may be determined to be included in the screen, and an arrangement operation may be processed to position the main object (e.g., the first object (1110)) at the center of the screen.
[0210] According to one embodiment, FIG. 11B may illustrate an example in which at least a portion of a moving main object (1140) is not included within the screen and is provided aligned with respect to two cross-sections of the screen (e.g., a left side (1150) and a bottom side (1160)). According to one embodiment, the electronic device (101) may operate to rearrange the main object (1140) based on the aligned cross-sections of the main object (1140).
[0211] According to one embodiment of the present disclosure, a moving image may be composed of multiple image frames. Accordingly, in the examples described above, the reference image for setting the background image may be selected based on any one of the multiple image frames.
[0212] According to one embodiment, the electronic device (101) may analyze the entire image frame of the video (e.g., image quality analysis and / or scene (e.g., outdoor, food, object, person) analysis) and, based on the analysis result, distinguish and separate the main object and the background object from all image frames of the video. According to one embodiment, the electronic device (101) may separate the main object and the background object based on various image processing techniques for extracting the main object. According to one embodiment, the electronic device (101) may select a target image frame (or representative image frame) for editing based on a plurality of main objects for each image frame. According to one embodiment, the electronic device (101) may process an operation to support setting a background screen by separating the main object and the background object from the target image frame. According to one embodiment, the selection of the target image frame (or representative image frame) for editing may be based on a priority according to a user specification (e.g., learning-based or user intervention-based). In one embodiment, the selection of a target image frame (or representative image frame) for editing may include selecting an image frame that includes an object with significant movement across all image frames. For example, an object with significant movement may include an image frame in which at least a portion of the main object is cropped according to the movement (or animation) of the main object within each image frame. Accordingly, an image frame that includes a main object that is not cropped across all image frames may be selected as an image frame that includes an object with significant movement.
[0213] FIGS. 12a, 12b and 12c are diagrams illustrating examples of specifying the position of a main object within an image in an electronic device according to one embodiment of the present disclosure.
[0214] In one embodiment, FIGS. 12A, 12B, and 12C may illustrate screen examples in which a background image is set to fit a display size in an electronic device (101). According to one embodiment, FIGS. 12A, 12B, and 12C may illustrate an example in which the main object (1200) is aligned or cut off based on at least a portion of a cross-section (e.g., a bottom surface) of the screen. According to one embodiment, FIGS. 12A, 12B, and 12C may illustrate examples in which the main object (1200) is resized to fit a display size in an electronic device (101) having different display sizes, and the resized main object (1200) is placed on a cross-section (e.g., a bottom surface) of the display (290).
[0215] According to one embodiment, the positioning of the main object (1200) may be arranged to fill approximately 90% of the screen area based on a cross-section (e.g., a bottom surface) that is aligned so that the movement of the main object (1200) is not cut off. For example, the electronic device (101) may arrange the main object (1200) with a designated margin (1250) (e.g., N pixels) based on a cross-section having the shortest distance among the distances between the edge portion of the main object (1200) and four cross-sections of the display (290).
[0216] According to one embodiment, as illustrated in FIGS. 12A and 12B , an example may be provided in which a vertical height from an edge portion of the main object (1200) is shorter than a horizontal width. As illustrated in FIGS. 12A and 12B , the electronic device (101) may set a designated margin (1250) (e.g., N pixels) based on the top surface in the vertical direction. For example, the electronic device (101) may resize the main object (1200) to a height (e.g., an area occupying approximately 90% of the screen in the vertical direction) that is spaced apart from the top surface by the designated margin (1250) based on the bottom surface on which the main object (1200) is aligned.
[0217] According to one embodiment, as illustrated in FIG. 12C, an example may be provided in which the horizontal width from the edge portion of the main object (1200) is shorter than the vertical height. As illustrated in FIG. 12C, the electronic device (101) may set a designated margin (1250) based on the left and right sides in the horizontal direction, respectively. For example, the electronic device (101) may resize the main object (1200) to a width spaced apart from the left and right sides by the designated margin (1250) based on the bottom surface on which the main object (1200) is aligned (e.g., an area occupying approximately 90% of the screen in the horizontal direction).
[0218] FIGS. 13A and 13B are diagrams illustrating examples of providing a background screen based on editing of a main object in an electronic device according to one embodiment of the present disclosure.
[0219] According to one embodiment, FIGS. 13A and 13B may illustrate an example in which both the main object and the background object are moving animation objects, and the main object is an object that is entirely included in the screen.
[0220] In one embodiment, as illustrated in FIG. 13A, the electronic device (101) may place the main object extracted from the image (1310) at the center of the screen. According to one embodiment, the electronic device (101) may fill the remaining area other than the main object with a background object (1320). According to one embodiment, the electronic device (101) may perform editing (e.g., drawing or filling) to fill the background object (1320) of the image (1310) to fit the display size based on an outpainting technique. According to one embodiment, the electronic device (101) may provide a background screen corresponding to the display size by using an image in which the main object and the background object according to outpainting are combined.
[0221] In one embodiment, FIG. 13B may illustrate an example of setting an image for a background image based on an image retargeting (or seam carving) technique using a given image (1330) (e.g., an original image). In one embodiment, as illustrated in FIG. 13B, the electronic device (101) may crop (1340) the given image (1330) (e.g., an original image) around a main object. According to one embodiment, the electronic device (101) may set a cropped image (1350) having a size corresponding to the crop (1340) as an image for a background image. According to one embodiment, the electronic device (101) may provide a background image corresponding to a display size using the cropped image (1350).
[0222] FIG. 14 is a diagram illustrating an example of providing a background screen in response to a change in display size in an electronic device according to one embodiment of the present disclosure.
[0223] According to one embodiment, FIG. 14 may illustrate an example in which the electronic device (101) has a form factor of a rollable / slidable device. According to one embodiment, FIG. 14 may illustrate an example in which an image is adaptively rearranged and displayed in response to a change in the state of the electronic device (101). For example, FIG. 14 may illustrate an example in which an image is provided by changing its position in response to a change in state between a first state (e.g., a closed state or a slide-in state) and a second state (e.g., an open state or a slide-out state) of the electronic device (101).
[0224] According to one embodiment, as illustrated in FIG. 14, when the display size (or screen size) of an electronic device (101) (e.g., a rollable / sliderable device) is flexibly changed (e.g., expanded or reduced), an image can be rearranged and displayed in response to the real-time change in the screen layout. According to one embodiment, when the size of the display (290) is expanded or reduced in a sliding manner, the electronic device (101) can continuously check the changing resolution of the display (290) and adaptively rearrange and display an image in response to the change in resolution. For example, the electronic device (101) can display an image optimized for the change in display size.
[0225] According to one embodiment, when the electronic device (101) is in a first state (e.g., a closed state or a slide-in state) or a second state (e.g., an open state or a slide-out state), and the main object (1400) is fully visible on a screen corresponding to the display size of the first state or the second state, the electronic device (101) may position the main object (1400) so that it is positioned at the center of the screen (e.g., the center of the screen according to the display size of the first state or the second state).
[0226] According to one embodiment, when the main object (1400) appears aligned to a cross-section of the screen in the first state or the second state, the electronic device (101) can position the main object (1400) by aligning the position of the main object (1400) to the corresponding cross-section.
[0227] FIGS. 15a, 15b, 15c, 15d, 15e, and 15f are drawings illustrating examples of providing images in response to a change in display size in an electronic device according to one embodiment of the present disclosure.
[0228] According to one embodiment, FIGS. 15a, 15b, 15c, 15d, 15e, and 15f may illustrate examples of editing and displaying an image (or content) to correspond to the display size of an electronic device (101). For example, FIGS. 15a, 15b, 15c, 15d, 15e, and 15f may illustrate examples of editing and providing an original image to correspond to a change in the display size of an electronic device (101).
[0229] According to one embodiment, FIG. 15a or FIG. 15d may illustrate an example in which an original image (1510, 1530) provided by an electronic device (101) is displayed through a display (290).
[0230] According to one embodiment, FIG. 15b or FIG. 15e may illustrate an example of simply resizing and displaying an original image (1510, 1530) to fill the screen in a conventional manner in an electronic device (101). As illustrated in FIG. 15b or FIG. 15e, in the conventional manner, when providing an image (e.g., providing a background image), the original image (1510, 1530) may be simply resized and provided to a fixed size of the original image (1510, 1530), regardless of the display size of the electronic device (101) (e.g., the screen ratio of the display).
[0231] According to one embodiment, FIG. 15c or FIG. 15f may illustrate an example of not simply resizing the original images (1510, 1530), but editing and rearranging them to correspond to a display size (e.g., a screen ratio of a display) using AI according to one embodiment of the present disclosure. According to one embodiment, the electronic device (101) may apply an image processing technique specified for the original images (1510, 1530) using AI to display an image (1520, 1540) edited to correspond to (e.g., more appropriately fit) a display size (e.g., a display ratio) through the display (290). For example, the electronic device (101) can provide an image (1520, 1540) (e.g., a background image) optimized for the display ratio based on an outpainting technique that fills and rearranges the periphery of the original image (1510, 1530) using AI for the original image (1510, 1530).
[0232] According to one embodiment, the original image (1510, 1530) of the electronic device (101) may be processed based on an outpainting technique to fill the entire screen with the image of the display size. According to one embodiment, the electronic device (101) may perform image processing to fill the entire image to fit the display size using the outpainting technique. In one embodiment, the outpainting technique may include an AI-based (e.g., deep learning-based) image generation technique that completes a new image (1520, 1540) by filling in the outside of the image based on a given image (e.g., the original image (1510, 1530)).
[0233] According to one embodiment, when setting an original image (e.g., a person and / or a pattern) as a wallpaper (and / or lock screen), a portion of the original image was cropped and used. For example, as illustrated in FIG. 15b, when setting an image containing a person as a wallpaper or lock screen, it was possible to set it using a function that crops the image to a specific ratio. Therefore, in the case of the conventional method, the size of the set image is reduced compared to the original image, so a satisfactory screen cannot be provided. In an embodiment of the present disclosure, an image larger than the original image can be generated through image processing. In one embodiment, the image can be generated using a designated image processing technique (e.g., outpainting technique) and additionally, it can be applied using Generative AI technique.
[0234] In one embodiment, Generative AI can generally refer to a method of analyzing data using deep learning techniques, such as neural networks, and creating new images (or content) similar to the input data. According to one embodiment, the electronic device (101) can use the original image as source data through Generative AI to generate additional regions. According to one embodiment, the electronic device (101) can utilize various algorithms, such as generative adversarial networks (GANs), and / or auto-encoders (AEs), or variational auto-encoders (VAEs).
[0235] In one embodiment, as illustrated in FIG. 15f, a pattern can be expanded or added. For example, in the conventional case, a cropped image was used, as illustrated in FIG. 15e. However, according to one embodiment, similar patterns can be generated (e.g., expanded) through Generative AI. For example, an existing pattern can be expanded, or a pattern similar to an existing pattern can be re-created (re-drawn). This can vary depending on the pattern's shape and policy.
[0236] According to one embodiment, as illustrated in FIGS. 15C and 15F , the electronic device (101) may utilize different algorithms depending on the data characteristics of the original image (e.g., a pattern or a real-world image). For example, a GAN may be utilized to generate a new pattern, or a VAE may be utilized to expand a real-world image, thereby selecting and utilizing a designated algorithm based on the context of the original image. The present invention is not limited thereto, and the use of algorithms may vary depending on the user's generated information and the policies of a server (e.g., a cloud server).
[0237] FIGS. 16A, 16B, 16C, and 16D are diagrams illustrating examples of arranging objects in an image in an electronic device according to one embodiment of the present disclosure.
[0238] According to one embodiment, FIGS. 16A, 16B, 16C, and 16D may illustrate examples of editing and displaying an image to correspond to the display size of an electronic device (101). For example, FIGS. 16A, 16B, 16C, and 16D may illustrate examples of editing and providing an image (or content) (1600) (e.g., a GIF image) to correspond to the display of an electronic device (101).
[0239] According to one embodiment, FIGS. 16a, 16b, 16c, and 16d illustrate an example of analyzing a point of interest (POI) range (and / or region of interest (ROI) range) (e.g., motion range) of a main object (e.g., a person object) within an image (or content) (1600) (e.g., a GIF image), and rearranging and providing the image based on the analysis result according to the display size (e.g., display ratio) of the display on which the image is to be displayed.
[0240] In one embodiment, FIG. 16A may illustrate an example of a user interface (e.g., an execution screen of a GIF image editing function (e.g., GIF editing)) related to image editing in an electronic device (101). According to one embodiment, FIG. 16A may illustrate an example in which an image (1600) provided by the electronic device (101) is displayed through a display (290). According to one embodiment, the image (1600) in FIG. 16A may illustrate a moving image (e.g., a GIF image) divided into a main object (1610) and a background object (1620). According to one embodiment, when the electronic device (101) provides the image (1600), the electronic device (101) may provide a sub-image (1630) (e.g., a scene frame) related to the GIF image through a designated area of the display (290). According to one embodiment, the sub-image (1630) may illustrate each scene frame constituting the GIF image.
[0241] According to one embodiment, FIGS. 16B and 16C may illustrate screen examples in which video editing is performed. According to one embodiment, FIG. 16B may illustrate screen examples during a first editing operation (e.g., motion analysis) during a video editing operation. According to one embodiment, FIG. 16C may illustrate screen examples during a second editing operation (e.g., scene analysis) during a video editing operation.
[0242] According to one embodiment, FIG. 16B may illustrate an example of a related screen provided in response to a user input for editing an image (e.g., image 1600 of FIG. 16A) in an electronic device (101). As illustrated in FIG. 16B, when executing image editing, the electronic device (101) may provide a menu (1640) for selecting a display (e.g., a display size) of the electronic device (101) on which to display the image (e.g., to set a background screen). According to one embodiment, the electronic device (101) may receive a user input for selecting a display on which to display the image based on the menu (1640), and execute image editing in response to the user input.
[0243] According to one embodiment, when executing video editing, the electronic device (101) may provide a progress object (1650) (e.g., text and / or moving icon) on the screen to indicate a status in which video editing is in progress. According to one embodiment, the electronic device (101) may perform motion analysis based on a sub-image (e.g., scene frame) of the video (1600) (e.g., GIF image) as exemplified in element 1660 based on the execution of video editing. According to one embodiment, the motion analysis based on the sub-image may be processed in the background (or internally) by the electronic device (101). In one embodiment, the motion analysis may be performed based on the main object (1610) of the video (1600). According to one embodiment, the electronic device (101) can select representative motions (e.g., representative motion images (1665)) from various scenes of the video (1600) based on motion analysis.
[0244] According to one embodiment, the electronic device (101) may perform motion analysis and, in response to a user input based on an execution object (1605) (or application object) that causes the edited image to be displayed on a selected display (e.g., set as a wallpaper for the display), display the edited image on the selected display (e.g., set as a wallpaper for the display). According to one embodiment, the electronic device (101) may, in response to a user input based on the execution object (1605), edit (e.g., resize) a representative motion selected based on motion analysis (e.g., representative motion image (1665)) to fit the display selected by the user. According to one embodiment, an example of displaying an image edited to fit the display is illustrated in FIG. 16D described below.
[0245] According to one embodiment, FIG. 16C may illustrate an example of a related screen provided in response to a user input to edit an image (e.g., image 1600 of FIG. 16A) in an electronic device (101). According to one embodiment, when executing image editing, the electronic device (101) may provide a progress object (1650) (e.g., text and / or moving icon) on the screen to indicate a state in which image editing is in progress. According to one embodiment, the electronic device (101) may perform scene analysis based on a sub-image (e.g., scene frame) of the image (1600) (e.g., GIF image) based on the execution of image editing.
[0246] According to one embodiment, when performing scene analysis based on a sub-image, the electronic device (101) may display a related user interface through the display (290), as illustrated in FIG. 16C. In one embodiment, the scene analysis may be performed based on a main object (1610) of the image (1600). According to one embodiment, the electronic device (101) may select a representative scene (or a central scene) (e.g., a representative scene image (1670)) from various scenes of the image (1600) and surrounding scenes that dynamically change (or move) based on the representative scene based on the scene analysis. According to one embodiment, the electronic device (101) may determine a POI range (1690) based on an outermost boundary surface where surrounding scenes (1680) are located centered on the representative scene (1670). For example, the electronic device (101) may re-frame objects that can be cut out of each scene. For example, the electronic device (101) may analyze the POI range (e.g., movement range) of the main object (1610) within the image (1600) (e.g., GIF image), and, based on the analysis result, rearrange and provide the image according to the display size (e.g., display ratio) of the display on which the image is to be displayed.
[0247] According to one embodiment, the electronic device (101) may perform scene analysis and, in response to a user input based on an execution object (1605) (or application object) that causes the edited image to be displayed on a selected display (e.g., set as a wallpaper for the display), display the edited image on the selected display (e.g., set as a wallpaper for the display). According to one embodiment, the electronic device (101) may, in response to a user input based on the execution object (1605), edit (e.g., frame and resize) the image reconstructed according to the scene analysis to fit the display selected by the user. According to one embodiment, an example of displaying an image edited to fit the display is illustrated in FIG. 16D.
[0248] According to one embodiment, FIG. 16D may illustrate an example of editing a given image, editing the image to fit a display designated by a user, and providing the edited image by arranging it to fit the designated display. As illustrated in FIG. 16D , the image (1600) may be optimally reconstructed and provided based on a display (e.g., display ratio) on which the image will be displayed (e.g., set as a background image) based on a main object (1610) (e.g., a person object). For example, the electronic device (101) may be configured such that an image (e.g., an edited image) including a face (e.g., a POI) of a main object is aligned and arranged at the bottom of the screen according to the ratio of the cover display of the electronic device (101).
[0249] FIGS. 17A, 17B, and 17C are diagrams illustrating examples of providing images corresponding to a display of an electronic device according to one embodiment of the present disclosure.
[0250] According to one embodiment, FIGS. 17a, 17b, and 17c may illustrate examples of providing (e.g., setting as wallpaper) an image edited to fit various displays according to the form factor of the electronic device (101).
[0251] According to one embodiment, FIG. 17A may illustrate an example of a related screen (1700) provided in response to a user input for editing an image on an electronic device (101). According to one embodiment, when executing image editing, the electronic device (101) may provide a progress object (1750) (e.g., text and / or moving icons) on the screen to indicate a status in which image editing is in progress.
[0252] As illustrated in FIG. 17A, when executing image editing, the electronic device (101) may provide a menu (1740) for selecting a display (e.g., a display size) on which to display an image (e.g., to set a background image). According to one embodiment, the electronic device (101) may receive a user input for selecting a display (e.g., a display according to a form factor of the electronic device (101)) (e.g., a phone, tablet, fold, flip, or rollable) on which to display an image based on the menu (1740), and execute image editing corresponding to the selected display in response to the user input.
[0253] For example, the electronic device (101) may edit an image to correspond to the display (290) of the electronic device (101) in response to a user selection, and store the edited image in the memory (130) of the electronic device (101) and / or an external device (e.g., a cloud server). For example, the electronic device (101) may edit an image to correspond to the display of another electronic device (e.g., a first electronic device (1710) (e.g., an electronic device of a flip form factor) or a second electronic device (1720) (e.g., an electronic device of a fold form factor)) in response to a user selection, and store and / or share the edited image in the memory (130) of the electronic device (101) and / or an external device (e.g., a cloud server and / or another electronic device (1710, 1720)). Examples of this are illustrated in FIGS. 17B and 17C.
[0254] According to one embodiment, FIG. 17B may illustrate an example in which an image (e.g., a GIF image) is edited and arranged to correspond to (or optimized for) the display (e.g., display ratio) of an electronic device (101) (e.g., a first electronic device (1710)). According to one embodiment, as illustrated in FIG. 17B, an image (e.g., an edited image) including a face (e.g., a POI) of a main object of an original image may be provided to be aligned and arranged at the bottom of the screen in correspondence with the display (e.g., display ratio) of the first electronic device (1710).
[0255] According to one embodiment, FIG. 17C may illustrate an example in which an image (e.g., a GIF image) is edited and arranged to correspond to (or optimized for) the display (e.g., display ratio) of an electronic device (101) (e.g., a second electronic device (1720)). According to one embodiment, as illustrated in FIG. 17C, an image (e.g., an edited image) including all of the main objects of the original image may be arranged and aligned at the bottom of the screen to correspond to the display (e.g., display ratio) of the second electronic device (1720).
[0256] FIGS. 18a, 18b, and 18c are diagrams illustrating examples of providing images corresponding to display sizes in an electronic device according to one embodiment of the present disclosure.
[0257] According to one embodiment, FIGS. 18A, 18B, and 18C may illustrate examples of editing (e.g., reconfiguring) an image to correspond to a display size on which the image (e.g., a GIF image) is to be displayed on an electronic device (101) and providing (e.g., sharing). For example, FIGS. 18A, 18B, and 18C illustrate examples of providing (e.g., sharing) a new image (e.g., a new GIF image) that corresponds to the display size of a specified display (e.g., a main display of a fold-type electronic device (101)) by configuring the new image (e.g., a new GIF image) that corresponds to the display size of the specified display (e.g., a main display of a fold-type electronic device (101)) for an image (e.g., a GIF image) composed of four frames representing an object (e.g., a human object) moving from the right edge to the left edge of the screen.
[0258] According to one embodiment, FIGS. 18a, 18b, and 18c illustrate an example of analyzing a POI range (e.g., a range moving from right to left) of a main object (1810) (e.g., a person object) within an image (or content) (1800) (e.g., a GIF image), and editing and rearranging the POI range to fit the display size (e.g., display ratio) of a display on which the image is to be displayed based on the analysis result.
[0259] In one embodiment, FIG. 18A may illustrate an example of a user interface (e.g., an execution screen of a GIF image editing function (e.g., GIF editing)) related to image editing in an electronic device (101). According to one embodiment, FIG. 18A may illustrate an example in which an image (1800) provided by the electronic device (101) is displayed through a display (290). According to one embodiment, the image (1800) in FIG. 18A may illustrate a moving image (e.g., a GIF image) divided into a main object (1810) and a background object (1820). According to one embodiment, when the electronic device (101) provides the image (1800), it may provide a sub-image (1830) (e.g., a scene frame) related to the GIF image through a designated area of the display (290). According to one embodiment, the sub-image (1830) may illustrate each scene frame constituting the GIF image.
[0260] As illustrated in FIG. 18B, the electronic device (101) may provide a menu (1840) for selecting a display (e.g., a display size) on which to display the image (e.g., to set a background screen and / or lock screen) when executing image editing. According to one embodiment, the electronic device (101) may receive a user input for selecting a display (e.g., a display according to a form factor of the electronic device) (e.g., a phone, tablet, fold, flip, or rollable) of an electronic device (e.g., another electronic device (1801)) on which to display the image based on the menu (1840), and execute image editing corresponding to the selected display in response to the user input.
[0261] According to one embodiment, when executing video editing, the electronic device (101) may provide a progress object (1850) (e.g., text and / or moving icon) on the screen to indicate a status in which video editing is in progress. According to one embodiment, the electronic device (101) may perform motion analysis and / or scene analysis based on a sub-image (e.g., scene frame) of the video (1800) (e.g., GIF image) based on the execution of video editing corresponding to a display selected by the user.
[0262] According to one embodiment, the electronic device (101) can perform image editing and share the edited image with a designated external device (e.g., another electronic device (1801)). For example, the electronic device (101) can transmit the image to a designated external electronic device (e.g., another electronic device (1801) and / or a cloud server) using a designated communication module (e.g., the communication module (190) of FIG. 1) based on a designated user input to share the image.
[0263] According to one embodiment, FIG. 18C may illustrate an example in which an electronic device (101) (e.g., another electronic device (1801)) obtains (e.g., receives or downloads) an image from an external device (e.g., another electronic device or a cloud server) and provides the image by arranging it to fit the display of the electronic device (101). As illustrated in FIG. 18C, an image that is optimally reconstructed according to a display (e.g., a display ratio) may be provided (e.g., displayed) based on a main object (e.g., a person object) in the image. For example, the electronic device (101) may display an image including a main object (e.g., an edited image) by arranging it in the center of the screen according to the ratio of the main display of the electronic device (101).
[0264] FIG. 19 is a flowchart illustrating an operating method of an electronic device according to one embodiment of the present disclosure.
[0265] FIGS. 20A, 20B, 20C, 20D, 20E, 20F, 20G, and 20H are diagrams illustrating examples of supporting image editing in an electronic device according to one embodiment of the present disclosure.
[0266] According to one embodiment, FIG. 19 may illustrate an example of a method for separating a main object and a background object from an image and editing the image to fit a display size (e.g., display ratio) in an electronic device (101) according to one embodiment. According to one embodiment, FIGS. 20A, 20B, 20C, 20D, 20E, 20F, 20G, and 20H may illustrate screen examples related to an operation of supporting image editing to fit a display size of an electronic device (101).
[0267] In an electronic device according to an embodiment of the present disclosure (e.g., the electronic device (101) of FIG. 1 or 2), a method for supporting image editing may be performed, for example, according to a flowchart illustrated in FIG. 19. The flowchart illustrated in FIG. 19 is an example according to an embodiment of an operation of the electronic device (101), and the order of at least some operations may be changed or performed in parallel, performed as independent operations, or at least some other operations may be performed complementarily to at least some operations. According to an embodiment of the present disclosure, operations 901 to 913 may be performed in at least one processor of the electronic device (101) (e.g., the processor (120) of FIG. 1 or 2).
[0268] As illustrated in FIG. 19, an operation method performed by an electronic device (101) according to one embodiment may include an operation of analyzing an image (1901), an operation of determining a region of interest (ROI) of a first separation object (1903), an operation of calculating a scaling ratio of a display to be changed (1905), an operation of scaling an ROI of a second separation object (1907), an operation of adjusting an arrangement interval between second separation objects (1909), an operation of aligning edges of second separation objects (1911), and an operation of synthesizing the second separation object and a background object (1913).
[0269] Referring to FIG. 19, in operation 1901, the processor (120) of the electronic device (101) may perform an operation of analyzing an image.
[0270] According to one embodiment, as illustrated in FIG. 20A, the image (2000) may represent a moving image (e.g., a GIF image) divided into a main object (2010) and a background object (2020). According to one embodiment, when the processor (120) provides the image (2000), it may provide a sub-image (2030) (e.g., a scene frame) related to the GIF image through a designated area of the display. According to one embodiment, the sub-image (2030) may represent each scene frame constituting the GIF image. According to one embodiment, when the electronic device (101) executes image editing, it may provide a progress object (e.g., text and / or a moving icon) on the screen indicating a status in which image editing is in progress.
[0271] At operation 1903, the processor (120) may perform an operation of determining an ROI of the first separated object.
[0272] According to one embodiment, as illustrated in FIG. 20b, the processor (120) may identify a main object (2010) (e.g., a person object) based on a sub-image (e.g., a scene frame) of an image (2000) (e.g., a GIF image). According to one embodiment, the processor (120) may select a first separation object (2015) (e.g., a representative scene) for use as a reference for main objects for each scene among the main objects (2010) of various scenes. According to one embodiment, the ROI (2040) may be determined based on the first separation object (2015). For example, the processor (120) may determine an area of (x, y) coordinates of approximately (40, 40), (0, 40), (0, 180), and (40, 180) based on the first separation object (2015) as the ROI (2040).
[0273] At operation 1905, the processor (120) may perform an operation of calculating a scaling ratio of the display to be changed.
[0274] According to one embodiment, as illustrated in FIG. 20c, the processor (120) may calculate a scaling ratio of the display based on a display on which an image is to be set (e.g., a display ratio). For example, the processor (120) may determine a scaling ratio of the display corresponding to a “2:3” ratio of the display on which an image is to be set (e.g., a change from a 1:2 ratio of the first terminal to a 4:3 ratio of the second terminal). For example, the processor (120) may determine a scaling ratio of the display corresponding to a “4:3” ratio of the display on which an image is to be set (e.g., a change from a 18:9 ratio of the third terminal to a 4:3 ratio of the fourth terminal).
[0275] At operation 1907, the processor (120) may perform an operation of scaling the ROI of the second separated object.
[0276] In one embodiment, as illustrated in FIG. 20d, the processor (120) may scale the ROI (2040) of the first separated object (2015) according to the calculated scaling ratio. For example, the processor (120) may scale (e.g., upscale) the ROI (2040) of the first separated object (2015) to the ROI (2050) for the second separated object.
[0277] At operation 1909, the processor (120) may perform an operation of adjusting the spacing between the second separation objects.
[0278] According to one embodiment, as illustrated in FIG. 20e, the processor (120) may adjust the spacing between the scaled second separation objects according to the scaling ratio. According to one embodiment, the processor (120) may determine the spacing (e.g., the overlapping spacing) between the scene-specific separation objects (2051, 2053) corresponding to the main object (2010) of various scenes.
[0279] In operation 1911, the processor (120) may perform an operation of aligning the edges of the second separation object.
[0280] According to one embodiment, as illustrated in FIG. 20f, the processor (120) may perform edge alignment based on the second separation object (2060). For example, the processor (120) may determine the spacing between multiple main objects (2060) (e.g., the second separation object) for each scene, and perform edge alignment to match the edges (e.g., height) of each object.
[0281] In operation 1913, the processor (120) may perform an operation of synthesizing the second separated object and the background object.
[0282] According to one embodiment, as illustrated in FIG. 20g, the processor (120) may synthesize a second separated object (2060) and an edited (e.g., outpainted or upscaled) background object (2070) according to a scaling ratio of the display. According to one embodiment, the processor (120) may perform an operation of combining the edited second separated object (2060) and the edited background object (2070) based on the main object. According to one embodiment, the processor (120) may edit an image based on image separation and perform an operation of recombining the edited objects. For example, the processor (120) may separate a main object and a background object from an image, independently edit them, and recombine the edited main object (e.g., 2060) and the edited background object (e.g., 2070).
[0283] According to one embodiment, as illustrated in FIG. 20h, the processor (120) may provide an edited image (2080). According to one embodiment, the processor (120) may store a new image (2080) (e.g., an image edited to fit a display size) in which the edited main object and the edited background object are combined, in the memory (130), display it through a display, or share it with an external device.
[0284] According to an embodiment of the present disclosure, when displaying an image, the electronic device (101) may separate a main object and a background object from a given image (e.g., an original image), edit (or modify) the main object based on the display size of the display on which the image will be displayed, and edit background objects other than the main object based on the display size of the display on which the image will be displayed. According to one embodiment, the electronic device (101) may combine the edited main object and the edited background object to generate a new image optimized for the display size. For example, the electronic device (101) may display the image by optimizing (e.g., resizing and arranging) the image for the display size of the display. According to one embodiment, the electronic device (101) may provide the image by reducing the size of the image while improving the quality of the image (e.g., by correcting the resolution and / or the quality) for the edited main object and background object. According to one embodiment, the electronic device (101) may reduce the size of the image by encoding using a designated encoding technique (e.g., webp encoding). For example, if an image is improved in quality (e.g., by adjusting the resolution and / or quality) to fit the display size, the image size may increase, but this increased size can be improved through a high compression ratio based on a specified encoding technology.
[0285] According to one embodiment, rather than simply resizing or correcting an image, the electronic device (101) may separate an object within the image, analyze the size, position, and / or presence or absence of a background of the object based on the separated object, and rearrange the image to fit the display size of the display on which it is to be displayed based on the results of the analysis.
[0286] An operation method performed in an electronic device (101) according to one embodiment of the present disclosure may include performing an operation of separating a main object and a background object from a given image. The operation method may include performing an operation of determining a display size of a designated display on which the image is to be displayed. The operation method may include performing an operation of editing (or modifying) each of the main object and the background object in response to the display size. The operation method may include performing an operation of generating an edited image in response to the display size of the designated display by combining the edited main object and the edited background object. The operation method may include displaying the edited image through the designated display.
[0287] An operating method performed in an electronic device (101) according to one embodiment of the present disclosure may include performing an operation of displaying an image on a first display. The operating method may include performing an operation of dividing the image into a main object and a background object. The operating method may include performing an operation of determining a second display on which an edited image is to be displayed. The operating method may include performing an operation of editing each of the main object and the background object based on a display size of the second display. The operating method may include performing an operation of generating the edited image by combining the edited main object and the edited background object. The operating method may include performing an operation of displaying the edited image through the second display.
[0288] According to one embodiment, the operating method may include an operation for improving the quality of the edited image based on execution of a designated function for improving image quality when the edited image is generated.
[0289] According to one embodiment, the operating method may include performing an operation of displaying an image specified by a user on a display. The operating method may include performing an operation of detecting a user input for setting a background screen based on the specified image. The operating method may include performing an operation of determining a display size of a specified display on which the background screen is to be set. The operating method may include performing an operation of editing the specified image in response to the display size. The operating method may include performing an operation of setting the edited image as a background screen of the specified display.
[0290] According to one embodiment, the display displaying the specified image and the specified display may include the same display or different displays having different display sizes.
[0291] According to one embodiment, the operation of determining the display size may include an operation of determining the display size of a selected display based on a user input selecting a display on which an image is to be displayed.
[0292] According to one embodiment, the operating method may include an operation of analyzing an entire image frame of the image, an operation of determining a main object based on the entire image frame, an operation of identifying objects other than the main object in the image as background objects, and an operation of separating the main object and the background object in the image into independent objects.
[0293] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0294] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another component (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.
[0295] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0296] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0297] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0298] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and arranged in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0299] The various embodiments of the present disclosure disclosed in this specification and drawings are intended to provide specific examples to facilitate easy explanation of the technical content of the present disclosure and to aid understanding of the present disclosure, and are not intended to limit the scope of the present disclosure. Therefore, the scope of the present disclosure should be interpreted to include all modifications or variations derived based on the technical concepts of the present disclosure, in addition to the embodiments disclosed herein.
Claims
1. In electronic devices, display; at least one processor; and Contains memory that stores instructions, The above instructions, when executed by the at least one processor, cause the electronic device to: Display the image on the first display, Separate the above image into main object and background object, Determine the second display on which the edited video will be displayed, Based on the display size of the second display, the main object and the background object are each edited, By combining the above edited main object and the above edited background object, the above edited image is generated, and An electronic device that displays the above-mentioned edited video through the second display.
2. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: An electronic device for improving the quality of the edited image based on the generation of the edited image and executing a designated function for improving image quality.
3. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Detecting an input for setting a background screen based on an image displayed on the first display above, Determine the display size of the second display on which the above background screen is to be set, Edit the above video based on the above display size, Set the above edited video as the background screen of the second display, An electronic device wherein the first display and the second display are the same display or include different displays having different display sizes.
4. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: An electronic device that determines the display size of the second display based on an input for selecting the second display.
5. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Analyze the entire image frame of the above video, Determine the main object based on the entire image frame above, Based on the above main object determination, the remaining objects other than the main object in the image are identified as background objects, An electronic device that separates the main object and the background object in the above image into independent objects.
6. In the fifth paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: In the above video, the main object and the background object are separated and edited independently. Editing of the above main object includes first adjusting the main object based on the display size, An electronic device wherein editing of the background object comprises making a second adjustment to the background object based on the display size.
7. In the sixth paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Performing an edit to resize and / or adjust the position of the main object so that the main object is displayed within the second display; An electronic device that performs editing by drawing or cropping the background object based on the main object.
8. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: An electronic device for combining and storing the above-mentioned edited main object and the above-mentioned edited background object.
9. In the first paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Determine whether the above main object is an animation object, Based on the fact that the above main object is not an animation object, determine whether the entire main object is included within the screen, Based on the entirety of the above main object being included within the screen, the position of the above main object is placed at the center of the screen based on the display size, An electronic device that aligns the main object to the section where the main object touches based on the fact that the entire main object is not included within the screen.
10. In the 9th paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Based on the above main object being an animation object, it is determined whether the above background object includes a specified condition, Based on whether the background object does not contain a specified condition, determine whether the background object is animated together with the main object; Based on the fact that the above background object is not animated together with the above main object, it is determined that there is no background object, and the position of the above main object is specified. Based on the fact that the above background object is animated together with the above main object, the image including the above main object and the above background object is processed using an outpainting technique to fill it to fit the display size. An electronic device wherein the above specified conditions include conditions in which the background object has a feature point including a color and / or a pattern.
11. In the 10th paragraph, the instructions, when executed by the at least one processor, cause the electronic device to: Based on whether the above background object includes a specified condition, it is determined whether the entire main object is included within the screen, Based on the entirety of the main object being included within the screen, the location of the main object is placed at the center of the screen based on the display size, and the color and pattern of the background object in an area other than the main object are adjusted to the display size based on the location of the main object. An electronic device that positions the main objects so that they are aligned with the cross-sections where the main objects touch, based on the fact that the entire main object is not included in the screen, and adjusts the color and pattern of the background object in an area other than the main object to match the display size based on the position of the main object.
12. In the method of operating an electronic device, The act of displaying an image on a primary display; An action to separate the above image into a main object and a background object; An action to determine the second display on which the edited image will be displayed; An operation of editing each of the main object and the background object based on the display size of the second display; An operation of generating the edited image by combining the edited main object and the edited background object; and A method comprising an action of displaying the edited video through the second display.
13. In paragraph 12, An action for detecting an input for setting a background screen based on an image displayed on the first display; An action for determining the display size of the second display to which the above background screen is to be set; An action of editing the image based on the above display size; Including an action of setting the above edited image as the background screen of the second display, A method wherein the first display and the second display are the same display or include different displays having different display sizes.
14. In paragraph 12, An action to analyze the entire image frame of the above video, An action of determining the main object based on the entire image frame above; An action to identify the remaining objects other than the main object in the above video as background objects; A method comprising an action of separating the main object and the background object in the above image into independent objects.
15. A non-transitory computer-readable medium storing instructions that, when executed by a processor of an electronic device, cause the processor to perform operations, The action of displaying an image on the primary display; The action of separating the above image into main object and background object, Action to determine the second display on which the edited image will be displayed; An operation of editing the main object and the background object respectively based on the display size of the second display; An operation of generating the edited image by combining the above edited main object and the above edited background object, and A computer-readable recording medium that causes the above-mentioned edited video to be displayed through the second display.
Citation Information
Patent Citations
Methof for resizing an image, method for transmitting an image, and electronic device thereof
KR101303017B1
Method for reconstructing a photograph by object retargeting and the apparatus thereof
KR101744141B1
Semiconductor device and method for fabricating the same
KR1020240024440A
A light scattering ink composition, a light scattering laminating unit and a light scattering pixel unit and video display using the light scattering composition
KR1020240045443A
Laser light sterilizer using gratings pattern mirror and system using the sterilizer
KR102687122B1
