Electronic device for performing editing based on representative image having changed image attribute and control method thereof
By identifying and applying the attribute information of moving images, the problem of image quality degradation in traditional electronic devices is solved, enabling high-quality image editing and effective utilization of storage resources.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SAMSUNG ELECTRONICS CO LTD
- Filing Date
- 2024-12-30
- Publication Date
- 2026-07-31
AI Technical Summary
Traditional electronic devices cause quality degradation when altering representative images of moving images, and make it difficult to effectively utilize memory resources during non-destructive editing.
By identifying and applying the attribute information of the original image to the modified image, image quality is maintained, and time information is used to effectively utilize memory resources for re-editing.
It achieves high quality while modifying representative images of moving images and enables non-destructive editing with efficient use of memory resources.
Smart Images

Figure CN122497935A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to an electronic device and a control method thereof for performing editing based on a representative image having altered image attributes. Background Technology
[0002] The number of services and additional features offered through electronic devices (such as portable devices like smartphones, e.g., Samsung® Galaxy®) is steadily increasing. To enhance the practical value of these electronic devices and meet the diverse needs of users, communication service providers and electronic device manufacturers have offered a wide range of functions and competitively developed devices to differentiate themselves from other companies. Consequently, the functions offered through wearable devices are becoming increasingly complex.
[0003] The above information is presented as relevant technical information to aid in understanding this disclosure. No determination or assertion is made regarding whether any of the above content can be used as prior art in relation to this disclosure. Summary of the Invention
[0004] Technical issues
[0005] Electronic devices can capture and provide moving images. Moving images, as mentioned in this disclosure, can include images captured by a user and video files spanning a specified time period before and after image capture. Images captured by the user can be stored in the electronic device as representative images and can be provided to the user through a specified application (e.g., a gallery application). Representative images can be stored in the electronic device at a higher quality than video files. Based on user input, the electronic device can modify the representative image to at least one frame from a plurality of frames included in a video file and provide it. The electronic device can provide representative images or modified representative images for non-destructive editing. Non-destructive editing, as mentioned in this disclosure, can refer to a function or operation that stores the original image separately before applying various editing effects and performs re-editing using the stored original image. The electronic device can perform non-destructive editing on representative images or modified representative images based on user input.
[0006] Traditionally, when a user modifies a representative image of a moving image, they select the representative image to be modified from video frames stored at relatively low quality. This inevitably results in providing a low-quality modified representative image. Consequently, when the modified representative image is edited, editing is performed on an image with lower quality than the original representative image, failing to achieve the desired editing effect. Furthermore, when performing non-destructive editing on the modified representative image, the original data of the modified representative image should be stored separately, which may make it difficult to efficiently utilize memory resources.
[0007] Technical solution
[0008] According to embodiments of this disclosure, an electronic device can be provided that, by identifying attribute information of a previous representative image (e.g., a first representative image) and applying the identified attribute information to a subsequent representative image (e.g., a second representative image), can provide a representative image with substantially the same quality as the previous representative image, even when the representative image of a moving image is changed.
[0009] According to embodiments of this disclosure, an electronic device can be provided that, by recognizing attribute information of a previous representative image (e.g., a first representative image) and applying the recognized attribute information to a subsequent representative image (e.g., a second representative image), can provide the user's desired editing result even when editing (e.g., non-destructive editing) is performed on the subsequent representative image.
[0010] According to embodiments of this disclosure, an electronic device may be provided that can efficiently utilize memory resources by performing re-editing based on the original frames extracted from a video file using time information (e.g., timestamps) of the altered representative image (e.g., a second representative image) to provide a re-edited image (e.g., a fourth representative image) when re-editing is performed on an image in which the altered representative image has been edited (e.g., a third representative image).
[0011] An electronic device according to an embodiment of the present disclosure may include a touch screen display, at least one camera, at least one processor, and a memory storing instructions that, when executed by the at least one processor, cause the electronic device to capture a moving image via the at least one camera, wherein the moving image includes a representative frame corresponding to a first representative image and a plurality of frames, receiving user input for selecting a first frame from the plurality of frames included in the moving image so as to change the first representative image into a second representative image different from the first representative image, identifying image attributes of the first representative image based on the user input and applying the identified image attributes to the selected first frame, and displaying the first frame with the identified image attributes applied as the second representative image of the moving image via the touch screen display.
[0012] The method according to embodiments of the present disclosure may include: capturing a moving image via at least one camera of an electronic device, wherein the moving image includes a representative frame corresponding to a first representative image and a plurality of frames; receiving user input for selecting a first frame from the plurality of frames included in the moving image so as to change the first representative image into a second representative image different from the first representative image; identifying image attributes of the first representative image based on the user input and applying the identified image attributes to the selected first frame; and displaying the first frame with the identified image attributes applied as the second representative image of the moving image via a touch screen display of the electronic device.
[0013] A non-transitory computer-readable recording medium according to embodiments of the present disclosure can be configured to store computer-readable instructions that, when executed by a processor of an electronic device, cause the electronic device to capture a moving image via at least one camera of the electronic device, wherein the moving image includes a representative frame corresponding to a first representative image and a plurality of frames, receiving user input for selecting a first frame from the plurality of frames included in the moving image so as to change the first representative image into a second representative image different from the first representative image, identifying image attributes of the first representative image based on the user input and applying the identified image attributes to the selected first frame, and displaying the first frame with the identified image attributes applied as the second representative image of the moving image via a touch screen display of the electronic device. Attached Figure Description
[0014] Figure 1 This is a block diagram illustrating an electronic device in a network environment according to various embodiments of the present disclosure.
[0015] Figure 2 This is an exemplary diagram illustrating how an electronic device changes the function or operation representing an image according to embodiments of this disclosure.
[0016] Figure 3 These are exemplary diagrams illustrating moving images and representative images according to embodiments of the present disclosure.
[0017] Figure 4a and Figure 4b This is an exemplary diagram illustrating a function or operation of changing a representative image (e.g., a first representative image) to another representative image (e.g., a second representative image) according to embodiments of the present disclosure.
[0018] Figure 5 This is an exemplary diagram illustrating the function or operation of applying HDR attributes from the image properties of an original representative image (e.g., a first representative image) to a modified representative image (e.g., a second representative image) according to embodiments of the present disclosure.
[0019] Figure 6This is an exemplary diagram illustrating the function or operation of an electronic device 101 according to an embodiment of the present disclosure to display an image and store the edited image by applying rendering attributes during image editing.
[0020] Figure 7 This is an exemplary diagram illustrating the time information (e.g., timestamp) of the original image (e.g., the second representative image) of an image (e.g., the third representative image) obtained by an electronic device through editing a modified representative image (e.g., the third representative image) according to an embodiment of the present disclosure, and the function or operation of performing re-editing on the third representative image using the time information.
[0021] Figure 8a This is an exemplary diagram illustrating the function or operation of an electronic device according to an embodiment of the present disclosure, which uses time information to select a frame corresponding to the time information from a video file.
[0022] Figure 8b This is an exemplary diagram illustrating the function or operation of a re-edited second representative image (e.g., a fourth representative image) stored in a first storage device according to an embodiment of the present disclosure.
[0023] Figure 9 This is an exemplary diagram illustrating an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0024] Figure 1 This is a block diagram illustrating an electronic device 101 in a network environment 100 according to various embodiments.
[0025] Reference Figure 1In network environment 100, electronic device 101 can communicate with electronic device 102 via a first network 198 (e.g., a short-range wireless communication network), or with at least one of electronic device 104 or server 108 via a second network 199 (e.g., a long-range wireless communication network). According to an embodiment, electronic device 101 can communicate with electronic device 104 via server 108. According to an embodiment, electronic device 101 may include a processor 120, memory 130, input module 150, sound output module 155, display module 160, audio module 170, sensor module 176, interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, user identification module (SIM) 196, or antenna module 197. In some embodiments, at least one of the components (e.g., connection terminal 178) may be omitted from electronic device 101, or one or more other components may be added to electronic device 101. In some embodiments, some of the components (e.g., sensor module 176, camera module 180, or antenna module 197) may be implemented as a single component (e.g., display module 160).
[0026] Processor 120 can execute, for example, software (e.g., program 140) to control at least one other component (e.g., hardware or software component) of electronic device 101 coupled to processor 120, and can perform various data processing or calculations. According to embodiments, as at least part of data processing or calculation, processor 120 can store commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132, process the commands or data stored in volatile memory 132, and store the resulting data in non-volatile memory 134. According to embodiments, processor 120 may include a main processor 121 (e.g., central processing unit (CPU) or application processor (AP)) or an auxiliary processor 123 (e.g., graphics processing unit (GPU), neural processing unit (NPU), image signal processor (ISP), sensor central processor, or communication processor (CP)) that operates independently of or in conjunction with the main processor 121. For example, when electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or adapted to perform a specific function. The auxiliary processor 123 may be implemented separately from the main processor 121, or may be implemented as part of the main processor 121.
[0027] When the main processor 121 is inactive (e.g., in sleep) state, the auxiliary processor 123 (rather than the main processor 121) can control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190), or when the main processor 121 is active (e.g., running an application), the auxiliary processor 123 can work with the main processor 121 to control at least some of the functions or states associated with at least one component of the electronic device 101 (e.g., display module 160, sensor module 176, or communication module 190). According to embodiments, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., camera module 180 or communication module 190) functionally associated with the auxiliary processor 123. According to embodiments, the auxiliary processor 123 (e.g., a neural processing unit) may include hardware structures specified for processing artificial intelligence models. Artificial intelligence models can be generated through machine learning. This learning can be performed, for example, by an electronic device 101 performing artificial intelligence or via a separate server (e.g., server 108). The learning algorithm can include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The artificial intelligence model can include multiple layers of artificial neural networks. The artificial neural network can be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of these, but is not limited thereto. Additionally or alternatively, the artificial intelligence model can include software structures in addition to hardware structures.
[0028] Memory 130 may store various data used by at least one component of electronic device 101 (e.g., processor 120 or sensor module 176). The various data may include, for example, software (e.g., program 140) and input or output data for commands associated therewith. Memory 130 may include volatile memory 132 or non-volatile memory 134.
[0029] Program 140 may be stored as software in memory 130 and may include, for example, an operating system (OS) 142, middleware 144, or application 146.
[0030] Input module 150 can receive commands or data from outside electronic device 101 (e.g., a user) to be used by another component of electronic device 101 (e.g., processor 120). Input module 150 may include, for example, a microphone, mouse, keyboard, keys (e.g., buttons), or digital pen (e.g., stylus).
[0031] The audio output module 155 can output audio signals to the outside of the electronic device 101. The audio output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as playing multimedia or playing records. The receiver can be used to receive incoming calls. According to an embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0032] Display module 160 can visually provide information to the outside of electronic device 101 (e.g., to a user). Display module 160 may include, for example, a display, a holographic device, or a projector, and control circuitry for controlling a respective one of the display, holographic device, and projector. According to an embodiment, display module 160 may include a touch sensor adapted to detect touch or a pressure sensor adapted to measure the intensity of the force caused by touch.
[0033] The audio module 170 can convert sound into electrical signals and vice versa. According to an embodiment, the audio module 170 can obtain sound via the input module 150, or output sound via the sound output module 155 or headphones of an external electronic device (e.g., electronic device 102) that is directly (e.g., wired) connected to the electronic device 101 or wirelessly connected.
[0034] Sensor module 176 can detect the operating state of electronic device 101 (e.g., power or temperature) or the environmental state outside electronic device 101 (e.g., user state), and then generate an electrical signal or data value corresponding to the detected state. According to embodiments, sensor module 176 may include, for example, a gesture sensor, gyroscope sensor, atmospheric pressure sensor, magnetic sensor, accelerometer, grip sensor, proximity sensor, color sensor, infrared (IR) sensor, biometric sensor, temperature sensor, humidity sensor, or illuminance sensor.
[0035] Interface 177 may support one or more specific protocols used to enable electronic device 101 to connect directly (e.g., wired) or wirelessly to external electronic devices (e.g., electronic device 102). According to embodiments, interface 177 may include, for example, a High Definition Multimedia Interface (HDMI), a Universal Serial Bus (USB) interface, a Secure Digital Card (SD) interface, or an audio interface.
[0036] Connection terminal 178 may include a connector, via which electronic device 101 can be physically connected to an external electronic device (e.g., electronic device 102). According to embodiments, connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0037] The haptic module 179 can convert electrical signals into mechanical stimuli (e.g., vibration or motion) or electrical stimuli that can be recognized by a user through his touch or kinesthesia. According to embodiments, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0038] Camera module 180 can capture still or moving images. According to an embodiment, camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0039] The power management module 188 manages the power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
[0040] Battery 189 can power at least one component of electronic device 101. According to an embodiment, battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable rechargeable battery, or a fuel cell.
[0041] Communication module 190 can support establishing a direct (e.g., wired) or wireless communication channel between electronic device 101 and external electronic devices (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. Communication module 190 may include one or more communication processors that can operate independently of processor 120 (e.g., application processor (AP)) and support direct (e.g., wired) or wireless communication. According to embodiments, communication module 190 may include wireless communication module 192 (e.g., cellular communication module, short-range wireless communication module, or Global Navigation Satellite System (GNSS) communication module) or wired communication module 194 (e.g., local area network (LAN) communication module or power line communication (PLC) module). A corresponding one of these communication modules can communicate via a first network 198 (e.g., a short-range communication network, such as Bluetooth). TM The wireless communication module 192 can communicate with external electronic devices via a Wi-Fi Direct or Infrared Data Association (IrDA) network or a second network 199 (e.g., a long-range communication network, such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip) or as multiple components separate from each other (e.g., multiple chips). The wireless communication module 192 can use user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196 to identify and verify electronic devices 101 within a communication network (e.g., a first network 198 or a second network 199).
[0042] Wireless communication module 192 can support 5G networks and next-generation communication technologies, such as New Radio (NR) access technologies, following 4G networks. NR access technologies can support enhanced mobile broadband (eMBB), massive machine-type communications (mMTC), or ultra-reliable and low-latency communications (URLLC). Wireless communication module 192 can support high-frequency bands (e.g., millimeter-wave bands) to achieve, for example, high data transmission rates. Wireless communication module 192 can support various technologies used to ensure performance in high-frequency bands, such as beamforming, massive MIMO, full-dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. Wireless communication module 192 can support various requirements specified in electronic device 101, external electronic device (e.g., electronic device 104), or network system (e.g., second network 199). According to an embodiment, the wireless communication module 192 may support peak data rates (e.g., 20 Gbps or higher) for implementing eMBB, loss coverage (e.g., 164 dB or lower) for implementing mMTC, or U-plane delay (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or round-trip delay of 1 ms or less) for implementing URLLC.
[0043] Antenna module 197 can transmit or receive signals or power to or from the outside of electronic device 101 (e.g., external electronic device). According to an embodiment, antenna module 197 may include an antenna comprising a radiating element formed of a conductive material or conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, antenna module 197 may include multiple antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as a first network 198 or a second network 199) can be selected from the multiple antennas, for example by communication module 190 (e.g., wireless communication module 192). Signals or power can then be transmitted or received between communication module 190 and external electronic device via the selected at least one antenna. According to an embodiment, another component besides the radiating element (e.g., a radio frequency integrated circuit (RFIC)) may be additionally incorporated into antenna module 197.
[0044] According to various embodiments, antenna module 197 can form a millimeter-wave antenna module. According to embodiments, the millimeter-wave antenna module may include: a printed circuit board; an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high-frequency band (e.g., millimeter-wave band); and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top or side surface) of the printed circuit board and capable of transmitting or receiving signals in the specified high-frequency band.
[0045] At least some of the aforementioned components may be coupled to each other and transmit signals (e.g., commands or data) between them via a peripheral communication scheme (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industrial processor interface (MIPI)).
[0046] According to an embodiment, commands or data can be sent or received between electronic device 101 and external electronic device 104 via server 108 connected to a second network 199. Each of electronic devices 102 or 104 can be a device of the same or different type as electronic device 101. According to an embodiment, all or some operations to be performed at electronic device 101 can be performed at one or more of external electronic devices 102, 104, or 108. For example, if electronic device 101 is required to automatically perform a function or service, or to perform a function or service in response to a request from a user or another device, electronic device 101 may request one or more external electronic devices to perform at least a portion of the function or service, instead of performing the function or service itself, or may request one or more external electronic devices to perform at least a portion of the function or service in addition to performing the function or service. Upon receiving the request, one or more external electronic devices may perform at least a requested portion of the function or service, or perform additional functions or services related to the request, and transmit the result of the execution to electronic device 101. Electronic device 101 may provide the result, with or without further processing, as at least part of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technologies can be used, for example. Electronic device 101 can use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, external electronic device 104 may include Internet of Things (IoT) devices. Server 108 may be an intelligent server using machine learning and / or neural networks. According to embodiments, external electronic device 104 or server 108 may be included in a second network 199. Electronic device 101 can be applied to intelligent services based on 5G communication technology or IoT-related technologies (e.g., smart homes, smart cities, smart cars, or healthcare).
[0047] Figure 2 This is an exemplary diagram illustrating how an electronic device 101 changes the function or operation representing an image according to an embodiment of this disclosure.
[0048] refer to Figure 2 In operation 210, the electronic device 101 according to an embodiment of the present disclosure can be accessed via at least one camera (e.g., Figure 1 The camera module 180 captures motion images 300 including representative frames (e.g., first representative image 310) corresponding to the first representative image and multiple frames 320. Figure 3 These are exemplary diagrams illustrating moving images and representative images according to embodiments of the present disclosure. References Figure 3 According to embodiments of the present disclosure, the motion image 300 may include images including images captured by a user (e.g., a first representative image 310 as a still image) and video files (e.g., multiple frames 320) spanning a specified time period before and after image capture. The first representative image 310 according to embodiments of the present disclosure may correspond to representative frame 310a. According to embodiments of the present disclosure, the image captured by the user may be stored in the electronic device 101 as a representative image (e.g., the first representative image 310), and the original representative image (e.g., the first representative image 310) may be provided to the user through a designated application (e.g., a gallery application). The original representative image (e.g., the first representative image 310) according to embodiments of the present disclosure may be stored in the electronic device at a higher quality than the video files (e.g., multiple frames 320). For example, the original representative image (e.g., the first representative image 310) according to embodiments of the present disclosure may include an image with a resolution of 12 megapixels and applied HDR attributes. The video files (e.g., multiple frames 320) according to embodiments of the present disclosure may include multiple images with a resolution of 2 megapixels and applied SDR attributes. The original representative image (e.g., first representative image 310) according to embodiments of the present disclosure can be designated as an image obtained when a user captures a specified object (e.g., an image displayed by electronic device 101 when the user touches a capture button). A representative image extractor according to embodiments of the present disclosure (e.g., Figure 9 The representative image extractor 912 can select an original representative image based on user input. The original representative image (e.g., a first representative image 310) according to embodiments of the present disclosure may include an image corresponding to any specified frame among a plurality of frames 320. The original representative image (e.g., a first representative image 310) according to embodiments of the present disclosure may include an image corresponding to any one of the frames specified by the user among a plurality of frames 320.
[0049] In operation 220, the electronic device 101 according to an embodiment of the present disclosure may obtain user input for selecting a first frame 420a from a plurality of frames 320 included in the motion picture 300 in order to change the first representative image 310 into a second representative image 470 that is different from the first representative image 310. Figure 4a and Figure 4b This is an exemplary diagram illustrating the function or operation of changing a representative image (e.g., a first representative image 310) to another representative image (e.g., a second representative image 470) according to embodiments of the present disclosure. (Refer to...) Figure 4a and Figure 4b An electronic device 101 according to an embodiment of the present disclosure can provide images corresponding to frames included in a plurality of frames 320 as candidate images (e.g., first candidate image 420, second candidate image 430, third candidate image 440, fourth candidate image 450, and fifth candidate image 460). The electronic device 101 according to an embodiment of the present disclosure can receive selection input for any one of the candidate images (e.g., second candidate image 420). The electronic device 101 according to an embodiment of the present disclosure can determine the selected candidate image (e.g., second candidate image 420) as a new representative image (e.g., second representative image 470). The second representative image 470 according to an embodiment of the present disclosure may correspond to the first frame 420a. Figure 4b As shown, an electronic device 101 according to an embodiment of the present disclosure can display a new representative image (e.g., a second representative image 470). In this case, according to an embodiment of the present disclosure, image attributes of the original representative image (e.g., a first representative image 310) can be applied to the new representative image (e.g., the second representative image 470). A photo image attribute extractor according to an embodiment of the present disclosure (e.g., Figure 9 The photo image attribute extractor 914 can extract image attributes (e.g., image resolution, SDR attributes, HDR attributes, color space information, EXIF information, ICC profile, and / or SEF data) from the original representative image and store the extracted image attributes. When storing representative images (e.g., the original representative image and / or the edited original representative image), the photo image attribute extractor (e.g., ...) according to embodiments of this disclosure... Figure 9 The photo image attribute extractor (914) can process representative images, allowing attributes that are the same as or similar to those of the stored image attributes to be applied to the representative images.
[0050] In operation 230, the electronic device 101 according to an embodiment of the present disclosure (e.g., Figure 9The rendering attribute data generator 916 can identify image attributes of the first representative image 310 based on user input received in operation 220, and apply the identified image attributes to the selected first frame 420a. The rendering attribute data generator according to embodiments of this disclosure (e.g., Figure 9 The rendering attribute data generator 916 can generate rendering data based on the data from which photo image attributes are extracted. Image attributes according to embodiments of the present disclosure may include various attributes such as image resolution, whether SDR is applied, color space, EXIF, ICC profile, and SEF data. SEF data according to embodiments of the present disclosure may include information such as image timestamp information, non-destructive editing information, and information about the application effect. According to embodiments of the present disclosure, for example, the electronic device 101 according to embodiments of the present disclosure can determine whether SDR attributes are applied to a first representative image 310. When SDR attributes are applied to the first representative image 310, the electronic device 101 according to embodiments of the present disclosure can generate a gain map for a selected video frame (e.g., first frame 420a). The gain map according to embodiments of the present disclosure may be information and / or data required to apply SDR attributes to a specified image. Based on the generated gain map, the electronic device 101 according to embodiments of the present disclosure can at least temporarily store the first frame 420a with SDR attributes applied, and display an image (e.g., a second representative image 470) corresponding to the first frame 420a with SDR attributes applied through the display module 160. Optionally, for example, when the first representative image 310 according to an embodiment of the present disclosure is identified as an image based on a 12-megapixel resolution, the electronic device 101 may enlarge the selected video frame (e.g., the first frame 420a) to 12 megapixels, store it at least temporarily in the electronic device 101, and display an image (e.g., the second representative image 470) corresponding to the enlarged first frame 420a through the display module 160. In this case, the gain map according to an embodiment of the present disclosure may also be enlarged at the same ratio. Optionally, for example, when the original representative image (e.g., the first representative image 310) includes an image based on WCGP3 colors, an image whose color space properties are changed by applying a WCG P3 transformation scheme (e.g., sRGB to P3 transformation) to the first frame 420a may be stored at least temporarily in the electronic device 101 as a representative image. Optionally, for example, the EXIF information, color space information, and / or ICC profile of the original representative image (e.g., the first representative image 310) may be applied to the first frame 420a.
[0051] Figure 5This is an example diagram illustrating the function or operation of applying HDR attributes from the image properties of an original representative image (e.g., a first representative image 310) to a modified representative image (e.g., a second representative image 470) according to embodiments of the present disclosure. Reference Figure 5 According to an embodiment of the present disclosure, the electronic device 101 can determine whether an SDR attribute is applied to a first representative image 310. When the SDR attribute is applied to the first representative image 310, the electronic device 101 according to an embodiment of the present disclosure can generate a gain map for a selected video frame (e.g., first frame 420a). Based on the generated gain map, the electronic device 101 according to an embodiment of the present disclosure can at least temporarily store the first frame 420a with the SDR attribute applied, and display an image (e.g., a second representative image 470) corresponding to the first frame 420a with the SDR attribute applied via a display module 160. According to an embodiment, the electronic device can identify the resolution of the first representative image 310. When the first representative image 310 is identified as an image based on a resolution of 12 megapixels, the electronic device 101 can enlarge the selected video frame (e.g., first frame 420a) to 12 megapixels, store it at least temporarily in the electronic device 101, and display an image (e.g., a second representative image 470) corresponding to the enlarged first frame 420a via a display module 160. In this case, the gain map according to embodiments of the present disclosure can also be magnified at the same ratio. Furthermore, for example, according to embodiments of the present disclosure, when the original representative image (e.g., the first representative image 310) comprises an image based on WCG P3 colors, an image whose color space properties are altered by applying a WCG P3 transformation scheme (e.g., sRGB to P3 transformation) to the first frame 420a can be stored, at least temporarily, as a representative image in the electronic device 101.
[0052] In operation 240, the electronic device 101 according to an embodiment of the present disclosure can display a first frame 420a with the identified image attributes applied as a second representative image 470 of the motion picture 300 via a touch screen display (e.g., display module 160). Figure 4b As shown, an electronic device 101 according to an embodiment of the present disclosure can display, for example, a representative image (e.g., a second representative image 470) with HDR attributes applied and magnified to a resolution of 12 megapixels via a touch screen display (e.g., display module 160). A motion image 300 including the second representative image 470 according to an embodiment of the present disclosure can be stored at least temporarily in a memory 160 (e.g., a first storage device 610).
[0053] Figure 6This is an exemplary diagram illustrating the function or operation of an electronic device 101 according to an embodiment of the present disclosure to display an image and store the edited image by applying rendering attributes during image editing.
[0054] refer to Figure 6In operation 601, the electronic device 101 according to an embodiment of the present disclosure can execute a specified application (e.g., an image editing application). The electronic device 101 according to an embodiment of the present disclosure can load an image selected by the user from a first storage device 610 (e.g., a scope storage device). In operation 602, the electronic device 101 according to an embodiment of the present disclosure can determine whether the image selected by the user is a moving image. In operation 603, when the image selected by the user is a moving image, the electronic device 101 according to an embodiment of the present disclosure can extract raw video data from a second storage device 810 (e.g., a hidden storage device). In operation 604, the electronic device 101 according to an embodiment of the present disclosure can determine whether editing information corresponding to the input image is stored. In operation 606, when no editing information corresponding to the input image is stored, the electronic device 101 according to an embodiment of the present disclosure can decode the loaded input image. In operation 607, during the decoding of the input image, the electronic device 101 according to an embodiment of the present disclosure can determine whether the representative image of the moving image has changed (e.g., changed from a first representative image to a second representative image). In operation 605, when editing information exists, the electronic device 101 according to an embodiment of the present disclosure can load and decode the original image of the motion picture from a second storage device (e.g., a hidden storage device). In operation 608, when it is determined that the representative image of the motion picture has been changed, the electronic device 101 according to an embodiment of the present disclosure can extract the bitmap data of the changed original representative image (e.g., a second representative image) from the original motion picture. In operation 609, the electronic device 101 according to an embodiment of the present disclosure can apply the editing information applied to the original representative image. Thus, editing functionality can be provided to the user. In operation 611, the electronic device 101 according to an embodiment of the present disclosure can provide the original representative image with the applied editing information as an image for editing by a specified application. In operation 612, the electronic device 101 according to an embodiment of the present disclosure can apply the rendering attributes of the original representative image (e.g., a first representative image) to the image provided for editing. Therefore, in operation 615, the electronic device 101 according to an embodiment of the present disclosure can extract the image attributes of the motion picture. In operation 616, the electronic device 101 according to an embodiment of the present disclosure can extract information about rendering attributes from the extracted image attributes. In operation 617, the electronic device 101 according to an embodiment of the present disclosure can generate rendering attributes (e.g., generate a gain map) based on the extracted information about rendering attributes. In operation 613, the electronic device 101 according to an embodiment of the present disclosure can apply image attributes changed through editing to an edited representative image.In operation 614, the electronic device 101 according to an embodiment of the present disclosure may store the image edited in operation 613 in a first storage device 610 (e.g., a scope storage device).
[0055] Figure 7 This is an exemplary diagram illustrating the time information (e.g., timestamp) of the original image (e.g., second representative image 470) of an edited image (e.g., third representative image 620) stored by electronic device 101 according to an embodiment of the present disclosure, and the function or operation of performing re-editing on the third representative image 620 using the time information.
[0056] refer to Figure 7 In operation 710, the electronic device 101 according to embodiments of the present disclosure may receive user input for re-editing a representative image (e.g., a third representative image 620) of the motion image 300. The electronic device 101 according to embodiments of the present disclosure may receive a request from the user, for example, to run an application for image editing. Editing according to embodiments of the present disclosure may include, for example, non-destructive editing and / or sequential editing, for imparting new visual effects to the image or modifying previously applied visual effects while maintaining those effects. In operation 710, the electronic device 101 according to embodiments of the present disclosure may run an application for image editing upon receiving user input.
[0057] In operation 720, the electronic device 101 according to an embodiment of the present disclosure can select a frame corresponding to the representative image (e.g., the third representative image 620) from among a plurality of frames included in the motion picture 300 using time information of the representative image (e.g., the third representative image 620). For image editing (e.g., non-destructive editing), instead of storing the original image data of the representative image (e.g., the third representative image 620) (e.g., the first frame 420a as bitmap data) in a storage device (e.g., the first storage device 610 and / or the second storage device 810), the electronic device 101 according to an embodiment of the present disclosure can store time information (e.g., a timestamp) corresponding to the original image data (e.g., the first frame 420a) in the electronic device 101 (e.g., memory 130). The electronic device 101 according to an embodiment of the present disclosure can use the stored time information to access the first frame 420a among the plurality of frames 320. Figure 8a This is an example diagram illustrating the function or operation of an electronic device 101 according to an embodiment of the present disclosure, which uses time information to select frames corresponding to time information from a video file. (See reference...) Figure 8a Based on user input received in operation 710, electronic device 101 according to an embodiment of the present disclosure may use time information (e.g., 0.3 seconds) corresponding to the first frame 420a to select the first frame 420a from a plurality of frames 320.
[0058] In operation 730, the electronic device 101 according to embodiments of the present disclosure may apply image attributes of representative images (e.g., second representative image 470 and / or third representative image 620) to the selected frame. When a non-destructive editing request is received from a user, the electronic device 101 according to embodiments of the present disclosure may apply image attributes of the second representative image 470 to the frame selected in operation 720 in substantially the same manner. According to embodiments of the present disclosure, image attributes of the first representative image 310 may not have been applied to the frame selected in operation 720. Therefore, for image editing (e.g., non-destructive editing and / or continuous editing), the electronic device 101 according to embodiments of the present disclosure may apply image attributes of the first representative image 310 to the first frame 420a and provide it to the user. Multiple frames 320 according to embodiments of the present disclosure (e.g., motion images 300 excluding the second representative image 470) may be stored in a second storage device 810 (e.g., a hidden storage device). Multiple frames 320 stored in the second storage device 810 (e.g., a hidden storage device) according to embodiments of the present disclosure may not be accessible to the user. An electronic device 101 according to an embodiment of the present disclosure can select a first frame 420a by accessing a plurality of frames 320 stored in a second storage device 810 (e.g., a hidden storage device) based on user input and time information received in operation 710. In operation 730, the electronic device 101 according to an embodiment of the present disclosure can apply image attributes applied to an original representative image (e.g., a first representative image 310) to the first frame 420a. For example, the electronic device 101 according to an embodiment of the present disclosure can determine whether an HDR attribute is applied to the first representative image 310. When an HDR attribute is applied to the first representative image 310, the electronic device 101 according to an embodiment of the present disclosure can generate a gain map for the selected video frame (e.g., the first frame 420a). Based on the generated gain map, the electronic device 101 according to an embodiment of the present disclosure can at least temporarily store the first frame 420a with the HDR attribute applied, and for non-destructive editing, display an image (e.g., a second representative image 470) corresponding to the first frame 420a with the HDR attribute applied via a display module 160. The electronic device 101 according to an embodiment of the present disclosure may at least temporarily store the generated gain map.
[0059] When the first representative image 310 according to an embodiment of the present disclosure is identified as an image based on a 12-megapixel resolution, the electronic device 101 can enlarge the selected video frame (e.g., the first frame 420a) to 12 megapixels, store it at least temporarily in the electronic device 101, and display an image (e.g., the second representative image 470) corresponding to the enlarged first frame 420a via the display module 160 for non-destructive editing. In this case, the gain map according to an embodiment of the present disclosure can also be enlarged at the same ratio. Optionally, for example, when the original representative image (e.g., the first representative image 310) includes an image based on WCG P3 colors and the selected video frame (e.g., the first frame 420a) uses the sRGB color space, an image whose color space properties are changed by applying a WCG P3 transformation scheme (e.g., an sRGB to P3 transformation scheme) to the first frame 420a can be stored at least temporarily in the electronic device 101 as a representative image. When the original representative image (e.g., the first representative image 310) comprises an sRGB-based image and the selected video frame (e.g., the first frame 420a) uses the WCG P3 color space, an image whose color space properties are altered by applying an sRGB transformation scheme (e.g., a P3-to-sRGB transformation scheme) to the first frame 420a can be stored as a representative image, at least temporarily, in the electronic device 101. Alternatively, for example, the EXIF information and / or ICC profile of the original representative image (e.g., the first representative image 310) can be applied to the first frame 420a.
[0060] In operation 740, the electronic device 101 according to an embodiment of the present disclosure can provide an image corresponding to a frame to which image attributes of a representative image (e.g., the first representative image 310) are applied as an image for re-editing. For example, the electronic device 101 according to an embodiment of the present disclosure can provide an image to which image attributes of the first representative image 310 are applied as an image for re-editing (e.g., non-destructive editing) in operation 730. Alternatively, when the user selects continuous editing, the electronic device 101 according to an embodiment of the present disclosure can provide an image to the user by applying visual effects applied to the third representative image 620 in substantially the same manner as the image to which image attributes of the first representative image 310 are applied in operation 730. The electronic device 101 according to an embodiment of the present disclosure can obtain user input for non-destructive editing and / or continuous editing. The electronic device 101 according to an embodiment of the present disclosure can store an image to which non-destructive editing and / or continuous editing has been performed as a fourth representative image 820 in the electronic device 101 (e.g., the first storage device 610). Figure 8bThis is an exemplary diagram illustrating the function or operation of storing a re-edited representative image (e.g., a fourth representative image 820) in a first storage device 610 according to an embodiment of this disclosure. Reference Figure 8b According to embodiments of the present disclosure, an electronic device 101 may store a motion image 300 including a re-edited representative image (e.g., a fourth representative image 820) in an electronic device 101 (e.g., a first storage device 610). Therefore, a user can access the re-edited representative image (e.g., the fourth representative image 820) according to embodiments of the present disclosure. According to embodiments of the present disclosure, when re-editing (e.g., non-destructive editing and / or continuous editing) is performed on an image obtained by editing a modified representative image (e.g., a third representative image 620), the electronic device 101 may use the temporal information (e.g., a timestamp) of the modified representative image (e.g., a second representative image 470) based on the original frames extracted from a video file to perform re-editing, thereby providing a re-edited image (e.g., a fourth representative image), thus effectively utilizing memory resources.
[0061] Figure 9 This is an exemplary diagram illustrating an electronic device 101 according to an embodiment of the present disclosure.
[0062] Reference Figure 9 The electronic device 101 according to embodiments of the present disclosure may include a processor 910 (e.g., Figure 1 The processor 120), and the display module 920 (e.g., Figure 1 The display module 160) and / or camera module (e.g., Figure 1 The processor 910 according to embodiments of the present disclosure may include a representative image extractor 912, a photographic image attribute extractor 914, and / or a rendering attribute data generator 916. The representative image extractor 912, photographic image attribute extractor 914, and / or rendering attribute data generator 916 according to embodiments of the present disclosure may be implemented as hardware or software included in the processor 910, or may be implemented as hardware operatively connected to the processor 910 or as a software module included in the hardware.
[0063] A representative image extractor 912 according to embodiments of the present disclosure can be configured to extract a representative image included in the original moving image when a specified application (e.g., an editing application) is executed. A photo image attribute extractor 914 according to embodiments of the present disclosure can extract image attributes (e.g., image resolution, SDR attribute, HDR attribute, color space information, EXIF information, ICC profile, and / or SEF data) of the original photo image. A rendering attribute data generator 916 according to embodiments of the present disclosure can extract attributes required for image rendering and generate necessary rendering data during the execution of a specified application (e.g., an image editing application). For example, when the original photo image is an image with HDR attributes applied, the rendering attribute data generator 916 according to embodiments of the present disclosure can generate a gain map based on a bitmap image of a selected video frame. The rendering attribute data generator 916 according to embodiments of the present disclosure can apply the generated rendering data to a preview image.
[0064] Figure 1 The descriptions of display module 160 and camera module 180 in this document can be applied equally to display module 920 and camera module 930 according to embodiments of this disclosure.
[0065] An electronic device 101 according to an embodiment of the present disclosure may include a touch screen display (e.g., Figure 1 The display module 160). At least one camera (e.g., Figure 1 Camera module 180); at least one processor (e.g., Figure 1 The processor 120); and the memory (e.g., Figure 1 The memory 130 is configured to store instructions that, when executed by at least one processor, cause the electronic device to capture a moving image via at least one camera, wherein the moving image includes a representative frame corresponding to a first representative image and a plurality of frames, receiving user input for selecting a first frame from the plurality of frames included in the moving image, so as to change the first representative image into a second representative image different from the first representative image, identifying image attributes of the first representative image based on the user input and applying the identified image attributes to the selected first frame, and displaying the first frame with the identified image attributes applied as the second representative image of the moving image via a touch screen display.
[0066] According to embodiments of this disclosure, the instructions may further include instructions that, when executed by the at least one processor, cause the electronic device to perform the following operations: when the image attributes include HDR attributes and the attributes of the plurality of frames have SDR attributes, generate a gain map for a first frame and apply the gain map to the first frame.
[0067] According to embodiments of the present disclosure, the instructions may further include instructions that, when executed by at least one processor, cause the electronic device to perform the following operations: when image attributes include WCG (Wide Gamut) P3 pixel attributes and the attributes of multiple frames include sRGB pixel attributes, transform the bitmap color data of the first frame according to a transformation scheme for changing the attributes of the first frame to WCG P3 pixel attributes.
[0068] According to embodiments of the present disclosure, the instructions may further include instructions that, when executed by at least one processor, cause the electronic device to perform the following operation: when an image attribute includes a first resolution attribute and the attributes of a plurality of frames have a second resolution attribute different from the first resolution, perform scaling processing such that the attributes of the first frame have the first resolution attribute.
[0069] According to embodiments of this disclosure, the instructions may further include instructions that, when executed by at least one processor, cause the electronic device to perform the following operations: storing time information corresponding to a first frame among a plurality of frames based on user input for storing a third representative image having attributes that have changed from those of a second representative image.
[0070] According to embodiments of this disclosure, the instructions may further include instructions that, when executed by the at least one processor, cause the electronic device to perform the following operations: when receiving user input for changing the attributes of the second representative image back to the fourth representative image, selecting a first frame corresponding to time information from the plurality of frames, and performing the change based on the selected first frame.
[0071] Image attributes may also include metadata that represents the first image, and the metadata includes EXIF information, color space information, and ICC profile.
[0072] The electronic device according to various embodiments can be one of a variety of types of electronic devices. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer equipment, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. According to embodiments of this disclosure, the electronic device is not limited to those described above.
[0073] It should be understood that the various embodiments of this disclosure and the terminology used therein are not intended to limit the technical features set forth herein to particular embodiments, but rather to include various modifications, equivalents, or substitutions for the respective embodiments. Regarding the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It should be understood that, unless the relevant context clearly indicates otherwise, the singular form of the noun corresponding to an item may include one or more things. As used herein, each of the phrases such 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” may include any one or all possible combinations of the items listed together in the corresponding phrase. As used herein, terms such as “first” and “second” or “first” and “second” may be used to simply distinguish the respective component from another component and do not limit the component in other respects (e.g., importance or order). It will be understood that, whether the terms “operably” or “communically” are used or not, if an element (e.g., a first element) is referred to as “combined with another element (e.g., a second element),” “combined to another element (e.g., a second element),” “connected to another element (e.g., a second element),” or “connected to another element (e.g., a second element)”, it means that the element can be directly (e.g., wiredly) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.
[0074] As used in conjunction with various embodiments of this disclosure, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms such as logic, logic block, component, or circuit. A module may be a single integrated component adapted to perform one or more functions, or its smallest unit or portion. For example, according to an embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0075] The various embodiments described herein can be implemented as software (e.g., program 2540) including one or more instructions stored in a storage medium (e.g., internal memory 2536 or external memory 2538) readable by a machine (e.g., electronic device 2501). For example, a processor of the machine (e.g., electronic device 2501) can invoke at least one of the one or more instructions stored in the storage medium and execute it with or without one or more other components under the control of the processor. This allows the machine to be operated to perform at least one function according to the invoked at least one instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. The term "non-transitory" simply means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between cases where data is stored semi-permanently in the storage medium and cases where data is temporarily stored in the storage medium.
[0076] According to embodiments, methods according to various embodiments of this disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., an optical disc read-only memory (CD-ROM)), or distributed online (e.g., downloaded or uploaded) via an app store (e.g., PlayStore™), or directly between two user devices (e.g., smartphones). If distributed online, at least a portion of the computer program product may be temporarily generated or at least temporarily stored in a machine-readable storage medium, such as the memory of a manufacturer's server, an app store's server, or a relay server.
[0077] According to embodiments of this disclosure, each of the above components (e.g., a module or program) may include a single entity or multiple entities, and some of the multiple entities may be arranged separately in different components. According to embodiments of this disclosure, one or more of the above components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, the integrated component may still perform one or more functions of each of the multiple components in the same or similar manner as the corresponding components in the multiple components before integration. According to embodiments of this disclosure, operations performed by a module, program, or other component may be performed sequentially, in parallel, repeatedly, or heuristically, or may be performed in a different order, or one or more operations may be omitted, or one or more other operations may be added.
Claims
1. An electronic device, comprising: Touchscreen display At least one camera, At least one processor, and A memory storing instructions that, when executed by the at least one processor, cause the electronic device to: Moving images are captured via the at least one camera, wherein the moving images include representative frames corresponding to the first representative image and multiple frames. In order to change the first representative image to a second representative image that is different from the first representative image, user input is received for selecting the first frame from a plurality of frames included in the moving image. Based on the user input, image attributes of the first representative image are identified, and the identified image attributes are applied to the selected first frame. The first frame, to which the identified image attributes are applied, is displayed as a second representative image of the motion image via the touchscreen display.
2. The electronic device of claim 1, further comprising instructions that, when executed by the at least one processor, cause the electronic device to: When the image attributes include high dynamic range (HDR) attributes and the attributes of the plurality of frames have standard dynamic range (SDR) attributes, a gain map of the first frame is generated and the gain map is applied to the first frame.
3. The electronic device according to claim 1 or 2, further comprising instructions that, when executed by the at least one processor, cause the electronic device to: When the image attributes include WCG wide color gamut P3 pixel attributes and the attributes of the plurality of frames include sRGB pixel attributes, the bitmap color data of the first frame is transformed according to a transformation scheme for changing the attributes of the first frame to WCG P3 pixel attributes.
4. The electronic device according to any one of claims 1 to 3, further comprising instructions that, when executed by the at least one processor, cause the electronic device to: When the image attributes include a first resolution attribute and the attributes of the plurality of frames have a second resolution attribute that is different from the first resolution, scaling is performed so that the attributes of the first frame have the first resolution attribute.
5. The electronic device according to any one of claims 1 to 4, further comprising instructions that, when executed by the at least one processor, cause the electronic device to: Based on user input for storing a third representative image with attributes that have changed from those of the second representative image, time information corresponding to the first frame among multiple frames is stored.
6. The electronic device according to any one of claims 1 to 5, further comprising instructions that, when executed by the at least one processor, cause the electronic device to: When user input is received to change the attributes of the second representative image back to the fourth representative image, the first frame corresponding to the time information among the plurality of frames is selected, and the change is performed based on the selected first frame.
7. The electronic device according to any one of claims 1 to 6, wherein, The image attributes also include first metadata representing the image, and the metadata includes EXIF information, color space information, and ICC profile.
8. A non-transitory computer-readable recording medium configured to store computer-readable instructions that, when executed by a processor of an electronic device, cause the electronic device to: Moving images are captured via at least one camera of the electronic device, wherein, The motion image includes a representative frame corresponding to the first representative image and multiple frames. In order to change the first representative image to a second representative image that is different from the first representative image, user input is received for selecting the first frame from a plurality of frames included in the moving image. Based on the user input, image attributes of the first representative image are identified, and the identified image attributes are applied to the selected first frame. The first frame, with the identified image attributes applied, is displayed as a second representative image of the motion picture via the touchscreen display of the electronic device.
9. The non-transitory computer-readable recording medium of claim 8, wherein the instructions further include instructions that, when executed by the processor of the electronic device, cause the electronic device to perform the following operations: When the image attributes include high dynamic range (HDR) attributes and the attributes of the plurality of frames have standard dynamic range (SDR) attributes, a gain map of the first frame is generated and the gain map is applied to the first frame.
10. The non-transitory computer-readable recording medium of claim 8 or 9, wherein the instructions further include instructions that, when executed by the processor of the electronic device, cause the electronic device to perform the following operations: When the image attributes include WCG wide color gamut P3 pixel attributes and the attributes of the plurality of frames include sRGB pixel attributes, the bitmap color data of the first frame is transformed according to a transformation scheme for changing the attributes of the first frame to WCG P3 pixel attributes.
11. The non-transitory computer-readable recording medium according to any one of claims 8 to 10, wherein the instructions further include instructions that, when executed by the processor of the electronic device, cause the electronic device to perform the following operations: When the image attributes include a first resolution attribute and the attributes of the plurality of frames have a second resolution attribute that is different from the first resolution, scaling is performed so that the attributes of the first frame have the first resolution attribute.
12. The non-transitory computer-readable recording medium according to any one of claims 8 to 11, wherein the instructions further include instructions that, when executed by the processor of the electronic device, cause the electronic device to perform the following operations: Based on user input for storing a third representative image with attributes that have changed from those of the second representative image, time information corresponding to the first frame among multiple frames is stored.
13. The non-transitory computer-readable recording medium according to any one of claims 8 to 12, wherein the instructions further include instructions that, when executed by the processor of the electronic device, cause the electronic device to perform the following operations: When user input is received to change the attributes of the second representative image back to the fourth representative image, the first frame corresponding to the time information among the plurality of frames is selected, and the change is performed based on the selected first frame.
14. The non-transitory computer-readable recording medium according to any one of claims 8 to 13, wherein, The image attributes also include first metadata representing the image, and the metadata includes EXIF information, color space information, and ICC profile.
15. A method for controlling an electronic device, comprising: Moving images are captured via at least one camera of the electronic device, wherein the moving images include representative frames corresponding to a first representative image and multiple frames. In order to change the first representative image to a second representative image that is different from the first representative image, user input is received for selecting the first frame from a plurality of frames included in the moving image. Based on the user input, image attributes of the first representative image are identified and applied to the selected first frame. The first frame, with the identified image attributes applied, is displayed as a second representative image of the motion picture via the touchscreen display of the electronic device.