Method for providing filter and electronic device supporting the same

By displaying multiple images on an electronic device, users can select reference image attribute values ​​to generate filters, which solves the problem of limited filter functionality in existing systems and enables greater flexibility and personalization in image editing.

CN121334491APending Publication Date: 2026-01-13SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511166222.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2020-02-06
Filing Date
2021-02-05
Publication Date
2026-01-13

AI Technical Summary

Technical Problem

Existing electronic devices offer limited filter functionality, making it difficult for users to set the desired atmosphere for images using existing methods.

Method used

Multiple images are displayed by the processor of the electronic device. The user selects the attribute values ​​of the reference image, generates and applies filters to adjust the attributes of the original image, and stores the generated filters.

Benefits of technology

It provides users with the ability to generate images with the desired atmosphere, enhancing the flexibility and personalization of image editing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121334491A_ABST
    Figure CN121334491A_ABST
Patent Text Reader

Abstract

A method for providing a filter and an electronic device supporting the same are provided. The electronic device includes: a display; a processor, the processor being functionally connected with the display; and a memory, the memory being functionally connected to the processor. The memory stores instructions configured to, when executed, cause the processor to: display a first image through the display; displaying, by the display, one or more second images while displaying the first image; selecting a third image from the one or more second images; confirming a value of at least one attribute of the third image; generating a filter for applying a value of the at least one attribute to the image; applying a value of the at least one attribute to the first image using the filter; displaying, through the display, the first image to which the value of the at least one attribute is applied; and storing the filter in the memory.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the application No. 202180013197.0, filed on February 5, 2021, with the title of "Method for providing filter and electronic device supporting the same". TECHNICAL FIELD

[0002] The disclosure relates to a method for providing a filter and an electronic device supporting the same. BACKGROUND

[0003] Electronic devices such as smartphones provide an image editing function. For example, the electronic device allows a user to edit an image acquired through a camera or stored in a memory using an image editing program.

[0004] Recently, electronic devices have provided a filter function for changing attributes of an image (e.g., an original image). For example, when an image is displayed, the electronic device can display images (e.g., thumbnails) for a plurality of filters respectively corresponding to a plurality of attributes of the image. When a user selects one image from among the images for the plurality of filters, the electronic device can provide an image to which an image attribute corresponding to the filter of the selected image is applied.

[0005] The above information is presented as background information only to assist with an understanding of the disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the disclosure. SUMMARY

[0006] TECHNICAL PROBLEM Aspects of the disclosure are to address at least the above-mentioned problems and / or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the disclosure is to provide an electronic device for providing only filters (or filter functions) generated by a generator (or a developer) of an application of a camera, an image application (e.g., a gallery application), or an image editing application (e.g., an application for providing a photo editor tool). Accordingly, the electronic device can provide the user with limited filters (e.g., types of filters).

[0007] Another aspect of the disclosure is to provide a method for providing a filter and an electronic device for supporting the same, which can provide a user with a filter based on a user's input (or selection) to obtain an image having a desired atmosphere.

[0008] The objects of the disclosure are not limited to the above-mentioned, and other unmentioned objects will be apparent to those skilled in the art from the following description.

[0009] Additional aspects will be set forth in part in the description which follows, and in part will be apparent to those skilled in the art from the description, or can be learned by practice of the presented embodiments.

[0010] Technical Solution According to an aspect of the disclosure, an electronic device is provided. The electronic device includes a display, a processor functionally connected with the display, and a memory functionally connected with the processor. The memory stores instructions configured to, when executed, cause the processor to display a first image through the display, display one or more second images through the display while displaying the first image, select a third image from among the one or more second images, confirm a value of at least one attribute of the third image, generate a filter for applying the value of the at least one attribute to an image, apply the value of the at least one attribute to the first image using the filter, display the first image to which the value of the at least one attribute is applied through the display, and store the filter in the memory.

[0011] According to another aspect of the disclosure, a method is provided. The method includes displaying a first image through a display of an electronic device, displaying one or more second images through the display while displaying the first image, selecting a third image from among the one or more second images, confirming a value of at least one attribute of the third image, generating a filter for applying the value of the at least one attribute to an image, applying the value of the at least one attribute to the first image using the filter, displaying the first image to which the value of the at least one attribute is applied through the display, and storing the filter in a memory of the electronic device.

[0012] According to another aspect of the disclosure, an electronic device is provided. The electronic device includes a camera, a display, a processor functionally connected with the camera and the display, and a memory functionally connected with the processor. The memory stores instructions configured to, when executed, cause the processor to display a first image input in real time using the camera and a plurality of images indicating one or more filters through the display, display one or more second images through the display based on a user input for generating the filter while displaying the first image and the plurality of images, select a third image from among the one or more second images, confirm a value of at least one attribute of the third image, generate a filter for applying the value of the at least one attribute to an image, apply the value of the at least one attribute to the first image using the filter, display the first image to which the value of the at least one attribute is applied through the display, and store the filter in the memory, and display an image indicating the filter and the plurality of images through the display.

[0013] According to various embodiments, a method for providing a filter and an electronic device for supporting the same can provide a filter for a user to obtain an image having a desired atmosphere based on an input (or selection) of the user.

[0014] Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, when taken in con Figure One Various embodiments of the present disclosure are disclosed in detail.

[0015] Advantages of the Invention A method for providing a filter and an electronic device for supporting the same can provide a filter for a user to obtain an image having a desired atmosphere based on an input (or selection) of the user. BRIEF DESCRIPTION OF DRAWINGS

[0016] The above and other aspects, features, and advantages of certain embodiments of the present disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which: Figure 1 is a block diagram illustrating an electronic device in a network environment according to an embodiment of the present disclosure; Figure 2 is a flowchart illustrating a method for providing a filter in an electronic device according to an embodiment of the present disclosure; Figure 3 is a flowchart illustrating a method for confirming a value of at least one attribute of a third image according to an embodiment of the present disclosure; Figure 4 is a flowchart illustrating a method for confirming a value of at least one attribute by recognizing an object recognized in a third image according to an embodiment of the present disclosure; Figure 5 is a flowchart illustrating a method for adjusting a value of at least one attribute based on a user interface according to an embodiment of the present disclosure; Figure 6 is a flowchart illustrating a method for adjusting a value of at least one attribute based on a plurality of images according to an embodiment of the present disclosure; Figure 7 is a flowchart illustrating a method for generating a filter based on a portion of a third image specified according to a user input according to an embodiment of the present disclosure; Figure 8 is a flowchart illustrating a method for providing a filter using a camera application according to an embodiment of the present disclosure; Figure 9 is a flowchart illustrating a method for providing a filter using an image application according to an embodiment of the present disclosure; Figure 10A and Figure 10Bis a view illustrating a method of providing a filter using a camera application according to various embodiments of the present disclosure; Figure 11A and Figure 11B is a view illustrating a method of providing a filter using an image application according to various embodiments of the present disclosure; Figure 12 is a view illustrating an example method for confirming a value of at least one attribute of a third image according to an embodiment of the present disclosure; Figure 13 is a view illustrating an example method for confirming a value of at least one attribute by recognizing an object recognized in a third image according to an embodiment of the present disclosure; Figure 14 is a view illustrating an example method for adjusting a value of at least one attribute based on a user interface according to an embodiment of the present disclosure; and Figure 15 is a view illustrating an example method for adjusting a value of at least one attribute based on a plurality of images according to an embodiment of the present disclosure.

[0017] In all the drawings, like reference numerals will be understood to refer to like parts, components and structures. DETAILED DESCRIPTION

[0018] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of various embodiments of the present disclosure as defined by the claims and their equivalents. The description includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes, modifications, and improvements can be made to the various embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and constructions can be omitted for clarity and conciseness.

[0019] The terms and words used in the claims and the specification should not be limited to the bibliographical meanings, but, on the other hand, should be construed in the context of the present application as the concepts and the ideas of the present application based on the principle on which the present application was based. It is therefore to be understood that the above description of various embodiments of the present disclosure is merely for illustration and is not intended to limit the present disclosure as defined by the appended claims and their equivalents.

[0020] It is to be understood that the terms "a", "the", and "said" can include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to "a component surface" includes reference to one or more of such surfaces.

[0021] Figure 1 is a block diagram of an electronic device 101 in a network environment 100 according to an embodiment of the present disclosure.

[0022] Referring to Figure 1 The electronic device 101 in the network environment 100 can communicate with an electronic device 102 via a first network 198 (e.g., a short-range wireless communication network), or an electronic device 104 or a server 108 via a second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 can communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 can include a processor 120, a memory 130, an input device 150, a sound output device 155, a display device 160, an audio module 170, a sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one (e.g., the display device 160 or the camera module 180) of the components can be omitted from the electronic device 101, or one or more other components can be added in the electronic device 101. In some embodiments, the components in the electronic device 101 can be implemented as one or more integrated circuits. For example, the sensor module 176 (e.g., a fingerprint sensor, an iris sensor, or an illuminance sensor) can be implemented as embedded in the display device 160 (e.g., a display).

[0023] The processor 120 can execute, for example, 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 coupled with the processor 120 and can perform various data processing or computation. According to an embodiment, as at least part of the data processing or computation, the processor 120 can load a command or data received from another component (e.g., the sensor module 176 or the communication module 190) to a volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in a non-volatile memory 134. According to an embodiment, the processor 120 can include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)), and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently from, or in conjunction with, the main processor 121. Additionally or alternatively, the auxiliary processor 123 can be adapted to consume less power than the main processor 121, or to be specific to a specified function. The auxiliary processor 123 can be implemented as a separate processor, or as part of the main processor 121.

[0024] The auxiliary processor 123 can control at least some of functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, instead 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 state (e.g., executing an application), according to an embodiment. The auxiliary processor 123 (e.g., an image signal processor or a communication processor) can be implemented as a part of another component functionally related to the auxiliary processor 123 (e.g., the camera module 180 or the communication module 190), according to an embodiment.

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

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

[0027] The input device 150 can receive a command or data, which is used for another component (e.g., the processor 120) of the electronic device 101, from the outside (e.g., a user) of the electronic device 101. The input device 150 can include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).

[0028] The sound output device 155 can output sound signals to the outside of the electronic device 101. The sound output device 155 can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as playing multimedia or playing record, and the receiver can be used for incoming calls. According to an embodiment, the receiver can be implemented as separate from the speaker, or can be implemented as a part of the speaker.

[0029] The display device 160 can visually provide information to the outside (e.g., a user) of the electronic device 101. The display device 160 can include, for example, a display, a hologram device, or a projector, and a control circuit for controlling a corresponding one of the display, the hologram device, and the projector. According to an embodiment, the display device 160 can include a touch circuit adapted to detect a touch, or a sensor circuit (e.g., a pressure sensor) adapted to measure the intensity of force incurred by the touch.

[0030] The audio module 170 can convert sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 can obtain sound through the input device 150 or output sound through the sound output device 155 or a headphone of an external electronic device (e.g., an electronic device 102) directly (e.g., wiredly) or wirelessly coupled with the electronic device 101.

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

[0032] The interface 177 can support one or more specified protocols to be used for the electronic device 101 to be coupled with the external electronic device (e.g., the electronic device 102) directly (e.g., wiredly) or wirelessly. According to an embodiment, the interface 177 can 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.

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

[0034] The haptic module 179 can convert an electrical signal into a mechanical stimulus (e.g., a vibration or movement) or electrical stimulus that can be recognized by a user via his tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module 179 can include, for example, a motor, a piezoelectric element, or an electrical stimuluser.

[0035] The camera module 180 can capture a still image or moving images. According to an embodiment, the camera module 180 can include one or more lenses, image sensors, image signal processors, or flashes.

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

[0037] The battery 189 can supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 can include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.

[0038] The communication module 190 can support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication between the electronic devices 101 and the external electronic device via the established communication channel. The communication module 190 can include one or more communication processors that are operable independently from the processor 120 (e.g., an application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication. According to an embodiment, the communication module 190 can 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 (PLC) module). A corresponding one of these communication modules can communicate with the external electronic device via the first network 198 (e.g., a short-range communication network, such as Bluetooth, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network 199 (e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). These various types of communication modules can be implemented as a single component (e.g., a single chip), or can be implemented as separate components (e.g., separate chips) from each other. The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network, such as the first network 198 or the second network 199, using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196.

[0039] The antenna module 197 can transmit or receive a signal or power to or from an external (e.g., an external electronic device). According to an embodiment, the antenna module 197 can include an antenna including a radiator formed of a conductive or a conductive pattern formed on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 197 can include a plurality of antennas. In this case, at least one antenna appropriate for a communication scheme used in a communication network, such as the first network 198 or the second network 199, can be selected, for example, from the plurality of antennas by, for example, the communication module 190. Then, the signal or the power can be transmitted or received between the communication module 190 and an external electronic device via the selected at least one antenna. According to an embodiment, a component other than the radiator, e.g., a radio frequency integrated circuit (RFIC), can further be formed as part of the antenna module 197.

[0040] At least some of the above-described components can be coupled to each other via an inter-peripheral communication scheme (e.g., a bus, general purpose input output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and communicatively transfer signals (e.g., commands or data) between them.

[0041] According to an embodiment, instructions or data can be transmitted or received between electronic device 101 and external electronic device 104 via server 108 coupled with second network 199. Each of electronic device 102 and electronic device 104 can be a device of a same type as or different from electronic device 101. According to an embodiment, all or some of operations to be executed at electronic device 101 can be executed at one or more of external electronic device 102, external electronic device 104, or server 108. For example, if electronic device 101 should automatically perform a function or service or should perform a function or service in response to a request from a user or another device, electronic device 101 can request the one or more external electronic devices to perform at least part of the function or service, instead of executing the function or service, or in addition to executing the function or service. The one or more external electronic devices receiving the request can execute the at least part of the function or service requested, or perform another function or another service related to the request, and transfer a result of the execution to electronic device 101. Electronic device 101 can provide the result, with or without further processing of the result, as at least part of a reply to the request. To that end, a cloud computing, distributed computing, or client-server computing technology can be used, for example.

[0042] An electronic device according to various embodiments can be one of various types of electronic devices. The electronic devices can include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment of the disclosure, the electronic devices are not limited to those described above.

[0043] It should be understood that various embodiments of the present disclosure and the terms used therein are not intended to limit technically described features to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With respect to the description of the drawings, the same or similar components can be provided with the same or similar reference numbers, and repeated explanation of these components can not be repeated. As used herein, each of such phrases as "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, or all possible combinations of the items enumerated together in a corresponding one of the phrases. As used herein, such terms as "1st" and "2nd," or "first" and "second" can be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order). It is to be understood that if an element (e.g., a first element) is referred to as being "connected to" or "joined to" another element (e.g., a second element), it can be directly connected to or joined to the other element or connected to or joined to the other element via a third element.

[0044] As used herein, the term "module" can include a unit implemented in hardware, software, or firmware, and can interchangeably be used with other terms, e.g., "logic", "logic block", "part", or "circuitry". A module can be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, a module can be implemented in a form of an application-specific integrated circuit (ASIC).

[0045] Various embodiments as set forth herein can be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., internal memory 136 or external memory 138) that are readable by a machine (e.g., electronic device 101). For example, a processor (e.g., processor 120) of the machine (e.g., electronic device 101) can invoke at least one of the one or more instructions stored in the storage medium, and execute it, with or without using one or more other components under the control of the processor. This allows the machine to be operated as a special purpose machine to perform at least one function. The one or more instructions can include a code generated by a compiler or a code that forms at least a part of a language as provided in a high-level programming language. The machine-readable storage medium can be provided in the form of a non-transitory storage medium. The term "non-transitory" simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave). However, the term "non-transitory" does not encompass data that is at least temporarily stored in the storage medium.

[0046] According to the embodiments, a method according to various embodiments of the disclosure can be included and provided in a computer program product. The computer program product can be traded as a commodity between a seller and a purchaser. The computer program product can be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., PlayStore®), or between two user devices (e.g., smart phones). If distributed online, at least part of the computer program product can be temporarily generated or at least temporarily stored in the memory of a server of a manufacturer, a server of an application store, or a relay server. TM

[0047] ​According to various embodiments, each component (e.g., a module or a program) of the above-described components can include a single entity or multiple entities. According to various embodiments, one or more of the above-described components can be omitted, or one or more other components can be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) can be integrated into a single component. In this case, according to various embodiments, the integrated component can perform one or more functions of each of the plurality of components in the same or similar manner as the plurality of components perform the one or more functions. According to various embodiments, operations performed by the module, the program, or another component can be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more operations of the operations can be executed in a different order or omitted, or one or more other operations can be added.

[0048] According to an embodiment of the disclosure, the electronic device 101 includes a display (e.g., the display device 160), a processor 120 functionally connected with the display, and a memory 130 functionally connected with the processor 120. The memory 130 stores instructions configured to, when executed, cause the processor 120 to: display a first image through the display; display one or more second images through the display while displaying the first image; select a third image from among the one or more second images; confirm a value of at least one attribute of the third image; generate a filter for applying the value of the at least one attribute to an image; apply the value of the at least one attribute to the first image using the filter; display the first image to which the value of the at least one attribute is applied through the display; and store the filter in the memory 130.

[0049] According to an embodiment of the disclosure, the instructions can be configured to, when executed, cause the processor 120 to display, through the display, one or more second images based on a user input for an object for generating the filter while displaying the first image.

[0050] According to an embodiment of the disclosure, the instructions can be configured to, when executed, cause the processor 120 to confirm a value of at least one attribute of an image portion when the third image can include a blank portion and the image portion.

[0051] According to an embodiment of the disclosure, the instructions can be configured to, when executed, cause the processor 120 to designate a portion of the third image based on a user input, and confirm a value of at least one attribute of the designated portion of the third image.

[0052] According to an embodiment of the disclosure, the instructions can be configured to, when executed, cause the processor 120 to identify at least one object in the third image, and confirm a value of at least one attribute of a region including the identified at least one object.

[0053] According to an embodiment of the disclosure, the instructions can be configured to cause the processor 120 to, after displaying the first image to which the value of the at least one attribute is applied, display, through the display, a user interface for adjusting the value of a first attribute of the at least one attribute, adjust the value of the first attribute based on a user input to the user interface, and generate a filter based on the adjusted value of the first attribute.

[0054] According to an embodiment of the disclosure, the instructions can be configured to cause the processor 120 to, after displaying the first image to which the value of the at least one attribute is applied, display, through the display, one or more fourth images, select at least one fifth image from the one or more fourth images, and generate a filter based on a value of at least one attribute of the at least one fifth image.

[0055] According to an embodiment of the disclosure, the instructions can be configured to cause the processor 120 to, after storing the filter in the memory 130, display, through the display, an image indicating the filter.

[0056] According to an embodiment of the disclosure, the electronic device 101 includes a camera, a display, a processor 120 functionally connected with the camera and the display, and a memory 130 functionally connected with the processor 120. The memory 130 stores instructions configured to, when executed, cause the processor 120 to: display, through the display, a first image input in real time using the camera and a plurality of images indicating one or more filters; while displaying the first image and the plurality of images, display, through the display, one or more second images based on a user input for generating a filter; select a third image from the one or more second images; confirm a value of at least one attribute of the third image; generate a filter for applying the value of the at least one attribute to an image; apply the value of the at least one attribute to the first image using the filter; display, through the display, the first image to which the value of the at least one attribute is applied; store the filter in the memory 130; and display, through the display, an image indicating the filter and the plurality of images.

[0057] According to an embodiment of the disclosure, the instructions can be configured to cause the processor 120 to display the third image as the image indicating the filter.

[0058] According to an embodiment of the disclosure, the instructions can be configured to cause the processor 120 to display the first image to which the value of the at least one attribute is applied as the image indicating the filter.

[0059] According to an embodiment of the disclosure, the at least one attribute can include at least one of a hue, a brightness, a saturation, an image complexity, a contrast, a sharpness, a shadow, or a color temperature of the image.

[0060] Figure 2 is a flowchart illustrating a method for providing a filter in an electronic device according to an embodiment of the disclosure.

[0061] Referring to Figure 2 In operation 201, the processor 120 can display a first image through a display (e.g., the display device 160).

[0062] The processor 120 can display the first image through the display using a camera application. For example, when an input for executing the camera application is received from the user, the processor 120 can display a preview (or live view) image, which is input in real time through the camera, through the display as the first image. As another example, when the preview image is displayed, the processor 120 can display an image captured based on a user input through the display as the first image.

[0063] The processor 120 can display the first image through the display using an image application (e.g., a gallery application). For example, the processor 120 can display a plurality of images through the display by executing the image application. The processor 120 can display an image selected from the plurality of images based on a user input through the display as the first image.

[0064] However, the method for displaying the first image is not limited to the above-described examples. For example, the processor 120 can display a screen captured based on an input from the user for capturing a screen displayed (e.g., currently displayed) through the display as the first image through the display. The processor 120 can display an image obtained from the outside (e.g., an external server) using a web application or a social media service application (e.g., an image obtained from a web page or an image registered (or posted) on a social media service server) as the first image through the display. The processor 120 can display an image received from an external electronic device through the communication module 190 or an image shared with the external electronic device as the first image through the display. The processor 120 can receive an image from the external electronic device, which is obtained in real time by the external electronic device (e.g., a camera or a wearable device connected for communication with the electronic device) connected for communication with the electronic device, and display the received image as the first image through the display.

[0065] The first image can be represented as an original image, a target image, or an input image to which an image attribute is to be applied using a filter to be generated.

[0066] In operation 203, the processor 120 can display one or more second images through the display.

[0067] The processor 120 can display the one or more second images through the display based on a user input (hereinafter referred to as "first user input") for generating a filter.

[0068] The processor 120 can receive an input for generating a filter. For example, upon receiving a user input for editing the first image while displaying the first image, the processor 120 can display, through the display, an object for generating a filter and images respectively indicating a plurality of pre-stored (or pre-generated) filters (or images respectively corresponding to the plurality of filters). The processor 120 can receive a user input for the object for generating a filter as the first user input.

[0069] The processor 120 can display, through the display, one or more second images (e.g., a gallery application) stored in the storage 130 based on the first user input. For example, the processor 120 can display, through the display, one or more second images stored in the storage 130 in a reduced form (e.g., a thumbnail form) based on the first user input. However, a method for displaying one or more second images is not limited thereto. Hereinafter, one or more images displayed through the display based on the first user input are denoted as "one or more second images."

[0070] Although, in the above-described example, the processor 120 displays, through the display, one or more second images stored in the storage 130 based on the first user input, embodiments of the disclosure are not limited thereto. For example, the processor 120 can obtain one or more second images (e.g., images obtained from a web page or images registered in a social media service server) based on the first user input through a web application or a social media service application, and display, through the display, one or more obtained second images.

[0071] At least some (e.g., at least two) of one or more second images displayed based on the first user input can be images. However, embodiments of the disclosure are not limited thereto; for example, at least some of one or more second images displayed based on the first user input can be videos (or dynamic images). At least some of one or more second images displayed based on the first user input can be a frame (or a frame image) included in a video (or included in a plurality of frames constituting a video).

[0072] In operation 205, the processor 120 can select a third image from one or more second images.

[0073] The processor 120 can receive a user input (hereinafter referred to as "second user input") for selecting a third image from one or more second images. For example, the processor 120 can receive a touch input for one or more images displayed in a reduced form (e.g., a thumbnail form) from the user. In an embodiment, the processor 120 can select the third image based on the second user input. Hereinafter, an image selected from one or more second images based on the second user input is referred to as a "third image".

[0074] In an embodiment of the disclosure, the third image can be an image. However, embodiments of the disclosure are not limited thereto, and in an embodiment, the third image can be a video (or a dynamic image). For example, the third image can be a frame included in a video (or included in a plurality of frames constituting a video).

[0075] The third image can be referred to as a reference image, which provides (or extracts) an attribute of an image to generate a filter.

[0076] In operation 207, the processor 120 can determine (or extract) a value of at least one attribute of the third image.

[0077] The at least one attribute (or at least one attribute of an image) can include an attribute that can be determined (or extracted) from an image (or image data). For example, the at least one attribute can include at least one of a tone (or color) of an image, brightness, saturation (or chroma), image complexity, contrast, sharpness, shadow, or color temperature (or white balance). The at least one attribute can include at least a visual effect applied to an image. However, the at least one attribute is not limited to the above-described examples, and can include any attribute related to an image.

[0078] The processor 120 can confirm a value (e.g., a parameter related to the at least one attribute) of the at least one attribute of at least a portion of the third image.

[0079] The processor 120 can designate a portion of the third image for which a value of the at least one attribute is to be confirmed.

[0080] In response to selecting a third image from one or more second images, processor 120 can specify (or confirm) the portion of the third image whose value of at least one attribute will be confirmed. For example, in response to selecting a third image from one or more second images, if the third image includes blank areas other than image portions (or image regions), processor 120 can specify the portion of the third image other than the blank areas as the portion whose value of at least one attribute will be confirmed. In an embodiment, processor 120 can crop the portion of the third image excluding the blank areas. In response to selecting a third image from one or more second images, if the third image includes text other than image portions (e.g., text included in blank areas), processor 120 can specify the portion of the third image other than the portion (or region) containing the text as the portion whose value of at least one attribute will be confirmed. In an embodiment, processor 120 can crop the portion of the third image excluding the portion containing the text.

[0081] The processor 120 can specify (or set) the value of at least one attribute from a third image for the portion of the image to be verified based on user input.

[0082] When a portion of a third image is specified from the third image, the processor 120 can determine the value of at least one attribute of the specified portion of the third image based on the specified (or cropped) portion of the third image (or the data of the specified portion of the third image).

[0083] The following is for reference Figure 3 A method is described in detail, wherein processor 120, based on user input and / or in response to selection of a third image, specifies an image portion from the third image whose value of at least one attribute is to be confirmed, and confirms the value of at least one attribute of the specified image portion.

[0084] According to embodiments of this disclosure, processor 120 can identify objects (e.g., graphics or things) included in a third image and confirm at least one attribute of the identified object (e.g., a region including at least a portion of the identified object). For example, processor 120 can use a program (or algorithm) capable of identifying objects in an image to identify objects in the third image. Processor 120 can confirm the value of at least one attribute of the region including at least a portion of the identified object. References are made below. Figure 4 Describe in detail the method used to identify objects in a third image.

[0085] When the third image is a video, the processor 120 can identify at least one attribute of one frame of the third image. For example, when the third image is a video including a plurality of frames, the processor 120 can select one frame from among the plurality of frames based on a user input (e.g., a user input for capturing one frame among the plurality of frames, or a user input for temporarily stopping playing the video and then capturing one frame of the stopped video). The processor 120 can identify at least one attribute of the selected frame.

[0086] In operation 209, the processor 120 can generate (or obtain) a filter for applying a value of at least one attribute to an image.

[0087] The processor 120 can generate a filter for applying a value of at least one attribute to an image based on a value of at least one attribute of the third image. For example, the processor 120 can generate a filter capable of applying a value of at least one attribute of the third image to the first image displayed through operation 201 and / or an image obtained after the first image.

[0088] The processor 120 can generate a filter for applying a value of at least one attribute to an image based on a value of at least one attribute of an image portion of the third image.

[0089] The processor 120 can generate a filter for applying a value of at least one attribute to an image based on a value of at least one attribute of an object included in the third image.

[0090] The processor 120 can generate a filter configured based on a value of at least one attribute of the third image (e.g., a value of at least one attribute identified based on data of the third image).

[0091] The processor 120 can generate a filter based on a value of at least one attribute of the third image and a plurality of designated (e.g., pre-generated) filters. For example, a plurality of different filters generated according to a value of at least one attribute related to an image can be stored in the memory 130. A plurality of filters different from each other (or corresponding to a value of at least one attribute related to an image) can be generated according to a value of at least one attribute related to an image using artificial intelligence on the electronic device 101 or an external electronic device, and can be stored in the memory 130. However, a method for generating a plurality of filters is not limited thereto. The processor 120 can identify a filter corresponding to a value of at least one attribute of the third image among a plurality of filters stored in the memory 130. The processor 120 can obtain the identified filter as a filter for applying a value of at least one attribute to an image.

[0092] When the filter is generated, the processor 120 can temporarily store the generated filter in the memory 130. In an embodiment, the processor 120 can store the generated filter in a temporary memory (e.g., a volatile memory 132 or a random access memory (RAM)).

[0093] In operation 211, the processor 120 can apply the value of the at least one attribute to the first image using the filter.

[0094] For example, the processor 120 can apply the value of the at least one attribute of the third image to the first image displayed through operation 201 using the filter generated through operation 209.

[0095] When the first image is a preview image that is input in real time through the camera, the processor 120 can apply the value of the at least one attribute of the third image to the preview image that is input in real time using the generated filter.

[0096] When the first image is displayed through the image application, the processor 120 can apply the value of the at least one attribute of the third image to the first image using the generated filter.

[0097] In operation 213, the processor 120 can display, through the display, the first image to which the value of the at least one attribute has been applied using the filter.

[0098] When the first image is a preview image that is input in real time through the camera, the processor 120 can display, through the display, the preview image to which the value of the at least one attribute of the third image has been applied using the generated filter.

[0099] When the first image is displayed through the image application, the processor 120 can display, through the display, the first image to which the value of the at least one attribute of the third image has been applied using the generated filter.

[0100] The processor 120 can display, through the display, the third image and the first image to which the value of the at least one attribute has been applied. For example, the processor 120 can display, through the display, the third image and the first image to which the value of the at least one attribute has been applied in a reduced image form. The processor 120 can superimpose and display, through the display, the third image on the first image to which the value of the at least one attribute has been applied. The processor 120 can display, through the display, the third image and the first image to which the value of the at least one attribute has been applied in a region that is independent (or separated) from a region in which the first image to which the value of the at least one attribute has been applied is displayed.

[0101] After displaying the first image to which the value of the at least one attribute has been applied, the processor 120 can adjust the value of one or more attributes of the at least one attribute. The following refers to Figure 5 and Figure 6The detailed description describes a method in which the processor 120 adjusts a value of one or more of the at least one attribute.

[0102] After displaying the first image to which the value of the at least one attribute is applied, the processor 120 can perform an operation of designating a portion of the third image to which the value of the at least one attribute is to be applied, based on a user input. The processor 120 can perform an operation of generating a filter based on the value of the at least one attribute of the designated portion of the third image, an operation of applying the value of the at least one attribute of the designated portion of the third image to the first image using the generated filter, and an operation of displaying the first image to which the value of the at least one attribute of the designated portion of the third image has been applied, through the display. The following refers to the operation of displaying the first image to which the value of the at least one attribute has been applied, after the operation of displaying the first image to which the value of the at least one attribute has been applied, through the display. Figure 7 The detailed description describes an operation of displaying the first image to which the value of the at least one attribute has been applied, after the operation of displaying the first image to which the value of the at least one attribute has been applied, through the display, based on a user input designating a portion of the third image to which the value of the at least one attribute is to be applied.

[0103] In operation 215, the processor 120 can store the generated filter in the memory 130.

[0104] The processor 120 can store the generated filter in the memory 130 based on a user input while displaying the first image to which the value of the at least one attribute is applied. For example, the processor 120 can semi-permanently store the generated filter in the memory 130 (e.g., the volatile memory 132), based on a user input of an object for storing the generated filter, for example, while displaying the first image to which the value of the at least one attribute has been applied.

[0105] The processor 120 can display an image corresponding to the generated filter through the display while storing the generated filter in the memory 250. For example, the processor 120 can display an image indicating the generated filter through the display while storing the generated filter in the memory 130. The processor 120 can display the generated filter and images indicating a plurality of pre-stored filters through the display while storing the generated filter in the memory 130.

[0106] The processor 120 can display an image corresponding to the generated filter through the display in various ways. For example, the processor 120 can display, through the display, a third image as an image corresponding to the generated filter, which is a basis of the generated filter. The processor 120 can display, through the display, an image corresponding to the first image to which at least one attribute value of the generated filter is applied (e.g., a thumbnail image of the first image to which at least one attribute value is applied) as an image corresponding to the generated filter. The processor 120 can display, through the display, an image to which at least one attribute value of the generated filter is applied (e.g., any image that does not infringe copyright) as an image corresponding to the generated filter.

[0107] The processor 120 can display, through the display, an image including text indicating the generated filter and corresponding to the generated filter. For example, the processor 120 can display, through the display, an image corresponding to the generated filter and including text indicating a name of the generated filter or text indicating an image attribute (e.g., at least one attribute of the third image) that is a basis of the generated filter. However, the processor 120 is not limited thereto and can display, through the display, an image corresponding to the generated filter and not including text indicating the generated filter.

[0108] Although not shown in Figure 2 , the processor 120 can store the first image to which at least one attribute value is applied in the memory 130. For example, the processor can store the first image to which at least one attribute value is applied in the memory 130 based on a user input.

[0109] Although not shown in Figure 2 , after storing the newly generated filter, and when performing a filter function on a displayed image using an image or a newly obtained image using a camera, the processor can display, through the display, the newly generated and stored filter. For example, after storing the newly generated filter, and when performing a filter function on a displayed image using an image or a newly obtained image using a camera, the processor can display, through the display, the newly generated and stored filter as a pre-stored filter (e.g., together with a pre-stored filter before the newly generated filter).

[0110] Figure 3 is a flowchart illustrating a method for confirming a value of at least one attribute of a third image according to an embodiment of the disclosure.

[0111] Referring to Figure 3 , in operation 301, according to an embodiment, the processor 120 can designate a portion of the third image.

[0112] In response to a user input for selecting a third image among the one or more second images, the processor 120 can confirm an image portion in the third image.

[0113] In response to selecting the third image among the one or more second images, the processor 120 can designate (or confirm) a portion for which a value of at least one attribute of the third image is to be confirmed.

[0114] In response to selecting the third image among the one or more second images, if the third image includes a blank portion in addition to an image portion (or an image region), the processor 120 can designate an image portion in the third image other than the blank portion as a portion for which a value of at least one attribute of the third image is to be confirmed. For example, when the third image includes a blank portion in addition to an image portion (or an image region), the processor 120 can confirm (or detect) an edge (or a contour) of the image portion in the third image. The processor 120 can designate (or confirm) an image portion other than the blank portion in the third image as a portion for which at least one attribute is to be confirmed (or extracted) based on the confirmed edge of the image portion. The processor 120 can crop the designated portion (e.g., an image portion) from the third image. Although in the above-described example, a portion of the third image is designated by confirming an edge of an image portion in the third image, embodiments of the disclosure are not limited thereto. For example, various other methods can be employed to designate an image portion in the third image for which at least one attribute is to be confirmed.

[0115] In response to selecting the third image among the one or more second images, if the third image includes text (e.g., text included in a blank portion) in addition to an image portion (or an image region), the processor 120 can designate a portion (e.g., an image portion) in the third image other than a portion including the text as an image portion for which a value of at least one attribute is to be confirmed. The processor 120 can crop the designated portion (e.g., an image portion) other than the portion including the text from the third image.

[0116] When the third image includes a blank portion or text in addition to an image portion (or an image region), the processor 120 can automatically designate only an image portion other than the blank portion or the text in the third image as a portion for which a value of at least one attribute of the third image is to be confirmed, thereby generating a filter based only on the image portion in the third image.

[0117] The processor 120 can designate, set, or select a portion for which a value of at least one attribute of the third image is to be confirmed from the third image based on a user input.

[0118] When the third image is selected from among the one or more second images, the processor 120 can display, through the display (e.g., the display device 160), an object (or an image object) (hereinafter, referred to as a "first object") for designating a portion of the third image in which a value of at least one attribute is to be confirmed by a user input, together with the selected third image. The processor 120 can confirm a portion of the third image designated (or set) by a position of the first object based on a user input (e.g., a drag input of moving the first object) with respect to the first object. The processor 120 can crop the confirmed portion of the third image. However, a method for designating an image portion in which a value of at least one attribute is to be confirmed from the third image based on a user input is not limited thereto.

[0119] The processor 120 can generate a filter based on a portion of the third image in which a user desires based on the portion of the third image in which a value of at least one attribute is designated to be confirmed based on a user input. The processor 120 can generate a filter based on an image portion of the third image other than a blank portion or text based on the portion of the third image in which a value of at least one attribute is designated to be confirmed based on a user input.

[0120] In response to selecting the third image from among the one or more second images, an operation of designating (or identifying) a portion of the third image in which a value of at least one attribute is to be confirmed can be performed before an operation of designating a portion of the third image in which a value of at least one attribute is to be confirmed based on a user input is performed. For example, in response to selecting the third image from among the one or more second images, the processor 120 can designate a portion of the third image in which a value of at least one attribute is to be displayed, and crop the designated portion of the third image. The processor 120 can display the cropped portion of the third image through the display. The processor 120 can redesignate a portion of the third image in which a value of at least one attribute is to be confirmed in the displayed portion of the third image based on a user input with respect to the displayed portion of the third image. However, not limited thereto, in response to selecting the third image from among the one or more second images, an operation of designating a portion of the third image in which a value of at least one attribute is to be confirmed based on a user input can be performed before an operation of designating (or identifying) a portion of the third image in which a value of at least one attribute is to be confirmed is performed.

[0121] In operation 303, the processor 120 can confirm a value of at least one attribute of the designated portion of the third image.

[0122] When a portion of the third image is designated from the third image, the processor 120 can confirm a value of at least one attribute (or a parameter related to at least one attribute) of the designated portion of the third image based on the designated (or cropped) portion of the third image (or data of the designated portion of the third image). For example, the processor 120 can confirm a value of at least one attribute (e.g., at least one of a hue (or color), a brightness, a saturation, an image complexity, a contrast, a sharpness, a shadow, or a color temperature (or white balance) of an image or a visual effect) of the designated portion of the third image. However, the at least one attribute confirmed by the processor is not limited to the above-described example.

[0123] Figure 4 is a flowchart illustrating a method for confirming a value of at least one attribute by recognizing an object recognized in a third image according to an embodiment of the disclosure.

[0124] Referring to Figure 4 In operation 401, according to an embodiment, the processor 120 can recognize an object (e.g., a person object or a thing object) in a third image. For example, the processor 120 can recognize an object in the third image using a program (or algorithm) capable of recognizing an object in an image.

[0125] The processor 120 can recognize an object in the third image in response to selection of the third image from one or more second images. The processor 120 can recognize an object in the third image based on a user input (e.g., a touch input to a user interface (e.g., an icon) matching a function for performing object recognition) when the third image is displayed.

[0126] The processor 120 can recognize at least one object in the third image. The processor 120 can display, through a display (e.g., the display device 160), an indication that the at least one object recognized in the third image is recognized. When a plurality of objects is recognized in the third image, the processor 120 can display, through the display, an indication that each of the plurality of recognized objects is recognized, for each of the plurality of objects. For example, when a plurality of objects is recognized in the third image, the processor 120 can display, through the display, an outline of each of the plurality of objects. However, a method for displaying an indication that each of the plurality of recognized objects is recognized is not limited thereto.

[0127] When an object is recognized in the third image, the processor 120 can select the recognized object. When a plurality of objects is recognized in the third image, the processor 120 can select at least one object from the plurality of objects based on a user input. For example, the processor 120 can select at least one object from the plurality of objects on which the user has made a touch input. However, a method for selecting an object recognized in the third image is not limited thereto.

[0128] In operation 403, the processor 120 can confirm a value of at least one attribute of a portion including the object in the third image.

[0129] The processor 120 can confirm a value of at least one attribute of a portion including the recognized object (e.g., a portion corresponding to the recognized object) in the third image. For example, the processor 120 can confirm a value of at least one attribute of a portion including the recognized object (e.g., at least one of a hue (or color), a brightness, a saturation, an image complexity, a contrast, a sharpness, a shadow, or a color temperature (or white balance) of an image or a visual effect).

[0130] Figure 5 FIG. 1 is a flowchart illustrating a method for adjusting a value of at least one attribute based on a user interface according to an embodiment of the disclosure.

[0131] As Figure 2 Operation 213 of FIG. 2A, Figure 5 Operation 213 of FIG. 2A,

[0132] Referring to Figure 5 In operation 501, the processor 120 can select a first attribute from among the at least one attribute.

[0133] When the first image to which the value of the at least one attribute has been applied is displayed, the processor 120 can select an attribute (hereinafter referred to as "first attribute") to be adjusted from among the at least one attribute based on a user input. For example, when a user input with respect to the third image is received while the third image and the first image to which the value of the at least one attribute has been applied are displayed, the processor 120 can display at least one object corresponding to (or indicating) the at least one attribute through the display (e.g., the display device 160). The processor 120 can select a first attribute corresponding to an object in which the user input is received from among the at least one object corresponding to the at least one attribute.

[0134] In operation 503, the processor 120 can display an interface for adjusting a value of the selected first attribute through the display.

[0135] When the first attribute is selected, the processor 120 can display an interface for adjusting a value of the selected first attribute through the display.

[0136] To adjust the value of the first attribute, the processor 120 can display, through the display, an interface including a bar indicating a range of the value of the first attribute and an object that can be moved according to the bar. The position of the object on the bar can correspond to the value of the first attribute, respectively. To adjust the value of the first attribute, the processor 120 can display, through the display, an interface including a field for inputting the value of the first attribute. However, the method of displaying the interface for adjusting the value of the selected first attribute is not limited thereto.

[0137] In operation 505, the processor 120 can generate a filter having the adjusted value of the first attribute based on the user input to the interface (e.g., the adjusted value of the first attribute can be applied to the image).

[0138] The processor 120 can adjust the value of the first attribute based on the user input to the interface. For example, the processor 120 can adjust the value of the first attribute by moving the position of the object for adjusting the value of the first attribute according to the bar indicating the range of the value of the first attribute based on the user input (e.g., a drag input to the object for adjusting the value of the first attribute). As another example, the processor 120 can adjust the value of the first attribute by inputting the value of the first attribute to the field for inputting the value of the first attribute based on the user input.

[0139] The processor 120 can generate a filter based on the value of at least one attribute including the adjusted value of the first attribute. For example, when at least one attribute that is a basis of the filter to be generated includes the first attribute and a second attribute, and among the values of the first attribute and the second attribute, the value of the first attribute is adjusted, the processor 120 can generate a filter for applying the adjusted value of the first attribute and the unadjusted value of the second attribute to the image.

[0140] In operation 507, the processor 120 can display, through the display, a first image using the filter generated based on the value of at least one attribute including the adjusted value of the first attribute.

[0141] Since the operation of displaying the first image using the filter generated based on the value of at least one attribute including the adjusted value of the first attribute described above in connection with operation 507 is at least partially the same as or similar to the operation of displaying the first image to which the value of at least one attribute has been applied using the filter described above in connection with operation 213, a repetitive description will not be given below. Figure 2

[0142] When the first image is a preview image that is input in real time through the camera, the processor 120 can display, through the display, a preview image to which the value of at least one attribute including the adjusted value of the first attribute of the third image has been applied using the generated filter.

[0143] ​When the first image is displayed via an image application, the processor 120 can display the first image on the screen, which has been applied with a generated filter, including the adjusted value of the first attribute of the third image.

[0144] The processor 120 can display a third image and a first image with the value of at least one attribute, including the adjusted value of the first attribute, applied to the display.

[0145] The processor 120 can display a third image on a monitor in which the value of the first attribute has been adjusted, and a first image in which the value of at least one attribute, including the adjusted value of the first attribute, has been applied.

[0146] Figure 6 This is a flowchart illustrating a method for adjusting the value of at least one attribute based on multiple images, according to an embodiment of the present disclosure.

[0147] Reference Figure 6 , Figure 6 The operations shown may include, for example, the operation of displaying a first image to which the value of at least one attribute is applied, such as Figure 2 Operation 213, or it could be an operation performed after performing the operation of displaying the value of the first image to which at least one attribute has been applied.

[0148] Reference Figure 6 In operation 601, processor 120 may select a first attribute from at least one attribute.

[0149] Since, as in operation 601, the operation of processor 120 selecting a first attribute from at least one attribute is similar to, as in... Figure 4 The operation 501 in which the processor 120 selects a first attribute from at least one attribute is at least partially the same or similar, and therefore will not be described again below.

[0150] In operation 603, processor 120 may display one or more fourth images via a display (e.g., display device 160).

[0151] In response to the selection of the first attribute, the processor 120 can display one or more fourth images associated with the first attribute stored in the memory 130 via a display.

[0152] When the processor 120 selects the first attribute from the at least one attribute, the processor 120 can display one or more fourth images, the values of the first attribute of which are within a specified range from the value of the first attribute of the third image among the one or more second images stored in the storage 130, through the display. For example, when the processor 120 selects the hue (or color) as the first attribute, the processor 120 can identify one or more fourth images (hereinafter referred to as "one or more fourth images") whose hue values are within a specified range from the first value of the hue of the third image among the one or more second images stored in the storage 130. The processor 120 can display the one or more identified fourth images through the display.

[0153] When the first attribute is selected from the at least one attribute, the processor 120 can display the one or more second images stored in the storage 130 through the display. The processor 120 can control the display to display one or more fourth images having values of the first attribute that belong to the specified range from the value of the first attribute of the third image and images having values of the first attribute that do not belong to the specified range from the value of the first attribute of the third image, respectively, among the one or more second images. For example, the processor 120 can control the display such that, among the one or more second images, the one or more fourth images are different in hue from the images having values of the first attribute that do not belong to the specified range from the value of the first attribute of the third image. However, a method for controlling the display to display the one or more fourth images and the images having values of the first attribute that do not belong to the specified range from the value of the first attribute of the third image, respectively, among the one or more second images is not limited thereto. For example, the processor can display only the one or more fourth images, the values of which belong to the specified range from the value of the first attribute of the third image, among the one or more second images, through the display.

[0154] The processor 120 can make it possible to select the one or more fourth images among the one or more second images, and not possible to select the images having values of the first attribute that do not belong to the specified range from the value of the first attribute of the third image. The processor 120 can include an object indicating that the one or more fourth images among the one or more second images are selectable, and exclude an object indicating that the images having values of the first attribute that do not belong to the specified range from the value of the first attribute of the third image are selectable.

[0155] The processor 120 can make it possible to select one or more fourth images for one or more second images, and make it impossible to select an image having a value of the first attribute that belongs to the specified range of the value of the first attribute of the third image, thereby making it easy for the user to select at least some of the one or more fourth images having a value of the first attribute similar to (e.g., falling within a specified range of) the value of the first attribute of the third image. According to an embodiment, the one or more fourth images can include the third image.

[0156] In operation 605, the processor 120 can select at least one fifth image from the one or more fourth images. For example, the processor 120 can select at least one fifth image from the one or more fourth images based on a user input (e.g., a touch input for at least one fifth image among the one or more fourth images).

[0157] The processor 120 can select at least one fifth image including the third image from the one or more fourth images. The processor 120 can select at least one fifth image not including the third image from the one or more fourth images. For example, in operation 603, the third image can be in a state of being selected as a default while the one or more fourth images are displayed. The processor 120 can deselect the third image based on a user input, and can select at least one image other than the third image from the one or more fourth images as at least one fifth image.

[0158] In operation 607, the processor 120 can generate a filter based on a value of the first attribute of at least one fifth image. For example, the processor 120 can confirm the value of the first attribute of at least one fifth image. The processor 120 can determine (or calculate) a value of the first attribute that is an average of the values of the first attribute of at least one fifth image. The processor 120 can generate a filter based on at least one attribute value including the determined (or calculated) value of the first attribute. Although in the above example, the filter is generated using an average of the values of the first attribute of at least one fifth image, embodiments of the disclosure are not limited thereto.

[0159] In operation 609, the processor 120 can display, through the display, a first image using the filter generated based on the value of the first attribute of at least one fifth image.

[0160] Since the operation of displaying the first image using the filter generated based on the value of at least one attribute of at least one fifth image in operation 609 is the same as the operation of displaying the first image using the filter generated based on the value of at least one attribute of at least one fourth image in operation 607, a detailed description thereof will be omitted. Figure 5The operation of displaying the first image using the filter generated based on the value of at least one attribute including the adjusted value of the first attribute in operation 507 is at least partially the same or similar to operation 507, and thus a repeated description is not given below.

[0161] Although Figure 6 Although an example operation for displaying one or more fourth images related to the first attribute is illustrated, embodiments of the disclosure are not limited thereto. For example, in response to the selection of the first attribute in operation 601, the processor 120 can display one or more second images stored in the memory 130 through the display. The processor 120 can select at least one fifth image from the displayed one or more second images based on a user input, and generate a filter based on a value of the first attribute of the selected at least one fifth image.

[0162] Figure 7 is a flowchart illustrating a method for generating a filter based on a portion of a third image specified according to a user input according to an embodiment of the disclosure.

[0163] Referring to Figure 7 , Figure 7 The operation illustrated in operation 701 can include an operation of displaying the first image to which the value of the at least one attribute is applied, as in operation 213 of Figure 2 , or can be an operation performed after an operation of displaying the first image to which the value of the at least one attribute is applied is performed.

[0164] Referring to Figure 7 In operation 701, the processor 120 can specify a portion of a third image based on a user input.

[0165] The processor 120 can display, through the display (e.g., the display device 160), a first object for a portion of the third image in which the value of the at least one attribute is confirmed by the user input while displaying the third image and the first image to which the value of the at least one attribute is applied. For example, the processor 120 can display, through the display, an enlarged third image and a first object in the enlarged third image based on a user input for selecting the third image while displaying the third image and the first image to which the value of the at least one attribute is applied. The processor 120 can confirm a portion of the third image specified (or set) by the position of the first object based on a user input (e.g., a drag input for moving the first object) to the first object. The processor 120 can crop the confirmed portion of the third image. However, a method for specifying an image portion in which the value of the at least one attribute is confirmed from the third image based on a user input is not limited thereto.

[0166] Even after displaying the first image in which the value of the at least one attribute has been applied, the processor 120 can generate a filter based on a portion of the third image in which the user desires based on the user input designating the portion of the third image in which the value of the at least one attribute is confirmed.

[0167] In operation 703, the processor 120 can confirm the value of the at least one attribute for the designated portion of the third image.

[0168] In operation 705, the processor 120 can generate (or obtain) a filter for applying the value of the at least one attribute to the image.

[0169] In operation 707, the processor 120 can apply the value of the at least one attribute to the first image using the filter.

[0170] In operation 709, the processor 120 can display the first image in which the value of the at least one attribute has been applied using the filter through the display.

[0171] Since embodiments of operations 703 to 709 are at least partially the same as or similar to embodiments of operations 207 to 213 of FIG. 2, Figure 2 a detailed description thereof will not be given below.

[0172] Figure 8 is a flowchart illustrating a method of providing a filter using a camera application according to an embodiment of the disclosure.

[0173] Referring to Figure 8 , in operation 801, the processor 120 can display a first image obtained through a camera through a display (e.g., the display device 160). For example, when receiving an input for executing a camera application from a user, the processor 120 can display a preview image input in real time through a camera as the first image through the display.

[0174] In operation 803, the processor 120 can display one or more second images through the display.

[0175] The processor 120 can receive a user input for displaying a filter for applying (or changing) at least one attribute to the first image while displaying the first image.

[0176] The processor 120 can display an object for newly generating a filter for applying (or changing) at least one attribute to the first image and images respectively indicating (or corresponding to) a plurality of pre-stored filters based on the user input for displaying the filter through the display.

[0177] The plurality of pre-stored filters can include at least one filter generated by a generator (or a developer) of the camera application (hereinafter referred to as "at least one first filter") and at least one filter generated by a user of the electronic device 101 and stored (e.g., by the user selecting an object for generating a filter and selecting at least one attribute to be applied to an image, and then storing a filter generated based on the selected object and the selected attribute) (hereinafter referred to as "at least one second filter"). However, the at least one first filter is not limited to a filter generated by a generator (or a developer) of the camera application, but can include a filter downloaded by the electronic device after being generated by a third party (or an external device). Figure 2

[0178] The processor 120 can display, through the display, at least one first filter based on a user input while displaying the first image. For example, the processor 120 can display, through the display, a thumbnail image (e.g., an image displayed in the form of a thumbnail) of the image to which an attribute corresponding to each of the at least one first filter has been applied.

[0179] The processor 120 can display, through the display, an object for generating a filter and at least one second filter based on a user input while displaying the at least one first filter. For example, the processor 120 can display, through the display, an object for generating a filter and a thumbnail image of a third image (e.g., the image for which at least one attribute to be applied to an image has been confirmed (or extracted) when at least one second filter is generated) for generating at least one second filter based on a user input while displaying the at least one first filter.

[0180] Each of the images indicating the plurality of pre-stored filters can include text indicating a filter name or text indicating (or corresponding to) an image attribute (or an attribute value of an image) (e.g., at least one attribute of the third image) that is a basis for a filter.

[0181] However, the method of displaying a pre-stored filter by the processor 120 and the method of displaying an object for generating a filter are not limited thereto.

[0182] The processor 120 can display, through the display, one or more second images stored in the memory 130 based on a user input (e.g., a touch input) with respect to the object for generating a filter. For example, the processor 120 can display, through the display, one or more second images stored in the memory 130 and related to an image application or a camera application based on a user input with respect to the object for generating a filter.

[0183] The processor 120 can display, through the display, the second image in a reduced form (e.g., a thumbnail form).

[0184] In operation 805, the processor 120 can select a third image from among the one or more second images. ​

[0185] In operation 807, the processor 120 can confirm (or extract) a value of at least one attribute of the third image.

[0186] In operation 809, the processor 120 can generate (or obtain) a filter for applying the value of the at least one attribute to the image.

[0187] Since embodiments of operations 805 through 809 are at least partially the same as or similar to embodiments of operations 205 through 209 of FIG. 2, Figure 2 a detailed description thereof is not given below.

[0188] In operation 811, the processor 120 can apply the value of the at least one attribute to the first image using the filter (e.g., the filter generated through operation 809). The processor 120 can apply the value of the at least one attribute of the third image to a preview image that is input in real time as the first image.

[0189] In operation 813, the processor 120 can display, through the display, the first image to which the value of the at least one attribute has been applied using the filter.

[0190] For the preview image that is input in real time as the first image, the processor 120 can continuously display, through the display, the preview image to which the value of the at least one attribute of the third image has been applied.

[0191] The processor 120 can display, through the display, the third image and the first image to which the value of the at least one attribute has been applied. For example, the processor 120 can display, through the display, the third image and the first image to which the value of the at least one attribute has been applied in the form of a reduced image. The processor 120 can superimpose and display, through the display, the third image on the first image to which the value of the at least one attribute has been applied. The processor 120 can display, through the display, the third image and the first image to which the value of the at least one attribute has been applied in a region that is independent of (separated from) a region in which the first image to which the value of the at least one attribute has been applied is displayed.

[0192] In operation 815, according to an embodiment, the processor 120 can store the generated filter in the memory 130. The processor 120 can store the generated filter in the memory 130 based on a user input while displaying the first image to which the value of the at least one attribute has been applied. For example, the processor 120 can store the generated filter in the memory 130 based on a user input for an object for storing the generated filter while displaying the first image to which the value of the at least one attribute has been applied.

[0193] While storing the generated filter in the storage 250, the processor 120 can display an image corresponding to the generated filter through the display. For example, while storing the generated filter in the storage 130, the processor 120 can display an image indicating the generated filter through the display. As another example, while storing the generated filter in the storage 130, the processor 120 can display the generated filter and an image indicating at least one second filter that has been displayed in operation 801 through the display.

[0194] The processor 120 can display a reduced image of the third image (or a thumbnail image of the third image) through the display as the image indicating the generated filter. However, embodiments of the disclosure are not limited thereto.

[0195] The processor 120 can display an image containing text indicating and corresponding to the generated filter through the display. For example, the processor 120 can display an image corresponding to the generated filter and containing text indicating a name of the generated filter or text indicating an image attribute (e.g., at least one attribute of the third image) that is a basis of the generated filter through the display.

[0196] Although not shown in Figure 8 , the examples described above in connection with Figures 3 to 7 may be equally applicable to Figure 8 the operational examples.

[0197] Figure 9 is a flowchart illustrating a method of providing a filter using an image application according to an embodiment of the disclosure.

[0198] Referring to Figure 9 , in operation 901, the processor 120 can display a first image through a display (e.g., the display device 160) using an image application (e.g., a gallery application). For example, the processor 120 can display a plurality of images through the display by executing the image application. The processor 120 can display an image selected from the plurality of images based on a user input as the first image through the display.

[0199] In operation 903, the processor 120 can display one or more second images through the display.

[0200] The processor 120 can receive a user input for displaying a filter for applying (or changing) at least one attribute to the first image while displaying the first image.

[0201] The processor 120 can display, through the display, an object for newly generated filters and images respectively indicating (or corresponding to) a plurality of pre-stored filters based on a user input for displaying the filters, the filters being used to apply (or change) at least one attribute to the first image.

[0202] The plurality of pre-stored filters can include at least one filter (hereinafter referred to as "at least one first filter") generated by a generator (or a developer) of the camera application and at least one filter (for example, a filter stored by operation 215 of the camera application) generated and stored by a user of the electronic device 101 (hereinafter referred to as "at least one second filter"). Figure 2

[0203] When the first image is displayed, the processor 120 can display, through the display, the at least one first filter, the at least one second filter, and the object for generating the filter based on the user input. For example, the processor 120 can display, through the display, a thumbnail image (for example, an image displayed in the form of a thumbnail) of an image to which an attribute corresponding to each of the at least one first filter has been applied, a thumbnail image (for example, an image in which at least one attribute to be applied to the image has been confirmed) of a third image for generating the at least one second filter, and the object for generating the filter.

[0204] Each image indicating the plurality of pre-stored filters can include text indicating a filter name or text indicating an attribute (or an attribute value of an image) of an image (for example, at least one attribute of the third image) as a basis of the filter.

[0205] However, the method of displaying the pre-stored filters by the processor 120 and the method of displaying the object for generating the filter are not limited thereto.

[0206] The processor 120 can display, through the display, one or more second images stored in the memory 130 based on a user input (for example, a touch input) with respect to the object for generating the filter. For example, the processor 120 can display, through the display, one or more second images stored in the memory 130 and related to the image application or the camera application based on the user input with respect to the object for generating the filter.

[0207] The processor 120 can display, through the display, the second image in a reduced form (for example, in the form of a thumbnail).

[0208] In operation 905, the processor 120 can select a third image from among the one or more second images.

[0209] In operation 907, the processor 120 can confirm (or extract) a value of at least one attribute of the third image.

[0210] ​In operation 909, the processor 120 can generate (or obtain) a filter for applying a value of at least one attribute to the image.

[0211] In operation 911, the processor 120 can apply a value of at least one attribute to the first image using the filter (e.g., the filter generated through operation 909).

[0212] In operation 913, the processor 120 can display, through the display, the first image to which a value of at least one attribute has been applied using the filter.

[0213] Since embodiments of operations 905 to 913 are at least partially the same as or similar to Figure 2 embodiments of operations 205 to 213 of FIG. 2, detailed descriptions thereof are not given below.

[0214] In operation 915, according to an embodiment, the processor 120 can store the generated filter in the storage 130. The processor 120 can store the generated filter in the storage 130 based on a user input while displaying the first image to which a value of at least one attribute has been applied. For example, the processor 120 can store the generated filter in the storage 130 based on a user input for an object for storing the generated filter while displaying the first image to which a value of at least one attribute has been applied.

[0215] The processor 120 can display, through the display, an image corresponding to the generated filter while storing the generated filter in the storage 250. For example, the processor 120 can display, through the display, an image indicating the generated filter while storing the generated filter in the storage 130. As another example, the processor 120 can display, through the display, the generated filter and an image indicating the pre-designated filter that has been displayed in operation 901 while storing the generated filter in the storage 130.

[0216] The processor 120 can display, through the display, a reduced image of the first image to which a value of at least one attribute has been applied (or a thumbnail image of the first image) as the image indicating the generated filter. However, embodiments of the disclosure are not limited thereto.

[0217] The processor 120 can display, through the display, an image containing text indicating the generated filter and corresponding to the generated filter. For example, the processor 120 can display, through the display, an image corresponding to the generated filter and containing text indicating a name of the generated filter or text indicating image attributes (e.g., at least one attribute of the third image) that are a basis of the generated filter.

[0218] Although not shown in Figure 9 , the above description is given in connection with Figures 3 to 7The described examples can equally apply to Figure 9 operation examples.

[0219] Figure 10A and Figure 10B are views illustrating a method of providing a filter using a camera application according to various embodiments of the disclosure.

[0220] Referring to Figure 10A and Figure 10B , reference numeral 1001 can denote a screen including a first image 1010 and images corresponding to pre-stored filters (e.g., at least one first filter).

[0221] The processor 120 can display the first image 1010 through a display (e.g., the display device 160) as a preview image input in real time through the camera application. The processor 120 can receive a user input for displaying a filter to which at least one attribute is applied to the first image 1010. As shown in 1001, the processor 120 can display, through the display, the first image 1010, an object 1011 for capturing (or recording) the first image 1010, an object 1013 for displaying at least one first filter generated by a generator (or a developer) of the camera application, an object 1014 for displaying an object for a newly generated filter and at least one second filter generated and stored by a user of the electronic device 101, and images (e.g., an image 1015-2 and an image 1015-3) indicating the at least one first filter.

[0222] The processor 120 can display, through the display, a reduced image (e.g., an image displayed in the form of a thumbnail) of an image (e.g., the image 1015-2 and the image 1015-3) to which at least one attribute corresponding to each of the at least one first filter for the first image 1010 has been applied. The processor 120 can display, through the display, the image 1015-2 and the image 1015-3 including text (e.g., "warm" and "calm") indicating at least one attribute applied to each of the image 1015-2 and the image 1015-3. The processor 120 can display, through the display, a reduced image 1015-1 of the first image to which at least one attribute for the first image 1010 has not been applied. According to an embodiment, the processor 120 can display, through the display, the reduced image 1015-1 of the first image 1010 such that the reduced image 1015-1 of the first image 1010 includes text (e.g., "original copy") indicating that at least one attribute has not been applied.

[0223] Reference numeral 1003 can denote a screen including the first image 1020, an image corresponding to a pre-stored filter (e.g., at least one second filter), and an object 1021-1 for a newly generated filter. Reference numeral 1003 can denote a screen displayed through the display when a user input (e.g., a touch input) to the object 1014 in 1001 is received.

[0224] As shown in 1003, the processor 120 can display, through the display, the first image 1020, images (e.g., image 1021-3 and image 1021-4) indicating at least one second filter generated and stored by a user of the electronic device 101, an object 1021-1 for a newly generated filter, a reduced image 1021-2 of the first image, the object 1011, the object 1013, and the object 1014.

[0225] The processor 120 can display, through the display, an image indicating at least one second filter in a reduced form of an image when the at least one second filter is generated, for which at least one attribute has been confirmed (or extracted). The processor 120 can display, through the display, the image 1021-3 and the image 1021-4 including names (e.g., "Filter 1" and "Filter 2") indicating the image 1021-3 and the image 1021-4, respectively. The processor 120 can display, through the display, the reduced image 1021-2 of the first image 1020 so that the reduced image 1021-2 of the first image 1020 includes text (e.g., "Original Copy") indicating that at least one attribute is not applied.

[0226] Reference numeral 1005 can denote a screen including one or more second images 1030. Reference numeral 1005 can denote a screen displayed through the display when a user input (e.g., a touch input) to the object 1021-1 in 1003 is received.

[0227] The processor 120 can display, through the display, one or more second images 1030 stored in the storage 130 in a reduced form (e.g., a thumbnail form). For example, the processor 120 can display, through the display, one or more second images 1030 stored in the storage 130 and related to an image application or a camera application based on a user input to the object 1021-1 for generating a filter.

[0228] Reference numeral 1007 can denote a screen displayed when an image 1031 is selected from among the one or more second images 1030.

[0229] According to an embodiment, the processor 120 can select the image 1031 as a third image based on a user input (e.g., a touch input on the image 1031) in the one or more second images 1030. The processor 120 can confirm a value of at least one attribute of the selected image 1031. The processor 120 can generate a filter based on the value of the at least one attribute of the image 1031.

[0230] As indicated by 1007, the processor 120 can display, through the display, a first image 1040 to which the value of the at least one attribute of the selected image 1031 has been applied with the generated filter.

[0231] The processor 120 can display, through the display, the selected image 1031 and the first image 1040. For example, the processor 120 can display, through the display, the image 1031 as a third image overlaid on the first image 1040 to which the value of the at least one attribute has been applied. However, a method for displaying the third image is not limited to the above-described example.

[0232] The processor 120 can display, through the display, a text (e.g., "Filter 7") 1041 indicating a name of the newly generated filter in the first image 1040.

[0233] The processor 120 can display, through the display, an object 1043 for storing the generated filter in the storage 130 and an object 1045 for deleting the generated filter (e.g., a filter that is generated and then temporarily stored in the storage 130).

[0234] Reference numeral 1009 can denote a screen displayed through the display after the generated filter is stored. According to an embodiment, reference numeral 1009 can denote a screen displayed through the display when a user input (e.g., a touch input) on the object 1043 in 1007 is received.

[0235] The processor 120 can display, through the display, a first image 1050 to which the value of the at least one attribute of the image 1031 has been applied with the generated filter and an image 1051 indicating the generated filter. For example, the processor 120 can display, through the display, the first image 1050 to which the value of the at least one attribute of the image 1031 has been applied using the generated filter, images (e.g., images 1021-5 and 1021-6) indicating at least one pre-stored second filter (e.g., at least one second filter generated by a user of the electronic device 101), and the image 1051 indicating the generated filter.

[0236] The processor 120 can also display, through the display, an interface 1053 for adjusting a degree (or intensity) of a value of at least one attribute to which a filter (e.g., a generated filter or a filter selected from pre-stored filters) is applied to the image 1050. The processor 120 can adjust the degree of the value of the at least one attribute applied to the first image 1050 displayed through the display using the generated filter according to a position of an object 1053-1 included in the interface 1053. For example, when the object 1053-1 is located at the leftmost side of a bar of the interface 1053 based on a user input to the object 1053-1, the processor 120 can display an image (e.g., the image 1010 or an original image) to which the value of the at least one attribute has not yet been applied by the generated filter. When the object 1053-1 is located at the rightmost side of the bar of the interface 1053 based on the user input to the object 1053-1, the processor 120 can display an image (e.g., the image 1050) to which the value of the at least one attribute has been completely applied by the generated filter.

[0237] Figure 11A and Figure 11B are views illustrating a method of providing a filter using an image application according to various embodiments of the disclosure.

[0238] Referring to Figure 11A and Figure 11B , reference numeral 1101 can denote a screen including a first image 1110, an object 1111 for generating a filter, and images (e.g., an image 1112-2, an image 1112-3, and an image 1112-4) corresponding to pre-stored filters (e.g., at least one first filter and at least one second filter).

[0239] When the image application is executed, the processor 120 can display, through the display (e.g., the display device 160), the first image 1110 selected by the user. The processor 120 can display, through the display, the screen as shown in 1101 based on an input (e.g., an input for using a filter on the selected first image 1110) for editing the selected first image 1110.

[0240] As shown in 1101, the processor 120 can display, through the display, the first image 1110, images (e.g., the image 1112-2, the image 1112-3, and the image 1112-4) indicating a plurality of pre-stored filters, and the object 1111 for generating a filter.

[0241] The processor 120 can display, through the display, a reduced image of the image to which the at least one attribute for the first image has been applied (e.g., image 1112-2, image 1112-3, and image 1112-4) corresponding to the plurality of filters, respectively. The processor 120 can display, through the display, the image 1112-2, the image 1112-3, and the image 1112-4 including text (e.g., "automatic," "warm," and "calm") indicating at least one attribute applied to each of the image 1112-2, the image 1112-3, and the image 1112-4. The processor 120 can display, through the display, a reduced image 1112-1 of the first image 1110 to which the at least one attribute for the first image has not been applied. The processor 120 can display, through the display, the reduced image 1112-1 of the first image 1110 such that the reduced image 1112-1 of the first image 1110 includes text (e.g., "original copy") indicating that the at least one attribute has not been applied. The processor 120 can further display, through the display, an interface 1113 for adjusting a degree (or intensity) of a value of the at least one attribute applied by the filter selected from the plurality of filters of the image 1110. When no filter is selected, the processor 120 can display, through the display, the interface 1113 indicating that the interface 1113 cannot receive a user input (e.g., the interface 1113 is deactivated). For example, when no filter is selected, the processor 120 can control the display to display the interface 1113 in a first color (e.g., black), and when a filter is selected, control the display to display the interface 1113 in a second color (e.g., yellow) to indicate that the interface 1113 can receive a user input.

[0242] Reference numeral 1103 can denote a screen including one or more second images 1120. Reference numeral 1103 can denote a screen displayed through the display when a user input (e.g., a touch input) to the object 1111 in 1101 is received.

[0243] The processor 120 can display, through the display, the one or more second images 1120 stored in the storage 130 in a reduced form (e.g., a thumbnail form). For example, the processor 120 can display, through the display, the one or more second images 1120 stored in the storage 130 and related to the image application based on a user input to the object 1111 for generating a filter.

[0244] Reference numeral 1105 can denote a screen displayed when an image 1121 is selected from the one or more second images 1120.

[0245] The processor 120 can select the image 1121 as the third image based on a user input (e.g., a touch input to the image 1121) in the one or more second images 1120. The processor 120 can determine a value of at least one attribute of the selected image 1121. The processor 120 can generate a filter based on the value of the at least one attribute of the image 1121.

[0246] As shown in 1105, the processor 120 can display, through the display, a first image 1130 to which a value of at least one attribute of the selected image 1121 has been applied using the generated filter.

[0247] The processor 120 can display, through the display, the selected image 1121 and the first image 1130. For example, the processor 120 can display, through the display, the image 1121 as a third image in a region separate from a region of the first image 1130 to which the value of the at least one attribute has been applied, and display the first image 1130 to which the value of the at least one attribute has been applied. However, a method for displaying the third image is not limited to the above-described example.

[0248] The processor 120 can display, through the display, text (e.g., "Filter 1") 1125 indicating a name of the newly generated filter in the first image 1130.

[0249] The processor 120 can display, through the display, an object 1131-3 for storing the generated filter in the storage 130 and an object 1131-1 for deleting the generated filter (e.g., a filter that is generated and then temporarily stored in the storage 130).

[0250] Reference numeral 1107 can denote a screen displayed through the display after the generated filter is stored. According to an embodiment, reference numeral 1107 can denote a screen displayed through the display when a user input (e.g., a touch input) to the object 1131-3 in 1005 is received.

[0251] According to an embodiment, the processor 120 can display, through the display, a first image 1140 to which a value of at least one attribute of the image 1121 has been applied using the generated filter and an image 1141 indicating the generated filter. For example, the processor 120 can display, through the display, the first image 1140 to which the value of the at least one attribute of the image 1121 has been applied using the generated filter, a reduced image 1112-1 of the first image 1110, a plurality of pre-stored filters (e.g., an image 1112-2 and an image 1112-3), and the image 1141 indicating the generated filter.

[0252] The processor 120 can display an interface 1113 through the display, the interface 1113 being used to adjust a degree (or intensity) of a value of at least one attribute of the generated filter applied to the image 1140 to indicate that the interface 1113 is capable of receiving a user input (or enabled). The processor 120 can adjust the degree of the value of at least one attribute applied to the first image 1040 displayed through the display using the generated filter according to a position of an object 1113-1 included in the interface 1113.

[0253] Figure 12 is a view illustrating an example method for confirming a value of at least one attribute of a third image according to an embodiment of the disclosure.

[0254] Referring to Figure 12 , it is a view related to Figure 3 and Figure 7 illustrating an example method for generating a filter based on a portion of a third image when the portion of the third image is designated.

[0255] Referring to Figure 12 , reference numeral 1201 can denote a screen including one or more second images. For example, the processor 120 can execute a camera application or an image application and display a first image through a display (e.g., the display device 160). The processor 120 can display one or more second images through the display based on a user input to an object (e.g., an object 1021-1 or an object 1111) to generate a filter.

[0256] The processor 120 can receive a user input for selecting an image 1211 as a third image from among the one or more second images 1210. The image 1211 can include a blank portion 1211-1 including text 1211-2 in addition to an image portion 1211-3.

[0257] In response to the selection of the image 1211, the processor 120 can designate the image portion 1211-3 other than the blank portion 1211-1 in the image 1211 as a portion for which a value of at least one attribute of the third image is to be confirmed. According to an embodiment, the processor 120 can crop only the image portion 1211-3 in the image 1211.

[0258] The processor 120 can confirm a value of at least one attribute of the image portion 1211-3 in the image 1211. The processor 120 can generate a filter based on the value of at least one attribute of the image portion 1211-3 in the image 1211.

[0259] The processor 120 can display the first image 1220 by the display, to which the value of at least one attribute of the image portion 1211-3 has been applied using the generated filter. The processor 120 can display text 1221 (e.g., "Filter 1") indicating the name of the generated filter on the first image 1220 by the display.

[0260] The processor 120 can display the image portion 1211-3 as well as the first image 1220 by the display. According to an embodiment, the processor 120 can further display an object 1223-3 for storing the generated filter in the storage 130 and an object 1223-1 for deleting the generated filter (e.g., a filter that is generated and then temporarily stored in the storage 130) by the display.

[0261] The reference numeral 1205 can denote a screen for designating a portion of a third image (e.g., the image portion 1211-3) based on a user input. According to an embodiment, the reference numeral 1205 can denote a screen that is displayed when the user input (e.g., a touch input) to the image portion 1211-3 is received in 1203. However, a method of displaying a screen in 1205 is not limited thereto.

[0262] The processor 120 can display an object 1231 for designating a portion to which the value of at least one attribute is to be displayed by a user input in the image portion 1211-3 while displaying the image portion 1211-3 as well as the first image 1220 to which the value of at least one attribute is applied by the display. For example, the processor 120 can display an enlarged image portion 1230 and an object 1231 (or an outline of the enlarged image portion 1230) in the enlarged image portion 1230 based on a user input for selecting the image portion 1211-3 while displaying the image portion 1211-3 as well as the first image 1220 to which the value of at least one attribute is applied by the display. The processor 120 can confirm a portion of the image portion 1211-3 designated (or set) by a position of the object 1231 based on a user input to the object 1231 (e.g., a drag input for moving the object 1231). The processor 120 can crop the confirmed portion of the image portion 1211-3. However, a method for designating a portion of at least one attribute to be confirmed from the image portion 1211-3 based on a user input is not limited thereto.

[0263] The processor 120 can designate a portion of at least one attribute value to be confirmed from the image portion 1211-3 and generate a filter based on the designated portion.

[0264] Although Figure 12Although not shown in FIG. 12, when the image 1211 is selected from the one or more second images 1210, the processor 120 can designate an image portion in which a value of at least one attribute is to be confirmed based on a user input in the image 1211. For example, when the image 1211 is selected from the one or more second images 1210, the processor 120 can display the image 1211 and the first image 1220 through the display, and an object for designating a portion in the image 1211 in which a value of at least one attribute is to be confirmed by a user input. The processor 120 can designate a portion in the image 1211 in which a value of at least one attribute is to be confirmed based on a user input to the displayed object. The processor 120 can confirm a value of at least one attribute of the designated portion, and generate a filter based on the determined value of at least one attribute.

[0265] Although not shown in FIG. 12, when the image 1211 is selected from the one or more second images 1210, the processor 120 can confirm an image portion 1211-3 in the image 1211, and designate a portion in which a value of at least one attribute is to be confirmed based on a user input in the image portion 1211-3. The processor 120 can confirm a value of at least one attribute of the designated portion, and generate a filter based on the determined value of at least one attribute. Figure 12

[0266] Figure 13 is a view illustrating an example method for confirming a value of at least one attribute by recognizing an object recognized in a third image according to an embodiment of the disclosure.

[0267] Figure 13 may be a view related to Figure 4 illustrating an example method for confirming a value of at least one attribute by recognizing an object recognized in a third image.

[0268] Referring to Figure 13 , reference numeral 1301 can denote a screen including one or more second images. For example, the processor 120 can execute a camera application or an image application, and display a first image 1310 through a display (e.g., the display device 160). The processor 120 can display one or more second images through the display based on a user input to an object (e.g., the object 1021-1 or the object 1111) to generate a filter.

[0269] Reference numeral 1303 can denote a screen displayed when the image 1311 is selected in 1301.

[0270] ​The processor 120 can identify an object (e.g., a person object or a thing object) in the image 1311. For example, the processor 120 can identify a face of a person as an object in the image 1311 using a program (or an algorithm) capable of identifying an object in an image.

[0271] When the first image 1320 and the image 1311 are displayed, the processor 120 can identify an object in the image 1311 based on a user input (e.g., a touch input on a user interface matching a function for performing object recognition). The processor 120 can display, through the display, an indication 1321 that at least one object identified in the image 1311 is identified. When a plurality of objects are identified in the image 1311, the processor 120 can display, through the display, an indication that each of the plurality of identified objects is identified, for each of the plurality of objects. For example, when a plurality of objects are identified in the third image, the processor 120 can display, through the display, an outline of each of the plurality of objects. However, a method for displaying an indication that each of the plurality of identified objects is identified is not limited thereto.

[0272] When an object is identified in the image 1311, the processor 120 can select the identified object. When a plurality of objects are identified in the image 1311, the processor 120 can select at least one object from among the plurality of objects based on a user input. For example, the processor 120 can select at least one object from among the plurality of objects on which a user has made a touch input. However, a method for selecting an object identified in the image 1311 is not limited thereto.

[0273] According to an embodiment, the processor 120 can confirm a value of at least one attribute of a portion of the third image including the object, and generate a filter based on at least one confirmed attribute value.

[0274] Figure 14 is a view illustrating an example method for adjusting a value of at least one attribute based on a user interface according to an embodiment of the disclosure.

[0275] Referring to Figure 14When the first image 1410 to which the value of at least one attribute has been applied is displayed, the processor 120 can select an attribute to be adjusted from among the at least one attribute based on a user input. For example, as shown in 1401, when a user input to the third image 1415 is received while the third image 1415 and the first image 1410 to which the value of at least one attribute has been applied are displayed, the processor 120 can display an interface 1411 including at least one object (e.g., objects 1412-1, 1412-2, 1412-3, and 1412-4) corresponding to (or indicating) at least one attribute through the display (e.g., the display device 160). The processor 120 can select an object (e.g., object 1412-1) indicating a first attribute (e.g., hue or color) in the interface 1411 based on a user input.

[0276] The processor 120 can also display, through the display, an object 1413-3 for storing the generated filter in the memory 130, an object 1413-1 for deleting the generated filter (e.g., a filter generated and then temporarily stored in the memory 130), and the first image 1410, the third image 1415, the object 1417 confirming the generated filter, and the interface 1411.

[0277] When the object (e.g., object 1421-1) is selected as shown in 1403, the processor 120 can display, through the display, an interface 1421 for adjusting the value of the selected first attribute. For example, to adjust the value of the first attribute, the processor 120 can display, through the display, the interface 1421 including a bar 1423-1 indicating a range of the value of the first attribute and an object 1423-2 movable along the bar 1423-1. According to an embodiment, the position of the object 1423-2 on the bar 1423-1 can correspond to the value of the first attribute, respectively. To adjust the value of the first attribute, the processor 120 can display the interface 1421 including a field 1423-3 for inputting the value of the first attribute through the display. However, the method of displaying the interface for adjusting the value of the selected first attribute is not limited thereto.

[0278] Based on the user input, the processor 120 can adjust the value of the first attribute of the third image 1415 based on the value of the first attribute corresponding to the position of the object 1423-2 on the bar 1423-1.

[0279] The processor 120 can generate a filter to which the adjusted value of the first attribute can be applied based on the user input to the interface 1421. The processor 120 can display, through the display, the first image 1420 to which the value of at least one attribute including the adjusted value of the first attribute is applied using the generated filter.

[0280] Figure 15is a view illustrating an example method for adjusting a value of at least one attribute based on a plurality of images according to an embodiment of the disclosure.

[0281] Referring to Figure 15 When the first image 1510 to which the value of the at least one attribute has been applied is displayed, the processor 120 can select an attribute to be adjusted from the at least one attribute based on a user input. For example, as shown in 1501, when a user input to the third image 1515 is received while the third image 1515 and the first image 1510 to which the value of the at least one attribute has been applied are displayed, the processor 120 can display an interface 1511 including at least one object (e.g., objects 1512-1, 1512-2, 1512-3, and 1512-4) corresponding to (or indicating) the at least one attribute through the display. The processor 120 can select an object (e.g., object 1512-1) indicating a first attribute (e.g., a hue or a color) in the interface 1511 based on a user input.

[0282] The processor 120 can also display, through the display, an object 1513-3 for storing the generated filter in the memory 130 and an object 1513-1 for deleting the generated filter (e.g., a filter that is generated and then temporarily stored in the memory 130), together with the first image 1510, the third image 1515, and the interface 1511.

[0283] In response to selection of the object 1521-1, the processor 120 can display, through the display, one or more fourth images related to the first attribute that are stored in the memory 130.

[0284] When the processor 120 selects the first attribute from the at least one attribute, the processor 120 can display, through the display, one or more fourth images whose value of the first attribute is within a specified range from the value of the first attribute of the image 1515 among the one or more second images stored in the memory 130. For example, when the processor 120 selects a hue (or a color) as the first attribute, the processor 120 can determine one or more fourth images whose hue value is within a specified range from the first value of the hue of the image 1515 among the one or more second images stored in the memory 130. The processor 120 can display, through the display, the one or more confirmed fourth images.

[0285] As illustrated in 1503, the processor 120 can control the display to respectively display one or more fourth images having a value of a first attribute (the value of the first attribute belonging to the specified range according to the value of the first attribute of the image 1515) and images having a value of the first attribute (the value of the first attribute not belonging to the specified range according to the value of the first attribute of the image 1515) among the one or more second images 1520. For example, the processor 120 can control the display such that, among the one or more second images 1520, the one or more fourth images are different in hue from the images having the value of the first attribute not belonging to the specified range according to the value of the first attribute of the image 1515. However, a method for controlling the display to respectively display the one or more fourth images and the images having the value of the first attribute not belonging to the specified range according to the value of the first attribute of the image 1515 among the one or more second images 1520 is not limited thereto.

[0286] The processor 120 can make it possible to select the one or more fourth images among the one or more second images 1520, and make it impossible to select the images having the value of the first attribute not belonging to the specified range of the value of the first attribute of the image 1515. According to an embodiment, the processor 120 can make it possible to include an object indicating that the one or more fourth images among the one or more second images 1520 are selectable, and exclude an object indicating that the images having the value of the first attribute not belonging to the specified range of the value of the first attribute of the image 1515 are selectable.

[0287] The processor 120 can select at least one fifth image (for example, the image 1521, the image 1522, and the image 1515) from the one or more fourth images. For example, the processor 120 can select at least one fifth image from the one or more fourth images based on a user input (for example, a touch input for at least one fifth image among the one or more fourth images).

[0288] According to an embodiment, the processor 120 can select at least one fifth image including the image 1515 from the one or more fourth images. According to an embodiment, the processor 120 can select at least one fifth image not including the image 1515 from the one or more fourth images. For example, the image 1515 as the third image can be in a state of being selected as a default while the one or more fourth images are displayed. The processor 120 can deselect the image 1515 based on a user input, and can select at least one image other than the image 1515 as at least one fifth image from the one or more fourth images. The processor 120 can display selection of the image 1521, the image 1522, and the image 1515 as one fifth image through the objects 1521-1, 1522-1, and 1515-1 by the display.

[0289] The processor 120 can generate a filter based on the value of the first attribute of the at least one fifth image. For example, the processor 120 can confirm the value of the first attribute of the at least one fifth image. The processor 120 can determine (or calculate) the value of the first attribute, which is obtained by averaging the values of the first attribute of the at least one fifth image. The processor 120 can generate a filter based on the value of at least one attribute including the determined value of the first attribute. Although in the above-described example, the filter is generated using the average value of the value of the first attribute of the at least one fifth image, embodiments of the disclosure are not limited thereto.

[0290] As shown in 1505, the processor 120 can display, through the display, a first image 1530 using a filter generated based on a value of a first attribute determined based on at least one fifth image (e.g., image 1521, image 1522, and image 1515).

[0291] A method according to an embodiment of the disclosure includes displaying, through a display (e.g., display device 160) of an electronic device 101, a first image, displaying, through the display, one or more second images while displaying the first image, selecting a third image from among the one or more second images, confirming a value of at least one attribute of the third image, generating a filter for applying the value of the at least one attribute to an image, applying the value of the at least one attribute to the first image using the filter, displaying, through the display, the first image to which the value of the at least one attribute is applied, and storing the filter in a memory 130 of the electronic device 101. According to an embodiment of the disclosure, displaying the one or more second images can include displaying, through the display, the one or more second images based on a user input for an object for generating a filter while displaying the first image.

[0292] According to an embodiment of the disclosure, confirming the value of the at least one attribute of the third image can include, when the third image includes a blank portion and an image portion, confirming the value of the at least one attribute of the image portion.

[0293] According to an embodiment of the disclosure, confirming the value of the at least one attribute of the third image can include designating a portion of the third image based on a user input, and confirming the value of the at least one attribute of the designated portion of the third image.

[0294] According to an embodiment of the disclosure, confirming the value of the at least one attribute of the third image can include recognizing at least one object in the third image, and confirming the value of the at least one attribute of a region including the at least one recognized object.

[0295] According to an embodiment of the disclosure, the method can include, after displaying the first image to which the value of the at least one attribute is applied, displaying, through the display, a user interface for adjusting the value of a first attribute among the at least one attribute, adjusting the value of the first attribute based on a user input to the user interface, and generating the filter based on the adjusted value of the first attribute.

[0296] According to an embodiment of the disclosure, the method can include, after displaying the first image to which the value of the at least one attribute is applied, displaying, through the display, one or more fourth images, selecting at least one fifth image from the one or more fourth images, and generating the filter based on a value of at least one attribute of the at least one fifth image.

[0297] According to an embodiment of the disclosure, the method can include, after storing the filter in the memory 130, displaying, through the display, an image indicating the filter.

[0298] The data structure used in the embodiments of the disclosure can be recorded in a computer-readable recording medium in various ways. The computer-readable recording medium includes a storage medium such as a magnetic storage medium (e.g., ROM, floppy disks, or hard disks) or an optical reading medium (e.g., CD-ROM or digital versatile disks (DVD)).

[0299] While the present application has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details can be made therein without departing from the spirit and scope of the present application as defined by the appended claims and their equivalents.

Claims

1. An electronic device, the electronic device comprising: monitor; At least one processor, said at least one processor including processing circuitry; as well as The memory stores instructions that, when executed individually or jointly by the at least one processor, cause the electronic device to: The first image is displayed via the display. When the first image is displayed via the display, first user input for editing the first image is received. Based at least in part on the first user input, a first user interface (UI) object for generating a new filter is displayed via the display and simultaneously with the first image. Based at least in part on second user input regarding the first UI object, multiple images previously stored in the memory are displayed via the display. The new filter is generated based at least in part on a third user input regarding a second image among the plurality of images, and a first filter corresponding to the second image. Based on the generation of the first filter, a third image and a second UI object are displayed via the display. The third image corresponds to the first image, and the second UI object corresponds to the first filter. The third image is generated by applying the first filter to the first image. The second UI object includes a thumbnail image indicating the second image. The first filter is stored in the memory.

2. The electronic device according to claim 1, wherein, The second UI object also includes text indicating the first filter.

3. The electronic device according to claim 1, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions cause the electronic device to: Based at least in part on the first user input, a third UI object is displayed via the display and simultaneously with the first image and the first UI object, the third UI object corresponding to a second filter previously stored in the memory.

4. The electronic device according to claim 3, in, The third UI object includes thumbnail images and text, and Each of the thumbnail image and the text indicates the second filter.

5. The electronic device according to claim 3, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions cause the electronic device to: Based at least in part on the first user input, a fourth UI object is displayed via the display and simultaneously with the first image, the first UI object, and the third UI object, the fourth UI object including a thumbnail of the first image indicating when no filter is applied to the first image.

6. The electronic device according to claim 1, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions cause the electronic device to: After the first filter is generated, a third UI object is displayed via the display simultaneously with the third image and the second UI object, the third UI object corresponding to the second filter generated prior to the first filter.

7. The electronic device according to claim 6, in, The third UI object includes images and text, and Each of the image and the text refers to the second filter.

8. The electronic device according to claim 6, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions cause the electronic device to: Based at least in part on the first user input, a fourth UI object is displayed via the display and simultaneously with the first image, the first UI object, and the third UI object, the fourth UI object including a thumbnail of the first image indicating when no filter is applied to the first image.

9. The electronic device according to claim 1, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions cause the electronic device to: As part of generating the first filter, data corresponding to the first filter is stored independently of the second image.

10. The electronic device according to claim 1, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions cause the electronic device to: As part of displaying the third image, at least in part, a second attribute replaces a first attribute of at least a portion of the first image with a second attribute based on a third attribute of at least a portion of the second image.

11. The electronic device according to claim 10, wherein, The first attribute includes a first color, and the second attribute includes a second color that is different from the first color.

12. The electronic device according to claim 1, further comprising: camera, Wherein, when the instructions are executed individually or jointly by the at least one processor, the instructions also cause the electronic device to: The image captured by the camera is identified as the first image.

13. The electronic device according to claim 1, further comprising: camera, Wherein, when the instructions are executed individually or jointly by the at least one processor, the instructions also cause the electronic device to: The image captured by the camera is identified as the second image.

14. The electronic device according to claim 1, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions also cause the electronic device to: After the first filter is generated, the fourth image is displayed via the display. Based at least in part on a fourth user input used to edit the fourth image when the fourth image is displayed, the first UI object, the second UI object, and a third UI object corresponding to the second filter generated prior to the first filter are displayed via the display and simultaneously with the fourth image. At least in part, based on fifth user input for the second UI object, a fifth image generated by applying the first filter to the fourth image is displayed via the display. The sixth image, generated by applying the second filter to the fourth image, is displayed via the display, based at least in part on the sixth user input for the third UI object.

15. The electronic device according to claim 1, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions also cause the electronic device to: The third image is stored in the memory.

16. The electronic device according to claim 1, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions also cause the electronic device to: An interface for adjusting the intensity of the first filter to be applied to the first image is displayed via the display.

17. The electronic device according to claim 1, wherein, Each of the first image and the third image includes a still image or a moving image.

18. The electronic device according to claim 1, wherein, When the instructions are executed individually or jointly by the at least one processor, the instructions cause the electronic device to: The first image is displayed via the display based on a running gallery application.

19. A method performed by an electronic device, the method comprising: The first image is displayed via the display of the electronic device; When the first image is displayed via the display, first user input for editing the first image is received; A first user interface (UI) object for generating a new filter is displayed, at least in part, via the display and simultaneously with the first image, based on the first user input. Based at least in part on second user input regarding the first UI object, a plurality of images previously stored in the memory of the electronic device are displayed via the display; The new filter is generated based at least in part on a third user input about a second image among the plurality of images, and the filter corresponding to the second image is generated. Based on the generation of the filter, a third image and a second UI object are displayed via the display. The third image corresponds to the first image, and the second UI object corresponds to the filter. The third image is generated by applying the filter to the first image, and the second UI object includes a thumbnail image indicating the second image. as well as The filter is stored in the memory.

20. A non-transitory computer-readable medium having computer-executable instructions recorded thereon, which, when executed alone or together by at least one processor of an electronic device, cause the electronic device to: The first image is displayed via the display of the electronic device; When the first image is displayed via the display, first user input for editing the first image is received; A first user interface (UI) object for generating a new filter is displayed, at least in part, via the display and simultaneously with the first image, based on the first user input. Based at least in part on second user input regarding the first UI object, a plurality of images previously stored in the memory of the electronic device are displayed via the display; The new filter is generated based at least in part on a third user input about a second image among the plurality of images, and the filter corresponding to the second image is generated. Based on the generation of the filter, a third image and a second UI object are displayed via the display. The third image corresponds to the first image, and the second UI object corresponds to the filter. The third image is generated by applying the filter to the first image, and the second UI object includes a thumbnail image indicating the second image. as well as The filter is stored in the memory.