Image processing device, image processing method, and computer readable recording medium

By adjusting the brightness of the LDR image and using pixel-specific brightness ratios and correction values ​​to generate HDR images, it solves the problems of large computational complexity and image blur in the existing technology, and achieves the generation of clear and high-contrast HDR images.

CN111492400BActive Publication Date: 2024-09-06SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201980006513.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-01-24
Filing Date
2019-01-24
Publication Date
2024-09-06
Estimated Expiration
2039-01-24

Smart Images

  • Figure CN111492400B_ABST
    Figure CN111492400B_ABST
Patent Text Reader

Abstract

An image processing device is disclosed. The image processing device includes: a memory for storing a low dynamic range (LDR) image; and a processor for adjusting the brightness of the LDR image by means of a pixel-specific brightness ratio identified using a first parameter, and acquiring a high dynamic range (HDR) image by adding a pixel-specific correction value identified using a second parameter to the brightness-adjusted LDR image or subtracting the pixel-specific correction value from the brightness-adjusted LDR image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an image processing apparatus, an image processing method, and a computer-readable recording medium, and more particularly, to an image processing apparatus, an image processing method, and a computer-readable recording medium that generate a high-quality HDR image. Background Art

[0002] As imaging technology develops, a technology for acquiring a high dynamic range (HDR) image that exceeds the limit of contrast that can be expressed by a digital camera and has a wider contrast has been developed.

[0003] In particular, following the trend that displays that can display HDR images appear and are increasing, an inverse tone mapping operation (ITMO) technology for generating an HDR image by using a conventional LDR or SDR image is being studied.

[0004] In the conventional ITMO technology, the brightness of the entire image is expanded to a target brightness value, and a blending operation is performed to remove contour artifacts generated in the process. As a result, there is a problem that some areas of the HDR image appear blurred. In addition, there is a problem that an excessive amount of computation is required due to post-processing for image continuity.

[0005] Therefore, there has emerged a need for a technology for synthesizing a clear HDR image while reducing the amount of computation. Summary of the invention

[0006] Technical issues

[0007] The present disclosure is to solve the above-mentioned needs, and an object of the present disclosure is to provide an image processing device, an image processing method, and a computer-readable recording medium for generating a clear HDR image while reducing the amount of calculation.

[0008] Solution

[0009] An image processing device according to an embodiment of the present disclosure includes: a memory storing a low dynamic range (LDR) image; and a processor configured to adjust the brightness of the LDR image by means of a pixel-specific brightness ratio identified by using a first parameter, and to acquire a high dynamic range (HDR) image by adding a pixel-specific correction value identified by using a second parameter to a pixel value of the brightness-adjusted LDR image or subtracting the pixel-specific correction value from the pixel value of the brightness-adjusted LDR image.

[0010] In this case, in the memory, an original HDR image and an LDR image for learning corresponding to the original HDR image may be stored, and the first parameter may have been learned so that the difference between the brightness of an HDR image generated by using the LDR image for learning and the brightness of the original HDR image becomes minimized.

[0011] In this case, the second parameter may have been learned so that the difference between the pixel value of the HDR image generated by using the LDR image for learning and the pixel value of the original HDR image becomes minimum.

[0012] In addition, the processor may learn the first parameter in consideration of normalization of a range of brightness values ​​of the LDR image for learning and a range of brightness values ​​of the original HDR image.

[0013] In addition, the processor may learn the first parameter based on the pixel-specific brightness ratio identified by using at least one multiplication operation based on inputting a control command for changing the network structure.

[0014] In addition, the processor may identify that the pixel-specific correction value makes a brightness difference between pixels in a region where the brightness in the brightness-adjusted LDR image is less than a predetermined value large.

[0015] In addition, the processor may identify the pixel-specific correction value so that the brightness difference between pixels in a region where the brightness in the brightness-adjusted LDR image is greater than or equal to a predetermined value is small.

[0016] In addition, the processor may perform, in parallel, an operation of identifying the pixel-specific brightness ratio by using the first parameter and an operation of identifying the pixel-specific correction value by using the second parameter.

[0017] Additionally, the processor may further consider neighboring pixels for each pixel of the LDR image to identify the pixel-specific brightness ratio.

[0018] In addition, the image processing method according to an embodiment of the present disclosure includes the following steps: adjusting the brightness of a low dynamic range (LDR) image by means of a pixel-specific brightness ratio identified by using a first parameter; and acquiring a high dynamic range (HDR) image by adding a pixel-specific correction value identified by using a second parameter to the pixel value of the brightness-adjusted LDR image or subtracting the pixel-specific correction value from the pixel value of the brightness-adjusted LDR image.

[0019] In this case, the first parameter may have been learned so that a difference between the brightness of an HDR image generated by using an LDR image for learning corresponding to an original HDR image and the brightness of the original HDR image becomes minimum.

[0020] In addition, the second parameter may have been learned so that a difference between a pixel value of an HDR image generated by using the LDR image for learning and a pixel value of the original HDR image becomes minimum.

[0021] In addition, the first parameter may have been learned in consideration of normalization of a range of brightness values ​​of the LDR image and a range of brightness values ​​of the original HDR image for learning.

[0022] In addition, in the case where a control command for changing the network structure is input, the first parameter may have been learned based on a pixel-specific brightness ratio identified by using at least one multiplication operation.

[0023] In addition, the pixel-specific correction value may be identified so that a brightness difference between pixels in a region where the brightness in the brightness-adjusted LDR image is less than a predetermined value is large.

[0024] In addition, the pixel-specific correction value may be identified so that a brightness difference between pixels in a region where brightness in the brightness-adjusted LDR image is greater than or equal to a predetermined value is small.

[0025] In addition, the operation of identifying the pixel-specific luminance ratio by using the first parameter and the operation of identifying the pixel-specific correction value by using the second parameter may be performed in parallel.

[0026] Additionally, the pixel-specific brightness ratio may also be identified by considering neighboring pixels for each pixel of the LDR image.

[0027] In addition, in a computer-readable recording medium including a program for executing an image processing method according to an embodiment of the present disclosure, the image processing method may include the following steps: adjusting the brightness of a low dynamic range (LDR) image by means of a pixel-specific brightness ratio identified by using a first parameter, and acquiring a high dynamic range (HDR) image by adding a pixel-specific correction value identified by using a second parameter to a pixel value of the brightness-adjusted LDR image or subtracting the pixel-specific correction value from the pixel value of the brightness-adjusted LDR image. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a diagram for illustrating an image processing system according to an embodiment of the present disclosure;

[0029] Figure 2 is a block diagram for illustrating a schematic configuration of an image processing apparatus according to an embodiment of the present disclosure;

[0030] Figure 3 is a block diagram for illustrating a detailed configuration of an image processing apparatus according to an embodiment of the present disclosure;

[0031] Figures 4 to 9 is a diagram for illustrating a learning process for generating an HDR image according to various embodiments of the present disclosure; and

[0032] Fig.10 is a flowchart for illustrating an image processing method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0033] First, terms used in the present specification will be briefly described, and then the present disclosure will be described in detail.

[0034] Taking into account the functions described in the present disclosure, as the terms used in the embodiments of the present disclosure, currently widely used general terms are selected as much as possible. However, the terms may change according to the intentions of those skilled in the art, previous court decisions, or the emergence of new technologies. In addition, in specific cases, there are terms arbitrarily specified by the applicant, and in such cases, the meaning of the terms will be described in detail in the relevant description of the present disclosure. Therefore, the terms used in the present disclosure should be defined based on the meaning of the terms and the overall content of the present disclosure, rather than just based on the names of the terms.

[0035] Various modifications may be made to the embodiments of the present disclosure, and various types of embodiments may exist. Therefore, specific embodiments will be shown in the drawings, and the embodiments will be described in detail in the specific embodiments. However, it should be noted that the various embodiments are not intended to limit the scope of the present disclosure to specific embodiments, but they should be interpreted as including all modifications, equivalents or substitutes of the embodiments included in the concept and technical scope disclosed herein. In addition, in the case where it is determined that the detailed explanation of the relevant known technology may unnecessarily confuse the main points of the present disclosure when describing the embodiments, the detailed explanation will be omitted.

[0036] Terms such as "first", "second", etc. may be used to describe various elements, but the terms are not intended to limit the elements. Such terms are only used to distinguish one element from another.

[0037] In addition, unless clearly defined differently in the context, a singular expression includes a plural expression. In addition, in this specification, terms such as "comprising" and "consisting of" should be interpreted as specifying the presence of these characteristics, quantities, steps, operations, elements, components, or a combination of these characteristics, quantities, steps, operations, elements, and components described in the specification, without excluding in advance the presence or possibility of adding one or more of other characteristics, quantities, steps, operations, elements, components, or a combination of one or more of characteristics, quantities, steps, operations, elements, and components.

[0038] In the embodiments of the present disclosure, a "module" or "component" may perform at least one function or operation, and may be implemented as hardware or software, or as a combination of hardware and software. In addition, multiple "modules" or "components" may be integrated into at least one module and implemented as at least one processor, excluding "modules" or "components" that need to be implemented as specific hardware.

[0039] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that a person skilled in the art can easily implement the present disclosure. However, it should be noted that the present disclosure can be implemented in various different forms and is not limited to the embodiments described herein. In addition, in the accompanying drawings, in order to clearly explain the present disclosure, parts that are not related to the explanation are omitted, and similar parts are represented by similar reference numerals throughout the specification.

[0040] Hereinafter, the present disclosure will be described in more detail with reference to the accompanying drawings.

[0041] Figure 1 is a diagram for illustrating an image processing system according to an embodiment of the present disclosure.

[0042] Reference Figure 1 , an image processing system 1000 according to an embodiment of the present disclosure includes a first image processing apparatus 100 - 1 and a second image processing apparatus 100 - 2 .

[0043] Specifically, the dynamic ranges of the first image processing apparatus 100-1 and the second image processing apparatus 100-2 may be different. Here, the dynamic range may refer to the contrast between the brightest and darkest parts in a digital image, and the dynamic range may be divided into a low dynamic range (LDR), a standard dynamic range (SDR), a high dynamic range (HDR), etc.

[0044] As an example, Figure 1 A case where an image generated at the first image processing device 100-1 as a camera is displayed on the second image processing device 100-2 as a display device is shown. However, the present disclosure is not limited thereto, and each image processing device may be a camera or a display device, and may include a server that can perform image processing. Alternatively, the image processing device may include all devices that can perform image processing, such as a PC, a mobile device like a smartphone, a set-top box, etc.

[0045] In the case where the dynamic range of the first image processing device 100-1 is narrower than the dynamic range of the second image processing device 100-2, an HDR image may be generated for displaying a low dynamic range (LDR) image or a standard dynamic range (SDR) image generated at the first image processing device 100-1 on the second image processing device 100-2 having a wide dynamic range. In addition, hereinafter, for ease of explanation, an image with a narrow dynamic range will generally be referred to as an LDR image.

[0046] In addition, when the dynamic range of the first image processing device 100-1 is wider than that of the second image processing device 100-2, an HDR image can be generated so that the detailed contrast of the image generated at the first image processing device 100-1 can be displayed on the second image processing device 100-2 having a narrow dynamic range.

[0047] Here, an HDR image may be generated at the first image processing apparatus 100-1 and the generated HDR image may be transmitted to the second image processing apparatus 100-2, or an image may be received at the second image processing apparatus 100-2 from the first image processing apparatus 100-1 and an HDR image may be generated. Alternatively, although not shown, an HDR image may be generated by using an image received from the first image processing apparatus 100-1 at a server or the like as a separate external apparatus, and the generated HDR image may be transmitted to the second image processing apparatus 100-2.

[0048] Figure 2 is a block diagram for illustrating a schematic configuration of an image processing apparatus according to an embodiment of the present disclosure.

[0049] Reference Figure 2 , the image processing apparatus 100 according to an embodiment of the present disclosure includes a memory 110 and a processor 120 .

[0050] The memory 110 may store various types of programs and data necessary for the operation of the image processing apparatus 100 .

[0051] Specifically, the memory 110 may store an LDR image. Here, the memory 110 may store information about a dynamic range of the LDR image. In addition, the memory 110 may store information about a dynamic range of an HDR image to be generated. Here, the dynamic range for the HDR image may be a dynamic range that can be displayed at the image processing device 100.

[0052] In addition, the memory 110 may store a plurality of parameters used when generating an HDR image. For example, the memory 110 may store a parameter for identifying a brightness ratio for adjusting the brightness of an LDR image. Here, adjusting the brightness may refer to mapping the dynamic range of the LDR image and the dynamic range of the HDR image. In addition, identifying may include meanings such as determining, calculating, extracting, generating, and the like.

[0053] Here, a brightness ratio for adjusting brightness may be identified for each pixel. In addition, the memory 110 may store parameters for identifying a correction value, wherein the correction value is used to perform correction of an image for brightness adjustment by using the identified brightness ratio. Here, a correction value may also be identified for each pixel. In addition, here, the stored parameters may be pre-learned.

[0054] In addition, the original HDR image and the LDR image corresponding to the original HDR image for use in learning the stored parameters may be stored in the memory 110. Here, the LDR image corresponding to the original HDR image is used to learn the parameters, and the LDR image corresponding to the original HDR image may be referred to as an LDR image for learning.

[0055] In addition, the memory 110 may store a network structure for obtaining a pixel-specific brightness ratio or a pixel-specific correction value by using the stored parameters. Here, the network structure may include a deep learning structure. In addition, the network structure may be generated by a user's design. In addition, in a training set for learning parameters, the stored network structure may also be used.

[0056] The processor 120 can generate an HDR image by using a plurality of predetermined parameters and an LDR image. Specifically, the plurality of parameters may include a first parameter for identifying a ratio for adjusting the brightness of the LDR image and a second parameter for identifying a correction value for correcting the pixel value of the brightness-adjusted LDR image. Here, the first parameter and the second parameter may be pre-learned. The training set for learning the parameters will be explained below.

[0057] In addition, the process of using the parameters learned by the training set and obtaining the result data for the data input into the learned scaling network can be referred to as testing. Specifically, if the LDR image of the test set is input, the processor 120 can generate an HDR image by using the scaling network to which the learned parameters are applied. In other words, in actual implementation, only the test set operated using the pre-learned parameters can be installed on the image processing device 100. In addition, the processor 120 can identify the accuracy of the pixel values ​​of the generated HDR image, and thereby determine the performance of the scaling network.

[0058] Specifically, the processor 120 can identify the pixel-specific brightness ratio by using the first parameter. Then, the processor 120 can adjust the brightness of the LDR image by performing a multiplication operation between the LDR image and the identified pixel-specific brightness ratio, and generate an HDR image. For ease of explanation, each parameter is described as a parameter, such as a first parameter and a second parameter. However, in fact, the first parameter refers to a plurality of parameters for identifying the pixel-specific brightness ratio, and the second parameter refers to a plurality of parameters for identifying the pixel-specific correction value.

[0059] In addition, the processor 120 may further consider the brightness of the adjacent pixels of each pixel of the LDR image to identify the pixel-specific brightness ratio. That is, the first parameter may also include a parameter for considering the brightness of the adjacent pixels. Specifically, the brightness ratio may be identified so that even if the brightness of the pixels is the same, if the brightness of the adjacent pixels is dark, the brightness of the pixel is darker than the brightness of the adjacent pixels. Thus, compared with the conventional technology of extending the dynamic range based only on the brightness of the pixels, an HDR image considering the local characteristics of the image may be generated. In addition, the corresponding relationship between the brightness of the LDR image and the brightness of the HDR image may have a nonlinear characteristic rather than a linear characteristic. In addition, the processor 120 may adjust the brightness of the LDR image by using the pixel-specific brightness ratio, and generate the HDR image by adding or subtracting the pixel-specific correction value. Here, the pixel-specific correction value may be identified by using the second parameter. Specifically, the processor 120 may adjust the brightness of the LDR image by using the identified pixel-specific brightness ratio, and generate the HDR image by adding the identified pixel-specific correction value to the brightness-adjusted image or subtracting the identified pixel-specific correction value from the brightness-adjusted image.

[0060] Here, the processor 120 may determine an area within the brightness-adjusted image where the brightness is less than a predetermined value. In addition, the processor 120 may identify a pixel-specific correction value such that the brightness difference between pixels within the determined area is large. This is to make it appear that there is an edge in the dark area by making correction such that the brightness difference between pixels is large, in the case where an edge exists in the dark area but the brightness difference between pixels is small and therefore it is difficult for the user to recognize that there is an edge.

[0061] In addition, the processor 120 may determine an area within the brightness-adjusted image where the brightness is greater than or equal to a predetermined value. Here, the predetermined value may be a value different from the predetermined value used to determine the dark area described above. In addition, the processor 120 may identify a pixel-specific correction value so that the brightness difference between pixels within the determined area is small. This is to remove edges in overly bright areas such as the sun and light sources, where edges that do not actually exist appear in the image. Specifically, this is to correct in a case where the brightness value continuously decreases as it becomes farther away from the center of the brightness maximum point, but it appears in the image that the brightness decreases in stages.

[0062] Here, the processor 120 may identify the pixel-specific brightness ratio and the pixel-specific correction value in parallel. Here, "in parallel" may mean that a plurality of learning networks are used independently of each other.

[0063] In addition, the processor 120 may learn parameters in advance, and hereinafter, a training set for learning the parameters will be explained.

[0064] First, the processor 120 may learn parameters by using an original HDR image stored in the memory 110 and an LDR image for learning corresponding to the original HDR image.

[0065] Specifically, the processor 120 may adjust the brightness by applying the pixel-specific brightness ratio identified by using the first parameter to the LDR image for learning. Then, the processor 120 may generate an HDR image by adding the pixel-specific correction value identified by using the second parameter to the brightness-adjusted LDR image for learning or subtracting the pixel-specific correction value identified by using the second parameter from the brightness-adjusted LDR image for learning.

[0066] Then, the processor 120 may learn the first parameter and the second parameter by comparing the generated HDR image with the original HDR image.

[0067] Specifically, the processor 120 may learn the first parameter so that the brightness difference between the generated HDR image and the original HDR image stored in the memory 110 becomes minimum.

[0068] Then, the processor 120 may learn the second parameter so that the difference between the pixel value of the HDR image generated by adding or subtracting the correction value and the pixel value of the original HDR image stored in the memory 110 becomes the minimum. Here, the processor 120 may learn the first parameter so that the brightness difference between the HDR image generated by adding or subtracting the correction value and the original HDR image becomes the minimum. Here, the processor 120 may learn the first parameter considering the normalization of the range of brightness values ​​of the LDR image used for learning and the range of brightness values ​​of the original HDR image. In conventional technology, a normalization operation for making the dynamic range consistent is necessary for generating an HDR image using an LDR image. However, according to the present disclosure, the processor 120 identifies a pixel-specific brightness ratio by using the first parameter in consideration of normalization, and thus the amount of operation can be reduced and the operation speed can be increased without the need for a separate normalization operation.

[0069] Here, the processor 120 may identify the first parameter and the second parameter by learning the parameters in parallel. Here, "parallel" may refer to using a plurality of learning networks independently of each other.

[0070] In addition, the driving operation of the processor 120 may be based on Figure 4 Such a network structure can be changed by the user's design, and will be referred to below. Figures 5 to 9 Various embodiments of the network architecture are described in detail.

[0071] That is, if the network structure of the image processing device 100 is as follows Figure 4 As shown in , the processor 120 may identify the pixel-specific brightness ratio and the pixel-specific correction value in parallel and generate an HDR image by using one multiplication operation and addition operation.

[0072] In addition, according to the user's design, if a control command for changing the network structure is input, the processor 120 can generate an HDR image by using at least one multiplication operation and at least one addition operation. Specifically, the processor 120 can learn parameters based on the changed network structure and generate an HDR image by using the learned parameters.

[0073] As described above, by performing a multiplication operation using the learned brightness ratio and performing a local correction using the learned correction value, a clear HDR image can be generated while minimizing the amount of operation. In addition, by learning the recognition parameters, a rich dynamic range of the level of the HDR captured image can be expressed using only a single LDR image that has been captured.

[0074] Figure 3 is a block diagram for illustrating a detailed configuration of an image processing apparatus according to an embodiment of the present disclosure.

[0075] Reference Figure 3 , the image processing device 100 may include a memory 110, a processor 120, a communicator 130, a display 140, a button 150, a video processor 160, and a shooting component 170. Here, the memory 110 and the processor 120 are similar to the Figure 2 The components shown in are the same, so overlapping descriptions will be omitted.

[0076] First, the processor 120 may include a RAM 121, a ROM 122, a CPU 123, a graphics processor (GPU) 124, and a bus 125. The RAM 121, the ROM 122, the CPU 123, and the graphics processor (GPU) 124 may be connected to each other through the bus 125.

[0077] The CPU 123 accesses the memory 110, and performs booting by using the O / S stored in the memory 110. Then, the CPU 123 performs various operations by using various types of programs, contents, data, etc. stored in the memory 110.

[0078] The ROM 122 stores a set of instructions for system startup and the like. When a power-on instruction is input and power is supplied, the CPU 123 copies an O / S stored in the memory 110 in the RAM 121 according to the instructions stored in the ROM 122, and starts the system by running the O / S. When the startup is completed, the CPU 123 copies various types of programs stored in the memory 110 in the RAM 121, and performs various types of operations by executing the programs copied in the RAM 121.

[0079] When the startup of the image processing device 100 is completed, the GPU 124 displays the UI on the display 140. Specifically, the GPU 124 can generate a screen including various objects (such as icons, images, and texts) by using an operating component (not shown) and a rendering component (not shown). The operating component operates the attribute values ​​(such as coordinate values, shapes, sizes, and colors) of each object to be displayed according to the layout of the screen. In addition, the rendering component generates screens including various layouts of objects based on the attribute values ​​operated on the operating component. The screen (or user interface window) generated at the rendering component is provided to the display 140 and is displayed in the main display area and the sub-display area, respectively.

[0080] The communicator 130 is a component that performs communication with various types of external devices according to various types of communication methods. Specifically, the communicator 130 may receive an LDR image or an SDR image from an external device. Here, the processor 120 may generate an HDR image by using the dynamic range of the received LDR image stored in the memory 110 and the dynamic range of the image processing device 100.

[0081] Alternatively, the communicator 130 may receive the dynamic range of the external display device from the external display device. Here, the processor 120 may generate an HDR image by using the dynamic range of the LDR image and the received dynamic range of the external display device. Then, the communicator 130 may send the generated HDR image to an external device such as a display device.

[0082] Specifically, the communicator 130 may receive an input of an image from an external device via a wired manner (such as an antenna, a cable, and a port), or receive an input of an image via a wireless manner (such as Wi-Fi and Bluetooth). In addition, in actual implementation, the image processing apparatus 100 may receive an input of an image selected by a user from among a plurality of images stored in the memory 110 provided in the image processing apparatus 100 and perform image processing.

[0083] In the case where the image processing device 100 can perform wireless communication, the communicator 130 may include a Wi-Fi chip, a Bluetooth chip, a wireless communication chip, and an NFC chip. Specifically, the Wi-Fi chip and the Bluetooth chip perform communication by a Wi-Fi method and a Bluetooth method, respectively. In the case of using a Wi-Fi chip or a Bluetooth chip, various types of connection information such as SSID and session key are first sent and received, and the connection of communication is performed by using the information, and then various types of information can be sent and received. The wireless communication chip refers to a chip that performs communication according to various communication standards (such as IEEE, Zigbee, third generation (3G), third generation partnership project (3GPP) and long term evolution (LTE)). In addition, the NFC chip refers to a chip that operates by using a near field communication (NFC) method of the 13.56MHz band in various RF-ID bands (such as 135kHz, 13.56MHz, 433MHz, 860MHz to 960MHz and 2.45GHz).

[0084] The display 140 may display the HDR image generated by the processor 120. The display 140 may be implemented as a display in various forms such as a liquid crystal display (LCD), an organic light emitting diode (OLED) display, and a plasma display panel (PDP). In the display 140, a driving circuit that may be implemented in a form such as an a-si TFT, a low temperature polycrystalline silicon (LTPS) TFT, and an organic TFT (OTFT), and a backlight unit, etc. may also be included together. In addition, the display 140 may be implemented as a flexible display.

[0085] In addition, according to various embodiments of the present disclosure, the display 140 may not be provided in the image processing apparatus 100 .

[0086] The button 150 may be various types of buttons such as a mechanical button, a touch pad, a scroll wheel, etc. formed in any area such as the front surface portion or side surface portion, the rear surface portion, etc. of the exterior of the body of the image processing apparatus 100 .

[0087] The video processor 160 is a component for processing content received through the communicator 130 or video data included in content stored in the memory 110. At the video processor 160, various types of image processing (such as decoding, scaling, noise filtering, frame rate conversion, resolution conversion, etc.) for video data may be performed.

[0088] The photographing part 170 is a component for photographing a still image or a moving image according to a user's control. Specifically, the photographing part 170 may photograph one or more images for generating an HDR image.

[0089] In addition, the photographing component 170 may include a lens, an image sensor, etc. In addition, the photographing component 170 may be implemented in multiple quantities, for example, a front surface camera and a rear surface camera. In addition, according to various embodiments of the present disclosure, the photographing component 170 may not be provided in the image processing device 100.

[0090] In addition, although Figure 3 Although not shown, according to an embodiment, a USB port to which a USB connector can be connected, various external input ports for connecting to various external terminals (such as a headset, a mouse, a LAN, etc.), a digital multimedia broadcasting (DMB) chip for receiving and processing the signal, an audio processor, a microphone, an audio outputter, various sensors, etc. may also be obviously included inside the image processing device 100.

[0091] Figures 4 to 9 is a diagram for illustrating a process of generating an HDR image by using a network according to various embodiments of the present disclosure.

[0092] Figure 4 An embodiment is shown in which the scaling network is designed as a linear function as in equation (1). Here, the scaling network may be designed according to user input.

[0093] HDR=A*LDR+B (1)

[0094] Here, A may refer to a brightness ratio, and B may refer to a correction value.

[0095] Reference Figure 4 , the image processing apparatus may pass the input LDR image 410 through a convolution layer and extract a feature map, and pass the extracted feature map through a plurality of layers and identify a value for generating an HDR image.

[0096] Specifically, the image processing apparatus may identify the brightness ratio through the first network 411, wherein the first network 411 identifies the brightness ratio by using a first parameter for identifying the brightness ratio. In addition, the image processing apparatus may identify the correction value through the second network 412, wherein the second network 412 identifies the correction value by using a second parameter for identifying the correction value. Here, the image processing apparatus may operate the first network 411 and the second network 412 in parallel.

[0097] Then, the image processing apparatus may apply the brightness ratio identified by using the first network 411 to the input LDR image 410 through a multiplication operation. Specifically, for the brightness ratio, different values ​​are identified according to the value of each pixel of the LDR image 410, and the image processing apparatus may adjust the brightness of the LDR image 410 by multiplying each pixel of the LDR image 410 by the brightness ratio corresponding to each pixel.

[0098] Next, the image processing apparatus may generate an HDR image 420 by adding the correction value identified by using the second network 412 to the brightness-adjusted LDR image or subtracting the correction value identified by using the second network 412 from the brightness-adjusted LDR image. Here, in the case where the correction value is a positive number, the above operation may be referred to as adding the correction value, and in the case where the correction value is a negative number, the above operation may be referred to as subtracting the correction value.

[0099] Then, the image processing apparatus may compare the HDR image generated by using the LDR image for learning corresponding to the stored original HDR image with the original HDR image, and learn the first parameter of the first network 411 so that the difference between the brightness values ​​becomes minimum. In addition, the image processing apparatus may compare the stored original HDR image with the generated HDR image, and learn the second parameter of the second network 412 so that the difference between the pixel values ​​becomes minimum.

[0100] As described above, according to the present disclosure, since multiplication operation is used, normalization processing is not required, and thus the amount of operation is reduced, and rapid learning is possible. In addition, as correction is performed for each pixel, local characteristics of the image are reflected, and thus it becomes possible to produce a clearer HDR image.

[0101] In addition, Figure 4 In the example, the scaling network is explained in the case where the scaling network is designed as a linear function, but the scaling network can be designed as various functions according to the user input of the control command for changing the network structure. Here, in the multiple networks constituting the scaling network, parameters are set differently according to the purpose. Therefore, hereinafter, the networks will be referred to as the first network and the second network without limiting the purpose of the networks.

[0102] Specifically, Figure 5 is a diagram for illustrating an embodiment in which a scaling network is designed as a multi-dimensional function as in equation (2).

[0103] HDR=A*LDR 3 +B*LDR 2 +C*LDR+D (2)

[0104] Reference Figure 5 , the image processing apparatus may generate an HDR image 520 by using an input LDR image 510 and a scaling network.

[0105] Here, the image processing device can be Figure 4 As shown in , an input LDR image 510 is passed through a convolutional layer and a feature map is extracted, and the extracted feature map is passed through multiple layers and a value for generating an HDR image is identified.

[0106] Specifically, the image processing apparatus may identify the first value by using the first network 511 for identifying the first parameter of the brightness ratio. In addition, the image processing apparatus may identify the second value by using the second network 512 for identifying the second parameter. Here, the image processing apparatus may operate the first network 511 and the second network 512 in parallel.

[0107] In addition, Figure 5 In, different from Figure 4 , multiplication and addition operations may be performed inside the first network 511 and the second network 512. Therefore, in the case where the scaling network is a multidimensional function, the image processing apparatus may learn parameters that may identify the most appropriate values ​​for generating the HDR image 520 from the input LDR image 510.

[0108] In addition, Figure 6 and Figure 7 As shown in , multiple networks constituting a scaling network are operated in series.

[0109] Specifically, refer to Figure 6 , the image processing apparatus may pass the input LDR image 610 through a convolution layer and extract a feature map, and pass the extracted feature map through a network consisting of a plurality of layers and identify a value for generating an HDR image.

[0110] Specifically, the image processing apparatus may identify the first value by using the first network 611 of the first parameter. Then, the image processing apparatus may apply the identified first value to the input LDR image 610 by using a multiplication operation.

[0111] Then, the image processing apparatus can identify the second value by using the feature map of the LDR image to which the first value is applied, through the second network using the second parameter 612. In addition, the image processing apparatus can generate an HDR image 620 by applying the identified second value to the brightness-adjusted LDR image through an addition operation.

[0112] In addition, refer to Figure 7 , the image processing apparatus may pass the input LDR image 710 through a convolution layer and extract a feature map, and pass the extracted feature map through a network consisting of a plurality of layers and identify a value for generating an HDR image.

[0113] Specifically, the image processing apparatus may identify the first value by using the first network 711 of the first parameter. Then, the image processing apparatus may apply the identified first value to the input LDR image 710 by using an addition operation.

[0114] Then, the image processing apparatus may identify the second value by using the feature map of the LDR image to which the first value is applied, through the second network 712 using the second parameter. In addition, the image processing apparatus may generate an HDR image 720 by applying the identified second value to the brightness-adjusted LDR image through an addition operation. Figure 4 In the embodiment of the present invention, a correction value corresponding to the second value is identified by using the feature map of the input LDR image, but in Figure 6 and Figure 7 In the example, there is a difference in identifying the second value by using the feature map of the LDR image to which the first value is applied.

[0115] In addition, as in Figure 8 and Fig. 9 As shown in , the scaling network may include layers corresponding to logarithmic functions or exponential functions instead of multidimensional functions.

[0116] Figure 8 is a diagram for illustrating an embodiment in which the scaling network is designed as a logarithmic function as in equation (3).

[0117]

[0118] Here, A may be a first value identified by using a first network including at least one multiplication operation.

[0119] Then, refer to Figure 8 , the image processing apparatus can identify the output value 820 by applying the second value identified by using the second network to the inverse of the input value 810 using an addition operation, passing the value through a layer using ln as a logarithmic function, and performing a multiplication operation with the first value. According to equation (3), in Figure 8 The second value may be -1.

[0120] Fig. 9 is a diagram for illustrating an embodiment in which a scaling network is designed as an exponential function as in equation (4).

[0121]

[0122] Here, A may be a first value identified by using a first network including at least one multiplication operation.

[0123] In addition, refer to Fig. 9, the image processing device may apply the identified first value to the input value 910 by a multiplication operation, and pass the value through a layer that converts the value to an exponential function with a base of e. Then, the image processing device may identify the second value by using the value converted to the exponential function and a second network. Next, the image processing device may apply the identified second value to the value converted to the exponential function by using an addition operation. Then, the image processing device may take the inverse of the value to which the second value is applied, and identify the output value 920. According to equation (4), in Fig. 9 , the second value can be 1.

[0124] As described above, according to the present disclosure, when the relationship between input data is known, the optimization value can be learned.

[0125] Fig.10 is a flowchart for illustrating an image processing method according to an embodiment of the present disclosure.

[0126] Reference Fig.10 , in operation S1010, the image processing device may adjust the brightness of the LDR image by using the pixel-specific brightness ratio identified by using the first parameter. Specifically, the image processing device may identify the brightness ratio for generating the HDR image for each pixel of the stored LDR image or the received LDR image by using the pre-stored first parameter. Here, the first parameter may be learned in advance. Specifically, the first parameter may be learned in advance by using a network having the same structure as the network included in the test set. In addition, the image processing device may also identify the pixel-specific brightness ratio by considering the brightness of the adjacent pixels of each pixel of the LDR image.

[0127] Then, in operation S1020, the image processing apparatus may add the pixel-specific correction value identified by using the second parameter to the pixel value of the brightness-adjusted LDR image, or subtract the pixel-specific correction value identified by using the second parameter from the pixel value of the brightness-adjusted LDR image. Specifically, the image processing apparatus may identify the pixel-specific correction value so that the brightness difference between the pixels in the region where the brightness is less than the predetermined value in the brightness-adjusted LDR image is large. In addition, the image processing apparatus may identify the pixel-specific correction value so that the brightness difference between the pixels in the region where the brightness is greater than or equal to the predetermined value in the brightness-adjusted LDR image is small. Here, the second parameter may be pre-learned. Specifically, the second parameter may be pre-learned by using a network having the same structure as the network included in the test set. In addition, the image processing apparatus may identify the brightness ratio and the correction value in parallel according to the structure of the network.

[0128] According to the various embodiments disclosed above, by performing a multiplication operation using a brightness ratio identified by using learned parameters, and by performing a local correction using a correction value identified by using learned parameters, a clear HDR image can be generated while minimizing the amount of operation. In addition, by learning to identify parameters, a rich dynamic range of the level of an HDR captured image can be expressed using only a single LDR image that has been captured.

[0129] In addition, the aforementioned various embodiments of the present disclosure can be implemented in a recording medium that can be read by a computer or a computer-like device by using software, hardware, or a combination of software and hardware. According to the implementation by hardware, the embodiments described in the present disclosure can be implemented by using at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a processor, a controller, a microcontroller, a microprocessor, or an electronic unit for performing various functions. In some cases, the embodiments described in this specification may be implemented as a processor itself. In addition, according to the implementation by software, the embodiments such as processes and functions described in this specification may be implemented as separate software modules. Each of the software modules can perform one or more functions and operations described in this specification.

[0130] In addition, the image processing method according to the aforementioned various embodiments of the present disclosure may be stored in a non-transitory readable medium. Such a non-transitory readable medium may be used while being installed on various devices.

[0131] The non-transitory readable medium refers to a medium that stores data semi-permanently and can be read by a machine, but does not refer to a medium that stores data temporarily such as a register, a cache, and a memory. Specifically, the program for executing the aforementioned various methods can be provided while being stored in a non-transitory readable medium such as a CD, a DVD, a hard disk, a Blu-ray disc, a USB, a memory card, a ROM, etc.

[0132] According to an embodiment of the present disclosure, the method according to various embodiments described in the present disclosure may be provided while being included in a computer program product. A computer program product refers to a product, and it can be traded between a seller and a buyer. The computer program product may be published online in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or published online through an application store (e.g., play store TM). In the case of online publishing, at least a portion of the computer program product may be at least temporarily stored in a storage medium such as a memory of a manufacturer's server, an application store's server, and a relay server, or may be temporarily generated.

[0133] Furthermore, although the preferred embodiments of the present disclosure have been shown and described, the present disclosure is not limited to the aforementioned specific embodiments, and it is apparent that various modifications may be made by a person of ordinary skill in the art to which the present disclosure belongs without departing from the gist of the present disclosure as claimed in the appended claims. In addition, it is intended that such modifications are not interpreted independently of the technical ideas or prospects of the present disclosure.

Claims

1. An image processing device, include: A memory storing an original high dynamic range image and a low dynamic range image for learning corresponding to the original high dynamic range image, wherein the high dynamic range image is used to learn parameters corresponding to the first neural network and the second neural network; and The processor is configured as: The method comprises: obtaining brightness ratios corresponding to a plurality of pixels included in the low dynamic range image by inputting the low dynamic range image to a first neural network to which a first parameter is applied, and obtaining correction values ​​corresponding to a plurality of pixels included in the low dynamic range image by inputting the low dynamic range image to a second neural network to which a second parameter is applied, wherein the first neural network and the second neural network include convolution layers, adjusting the brightness of the low dynamic range image by multiplying pixels of the low dynamic range image by the obtained brightness ratio, and obtaining a high dynamic range image by adding the obtained correction value to a pixel value of a brightness-adjusted low dynamic range image or subtracting the obtained correction value from a pixel value of the brightness-adjusted low dynamic range image, and wherein the first parameter applied to the first neural network has been learned so that the difference between the brightness of the high dynamic range image obtained based on the low dynamic range image used for learning and the brightness of the original high dynamic range image becomes minimum, and The second parameters applied to the second neural network have been learned so that the difference between the pixel values ​​of the high dynamic range image obtained based on the low dynamic range image used for learning and the pixel values ​​of the original high dynamic range image becomes minimum, and The first parameters include a third parameter to be learned for identifying the brightness ratio while also considering neighboring pixels of a pixel for the low dynamic range image.

2. The image processing device according to claim 1, in, The processor is configured to: The first parameter is learned considering normalization of a range of brightness values ​​of the low dynamic range image and a range of brightness values ​​of the original high dynamic range image for learning.

3. The image processing device according to claim 1, in, The processor is configured to: Based on inputting a control command for changing the first neural network structure, a first parameter is learned based on the brightness ratio identified by using at least one multiplication operation.

4. The image processing device according to claim 1, in, The processor is configured to: The correction value is identified so that a brightness difference between pixels in a region where the brightness in the brightness-adjusted low dynamic range image is smaller than a predetermined value is large.

5. The image processing device according to claim 1, in, The processor is configured to: The correction value is identified so that a brightness difference between pixels in a region where brightness in the brightness-adjusted low dynamic range image is greater than or equal to a predetermined value is small.

6. The image processing device according to claim 1, in, The processor is configured to: An operation of identifying the brightness ratio by using a first parameter corresponding to a first neural network and an operation of identifying the correction value by using a second parameter corresponding to a second neural network are performed in parallel.

7. An image processing method, the method include: Obtain low dynamic range images; obtaining brightness ratios corresponding to a plurality of pixels included in the low dynamic range image by inputting the low dynamic range image to a first neural network to which a first parameter is applied, and obtaining correction values ​​corresponding to a plurality of pixels included in the low dynamic range image by inputting the low dynamic range image to a second neural network to which a second parameter is applied, wherein the first neural network and the second neural network include convolutional layers, adjusting the brightness of the low dynamic range image by multiplying pixels of the low dynamic range image by the obtained brightness ratio; and obtaining a high dynamic range image by adding the obtained correction value to a pixel value of a brightness-adjusted low dynamic range image or subtracting the obtained correction value from a pixel value of the brightness-adjusted low dynamic range image, and wherein the first parameter applied to the first neural network has been learned so that the difference between the brightness of the high dynamic range image obtained based on the low dynamic range image used for learning and the brightness of the original high dynamic range image becomes minimum, and The second parameters applied to the second neural network have been learned so that the difference between the pixel values ​​of the high dynamic range image obtained based on the low dynamic range image used for learning and the pixel values ​​of the original high dynamic range image becomes minimum, and wherein the original high dynamic range image is used to learn parameters corresponding to the first neural network and the second neural network, and The first parameters include a third parameter to be learned for identifying the brightness ratio while also considering neighboring pixels of a pixel for the low dynamic range image.

8. The image processing method according to claim 7, in, The correction value is identified so that a difference between pixels in a region where brightness is less than a predetermined value in the brightness-adjusted low dynamic range image is large.

9. The image processing method according to claim 7, in, The correction value is identified so that a brightness difference between pixels in a region where brightness in the brightness-adjusted low dynamic range image is greater than or equal to a predetermined value is small.

10. The image processing method according to claim 7, in, An operation of identifying the brightness ratio by using a first parameter corresponding to a first neural network and an operation of identifying the correction value by using a second parameter corresponding to a second neural network are performed in parallel.

11. The image processing method according to claim 7, in, Neighboring pixels of a pixel of the low dynamic range image are also considered to identify the brightness ratio.

Citation Information

Patent Citations

  • Generation of high dynamic range images from low dynamic range images

    CN102986214A

  • Transforming a digital image from a low dynamic range (LDR) image to a high dynamic range (HDR) image

    US20120201456A1

  • Image processing apparatus, image processing method, display apparatus, and control method for display apparatus

    US20150213586A1

  • Light detection, color appearance models, and modifying dynamic range for image display

    WO2010132237A1

  • Method and apparatus for inverse tone mapping

    WO2017036908A1