This application is based on and claims priority under 35 U.S.C. § 119 of a Korean patent application number 10-2019-0003616, filed on Jan. 11, 2019, in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein its entirety.
The disclosure relates to an electronic device for controlling a frame rate of an image sensor and a method thereof.
An electronic device may obtain image frames using an image sensor. The image sensor may obtain the image frames at specific time intervals, and a rate to obtain the image frames may be expressed as a frame rate. The frame rate may be referred to the number of frames per second (fps).
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.
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 and a method for controlling a frame rate of an image sensor by using a frame rate converter.
When the frame rate of the image sensor increases, the number of image frames obtained at a specified time interval increases. Accordingly, although the electronic device may capture images of a subject rapidly moving, image quality of images may be degraded or the images look dark because the exposure time of the image sensor decreases.
The electronic device may increase the number of image frames by maintaining or increasing the exposure time through frame rate conversion. For example, the electronic device may maintain the frame rate (e.g., 320 fps) (i.e., maintain the exposure time) of the image sensor while increasing the frame rate (e.g., 480 fps) of a moving picture reproduced in the electronic device, by inserting an intermediate image frame between image frames obtained through the image sensor.
When the image sensor and a component (e.g., a frame rate converter) to perform the frame rate conversion operate independently from each other, unnecessary power consumption may occur or the image quality of an image (or a moving picture) may be degraded. For example, when the frame rate conversion is performed without separate feedback nevertheless there is present the difference in image quality between image frames, which are obtained through the image sensor, and an intermediate image frame generated through the frame rate converter, the image quality of an image (or a moving picture) reproduced in the electronic device may be degraded. For another example, when the frame rate conversion is performed in the situation that it is unnecessary to increase the frame rate, power consumption may be increased.
Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the presented embodiments.
In accordance with an aspect of the disclosure, an electronic device is provided. The electronic device may include an image sensor at least one processor. The at least one processor may be configured to sequentially obtain a first image, a second image, and a third image through the image sensor at a first time interval, generate a synthesized image by using the first image and the third image, identify a similarity between the second image and the synthesized image, sequentially obtain a fourth image, a fifth image, and a sixth image through the image sensor, at a second time interval long than the first time interval, based on the similarity being equal to or greater than a first threshold value, and sequentially obtain the fourth image, the fifth image, and the sixth image through the image sensor, at the first time interval, based on the similarity being less than the first threshold value.
In accordance with another aspect of the disclosure, a method of an electronic device is provided. The method may include sequentially obtaining a first image and a second image at a first time interval, generating a synthesized image using the first image and the second image, identifying a similarity between the second image and the synthesized image, sequentially obtaining a third image and a fourth image at a second time interval longer than the first time interval, based on the similarity being equal to or greater than a first threshold value, and sequentially obtaining the third image and the fourth image at the first time interval, based on the similarity being less than the first threshold value.
In accordance with another aspect of the disclosure, an electronic device is provided. The electronic device may include an image sensor and at least one processor. The at least one processor may be configured to sequentially obtain a first image and a second image through the image sensor at a first time interval, identify a similarity between the first image and the second image, sequentially obtain a third image and a fourth image through the image sensor at a second time interval longer than the first time interval, based on the similarity being equal to or greater than a first threshold value, and sequentially obtain the third image and the fourth image through the image sensor at the first time interval, based on the similarity being less than the first threshold value.
In accordance with another aspect of the disclosure, an electronic device is provided. The electronic device may include an image sensor, and at least one processor. The at least one processor may be configured to sequentially obtain a first image, a second image, and a third image through the image sensor at a first time interval, obtain a synthesized image corresponding to the third image, based on the first and second images, identify a similarity between the third image and the synthesized image, sequentially obtain a fourth image, a fifth image, and a sixth image through the image sensor at a second time interval longer than the first time interval based on the similarity being equal to greater than a first threshold value, and sequentially obtain the fourth image, the fifth image, and the sixth image through the image sensor at the first time interval, based on the similarity being less than the first threshold value.
Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure.
The above and other aspects, features, and advantages of certain embodiments of the disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
Throughout the drawings, like reference numerals will be understood to refer to like parts, components, and structures.
Hereinafter, various embodiments of the disclosure may be described with reference to accompanying drawings. However, those of ordinary skill in the art will understand that the disclosure is not limited to a specific embodiment, and modifications, equivalents, and/or alternatives on the various embodiments described herein can be variously made without departing from the scope and spirit of the disclosure.
Referring to
The processor 120 may 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 may perform various data processing or computation. According to one embodiment, as at least part of the data processing or computation, the processor 120 may load a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in non-volatile memory 134. According to an embodiment, the processor 120 may 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 may be adapted to consume less power than the main processor 121, or to be specific to a specified function. The auxiliary processor 123 may be implemented as separate from, or as part of the main processor 121.
The auxiliary processor 123 may 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) may be implemented as part of another component (e.g., the camera module 180 or the communication module 190) functionally related to the auxiliary processor 123.
The memory 130 may 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 may include, for example, software (e.g., the program 140) and input data or output data for a command related thereto. The memory 130 may include the volatile memory 132 or the non-volatile memory 134.
The program 140 may be stored in the memory 130 as software, and may include, for example, an operating system (OS) 142, middleware 144, or an application 146.
The input device 150 may receive a command or data to be used by other 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 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).
The sound output device 155 may output sound signals to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as playing multimedia or playing record, and the receiver may be used for incoming calls. According to an embodiment, the receiver may be implemented as separate from, or as part of the speaker.
The display device 160 may visually provide information to the outside (e.g., a user) of the electronic device 101. The display device 160 may include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, hologram device, and projector. According to an embodiment, the display device 160 may include touch circuitry adapted to detect a touch, or sensor circuitry (e.g., a pressure sensor) adapted to measure the intensity of force incurred by the touch.
The audio module 170 may convert a sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 may obtain the sound via the input device 150, or output the sound via 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.
The sensor module 176 may 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 may 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.
The interface 177 may 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 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
A connecting terminal or connector 178 may include a connector via which the electronic device 101 may be physically connected with the external electronic device (e.g., the electronic device 102). According to an embodiment, the connecting terminal or connector 178 may include, for example, a HDMI connector, a USB connector, a SD card connector, or an audio connector (e.g., a headphone connector).
The haptic module 179 may convert an electrical signal into a mechanical stimulus (e.g., a vibration or a movement) or electrical stimulus which may be recognized by a user via his tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.
The camera module 180 may capture a still image or moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
The power management module 188 may manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
The battery 189 may supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.
The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and the external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication via the established communication channel. The communication module 190 may include one or more communication processors that are operable independently from the processor 120 (e.g., the application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may 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 may be implemented as a single component (e.g., a single chip), or may be implemented as multi components (e.g., multi chips) separate from each other. The wireless communication module 192 may 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., international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196.
The antenna module 197 may transmit or receive a signal or power to or from the outside (e.g., the external electronic device) of the electronic device 101. According to an embodiment, the antenna module 197 may include an antenna including a radiating element composed of a conductive material or a conductive pattern formed in or on a substrate (e.g., PCB). According to an embodiment, the antenna module 197 may include a plurality of antennas. In such a case, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network 198 or the second network 199, may be selected, for example, by the communication module 190 (e.g., the wireless communication module 192) from the plurality of antennas. The signal or the power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 197.
At least some of the above-described components may be coupled mutually and communicate signals (e.g., commands or data) therebetween via an inter-peripheral communication scheme (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 coupled with the second network 199. Each of the electronic devices 102 and 104 may be a device of a same type as, or a different type, from the electronic device 101. According to an embodiment, all or some of operations to be executed at the electronic device 101 may be executed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should perform a function or a service automatically, or in response to a request from a user or another device, the electronic device 101, instead of, or in addition to, executing the function or the service, may request the one or more external electronic devices to perform at least part of the function or the service. The one or more external electronic devices receiving the request may perform the at least part of the function or the service requested, or an additional function or an additional service related to the request, and transfer an outcome of the performing to the electronic device 101. The electronic device 101 may provide the outcome, with or without further processing of the outcome, as at least part of a reply to the request. To that end, a cloud computing, distributed computing, or client-server computing technology may be used, for example.
The electronic device according to various embodiments may be one of various types of electronic devices. The electronic devices may 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.
Referring to
The flash 220 may emit light that is used to reinforce light reflected from an object. According to an embodiment, the flash 220 may include one or more light emitting diodes (LEDs) (e.g., a red-green-blue (RGB) LED, a white LED, an infrared (IR) LED, or an ultraviolet (UV) LED) or a xenon lamp. The image sensor 230 may obtain an image corresponding to an object by converting light emitted or reflected from the object and transmitted via the lens assembly 210 into an electrical signal. According to an embodiment, the image sensor 230 may include one selected from image sensors having different attributes, such as an RGB sensor, a black-and-white (BW) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same attribute, or a plurality of image sensors having different attributes. Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
The image stabilizer 240 may move the image sensor 230 or at least one lens included in the lens assembly 210 in a particular direction, or control an operational attribute (e.g., adjust the read-out timing) of the image sensor 230 in response to the movement of the camera module 180 or the electronic device 101 including the camera module 180. This allows compensating for at least part of a negative effect (e.g., image blurring) by the movement on an image being captured. According to an embodiment, the image stabilizer 240 may sense such a movement by the camera module 180 or the electronic device 101 using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180. According to an embodiment, the image stabilizer 240 may be implemented, for example, as an optical image stabilizer.
The memory 250 may store, at least temporarily, at least part of an image obtained via the image sensor 230 for a subsequent image processing task. For example, if image capturing is delayed due to shutter lag or multiple images are quickly captured, a raw image obtained (e.g., a Bayer-patterned image, a high-resolution image) may be stored in the memory 250, and its corresponding copy image (e.g., a low-resolution image) may be previewed via the display device 160. Thereafter, if a specified condition is met (e.g., by a user's input or system command), at least part of the raw image stored in the memory 250 may be obtained and processed, for example, by the image signal processor 260. According to an embodiment, the memory 250 may be configured as at least part of the memory 130 or as a separate memory that is operated independently from the memory 130.
The image signal processor 260 may perform one or more image processing with respect to an image obtained via the image sensor 230 or an image stored in the memory 250. The one or more image processing may include, for example, depth map generation, three-dimensional (3D) modeling, panorama generation, feature point extraction, image synthesizing, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening). Additionally or alternatively, the image signal processor 260 may perform control (e.g., exposure time control or read-out timing control) with respect to at least one (e.g., the image sensor 230) of the components included in the camera module 180. An image processed by the image signal processor 260 may be stored back in the memory 250 for further processing, or may be provided to an external component (e.g., the memory 130, the display device 160, the electronic device 102, the electronic device 104, or the server 108) outside the camera module 180. According to an embodiment, the image signal processor 260 may be configured as at least part of the processor 120, or as a separate processor that is operated independently from the processor 120. If the image signal processor 260 is configured as a separate processor from the processor 120, at least one image processed by the image signal processor 260 may be displayed, by the processor 120, via the display device 160 as it is or after being further processed.
According to an embodiment, the electronic device 101 may include a plurality of camera modules 180 having different attributes or functions. In such a case, at least one of the plurality of camera modules 180 may form, for example, a wide-angle camera and at least another of the plurality of camera modules 180 may form a telephoto camera. Similarly, at least one of the plurality of camera modules 180 may form, for example, a front camera and at least another of the plurality of camera modules 180 may form a rear camera.
Referring to
According to an embodiment, the frame rate converter 310 may perform frame rate conversion. The frame rate conversion may include an operation of generating a synthesized image based on at least one image frame obtained from the image sensor 230. In the disclosure, the image frame may be included in an image. For example, the frame rate converter 310 may generate a synthesized image frame (Nth synthesized image frame; N is a natural image) corresponding to an Nth image frame, based on an (N−1)th image frame and an (N+1)th image frame which are obtained from the image sensor 230.
Although
According to an embodiment, the encoder 320 may perform encoding based on at least one image frame (or the synthesized image frame) obtained from the image sensor 230 or the frame rate converter 310. The image signal processor 260 may generate a moving picture (or an image) by performing the encoding.
According to an embodiment, the control circuitry 330 may be operatively connected with the image sensor 230, the frame rate converter 310, and the encoder 320. According to an embodiment, the control circuitry 330 may control the frame rate of the image sensor 230, based on the similarity (correlation) between a synthesized image frame (e.g., Nth synthesized image frame) generated from the frame rate converter 310 and an image frame (e.g., Nth image frame) obtained from the image sensor 230
For example, when the similarity is equal to or greater than a specified threshold value, the control circuitry 330 may reduce the frame rate of the image sensor 230. Because the similarity between the synthesized image frame and the image frame obtained from the image sensor 230 is equal to or greater than the threshold value, even if the electronic device 101 generates a moving picture using the synthesized image frame, the image quality of the moving picture is not degraded. In addition to this, the moving picture is prevented from being darkly reproduced because the exposure time increases if the frame rate decreases. In addition, even if the exposure time of the image sensor 230 increases, the frame rate (or the frame rate of the encoded moving picture) of the moving picture reproduced in the electronic device 101 may be maintained, so the electronic device 101 seamlessly provides the moving picture of a subject, which rapidly moves.
For another example, if the similarity is less than the specified threshold value, the image quality of the moving picture may be degraded, so the control circuitry 330 may increase or maintain the frame rate of the image sensor 230.
Referring to
According to an embodiment, the electronic device 101 may generate a synthesized image frame (e.g., a synthesized image frame 460-4) corresponding an Nth image frame 450-4 through the frame rate converter 310. According to an embodiment, the synthesized image frame may be generated based on an (N−1)th image frame (e.g., 450-3) and an (N+1)th image frame (e.g., 450-5).
According to an embodiment, the electronic device 101 may identify the similarity between the Nth image frame (e.g., 450-4) and the synthesized image frame (e.g., 460-4) corresponding to the Nth image frame. For example, the electronic device 101 may identify the similarity through the image signal processor 260 or the control circuitry 330. According to an embodiment, the electronic device 101 may identify the similarity based on at least one of Sum of Absolute Difference (SAD) or Magnitude of Absolute Difference (MAD) between the Nth image frame and the synthesized image frame corresponding to the Nth image frame. For example, the electronic device 101 may identify the similarity as being higher when the SAD or the MAD between the Nth image frame and the synthesized image frame corresponding to the Nth image frame is less than a specified threshold value. According to another embodiment, to reduce a time taken to identify the similarity, the electronic device 101 may compare features (or key points) of the image frames (e.g., the image frame 450-4 and the synthesized image frame 460-4) with each other, may compare between sub-sampled image frames, or compare only partial regions of the image frames.
According to an embodiment, the electronic device 101 may use the synthesized image frame corresponding to the Nth image frame (e.g., 450-4) to identify the similarity. The electronic device 101 may use the Nth image frame instead of the synthesized image frame corresponding to the Nth image frame when encoding is performed to generate the moving picture. According to another embodiment, when the higher similarity is shown between the Nth image frame and the synthesized image frame corresponding to the Nth image (e.g., when the similarity is equal to or greater than the threshold value to be described), the electronic device 101 may use the synthesized image frame instead of the image frame when performing the encoding.
According to an embodiment, the electronic device 101 may control the frame rate of the image sensor 230 and the frame rate of the frame rate converter 310 based on the similarity. For example, when the similarity is equal to or greater than the specified threshold value, the electronic device 101 may change the frame rate of the image sensor 230 to a second frame rate 402 (e.g., about 480 fps) less than a first frame rate 401. In this case, the electronic device 101 may sequentially obtain image frames (e.g., 450-7 or 450-9) through the image sensor 230 at a second specified time interval 420 longer than the first specified time interval 410.
According to an embodiment, to maintain the frame rate (e.g., the first frame rate 401) of the moving picture reproduced from the electronic device 101, the electronic device 101 may perform the frame rate conversion through the frame rate converter 310. For example, the electronic device 101 may generate a synthesized image frame (460-6 or 460-8) at the timing (e.g., the timing at which the image frame 450-6 or 450-8 has to be generated) at which an image frame is not generated from the image sensor 230.
According to an embodiment, the electronic device 101 may perform an operation of controlling the frame rate of the image sensor 230 once more. For example, the electronic device 101 may generate a synthesized image frame (e.g., 460-9) corresponding to an Mth image frame (e.g., 450-9) (M is a natural number larger than N) obtained from the image sensor 230, after the frame rate of the image sensor 230 is changed to the second frame rate 402. When the similarity between Mth image frame and a synthesized image frame corresponding to the Mth image frame is equal to or greater than a specified threshold value, the electronic device 101 may change the frame rate of the image sensor 230 to a third frame rate 403 (e.g., about 320 fps) less than the second frame rate 402. In this case, the electronic device 101 may sequentially obtain image frames (e.g., 450-12 or 450-15) through the image sensor 230 at a third specified time interval 430 longer than the second specified time interval 420.
According to an embodiment, the electronic device 101 may increase the frame rate of the frame rate converter 310 corresponding to that the frame rate of the image sensor 230 decreases. For example, the frame rate converter 310 may generate a plurality of synthesized image frames (e.g., 460-10 and 460-11, or 460-13 and 460-14) for the third specified time interval 430. The similar power consumption is required to generate synthesized image frames regardless of the number of synthesized image frames. However, the total power consumption may be reduced in the electronic device 101 if the frame rate of the image sensor 230 is reduced even if the frame rate of the frame rate converter 310 is increased, because some processes for image processing may be omitted when the frame rate of the image sensor 230 is reduced. According to an embodiment, the electronic device 101 may instantly change the frame rate based on the comparative result for the similarity. According to another embodiment, the electronic device 101 may change the frame rate after identifying the similarity tendency between a plurality of image frames. The changing of the frame rate after identifying the similarity tendency may improve the reliability of the synthesized image frame in higher-rate consecutive frames.
According to an embodiment, when the similarity is less than a specified threshold value, the electronic device 101 may maintain or increase the frame rate of the image sensor 230. For example, the electronic device 101 may generate a synthesized image frame 460-15 corresponding to a Kth image frame (K is a natural number greater than M) (e.g., an image frame 450-15). When the similarity between the Kth image frame and the synthesized image frame corresponding to the Kth image frame is less than the specified threshold value, the electronic device 101 may maintain the frame rate (e.g., the third frame rate) of the image sensor 230.
Referring to
Similarly, the electronic device 101 may generate a synthesized image frame (e.g., 460-6) after (or substantially simultaneously with that) an (M+1)th image frame (e.g., 450-7) is generated, to generate the synthesized image frame (e.g., 460-6) corresponding to the Mth image frame (e.g., 450-6).
According to an embodiment, the electronic device 101 may generate a synthesized image frame (e.g., 460-10) corresponding to a Pth image frame (e.g., 450-10) by using a (P−1)th image frame (e.g., 450-9) and a (P+1)th image frame (e.g., 450-11), or by using the (P−1)th image frame (e.g., 450-9) and a (P+3)th image frame (e.g., 450-13) in consideration of changing the frame rate of the image sensor 230. The electronic device 101 may generate the (P+1)th synthesized image frame (e.g., 460-11) or a (P+2)th synthesized image frame (e.g., 460-12), as well as the Pth synthesized image frame (e.g., 460-10) by using the (P−1)th image frame (e.g., 450-9) and the (P+3)th image frame (e.g., 450-13). The electronic device 101 may control the frame rate by identifying the similarity between the (P+1)th image frame (e.g., 450-11) and the (P+1)th synthesized image frame (e.g., 460-11).
As described above, as the frame rate of the image sensor 230 decreases (or a specified time interval increases), a time required to generate a synthesized image frame may increase. Therefore, according to an embodiment, the electronic device 101 may control the frame rate of the image sensor 230 without considering the (N+1)th image frame. For example, referring to
Similarly, the electronic device 101 may generate an (M+1)th synthesized image frame (e.g., 460-8) or an (M+2)th synthesized image frame (e.g., 460-9), after the Mth image frame (e.g., 450-7).
Referring to
Referring to
In operation 601, the electronic device 101 may determine (identify) whether the similarity between the Nth image frame and the synthesized image frame corresponding to the Nth image frame is equal to or greater than the first threshold value 615 (e.g., whether the similarity is in a first specified range 610), whether the similarity is less than the first threshold 615 and equal to or greater than the second threshold value 625 (e.g., whether the similarity is in the second specified range 620), or whether the similarity is less than the second threshold value 625 (e.g., whether the similarity is in the third specified range 630). According to one embodiment, the similarity may refer to a correlation between two images. As the similarity is increased, the resultant value of the similarity may be increased. For example, when the similarity is expressed as the differential value between image frames, it may be determined that a less value represents a higher similarity. When the similarity is present in the first specified range 610, the electronic device 101 may decrease the frame rate of the image sensor 230 and may increase the frame rate of the frame rate converter 310. When the similarity is present in the second specified range 620, the electronic device 101 may maintain the frame rates of the image sensor 230 and the frame rate converter 310. When the similarity is present in the third specified range 630, the electronic device 101 may increase the frame rate of the image sensor 230 and may decrease the frame rate of the frame rate converter 310.
In operation 602, the electronic device 101 may determine (identify) whether the similarity between the Nth image frame and the synthesized image frame corresponding to the Nth image frame is equal to or greater than the third threshold value 645 (e.g., whether the similarity is in a fourth specified range 640) or less than the third threshold value 645 (whether the similarity is in a fifth specified range 650). When the similarity is present in the fourth specified range 640, the electronic device 101 may decrease the frame rate of the image sensor 230 and may increase the frame rate of the frame rate converter 310. When the similarity is present in the fifth specified range 650, the electronic device 101 may increase the frame rate of the image sensor 230 and may decrease the frame rate of the frame rate converter 310.
Referring to
In operation 710, the electronic device 101 may generate a synthesized image frame (e.g., 460-4 of
The electronic device 101 may identify the similarity between the Nth image frame and the synthesized image frame in operation 715, and may determine whether the similarity is equal to or greater than the first threshold value (e.g., 615 of
According to an embodiment, the electronic device 101 may perform operation 710 to operation 720 in a specified period. The specified period may be determined based at least one of, for example, the image quality of a moving picture, an image signal, a current consumed in the image signal processor 260, or a user setting. According to an embodiment, the specified period may be varied depending on the similarity. For example, the electronic device 101 may increase the specified period when the similarity is equal to or greater than the first threshold value, and may decrease the specified period when the similarity is less than the first threshold value.
In operation 725, the electronic device 101 may obtain images frames (e.g., 450-7 and 450-9 of
In operation 730, the electronic device 101 may obtain image frames at the first specified time interval.
Referring to
In operation 815, the electronic device 101 may determine whether the similarity is less than the second threshold value (e.g., the second threshold value 625 of
Referring to
According to an embodiment, the electronic device 101 may perform operation 710 to 720 in a specified period. The specified period may be determined based at least one of, for example, the image quality of a moving picture, an image signal, a current consumed in the image signal processor 260, or a user setting. According to an embodiment, the specified period may be varied depending on the similarity. For example, the electronic device 101 may decrease the specified period when the similarity is equal to or greater than the third threshold value, and may decrease the specified period when the similarity is less than the third threshold value.
In operation 925, the electronic device 101 may obtain image frames at the second specified time interval longer than the first specified time interval. According to an embodiment, the electronic device 101 may perform additional image processing to reduce the difference in brightness or clearness between image frames obtained at the first specified time interval and image frames obtained at the second specified time interval.
In operation 930, the electronic device 101 may obtain image frames at the third specified time interval shorter than the first specified time interval.
According to an embodiment, the frame rate converter 310 may be disposed in a front stage of the encoder 320 or may be included in the encoder 320. When the frame rate converter 310 is included inside the encoder 320, the frame rate converter 310 may share some modules together with the encoder 320. Some modules may include at least one of a motion estimation module or a motion compensation module.
In graph 1001 of
According to an embodiment, the electronic device 101 may perform encoding through the encoder 320, based on motion vector information obtained by the frame rate converter 310. For example, the frame rate converter 310 may transmit motion vector information, which is obtained by estimating (e.g., 1011-1) a motion for the Nth image frame, to the encoder 320. The encoder 320 may estimate (e.g., 1022-1) a motion for the Nth image frame using the received motion vector information, thereby reducing power consumption and the time for image processing.
Referring to
In operation 1105, the electronic device 101 may determine whether the similarity is equal to or greater than the first threshold value (e.g., 615 of
When the similarity is greater than or equal to the first threshold value or the third threshold value, the electronic device 101 may not change the generated bit stream in operation 1110. In this case, the Nth image frame included in the bit stream may be a synthesized image frame by the frame rate converter 310.
When the similarity is less than or equal to the first threshold value or the third threshold value, the electronic device 101 may change a portion of the bit stream in operation 1115. For example, the electronic device 101 may substitute the Nth image frame in the bit stream with the Nth image frame encoded by the encoder 320. According to an embodiment, the electronic device 101 may use a function (e.g., a tile function or multiple slice function) of dividing a partial region of the image frame. For example, the electronic device 101 may identify the similarity for each region forming an image frame, may use an encoding result value without change, with respect to a region having a higher similarity, and may re-perform encoding with respect to a region having a lower similarity. In this case, the electronic device 101 may generate a bit stream by combining the encoding result value without change and an encoding value obtained as the encoding is re-performed.
Referring to
According to an embodiment, the electronic device 101 may use at least one of the image frame 1210-3 obtained from the image sensor 230 or the synthesized image frame (e.g., 1220-3) generated by the frame rate converter 310, to generate the Nth image frame (e.g., 1230-3) using the encoder 320. For example, when the similarity is equal to or greater than the threshold value (e.g., the first threshold value 615 or the third threshold value 645 of
According to an embodiment, the electronic device 101 may identify the similarity several times to control the frame rate of the image sensor 230. For example, the electronic device 101 may enhance the accuracy by controlling the frame rate of the image sensor 230 based on not only the similarity between the Nth image frame (e.g., 1210-3) and the synthesized image frame (e.g., 1220-3) corresponding to the Nth image frame, but also the similarity between an Mth image frame (e.g., 1210-5) and a synthesized image frame (e.g., 1220-5) corresponding to the Mth image frame (e.g., 1210-5).
According to an embodiment, the electronic device 101 may control the frame rate of the image sensor 230, based on at least one of the brightness of the image frame obtained from the image sensor 230, motion information (e.g., motion vector), image quality, a residual battery level, or illuminance measured by an illuminance sensor without identifying the similarity. For example, the electronic device 101 may reduce the frame rate of the image sensor 230 when the brightness of the image frame obtained by the image sensor 230 is dark or the illuminance of the image frame is low, or may increase the frame rate of the image sensor 230 when it is determined that the motion in the image is great based on the motion information. According to an embodiment, the electronic device 101 may determine (or identify) the brightness of the image frame by using the histogram information of the image frame or the illuminance sensor (e.g., at least a portion of the sensor module 176 of
Referring to
According to an embodiment, the starting point (e.g., 1315, 1325, or 1335) of the duration that the slow motion is applied may be determined while the moving picture is being photographed or before the moving picture is photographed. For example, the electronic device 101 may control the frame rate from the starting point, in response to the user input. For another example, the electronic device 101 may control the frame rate when the motion of the object is sensed in a region of interest (ROI) of the captured image.
According to an embodiment, the electronic device 101 may determine whether to perform frame rate conversion for the duration that the slow motion is applied, based on a specified condition. The specified condition may include, for example, at least one of illuminance, a motion extent, a residual battery level, or the brightness of an image frame.
For example, when the illuminance is equal to or greater than a specified threshold value, the long exposure time of the image sensor 230 is not required. Accordingly, in operation 1301, the electronic device 101 may change the frame rate of the image sensor 230 to the first frame rate (e.g., 401 of
According to another embodiment, the electronic device 101 may determine whether to perform the frame rate conversion for the duration that the slow motion is applied, based on a user input.
According to an embodiment, the electronic device 101 may terminate the application of the slow motion, when the user input is received, or when the motion of the subject is disappeared in the ROI. According to another embodiment, the electronic device 101 may automatically terminate the application of the slow motion when a specified time is elapsed after the slow motion is started.
Although
According to an embodiment, when the illuminance is less than the threshold value, the number of the image frames obtained from the image sensor 230 may decrease. Accordingly, the storage space of the memory 130 may increase. When the storage space of the memory 130 increase, the electronic device 101 may increase the time in which the moving picture is captured.
According to an embodiment, the electronic device 101 may control the frame rate of the image sensor 230 when the slow motion is applied for a plurality of durations. For example, after the slow motion is applied for the first duration 1320, the electronic device 101 may apply the slow motion for the second duration 1330. According to an embodiment, the electronic device 101 may determine the frame rate of the image sensor 230 for the second duration 1330, based on the frame rate of the image sensor 230, which is applied for the first duration 1320. For example, the electronic device 101 may obtain image frames at a third interval 1337 for the first duration 1320. When the image quality of the obtained image frames is equal to or greater than the threshold value, the electronic device 101 may obtain image frames at the third interval 1337 for the second duration 1320.
According to another embodiment, the electronic device 101 may determine the frame rate of the frame rate converter 310 for the second duration 1330, based on the frame rate of the frame rate converter 310, which is applied for the first duration 1320.
Although
Referring to
In operation 1410, the electronic device 101 may sense that the photographing of the slow motion is started. According to an embodiment, a time point at which the photographing of the slow motion is started may be determined by a user input while the moving picture is being photographed, or may be randomly or by the user input before the photographing of the moving picture is started.
According to various embodiments, the electronic device 101 may omit operation 1410. In other words, the electronic device 101 may perform operation 1415 to operation 1425 for the duration that the photographing of the slow motion is not applied.
In operation 1415, the electronic device 101 may identify whether the specified condition is equal to or greater than a threshold value. The specified condition may include, for example, at least one of illuminance, a motion extent, a residual battery level, or the brightness of an image frame.
When the specified condition is equal to or greater than the threshold value, the electronic device 101 may obtain image frames at the first specified time interval (e.g., 1317 of
When the specified condition is less than the threshold value, the electronic device 101 may perform the frame rate conversion and obtain image frames at the second specified time interval (e.g., 1327 of
As described above, an electronic device (e.g., 101 of
According to an embodiment, the one or more processors may be configured to generate a plurality of third image frames by inserting one or more synthesized frames between the plurality of second image frames, as at least a portion of an operation of obtaining the plurality of second image frames through the image sensor at the second specified time interval.
According to an embodiment, the one or more processors may be configured to generate a moving picture using corresponding an image frame among the plurality of second image frames and the plurality of third image frames, and the plurality of first images frames.
According to an embodiment, the one or more processors may be configured to sequentially obtain the plurality of second image frames through the image sensor set at a third specified time interval shorter than the first specified time interval, when the similarity satisfies a third specified range.
According to an embodiment, the one or more processors may be configured to generate the moving picture based on the synthesized image frame instead of the second image frame, when the similarity satisfies the first specified range.
According to an embodiment, the one or more processors may be configured to identify the similarity between the second image frame and the synthesized image frame, based on at least one of Sum of Absolute Difference (SAD), Magnitude of Absolute Difference (MAD), a feature or a keypoint.
According to an embodiment, the one or more processors may include a frame rate converter (FRC) (e.g., 310 of
According to an embodiment, the control circuitry may be configured to obtain motion vector information for the plurality of first image frames through the FRC, and generate the moving picture based on the motion vector information, through the encoder.
As described above, a method of an electronic device (e.g., 101 of
According to an embodiment, the sequentially obtaining of the plurality of second image frames at the second time interval includes generating a plurality of third image frames by inserting one or more synthesized image frames into a section between the plurality of second image frames.
According to an embodiment, the method may further include generating a moving picture using corresponding image frames among the plurality of second image frames and the plurality of third image frames, and the plurality of first images frames.
According to an embodiment, the method may further include sequentially obtaining the plurality of second image frames through the image sensor set at a third specified time interval shorter than the first specified time interval, when the similarity satisfies a third specified range.
According to an embodiment, the generating of the moving picture may include generating the moving picture based on the synthesized image frame instead of the second image frame, when the similarity satisfies the first specified range.
According to an embodiment, the identifying of the similarity may include identifying the similarity between the second image frame and the synthesized image frame, based on at least one of Sum of Absolute Difference (SAD), Magnitude of Absolute Difference (MAD), a feature or a keypoint.
According to an embodiment, the sequentially obtaining of the plurality of first image frames may further include obtaining a third image frame after the second image frame, and the generating of the synthesized image frame may include generating a synthesized image frame based on the first image frame and the third image frame
As described above, an electronic device (e.g., 101 of
According to an embodiment, the one or more processors may be configured to generate a plurality of third image frames by inserting one or more synthesized frames between the pluralities of second image frames, as at least a portion of an operation of obtaining the plurality of second image frames through the image sensor at the second specified interval.
According to an embodiment, the one or more processors may be configured to generate a moving picture using corresponding image frames among the plurality of second image frames and the plurality of third image frames, and the plurality of first images frames.
According to an embodiment, the one or more processors may be configured to sequentially obtain the plurality of second image frames through the image sensor set at a third specified time interval shorter than the first specified time interval, when the similarity satisfies a third specified range.
According to an embodiment, the one or more processors may be configured to generate the moving picture based on the synthesized image frame instead of the second image frame, when the similarity satisfies the first specified range.
The electronic device according to various embodiments may be one of various types of electronic devices. The electronic devices may 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.
It should be appreciated that various embodiments of the disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the things, unless the relevant context clearly indicates otherwise. 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,” may 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” may 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, with or without the term “operatively” or “communicatively”, as “coupled with,” “coupled to,” “connected with,” or “connected to” another element (e.g., a second element), it means that the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.
As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, “logic,” “logic block,” “part,” or “circuitry”. A module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, according to an embodiment, the module may be implemented in a form of an application-specific integrated circuit (ASIC).
Various embodiments as set forth herein may 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 is readable by a machine (e.g., the electronic device 101). For example, a processor (e.g., the processor 120) of the machine (e.g., the electronic device 101) may 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 to perform at least one function according to the at least one instruction invoked. The one or more instructions may include a code generated by a compiler or a code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Wherein, 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), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.
According to an embodiment, a method according to various embodiments of the 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., 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) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities. According to various embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, according to various embodiments, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. According to various embodiments, operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.
According to embodiments disclosed in the disclosure, the electronic device may ensure higher image quality in the situation that the moving picture is reproduced at a higher frame rate.
In addition, according to embodiments disclosed in the disclosure, the electronic device may ensure the higher frame rate while reducing power consumption, by controlling the frame rate of the image sensor.
Besides, a variety of effects directly or indirectly understood through the disclosure may be provided.
While the disclosure 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 may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2019-0003616 | Jan 2019 | KR | national |
Number | Name | Date | Kind |
---|---|---|---|
8319859 | Kim et al. | Nov 2012 | B2 |
8792019 | Yuyama | Jul 2014 | B2 |
9865231 | Kim et al. | Jan 2018 | B2 |
10742896 | Takahashi | Aug 2020 | B2 |
20070139530 | Goffin | Jun 2007 | A1 |
20070139543 | Goffin | Jun 2007 | A1 |
20100053345 | Kim et al. | Mar 2010 | A1 |
20100214439 | Oshima et al. | Aug 2010 | A1 |
20110109796 | Subedar et al. | May 2011 | A1 |
20110164146 | Chiang et al. | Jul 2011 | A1 |
20110176028 | Toyoda | Jul 2011 | A1 |
20130279590 | Chen | Oct 2013 | A1 |
20150130823 | Kim | May 2015 | A1 |
Number | Date | Country |
---|---|---|
10-1574205 | Dec 2015 | KR |
10-2017-009272 | Aug 2017 | KR |
Entry |
---|
International Search Report dated Jan. 30, 2020, issued in an International Application No. PCT/KR2019/012911. |
Number | Date | Country | |
---|---|---|---|
20200228706 A1 | Jul 2020 | US |