Electronic device and method for controlling the same

By separating sub-images from the original image and generating a composite image based on shape information, it solves the problems of object movement and insufficient visibility in harsh environments in HDR technology, achieving high visibility and stability, and is suitable for automotive autonomous driving applications.

CN112655015BActive Publication Date: 2024-09-10SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980057700.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-10-24
Filing Date
2019-10-11
Publication Date
2024-09-10
Estimated Expiration
2039-10-11

AI Technical Summary

Technical Problem

When the existing HDR technology is capturing images, object movement or camera shake causes delays in image acquisition, and motion artifacts may occur, especially in poor lighting environments where object visibility is insufficient, especially in identifying the presence of objects ahead in automotive autonomous driving applications. challenge.

Method used

High visibility of objects is ensured by obtaining multiple sub-images with smaller bit numbers than the original image from the original image, and obtaining a composite image based on the shape information of the object in the sub-images. The specific method includes using a processor to obtain the original image of each pixel, separating the most significant bit side image from the least significant bit side image, identifying object shape information through edge detection and oriented gradient histogram, calculating synthesis weights, and finally generating a synthetic image.

Benefits of technology

It effectively overcomes the problem of motion artifacts, improves the visibility of objects in harsh lighting environments, ensures high visibility of all areas in the image, and especially improves driving stability in automotive autonomous driving applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112655015B_ABST
    Figure CN112655015B_ABST
Patent Text Reader

Abstract

An electronic device and a method for controlling the electronic device are disclosed. Specifically, the present disclosure relates to an electronic device and a method for controlling the electronic device, which can ensure high visibility of an object by acquiring a plurality of sub-images having a smaller bit number than the original image from an original image and acquiring a composite image based on information about the shape of the object included in the plurality of sub-images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an electronic device and a method for controlling the electronic device. More specifically, the present disclosure relates to an electronic device and a method for controlling the electronic device, which can ensure high visibility of an object by acquiring a plurality of sub-images having a smaller bit number than the original image from an original image and acquiring a composite image based on information about the shape of the object included in the plurality of sub-images. Background Art

[0002] In recent years, attention has been paid to high dynamic range (HDR) technology, which expands the brightness range to be closer to a person's actual field of vision by brightening bright areas and darkening dark areas in a digital image.

[0003] However, in the case of the existing HDR technology, in order to obtain one image, it is necessary to capture several images with different exposures and then synthesize these images into one image. Therefore, it is pointed out that if the subject moves or the camera shakes during the process of taking the image, the time required to obtain the desired image may be delayed, and motion artifacts may appear due to the synthesis, which is a limitation.

[0004] Therefore, there is a need for a technology that can ensure visibility of objects in various lighting environments such as darkness, bad weather, backlight, etc. while overcoming the limitations of the existing technology.

[0005] In addition, when a camera set in a car (especially an autonomous car) captures images, it is a challenge to ensure driving stability by recognizing objects appearing in front of the car even in various lighting environments encountered during the car's driving. Summary of the invention

[0006] Technical issues

[0007] The present disclosure aims to overcome the above-mentioned problems and provides an electronic device and a method for controlling the electronic device, which can ensure high visibility of an object by obtaining multiple sub-images with a smaller bit number than the original image from the original image and obtaining a composite image based on information about the shape of the object included in the multiple sub-images.

[0008] Solution

[0009] According to an embodiment of the present disclosure, an electronic device includes: an image sensor; a memory including at least one instruction; and a processor configured to control the electronic device and coupled to the image sensor and the memory.

[0010] The processor can be configured to: acquire, through the image sensor, an original image in which each pixel has a first number of bits; based on the original image, acquire a plurality of sub-images in which each pixel has a second number of bits, the second number of bits being smaller than the first number of bits; identify, from each of the plurality of sub-images, information about the shape of an object included in the plurality of sub-images; based on the identified information, acquire a synthesis weight for each area for two of the plurality of sub-images; and acquire a composite image based on the synthesis weight of each area of ​​the acquired areas.

[0011] The plurality of sub-images may include a most significant bit (MSB) side image and a least significant bit (LSB) side image acquired based on the original image.

[0012] The processor may be configured to: acquire a grayscale image for each of the plurality of sub-images; block each pixel included in the acquired grayscale image; and identify information about a shape of an object included in the plurality of sub-images for each block based on the blockization.

[0013] The processor is configured to obtain a synthesis weight for each block for at least two sub-images of the plurality of sub-images based on the information identified for each block.

[0014] The processor is configured to recognize information about shapes of objects included in the plurality of sub-images through edge detection.

[0015] The processor is configured to identify information about shapes of objects included in the plurality of sub-images based on a histogram of oriented gradients (HOG) values.

[0016] The apparatus may further comprise a display and a user interface unit.

[0017] The processor can be configured to: control the display to display the acquired original image based on the original image acquired through the image sensor; based on a user command for selecting at least one area from a plurality of areas included in the displayed original image being input through the user interface unit, obtain a synthesis weight of each area for two of the plurality of sub-images according to information about a shape of an object included in at least one of the selected areas in the plurality of sub-images.

[0018] According to an embodiment of the present disclosure, a method for controlling an electronic device includes: acquiring an original image in which each pixel has a first number of bits through the image sensor; based on the original image, acquiring multiple sub-images in which each pixel has a second number of bits, and the second number of bits is smaller than the first number of bits; identifying information about the shape of an object included in the multiple sub-images from each of the multiple sub-images; based on the identified information, acquiring a synthesis weight for each area for two sub-images among the multiple sub-images; and acquiring a composite image based on the synthesis weight of each area of ​​the acquired areas.

[0019] The plurality of sub-images may include a most significant bit (MSB) side image and a least significant bit (LSB) side image acquired based on the original image.

[0020] The method may further include: acquiring a grayscale image for each of the plurality of sub-images; and blocking each pixel included in the acquired grayscale image.

[0021] The identification information may include information identifying a shape of an object included in the plurality of sub-images for each block according to the segmentation.

[0022] The acquiring of the synthesis weight of each of the regions may include acquiring the synthesis weight of each block for at least two of the plurality of sub-images based on the information identified for each block.

[0023] The recognition information may include information on shapes of objects included in the plurality of sub-images recognized through edge detection.

[0024] The identification information may include identifying information about shapes of objects included in the plurality of sub-images based on a histogram of oriented gradient (HOG) values.

[0025] The method may further include: based on the original image acquired by the image sensor, displaying the acquired original image.

[0026] The obtaining of the synthesis weight of each area in the area may include: based on a user command for selecting at least one area from a plurality of areas included in the displayed original image being input, obtaining the synthesis weight of each area for two sub-images among the plurality of sub-images according to information about the shape of an object included in at least one area of ​​the selected areas among the plurality of sub-images. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1is a view exemplarily showing a process of acquiring a synthesized image from an original image according to an embodiment;

[0028] Figure 2 is a block diagram showing a brief configuration of an electronic device according to an embodiment;

[0029] Figure 3 is a block diagram showing a detailed configuration of an electronic device according to an embodiment;

[0030] Figure 4 is a block diagram showing an original image according to an embodiment;

[0031] Figure 5a and Figure 5b is shown from Figure 4 A view of two sub-images separated from the original image shown;

[0032] Figures 6a to 6f is a diagram showing a process of identifying information related to Figure 5a and Figure 5b The shape of the object included in each of the two sub-images shown is related to the shape of the object included in the sub-image;

[0033] Figure 7 is a diagram showing the synthesis weights of two sub-images according to an embodiment;

[0034] Figure 8 It shows the Figure 5a and Figure 5b A view of a composite image obtained based on a composite weight for each region of the two sub-images shown;

[0035] Figures 9a to 9c is a view exemplarily showing another plurality of sub-images according to an embodiment;

[0036] Fig.10 is a view showing an input of a user command for selecting at least one region among a plurality of regions included in an original image according to an embodiment;

[0037] Fig.11 is a view showing an embodiment in which an electronic device according to the present disclosure is implemented as a part of a vehicle;

[0038] Fig.12 is a flowchart exemplarily illustrating a method for controlling an electronic device according to an embodiment; and

[0039] Fig.13 is a detailed flow chart illustrating a method for controlling an electronic device according to an embodiment. DETAILED DESCRIPTION

[0040] The present disclosure may have several embodiments, and various modifications may be made to these embodiments. In the following description, specific embodiments are provided with drawings and detailed descriptions thereof. However, it should be understood that the present disclosure is not limited to the specific embodiments described herein, but may include various modifications, equivalents and / or alternative forms of the embodiments of the present disclosure. Regarding the description of the drawings, similar reference numerals may be used for similar components.

[0041] In describing the exemplary embodiments, if a detailed description of related known functions or components makes the description of the subject matter unclear, it may be omitted.

[0042] In addition, the exemplary embodiments may be changed in various forms, and therefore, the technical scope is not limited to the following exemplary embodiments. Rather, these exemplary embodiments are provided to make the present disclosure thorough and complete.

[0043] The terms used herein are intended to explain particular exemplary embodiments only, rather than to limit the scope of the present disclosure. Unless the context clearly indicates otherwise, the singular form is intended to include the plural form.

[0044] The terms “having”, “may have”, “including” and “may include” used in the exemplary embodiments of the present disclosure indicate the existence of corresponding features (for example, elements such as numerical values, functions, operations or components), and do not exclude the existence of other features.

[0045] In the specification, the term "A or B", "at least one of A or / and B", or "one or more of A or / and B" may include all possible combinations of the listed items together. For example, the term "A or B" or "at least one of A or / and B" may mean: (1) at least one A, (2) at least one B, or (3) at least one A and at least one B.

[0046] As used herein, the expressions "1st", "2nd", "first" or "second" may modify various elements regardless of their order and / or importance, and are merely used to distinguish one element from another. Therefore, there is no limitation on the corresponding elements.

[0047] When an element (e.g., a first element) is “operably or communicatively coupled” or “connected to” another element (e.g., a second element), the element may be directly coupled to the other element or may be coupled through another element (e.g., a third element).

[0048] Meanwhile, when one element (e.g., a first element) is “directly coupled / coupled to” or “directly connected to” another element (e.g., a second element), no other element (e.g., a third element) exists between the one element and the other element.

[0049] In this specification, the term "configured to" may be changed to, for example, "suitable for", "capable of", "designed to", "adapted to", "manufactured to", or "capable of" in some cases. In terms of hardware, the term "configured to" does not necessarily mean "specifically designed to".

[0050] In some cases, the term "device configured to..." may refer to a device that is "capable" of doing something together with another device or component. For example, "a processor configured (or set) to perform A, B, and C" may represent a dedicated processor (e.g., an embedded processor) for performing operations or a general-purpose processor (e.g., a CPU or AP) that can perform corresponding operations by executing one or more software programs stored in a storage device.

[0051] In the embodiments disclosed herein, the term "module" or "unit" refers to an element that performs at least one function or operation. A "module" or "unit" may be implemented as hardware, software, or a combination thereof. In addition, multiple "modules" or multiple "units" may be integrated into at least one module, and in addition to the "modules" or "units" that should be implemented in specific hardware, they may also be implemented as at least one processor in an integrated manner.

[0052] In addition, various elements and regions in the drawings are exemplarily drawn, and therefore, the technical concept is not limited by the relative sizes or intervals drawn in the drawings.

[0053] Example embodiments of the present disclosure will be described below in further detail in a manner that will be understood by those of ordinary skill in the art.

[0054] Figure 1 is a view showing a process of acquiring a synthesized image from an original image according to an embodiment.

[0055] like Figure 1 As shown, the electronic device according to the embodiment of the present disclosure can obtain the original image 10. Specifically, the electronic device can obtain the original image 10 having a first bit number for each pixel through the image sensor.

[0056] For example, the original image 10 may be an original image 10 having 12 bits per pixel. Thus, in describing various embodiments of the present disclosure, an image generated by an image sensor may be referred to as an original image 10, and hereinafter, an original image 10 having 12 bits per pixel may be referred to as a 12-bit original image.

[0057] Meanwhile, the electronic device according to an embodiment of the present disclosure can acquire multiple sub-images 20 based on the original image 10. Specifically, the electronic device can acquire multiple sub-images 20 having a second bit number less than the first bit number for each pixel based on the original image 10.

[0058] For example, the plurality of sub-images 20 may be a first sub-image and a second sub-image 20 having 8 bits per pixel. As described above, when describing various embodiments of the present disclosure, an image obtained from an original image 10 having a smaller number of bits than that of the original image 10 is referred to as a sub-image 20, and hereinafter, for convenience, a sub-image 20 having 8 bits per pixel may be referred to as an 8-bit sub-image 20.

[0059] Various objects may be included in a plurality of sub-images, and among the plurality of sub-images, a specific sub-image may include more information about the shape of the object than other sub-images. In addition, even in the same sub-image, the presence or absence of information about the shape of the object and the amount of information about the shape of the object may be different for each of the plurality of regions included in the sub-image.

[0060] Meanwhile, in each of the plurality of sub images 20 , the electronic device according to an embodiment of the present disclosure may recognize information about the shape of the object included in the plurality of sub images 20 .

[0061] That is, the electronic device can extract features on the shape of the object included in the multiple sub-images 20, and identify information about the shape of the object based on the extracted features. Specifically, the electronic device can identify whether there is information about the shape of the object and the amount of information about the shape of the object for each of the multiple regions included in the multiple sub-images 20.

[0062] Meanwhile, the electronic device according to an embodiment of the present disclosure may acquire a synthesis weight of each region of at least two sub-images 20 among the plurality of sub-images 20 based on the recognized information.

[0063] Specifically, as a result of recognizing information about the shapes of objects included in the plurality of sub-images 20, the electronic device may assign a higher synthesis weight to an image including more information about the shapes of objects in specific areas among the plurality of sub-images 20.

[0064] Meanwhile, the electronic device according to an embodiment of the present disclosure may acquire the synthesized image 30 based on the acquired synthesis weight of each region. Thus, when describing various embodiments of the present disclosure, the image synthesized based on the synthesis weight for each recognition region is referred to as the synthesized image 30.

[0065] According to the embodiments of the present disclosure as described above, a plurality of sub-images 20 may be acquired from an original image 10 , and a composite image 30 capable of ensuring visibility of all regions included in the image may be acquired from the plurality of sub-images 20 .

[0066] Meanwhile, when describing the present disclosure, the first number of bits (eg, 12 bits) may be determined according to the amount of information acquired by the image sensor, and the second number of bits (eg, 8 bits) may be determined according to optimization.

[0067] In particular, in an image sensor, it is necessary to acquire information having a higher bit number than 8 bits in order to sense information having a wide dynamic range.

[0068] At the same time, for the image processing process of the original image acquired by the image sensor, especially the image processing process performed by the deep learning-based algorithm, optimization is required to reduce the amount of calculation. Therefore, the image processing process is usually optimized based on 8 bits, which is the minimum unit that can access the memory.

[0069] The present disclosure takes the above description into consideration, and according to the present disclosure, after acquiring a 12-bit original image 10 including information with a wide dynamic range, an 8-bit sub-image 20 can be acquired to process the information from the original image within a range that can minimize the loss, and an 8-bit-based image processing process can be performed.

[0070] In addition, even if an 8-bit synthesized image 30 is obtained from a 12-bit original image through the above-mentioned processing, as much information as possible that can meet the expression range recognizable by the human eye should be retained.

[0071] In the following, reference will be made to Figure 2 and Figure 3 , various embodiments according to the present disclosure are described focusing on the configuration of the electronic device according to the present invention.

[0072] Figure 2 is a block diagram illustrating a structure of an electronic device according to an example embodiment.

[0073] like Figure 2 As shown, the electronic device 100 according to an embodiment of the present disclosure may include an image sensor 110 , a processor 130 , and a memory 120 .

[0074] The image sensor 110 may convert light entering through the lens into an electrical image signal. In addition, the processor 130 may acquire an original image of the object through the image sensor 110.

[0075] Meanwhile, the image sensor 110 may be a charge coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor, but the image sensor 110 according to the present disclosure is not limited thereto.

[0076] The memory 120 may include at least one instruction related to the electronic device 100. In addition, an operating system (O / S) for driving the electronic device 100 may be stored in the memory 120. In addition, according to various embodiments of the present disclosure, various software programs or applications for operating the electronic device 100 may be stored in the memory 120.

[0077] In addition, the memory 120 may include various software modules for operating the electronic device 100 according to various embodiments of the present disclosure, and the processor 130 may execute the various software modules stored in the memory 120 to operate the operations of the electronic device 100 according to various embodiments of the present disclosure.

[0078] Specifically, according to various embodiments of the present disclosure, the memory 120 may store software based on various algorithms related to edge detection, such as Laplacian mask, Sobel mask, Roberts mask, Prewitt mask, or Canny mask, etc. Such edge detection will be described below.

[0079] According to various embodiments of the present disclosure, the memory 120 may store various types of image data. Specifically, according to the present disclosure, the memory 120 may store data related to an original image, a plurality of sub-images or a composite image, etc. Meanwhile, the memory 120 may include a semiconductor memory such as a flash memory or a magnetic storage medium such as a hard disk.

[0080] The processor 130 may control the overall operation of the electronic device 100. Specifically, the processor 130 may be connected to the image sensor 110 and the memory 120 of the electronic device 100 to control the overall operation of the electronic device 100.

[0081] The processor 130 may be implemented in various ways. For example, the processor 130 may be at least one of an application specific integrated circuit (ASIC), an embedded processor, a microprocessor, hardware control logic, a hardware finite state machine (FSM), and a digital signal processor (DSP).

[0082] The processor 130 may include a read-only memory (ROM), a random access memory (RAM), a graphics processing unit (GPU), a central processing unit (CPU), and a bus. The ROM, RAM, GPU, and CPU may be connected to each other through the bus.

[0083] In particular, according to various embodiments of the present disclosure, the processor 130 may acquire an original image having a first number of bits for each pixel through the image sensor 110. The first number of bits may be determined from a viewpoint from which the original image having a wide dynamic range is acquired. In other words, according to the present disclosure, the processor 130 may obtain an original image having a number of bits higher than the number of bits per pixel applicable to the image processing process through a so-called high dynamic range image sensor 110.

[0084] For example, the processor 130 may acquire a raw image having 10 bits, 12 bits, 16 bits, or 24 bits per pixel through the image sensor 110 .

[0085] When acquiring the original image, the processor 130 may acquire multiple sub-images having a second number of bits (less than the first number of bits) for each pixel based on the original image. The second number of bits may be determined according to optimization of the image processing process. In other words, according to the present disclosure, the processor 130 may acquire multiple sub-images having a number of bits per pixel in a minimum unit accessible to the memory 120 based on the acquired original image.

[0086] For example, when the original image acquired by the image sensor 110 has 10 bits, 12 bits, 16 bits, or 24 bits per pixel, the processor 130 may acquire a plurality of sub-images having 8 bits per pixel.

[0087] In other words, according to the present disclosure, the processor 130 can acquire an original image including information in a wide dynamic range, and then acquire multiple sub-images within a range that can minimize information loss from the original image, and perform optimized image processing based on the acquired multiple sub-images.

[0088] Meanwhile, various objects may be included in the plurality of sub-images acquired from the original image, and among the plurality of sub-images, a specific sub-image may include more information about the shape of the object than other sub-images. In addition, even in the same sub-image, the presence or absence of information about the shape of the object and the amount of information about the shape of the object may be different for each of the plurality of regions included in the sub-image.

[0089] When acquiring a plurality of sub-images, the processor 130 may recognize information about a shape of an object included in the plurality of sub-images from each of the plurality of sub-images.

[0090] Meanwhile, in image processing, there are various methods for extracting various features included in a specific image and obtaining various information from the extracted features. Specifically, according to various embodiments of the present disclosure, the processor 130 may extract features of the shapes of objects included in a plurality of sub-images, and recognize information about the shapes of the objects based on the extracted features.

[0091] When the information about the type of the object included in the plurality of sub-images is identified, the processor 130 may acquire the synthesis weight of each region of at least two of the plurality of sub-images based on the identified information. In addition, the processor 130 may obtain a synthesized image based on the acquired synthesis weight of each region.

[0092] Specifically, as a result of identifying information about the type of object included in multiple sub-images in each of the multiple sub-images, the electronic device can assign a relatively high synthesis weight to an image (which includes more information about the type of object than other images in a specific area among the multiple sub-images).

[0093] For example, as a structure for identifying, in each of a plurality of sub-images, information about the type of objects included in a plurality of sub-images, when, for a specific area, a first sub-image among a plurality of sub-images contains twice as much information about the shape of the object as compared to a second sub-image among the plurality of sub-images, when obtaining a composite image, the processor 130 can composite the first sub-image and the second sub-image by assigning a composite weight of the first sub-image to be twice the composite weight of the second sub-image.

[0094] According to the electronic device 100 as described above, multiple sub-images having a smaller bit number than the original image can be obtained from the original image, and a composite image capable of ensuring visibility of the entire area included in the image can be obtained based on information about the shapes of objects included in the multiple sub-images, and the problem of motion artifacts in the prior art can be solved at the same time.

[0095] Meanwhile, in the case where the original image has 10 bits, 12 bits, 16 bits or 24 bits per pixel, multiple sub-pixels with 8 bits per pixel have been described above as examples, but the present disclosure is not limited to images with a specific number of bits per pixel.

[0096] In other words, within the scope of being able to achieve the purpose of the present disclosure, the number of bits per pixel of the original image, multiple sub-images, and further the composite image according to the present disclosure can be determined differently. However, in the following, for convenience, the original image is mainly 12 bits per pixel, and the multiple sub-images and the composite images obtained therefrom have 8 bits per pixel.

[0097] Figure 3 is a block diagram showing a detailed configuration of an electronic device according to an embodiment.

[0098] like Figure 3 As shown, the electronic device 100 according to an embodiment of the present disclosure may include not only an image sensor 110, a memory 120, and a processor 130, but also a communicator 140, an outputter 150, a sensor 160, and a user interface unit 170. However, such a configuration is exemplary, and it is obvious that in performing the present disclosure, in addition to the above configurations, new configurations may be added or some configurations may be omitted.

[0099] The image sensor 110 may convert light entering through a lens into an electrical image signal, and the processor 130 may acquire a raw image of a subject through the image sensor 110 .

[0100] The memory 120 may include at least one instruction related to the electronic device 100. The memory 120 may store software based on various algorithms related to edge detection, and the memory 120 may store data related to an original image, a plurality of sub-images, and a composite image according to the present disclosure.

[0101] The processor 130 may control the overall operation of the electronic device 100. Specifically, the processor 130 may be connected to the image sensor 110, the memory 120, the communicator 140, the outputter 150, the sensor 160, and the user interface unit 170 of the electronic device 100 to control the overall operation of the electronic device 100.

[0102] The above is already in Figure 1 A detailed description of another image sensor 110, the memory 120, and the processor 130 is described in the description of FIG. 1 , and redundant description will be omitted.

[0103] Meanwhile, the communicator 140 may communicate with an external electronic device (not shown) or an external server (not shown). The communicator 140 may include at least one of a Wi-Fi chip 141, a Bluetooth chip 142, a wireless communication chip 143, and a near field communication (NFC) chip 144.

[0104] In particular, the Wi-Fi chip 141 and the Bluetooth chip 142 can communicate in a Wi-Fi method and a Bluetooth method, respectively. When using the Wi-Fi chip 141 or the Bluetooth chip 142, various connection information such as SSID etc. can be exchanged first, and after using the same communication connection, various types of information can be sent and received.

[0105] The wireless communication chip 143 refers to a chip that communicates according to various communication standards (e.g., IEEE, Zigbee, 3rd Generation (3G), 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), etc.). The NFC chip 144 refers to a chip that communicates in various RF-ID frequency bands (e.g., 135kHz, 13.56MHz, 433MHz, and 13.56MHz bandwidth in 2.45GHz) to operate in NFC mode.

[0106] In particular, in various embodiments of the present disclosure, the communicator 140 may receive a signal regarding the original image by communicating with an external electronic device (not shown) or a server (not shown). In addition, the processor 130 may acquire the original image through the communicator.

[0107] In other words, an embodiment has been described above in which the processor 130 acquires the original image through the image sensor 110 , but the original image according to the present disclosure may be acquired from an external electronic device (not shown) or through a server (not shown) of a communicator.

[0108] Specifically, the processor 130 may acquire an original image having a first bit number for each pixel through the communicator 140 , and may acquire a plurality of sub-images having a second bit number (less than the first bit number) for each pixel based on the original image.

[0109] In addition, the processor 130 can identify information about the shape of the object included in the multiple sub-images from each of the multiple sub-images, and based on the identified information, the processor 130 can obtain the synthesis weight of each area in at least two of the multiple sub-images, and further obtain a composite image based on the obtained synthesis weight of each area.

[0110] In addition, various embodiments of the present disclosure may be applied not only when a raw image is acquired through the image sensor 110 of the electronic device but also when a raw image is acquired through the communicator 140 of the electronic device.

[0111] Meanwhile, it has been described above that the image sensor 110 is included in some components of the electronic device 100 , but the present disclosure is not necessarily limited thereto.

[0112] In other words, in order to reduce power consumption, unlike ordinary electronic devices or photographic equipment, only the image sensor may be separated and implemented as an external image sensor (not shown). In this case, the processor 130 may acquire an original image from the external image sensor (not shown) through the communicator 140, and further, a composite image may be acquired through the above-mentioned processing. The output 150 may output various functions that may be performed by the electronic device. The input 150 may include at least one of a display 151, a speaker 152, and an indicator 153.

[0113] The display 151 may output image data under the control of the processor 130. Specifically, in an embodiment of the present disclosure, when the processor 130 may acquire an original image, acquire a plurality of sub-images based on the original image, and acquire a composite image based on the plurality of sub-images, the processor 130 may control the display 151 to display the original image, the plurality of sub-images, and the composite image.

[0114] In addition, the display 151 may display an image or a user interface pre-stored in the memory 120 under the control of the processor 130 .

[0115] Meanwhile, the display 151 may be implemented as a liquid crystal display panel (LCD), an organic light emitting diode (OLED), etc. and may also be implemented as a flexible display, a transparent display, etc. However, the display 151 according to the present disclosure is not limited to a specific type.

[0116] The speaker 152 may output audio data under the control of the processor 130 , and the indicator 153 may emit light under the control of the processor 130 .

[0117] Specifically, in an embodiment of the present disclosure, when the processor 130 can acquire an original image, acquire multiple sub-images based on the original image, and acquire a composite image based on multiple sub-images, each time each image is acquired, the processor 130 can control the speaker 152 or the indicator 153 to output a sound or turn on the LED.

[0118] The sensor 160 may detect various types of inputs. Specifically, the sensor 160 may be a touch sensor that senses a user's touch, and the electronic device according to the present disclosure may include various sensors such as a motion sensor, a temperature sensor, a humidity sensor, an illumination sensor, and the like.

[0119] The user interface unit 170 is an element that senses user interaction for controlling the overall operation of the electronic device 100. Specifically, the user interface unit 150 may be composed of a camera, a microphone, a remote control signal receiver, etc. Meanwhile, the user interface unit 170 may be implemented as a touch screen in the form of being included in the display 151.

[0120] Meanwhile, as described above, when a raw image is acquired through the image sensor 110 , the processor 130 may control the display 151 to display the acquired raw image.

[0121] In addition, when a user command for selecting at least one area among multiple areas included in the displayed original image is input through the user interface unit 170, the processor 130 can obtain a synthesis weight for each area of ​​at least two sub-images among the multiple sub-images based on information about the shape of an object included in at least one area selected from the multiple sub-images.

[0122] As mentioned above, reference will be made to Fig.10 An embodiment of inputting a user command for selecting at least one region among a plurality of regions included in an original image is described in detail.

[0123] At the same time, the following will refer to Figures 4 to 8 A process of acquiring a synthesized image from an original image according to an exemplary embodiment of the present disclosure is described in more detail.

[0124] Figure 4 is a block diagram illustrating an original image according to an embodiment. Figure 5a and Figure 5b is shown from Figure 4 A view of two sub-images separated from the original image is shown.

[0125] As described above, the present disclosure is not limited to images having a specific number of bits per pixel, and hereinafter, an original image has 12 bits per pixel, and a sub-image obtained from the original image has 8 bits per pixel. This will be explained using an example.

[0126] As described above, the processor 130 may acquire a 12-bit original image through the image sensor 110 , and the processor 130 may acquire a plurality of 8-bit sub-images having a bit number less than 12 bits based on the original image.

[0127] Specifically, the plurality of sub-images may include a most significant bit (MSB) side image and a least significant bit (LSB) side image acquired based on the original image.

[0128] The MSB side image is the most significant bit side image, and for example, an 8-bit image may be acquired from information from the first bit to the eighth bit based on the bit of the largest digit in the 12-bit original image.

[0129] In addition, the LSB side image is the least significant bit side image, and for example, an 8-bit image can be acquired from information from the first bit to the eighth bit based on the bit of the smallest digit in the 12-bit original image.

[0130] exist Figure 5a It is shown that Figure 4 The MSB side image of the 12-bit original image shown in FIG. Figure 5b It is shown that Figure 4 The 12-bit original image shown in FIG. 1 is used to obtain the LSB side image.

[0131] like Figure 5a and Figure 5b As shown, the MSB side image and the LSB side image acquired from the same original image may be different in high visibility areas of the objects included in the images.

[0132] Specifically, the MSB side image is indicated Figure 5a The first region 501 is represented too dark, making it difficult to easily identify the object included in the first region 501, and relative to the first region 501, Figure 5a Objects included in the second area 502 can be easily recognized.

[0133] In addition, it is relatively easy to identify the Figure 5b The third region 503 includes objects, and Figure 5b The fourth region 504 is expressed too brightly, and thus an object included in the fourth region cannot be easily recognized relative to the third region 503 .

[0134] Therefore, when Figure 5a The second region 502 and Figure 5b The synthesis weight of the third region 503 is higher than Figure 5a The first region 501 and Figure 5b When the synthesis weight of the fourth area 504 is set to , the synthesized image obtained as a synthesis result can ensure high visibility of all areas included in the image compared to the original image.

[0135] Meanwhile, in the above description, for convenience, Figure 5a and Figure 5b The images shown in are respectively divided into two regions and are designated as a first region 501, a second region 502, a third region 503, and a fourth region 504. However, specifically, the visibility of the object included in each image may vary for each pixel included in the image. In addition, the visibility of the object included in each image may vary according to various lighting environments.

[0136] Figures 6a to 6f is a diagram showing a process of identifying information related to Figure 5a and Figure 5b The shapes of the objects included in the sub-images in each of the two sub-images shown are related.

[0137] According to various embodiments of the present disclosure, in each of the plurality of sub-images, the processor 130 may identify information about the shape of an object included in the plurality of sub-images. Specifically, the processor 130 uses various methods such as edge detection, histogram feature detection, image high frequency analysis, image variance analysis, corner detection, etc. to identify information about the shape of an object included in the plurality of sub-images.

[0138] For example, the processor 130 may detect edges where brightness changes from a high value to a low value or from a low value to a high value in the plurality of sub-images to recognize information about shapes of objects included in the plurality of sub-images.

[0139] In edge detection, various methods may be used, such as a method using a Laplacian mask, a Sobel mask, a Roberts mask, a Prewitt mask, or a Canny mask, and the present disclosure is not limited to a specific method.

[0140] Figure 6a and Figure 6b is a diagram showing edge detection using a Laplacian mask for Figure 5a and Figure 5b Each of the two sub-images shown in identifies information about the shape of an object included in the sub-image.

[0141] Specifically, Figure 6a is a graph showing the Laplacian mask Figure 5a A view showing the result of edge detection performed on the MSB side image, Figure 6b is a graph showing the Laplacian mask Figure 5b FIG. 4 is a view showing the result of performing edge detection on the LSB side image.

[0142] Reference Figure 6a and Figure 6b , we can identify: Figure 6b Compared with the third area 603, Figure 6a The number of detected edges in the first region 601 is small and Figure 6d Compared with the fourth area 604, Figure 6a The number of detected edges in the second region 602 is large. Here, a large number of detected edges means that there is a large amount of information about the shape of the object.

[0143] By passing Figure 6a The second region 602 and Figure 6b The synthesis weight of the third region 603 is higher than Figure 6a The first region 601 and Figure 6bIn the case where synthesis is performed using the synthesis weight of the fourth region 604, the synthesized image obtained as a result of the synthesis can ensure high visibility of all regions included in the image.

[0144] at the same time, Figure 6c and Figure 6d is a diagram showing edge detection using a Sobel mask for Figure 5a and Figure 5b Each of the two sub-images shown in identifies information about the shape of an object included in the sub-image.

[0145] Specifically, Figure 6c The Sobel mask is used to Figure 5a A view showing the result of edge detection performed on the MSB side image, Figure 6d The Sobel mask is used to Figure 5b FIG. 4 is a view showing the result of performing edge detection on the LSB side image.

[0146] Reference Figure 6c and Figure 6d , relative to Figure 6c The first region 611 includes blocks, Figure 6c The blocks included in the second area 612 are displayed brighter. Figure 6b The third region 613 includes blocks compared to the Figure 6d The blocks included in the fourth region 614 of FIG. 6 are relatively darker. Here, a relatively brighter region indicates that there is more information about the shape of the object than a relatively darker region.

[0147] Therefore, by Figure 6c The second region 612 and Figure 6d The synthesis weight of the third region 613 is higher than Figure 6c The first region 611 and Figure 6d In the case where synthesis is performed using the synthesis weight of the fourth area 614, the synthesized image obtained as a synthesis result can ensure high visibility of all areas included in the image.

[0148] At the same time, the processor 130 can identify information about the shape of the object included in the plurality of sub-images based on the histogram of oriented gradient (HOG) values. Specifically, the processor 130 can divide the regions of the plurality of sub-images into units of a predetermined size, and for each unit, the processor can obtain a histogram of directions of edge pixels having a slope value equal to or greater than a certain value, and then obtain a vector connecting these histogram bin values ​​to identify information about the shape of the object included in the plurality of sub-images.

[0149] In addition, the processor 130 can identify information about the shape of the object included in the multiple sub-images based on high-frequency image analysis. Specifically, the processor 130 can identify information about the shape of the object included in the multiple sub-images by analyzing the high-frequency components with large pixel value change rates among the frequency components included in the multiple sub-images.

[0150] In addition, the processor 130 may identify information about the shapes of objects included in the plurality of sub-images based on image variance analysis. Specifically, the processor 130 may identify information about the shapes of objects included in the plurality of sub-images by statistically analyzing the distribution of image data included in the plurality of sub-images.

[0151] In addition, the processor 130 may recognize information about the shapes of the objects included in the plurality of sub images through various methods including a corner detection method.

[0152] Hereinabove, various methods for recognizing information about the type of an object included in a plurality of sub-images have been described. In addition to the above methods, various methods for recognizing information about the shape of an object may be used within the scope that the purpose of the present disclosure can be achieved.

[0153] Meanwhile, if it is not for the purpose of improving the efficiency and speed of the image processing process, the process of identifying the information about the type of the object included in the plurality of sub-images may be performed for each pixel included in the plurality of sub-images by various methods as described above. As will be described below, after performing blocking on each pixel, the processor 130 may identify the information about the shape of the object included in the plurality of sub-images for each block.

[0154] For example, the processor 130 may include a 1280×720 pixel block included in the entire plurality of sub-images in a 32×18 block.

[0155] In addition, the processor 130 can identify information about the shape of the objects included in the multiple sub-images for each block according to the blockization. Specifically, the processor 130 can identify information about the shape of the objects included in the multiple sub-images for each block according to the blockization by using various methods (such as edge detection, etc.) as described above.

[0156] Meanwhile, in order to reduce the amount of calculation for image processing, the processor 130 may acquire a grayscale image for each of the plurality of sub-images before performing blocking on each pixel, and block each pixel included in the acquired grayscale image.

[0157] Specifically, the processor 130 may convert multiple sub-images (which are acquired as color images) into grayscale images respectively. In the process of acquiring grayscale images, a method using color brightness is mainly used, but the process of acquiring grayscale images according to the present disclosure is not limited to a specific method.

[0158] Figure 6e It shows how to obtain Figure 5a A view showing a grayscale image of an MSB side image and a result of performing edge detection after blocking each pixel included in the acquired grayscale image.

[0159] in addition, Figure 6f It shows how to obtain Figure 5b The illustrated view is a grayscale image of an LSB side image and a result of performing edge detection after blocking each pixel included in the acquired grayscale image.

[0160] Reference Figure 6e , relative to Figure 6e The first region 621 includes blocks, Figure 6e The blocks included in the second area 622 are displayed brighter. Figure 6f , and in Figure 6f The third region 623 includes blocks compared to the Figure 6f The blocks included in the fourth region 624 are relatively darker.

[0161] Here, blocks represented by black indicate that there is little information on the shape of the object in the areas included in these blocks, while blocks represented by bright colors indicate that there is much information on the shape of the object in the areas included in these blocks.

[0162] In other words, as a result of performing edge detection, the processor 130 may identify the presence or absence of information about the shape of an object included in an image and the amount of information about the shape of the object for each block.

[0163] Therefore, by Figure 6e The second region 622 and Figure 6f The synthesis weight of the third region 623 is higher than Figure 6e The first region 621 and Figure 6f In the case where synthesis is performed using the synthesis weight of the fourth region 624, the synthesized image obtained as a result of the synthesis can ensure high visibility of all regions included in the image.

[0164] In the above, for the convenience of description, Figures 5a to 6fThe illustrated images are divided and designated as two areas, but specifically, a feature has been described above in which visibility of an object included in each image can be changed for each pixel included in the image.

[0165] At the same time, although the method of identifying information about the shape of an object after converting multiple sub-images into grayscale images and blocking each pixel included in the converted grayscale images has been described above, the process of converting and blocking the grayscale images is not necessary to achieve the purpose of the present disclosure.

[0166] In particular, if the method is applied after performing the segmentation process according to the method for recognizing the information about the shape of the object, it may be difficult to recognize the information about the shape of the object, or the amount of calculation of the overall image processing may increase. Therefore, whether to perform the segmentation process should be determined according to the specific method for recognizing the information about the shape of the object.

[0167] Based on the information identified as described above, the processor 130 may obtain a synthesis weight for each region of the MSB side image and the LSB side image, which will be referred to as Figure 7 and Figure 8 Detailed description.

[0168] Figure 7 FIG. 1 is a diagram showing an embodiment according to the present disclosure Figure 5a and Figure 5b The graph of the composite weights of the two sub-images shown in , and Figure 8 is a view showing a synthesized image acquired based on the synthesis weight of each region of two sub-images.

[0169] When information about the shapes of the objects included in the plurality of sub-images is recognized, the processor 130 may acquire a synthesis weight for each region of at least two sub-images among the plurality of sub-images based on the recognized information.

[0170] As described above, after acquiring a grayscale image of each of a plurality of sub-images and blocking each pixel in the acquired grayscale image, the shape of the object included in the plurality of sub-images is identified for each block, and the processor 130 can acquire a synthesis weight for each block of at least two of the plurality of sub-images based on the information identified for each block.

[0171] The synthesis weight of each block as described above can be called the dynamic curve of each block, such as Figure 7 Here, the x-axis is the data of the input original image, and the y-axis is the data of the output composite image. For example, when a 12-bit original image is input, the x-axis represents values ​​from 0 to 4095, and when an 8-bit composite image is output, the y-axis represents values ​​from 0 to 255.

[0172] Specifically, in Figure 7 In the case of the graph shown in the first block 701 of FIG. 704 , the slope of the graph corresponding to the input initial value is formed to be greater than the slope of the second block 702. This indicates that, in the case of the region corresponding to the first block 701, the synthesis weight of the LSB side image is higher than the synthesis weight of the MSB side image compared to the case of the region corresponding to the second block 702.

[0173] Figure 8 Shown by Figure 4 Description to Figure 7 The described process acquires the composite image.

[0174] Specifically, the processor 130 can obtain the following information through the image sensor 110: Figure 4 The 12-bit original image shown in FIG. 1 is obtained based on the obtained original image. Figure 5a The 8-bit MSB side image shown in FIG. Figure 5b The 8-bit LSB side image is shown.

[0175] In addition, the processor 130 can obtain a grayscale image from each of the acquired MSB side image and the LSB side image, block each pixel included in the acquired grayscale image, and can also identify information about the shape of the object included in the MSB side image and the LSB side image for each block by performing edge detection.

[0176] In addition, the processor 130 may obtain a synthesis weight of each block for the MSB side image and the LSB side image based on the information identified for each block. In addition, the processor 130 may obtain a synthesis weight of each block based on the identified synthesis weight of each block. Figure 8 Composite image shown.

[0177] like Figure 8 As shown in FIG. 1 , for an object included in the entire area of ​​the image, the synthesized image obtained according to the above process can have high visibility. In addition, since the synthesized image is obtained based on an original image obtained by the image sensor 110, Figure 8 The synthetic image shown, therefore, the problem of motion artifacts pointed out as a limitation of the prior art can be solved according to the present disclosure.

[0178] Figures 9a to 9c is a view exemplarily showing another plurality of sub-images according to an exemplary embodiment of the present disclosure.

[0179] Similar to Figure 5a and Figure 5b The image shown, Figures 9a to 9c The images shown correspond to 8-bit sub-images obtained from the same 12-bit original image. Figure 9a The image shown is called the first sub-image. Figure 9b The image shown is called the second sub-image. Fig.9c The image shown is called the third sub-image.

[0180] The first sub-image corresponds to an MSB-side image, that is, an image acquired based on information from the first bit to the eighth bit based on the bit having the largest number in the 12-bit original image.

[0181] The second sub-image corresponds to an image acquired based on information from the second bit to the ninth bit based on the bit having the largest number in the 12-bit original image.

[0182] The third sub-image corresponds to an image acquired according to information from the third bit to the tenth bit based on the bit having the largest number in the 12-bit original image.

[0183] Meanwhile, although not shown, the processor 130 may acquire a fourth sub-image according to information from the fourth bit to the eleventh bit based on the bit having the largest number in the 12-bit original image.

[0184] In addition, the processor 130 may acquire a fifth sub-image, ie, an LSB side image, which is acquired based on information from the fifth bit to the twelfth bit based on the bit having the largest number in the 12-bit original image.

[0185] As described above, the processor 130 may acquire the 8-bit first to fifth sub-images, ie, 8-bit multi-layer images, from the same 12-bit original image.

[0186] Reference Figures 9a to 9c , high visibility can be ensured in the first sub-image when the first area 901 includes a sidewalk (which is one of the objects included in the multiple sub-images), high visibility can be ensured in the second sub-image when the second area 902 includes a sidewalk, and high visibility can be ensured in the third sub-image when the third area 903 includes pedestrians and road signs.

[0187] According to an embodiment of the present disclosure, as described above, the processor 130 may acquire a synthetic image having high visibility in all regions included in an image based on a plurality of sub-images.

[0188] Specifically, the processor 130 may acquire a 12-bit original image through the image sensor 110 , acquire five 8-bit sub-images based on the original image, and acquire information about the shape of an object included in the sub-image in each of the five sub-images.

[0189] Furthermore, the processor 130 may acquire a synthesis weight of each region of at least two sub-images among the plurality of sub-images based on the identified information as described above, and acquire a synthesized image based on the acquired synthesis weight of each region.

[0190] In other words, Figures 4 to 7 In the description of FIG. 1 , an exemplary embodiment of obtaining two sub-images (ie, an MSB side image and an LSB side image) from an original image has been described, but as shown in FIG. Figures 9a to 9c According to the description, a composite image can be obtained based on at least two of the five 8-bit sub-images obtained from the 12-bit original image.

[0191] At the same time, if Figure 9a to Figure 9b As shown, since the area with high visibility of the object included in the image is different for each sub-image, the visibility of the overall synthesized image can be higher as the number of sub-images of the synthesis basis increases.

[0192] However, depending on the lighting environment, the overall visibility of the composite image may not increase as the number of sub-images serving as the basis for synthesis increases. Therefore, in various embodiments of the present disclosure, the number of sub-images serving as the basis for synthesis should be determined by considering various lighting environments and the increase in image processing time due to the increase in the number of sub-images.

[0193] Fig.10 is a view illustrating an input of a user command for selecting at least one region among a plurality of regions included in an original image according to an embodiment of the present disclosure.

[0194] As described above, when a raw image is acquired by the image sensor 110 , the processor 130 may control the display 151 to display the acquired raw image.

[0195] In addition, a user command for selecting at least one region 1001 from a plurality of regions included in the original image displayed on the display 151 may be input through the user interface unit 170. Here, the at least one region 1001 selected by the user may correspond to a region for which the user desires to ensure visibility.

[0196] When a user command for selecting at least one area 1001 from multiple areas included in the original image is input, the processor 130 can obtain a synthesis weight for each area for at least two of the multiple sub-images based on information about the shape of an object included in the selected at least one area 1001.

[0197] Specifically, the processor 130 may assign a higher synthesis weight to a sub-image having more information (information about the shape of the object included in the at least one region 1001 selected by the user) than other sub-images. Therefore, the processor 130 may acquire a synthesized image capable of ensuring higher visibility of the region selected by the user command.

[0198] Meanwhile, a user command may be input through a touch interaction of the user with the touch screen. In this case, at least one area 1001 selected by the user command may be an area within a predetermined radius from the point where the user's touch interaction is input, or may be an area including a plurality of pixels within a predetermined horizontal length and a predetermined vertical length from the point where the user's touch interaction is input.

[0199] In the above, a case where a user command is input through a user's touch interaction has been exemplified, but the user command may be input in various manners through various user interface units 170 .

[0200] In the above, a case has been exemplified in which an original image is displayed on the display 151 and a user command for selecting at least one of a plurality of regions included in the original image is input through the user interface unit 170. However, according to another embodiment of the present disclosure, a plurality of sub-images acquired from the original image are displayed on the display 151, and a user command for selecting at least one of a plurality of regions included in at least one of the plurality of sub-images may be input through the user interface unit 170.

[0201] In this case, when a user command for selecting at least one of the multiple regions included in at least one sub-image of the multiple sub-images is input through the user interface unit 170, the processor 130 can obtain the synthesis weight of each region for at least two sub-images of the multiple sub-images.

[0202] According to the embodiments of the present disclosure as described above, since a synthesized image can be acquired by assigning a high synthesis weight of a sub-image capable of ensuring high visibility to a region selected by a user command, visibility of a user desired region can be further improved.

[0203] Fig.11 is a view showing an embodiment in which an electronic device according to the present disclosure is implemented as a part of a vehicle.

[0204] The electronic device according to the present disclosure may be implemented as an independent electronic device such as a camera, a smart phone, etc., and may be implemented as a part of a vehicle, a robot, etc.

[0205] In particular, if Fig.11As shown, the electronic device according to the present disclosure may be implemented as a camera 111 as part of a vehicle. The vehicle may be an autonomous vehicle. In addition, the camera 111 may be implemented in the form of a rearview mirror coupled to the interior of the vehicle to identify objects appearing in front of the vehicle while driving. Meanwhile, as described above, the camera 111 may include an image sensor 110, a memory 120, and a processor 130.

[0206] Specifically, according to an embodiment of the present disclosure, the processor 130 may acquire, through the image sensor 110 , an original image including an object appearing in front of the vehicle.

[0207] The processor 130 may acquire, based on an original image in which each pixel has a first bit number, a plurality of sub-images in which each pixel has a second bit number that is smaller than the first bit number.

[0208] In addition, the processor 130 can identify information about the shape of the object included in the multiple sub-images from each of the multiple sub-images, and can obtain a synthesis weight of each area in at least two of the multiple sub-images based on the identified information, and obtain a composite image based on the synthesis weight of each area of ​​the obtained area.

[0209] In addition, even when the electronic device according to the present disclosure is implemented as a part of a vehicle, the above-mentioned Figures 1 to 10 Various embodiments of the present disclosure are described.

[0210] As described above, when the electronic device according to the present disclosure is implemented as a part of a vehicle, especially an autonomous driving vehicle, various driving environments such as night, bad weather, backlight, etc. can be smoothly identified even when objects (such as lanes, pedestrians, vehicles, etc.) appear in front of the vehicle, thereby improving the driving stability of the vehicle.

[0211] Fig.12 is a flowchart exemplarily illustrating a method for controlling an electronic device according to an embodiment of the present disclosure.

[0212] According to an embodiment of the present disclosure, the electronic device may acquire a raw image having a first number of bits for each pixel through the image sensor 110 ( S1201 ).

[0213] At the same time, when the original image is acquired, a plurality of sub-images having a second bit number (less than the first bit number) for each pixel can be acquired based on the original image (S1202). The plurality of sub-images can include a most significant bit (MSB) side image and a least significant bit (LSB) side image acquired based on the original image.

[0214] When a plurality of sub-images are acquired, information about the shape of the object included in the plurality of sub-images may be identified from each of the plurality of sub-images (S1203). The identification of the information may be performed based on a result of edge detection, a histogram of oriented gradient (HOG) values, or the like.

[0215] When information about the shapes of the objects included in the plurality of sub-images is identified, a synthesis weight of each region of at least two of the plurality of sub-images may be acquired based on the identified information ( S1204 ).

[0216] Meanwhile, the method of controlling an electronic device according to an embodiment of the present disclosure may further include: when an original image is acquired through the image sensor, displaying the acquired original image.

[0217] When a user command for selecting at least one area among multiple areas included in the displayed original image is input, a synthesis weight of each area of ​​at least two sub-images among the multiple sub-images can be obtained based on information about the shape of an object included in at least one area selected from the multiple sub-images.

[0218] Meanwhile, when the synthesis weight of each region of at least two sub-images among the plurality of sub-images is acquired, a synthesized image may be acquired based on the acquired synthesis weight of each region (S1205).

[0219] Fig.13 is a detailed flowchart showing a method of controlling an electronic device according to an embodiment of the present disclosure.

[0220] According to an embodiment of the present disclosure, when a 12-bit original image is acquired ( S1301 ), an 8-bit MSB-side image and an LSB-side image may be acquired based on the 12-bit original image ( S1302 ).

[0221] When the MSB side image and the LSB side image are acquired, a grayscale image for each of the acquired MSB side image and the LSB side image can be acquired (S1303). In other words, by converting the MSB side image and the LSB side image (acquired as color images) into grayscale images, the amount of calculation for image processing can be reduced.

[0222] When a grayscale image is acquired, each pixel included in the acquired grayscale image may be blocked (S1304). For example, the efficiency and speed of image processing may be improved by blocking 1280×720 pixels included in each of the MSB side image and the LSB side image of the grayscale to be included in 32×18 blocks.

[0223] When each pixel is blocked, information about the shape of the object included in the MSB side image and the LSB side image may be identified for each block (S1305). Identification of each block information may be performed based on various methods such as edge detection, histogram feature detection, corner detection, etc.

[0224] When the information about the shape of the object of each block is identified, the synthesis weight of each block for the MSB side image and the LSB side image can be obtained based on the identified information (S1306). Specifically, when the synthesis weight is obtained for each block, a higher synthesis weight can be assigned to an image that can ensure high visibility for a specific area of ​​the MSB side image or the LSB side image.

[0225] When the synthesis weight of each block is acquired, a synthesized image can be acquired based on the acquired synthesis weight of each block (S1307). In other words, a synthesized image having high visibility for all regions included in the image can be acquired compared to the original image.

[0226] The method of controlling an electronic device according to the various exemplary embodiments described above may be implemented as a program and provided in a user terminal device. In particular, the program including the method for controlling a display device according to the exemplary embodiments may be stored in a non-transitory computer readable medium and provided therein.

[0227] A non-transitory computer-readable recording medium refers to a medium that stores data and can be read by a device. In detail, the above-mentioned various applications or programs can be stored in a non-transitory computer-readable medium, for example, a compact disk (CD), a digital versatile disk (DVD), a hard disk, a Blu-ray disk, a universal serial bus (USB), a memory card, a read-only memory (ROM), etc.

[0228] According to various embodiments of the present disclosure as described above, a plurality of sub-images whose bit number is less than the bit number of the original image are obtained from the original image, and a composite image capable of ensuring visibility of all included areas can be obtained based on information on the shapes of objects included in the plurality of sub-images. In addition, since the composite image according to the present disclosure is obtained based on one original image, the problem of motion artifacts (which is pointed out as lack of display in the prior art) can be solved according to the present disclosure.

[0229] The foregoing exemplary embodiments and advantages are merely exemplary and should not be construed as limiting the present disclosure. The present teachings may be easily applied to other types of devices. In addition, the description of the exemplary embodiments of the present disclosure is intended to be illustrative rather than limiting the scope of the claims, and many alternatives, modifications, and variations will be apparent to those skilled in the art.

Claims

1. An electronic device, the electronic device include: Image sensor; monitor; User interface unit; a memory, the memory comprising at least one command; as well as a processor configured to control the electronic device and coupled to the image sensor and the memory, Wherein, the processor is further configured to: Acquire, by the image sensor, an original image in which each pixel has a first bit value, wherein the original image is acquired without using a plurality of images with different exposure amounts, Based on the fact that the original image is acquired by the image sensor, controlling the display to display the acquired original image, Based on the original image, a plurality of sub-images are obtained, each pixel of which has a second bit value, wherein the second bit value is smaller than the first bit value, identifying, from each of the plurality of sub-images, an amount of information about a shape of an object included in the plurality of sub-images, Based on a user command input through the user interface unit for selecting at least one area among a plurality of areas included in the displayed original image, based on the identified amount of information, obtaining a synthesis weight for each area for two of the plurality of sub-images by assigning a higher synthesis weight to a sub-image among the plurality of sub-images having a larger amount of information about a shape of an object included in the at least one area selected by the user than to the other sub-images, and A composite image is acquired based on the acquired composite weight of each region.

2. The electronic device according to claim 1, in, The plurality of sub-images include a most significant bit (MSB) side image and a least significant bit (LSB) side image acquired based on the original image.

3. The electronic device according to claim 2, in, The processor is further configured to: acquire a grayscale image for each of the multiple sub-images; block each pixel included in the acquired grayscale image; and identify, for each block based on the blockization, an amount of information about the shape of the object included in the multiple sub-images.

4. The electronic device according to claim 3, in, The processor is further configured to obtain a synthesis weight for each block for at least two of the plurality of sub-images based on the amount of information identified for each block.

5. The electronic device according to claim 1, in, The processor is further configured to identify an amount of information about shapes of objects included in the plurality of sub-images through edge detection.

6. The electronic device according to claim 1, in, The processor is further configured to identify an amount of information about shapes of objects included in the plurality of sub-images based on a histogram of oriented gradients (HOG) values.

7. The electronic device according to claim 1, in, The processor is further configured to assign a synthesis weight to a first sub-image of the plurality of sub-images that is twice the synthesis weight assigned to a second sub-image of the plurality of sub-images.

8. A method for controlling an electronic device, the method include: Acquire, through an image sensor, an original image in which each pixel has a first bit value; Based on the original image, acquiring a plurality of sub-images each pixel of which has a second bit value, the second bit value being smaller than the first bit value, wherein the original image is acquired without using a plurality of images with different exposure amounts; Based on the fact that the original image is acquired by the image sensor, displaying the acquired original image; identifying, from each of the plurality of sub-images, an amount of information regarding a shape of an object included in the plurality of sub-images; acquiring a synthesis weight of each region for two of the plurality of sub-images by assigning a higher synthesis weight to a sub-image having a larger amount of information about a shape of an object included in the at least one region selected by the user among the plurality of sub-images than to other sub-images, based on a user command input through a user interface unit for selecting at least one region among the plurality of regions included in the displayed original image, based on the recognized amount of information; and A composite image is acquired based on the acquired composite weight of each region.

9. The method according to claim 8, in, The plurality of sub-images include a most significant bit (MSB) side image and a least significant bit (LSB) side image acquired based on the original image.

10. The method according to claim 9, further comprising: include: Acquire a grayscale image for each of the plurality of sub-images; as well as Each pixel included in the acquired grayscale image is segmented, and The identifying the amount of information includes identifying, for each block according to the segmentation, an amount of information about a shape of an object included in the plurality of sub-images.

11. The method according to claim 10, in, Obtaining the synthesis weight of each region includes obtaining the synthesis weight of each block for at least two sub-images of the plurality of sub-images based on the amount of information identified for each block.

12. The method according to claim 8, in, Identifying the amount of information includes identifying the amount of information about shapes of objects included in the plurality of sub-images through edge detection.

13. The method according to claim 8, in, Identifying the amount of information includes identifying an amount of information about shapes of objects included in the plurality of sub-images based on a histogram of oriented gradient (HOG) values.

14. The method according to claim 8, in, Obtaining the synthesis weight of each area includes: based on a user command for selecting at least one area from a plurality of areas included in the displayed original image being input, and according to the amount of information about the shape of an object included in at least one area of ​​the selected areas in the plurality of sub-images, obtaining the synthesis weight of each area for two of the plurality of sub-images.