KR20220108664A - System and method for image restoration based on multiple exposure image - Google Patents

System and method for image restoration based on multiple exposure image Download PDF

Info

Publication number
KR20220108664A
KR20220108664A KR1020210011910A KR20210011910A KR20220108664A KR 20220108664 A KR20220108664 A KR 20220108664A KR 1020210011910 A KR1020210011910 A KR 1020210011910A KR 20210011910 A KR20210011910 A KR 20210011910A KR 20220108664 A KR20220108664 A KR 20220108664A
Authority
KR
South Korea
Prior art keywords
image
exposure
exposure value
ldr
response function
Prior art date
Application number
KR1020210011910A
Other languages
Korean (ko)
Inventor
강석주
김중희
Original Assignee
서강대학교산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 서강대학교산학협력단 filed Critical 서강대학교산학협력단
Priority to KR1020210011910A priority Critical patent/KR20220108664A/en
Publication of KR20220108664A publication Critical patent/KR20220108664A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/001
    • G06T5/007
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20208High dynamic range [HDR] image processing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

A method in which an image restoration system operated by at least one processor operates is provided. Learning data is generated by collecting one low dynamic range (LDR) image and multi-exposure images generated by transforming an exposure value for the LDR image, and a multi-exposure image stack generator is trained with the learning data. When one LDR image is received from a photographing means, an exposure value of the LDR image is extracted as a reference exposure value. An inverse camera response function is estimated using a multi-exposure image stack including multi-exposure images generated based on the LDR image and the reference exposure value in the trained multi-exposure image stack generator. The LDR image is restored into an HDR image by using a gradient collected through the inverse camera response function and the inverse camera response function. An end-to-end learning technique is used to restore a desired HDR image accurately.

Description

다중 노출 이미지 기반 이미지 복원 시스템 및 방법{System and method for image restoration based on multiple exposure image}System and method for image restoration based on multiple exposure image

본 발명은 미분 가능한 다중 노출 이미지를 기반으로 HDR(High Dynamic Range) 이미지를 복원하는 이미지 처리 시스템 및 방법에 관한 것이다.The present invention relates to an image processing system and method for reconstructing a high dynamic range (HDR) image based on a differentiable multiple exposure image.

최근 제한된 다이나믹 레인지로 일반적인 이미징 기술보다 더 나은 미적 감상을 제공하기 위해, 다양한 분야에서 HDRI(High Dynamic Range Imaging) 기술이 사용되고 있다. 또한, HDRI는 노출 부족 및 노출 과다 영역을 복원하여 재구성 된 HDR 이미지가 조도 변화에 관계없이 이미지 세부 정보와 같은 많은 정보를 전달하는 것을 목표로 한다.Recently, in order to provide a better aesthetic appreciation than general imaging technology with a limited dynamic range, HDRI (High Dynamic Range Imaging) technology has been used in various fields. In addition, HDRI aims to restore underexposed and overexposed areas so that the reconstructed HDR image conveys a lot of information, such as image details, regardless of illuminance changes.

HDR 이미지를 복원하기 위해 다양한 방식을 이용하고 있다. 그 중 딥러닝 기반의 HDR 이미지 복원 기법이 많이 사용되고 있는데, 딥러닝 기반 HDR 이미지 복원 기법은 크게 직접 복원 기법과 다중 노출 이미지 기반 복원 기법으로 나뉜다. Various methods are used to restore HDR images. Among them, deep learning-based HDR image restoration techniques are widely used, and deep learning-based HDR image restoration techniques are largely divided into direct restoration techniques and multi-exposure image-based restoration techniques.

직접 복원 기법은 주어진 단일 LDR(Low Dynamic Range) 이미지를 HDR 이미지로 복원하는 기법이다. 다중 노출 이미지 기반 복원 기법은 주어진 단일 LDR 이미지를 이용하여 중간 단계인 다중 노출 이미지를 복원하는 기법이다. The direct restoration technique is a technique for restoring a given single low dynamic range (LDR) image to an HDR image. The multiple-exposure image-based restoration technique is a technique for restoring a multiple-exposure image, which is an intermediate step, using a given single LDR image.

직접 복원 기법의 경우에는 과노출 또는 저노출 영역의 이미지를 복원하는 방법과 LDR 이미지에서 직접 HDR 이미지를 복원하는 것에 초점을 둔 방법들이 존재한다. 직접 복원 기법은 네트워크가, 입력 LDR 이미지가 생성된 다양한 환경을 알아야 HDR 이미지로의 복원이 가능하다. 따라서, 다양한 환경에 대한 데이터 셋이 필요하기 때문에 많은 양의 LDR-HDR 데이터 쌍이 필요하다.In the case of the direct restoration technique, there exist a method of restoring an image of an overexposed or underexposed area and a method focusing on restoring an HDR image directly from an LDR image. In the direct restoration technique, the network needs to know the various environments in which the input LDR image was created to be able to restore the HDR image. Therefore, a large amount of LDR-HDR data pairs is required because data sets for various environments are required.

다중 노출 이미지 기반 기법의 경우에는, 서로 다른 노출 값을 가지는 영상들만으로도 학습을 진행할 수 있다. 따라서, 다양한 장면(scene)에 대한 학습 데이터를 필요로 하지 않는다. 그리고, 이미지 데이터와 해당되는 노출 값 정도만 주어질 때 적은 양의 데이터로도 직접 복원 기법과 유사한 성능을 보인다는 장점이 있다. In the case of the multi-exposure image-based technique, learning can be performed only with images having different exposure values. Accordingly, training data for various scenes is not required. In addition, when only image data and a corresponding exposure value are given, there is an advantage that it shows performance similar to the direct restoration technique even with a small amount of data.

하지만 다중 노출 이미지 방법의 경우, LDR 이미지로부터 HDR 이미지를 복원하기 위해 픽셀 밝기 값과 실제 빛의 밝기 사이의 매핑 함수를 추정(radiometric calibration)하는 과정에서, 이산 함수 구조를 주로 사용한다. 따라서, 미분 불가능한 요소가 존재하여 HDR 이미지를 목적 이미지로 학습하지 못한다. 이에 따라 다중 노출 이미지는 정확하게 복원하더라도, 실제 생성되거나 합성된 HDR 이미지와 생성된 HDR 이미지와의 차이가 발생한다. However, in the case of the multiple exposure image method, a discrete function structure is mainly used in the process of estimating (radiometric calibration) a mapping function between a pixel brightness value and an actual light brightness in order to reconstruct an HDR image from an LDR image. Therefore, an HDR image cannot be learned as a target image because non-differentiable elements exist. Accordingly, even if the multiple-exposure image is accurately restored, a difference between the actually generated or synthesized HDR image and the generated HDR image occurs.

따라서, 본 발명은 다중 노출 이미지를 복원하는 것에 초점을 두는 것이 아니라, 목적하는 정확한 HDR 이미지 복원을 위한 end-to-end 학습 기법을 이용한 다중 노출 이미지 기반으로 HDR 이미지를 복원하는 이미지 복원 시스템 및 방법을 제공한다.Therefore, the present invention does not focus on restoring a multiple-exposure image, but an image restoration system and method for restoring an HDR image based on a multiple-exposure image using an end-to-end learning technique for an accurate HDR image restoration. provides

상기 본 발명의 기술적 과제를 달성하기 위한 본 발명의 하나의 특징인 적어도 하나의 프로세서에 의해 동작하는 이미지 복원 시스템이 동작하는 방법으로서,As a method of operating an image restoration system operated by at least one processor, which is a feature of the present invention for achieving the technical problem of the present invention,

하나의 LDR(Low Dynamic Range) 이미지와 상기 LDR 이미지에 대한 노출값을 변형시켜 생성한 다중 노출 이미지들을 수집하는 단계, 상기 수집한 LDR 이미지와 상기 다중 노출 이미지들을 포함하는 학습 데이터를 생성하고, 상기 학습 데이터로 다중 노출 이미지 스택 생성기를 학습시키는 단계, 촬영 수단으로부터 하나의 LDR 이미지를 수신하면, 상기 LDR 이미지의 노출값을 기준 노출값으로 추출하는 단계, 상기 학습시킨 다중 노출 이미지 스택 생성기에서 상기 기준 노출값과 상기 LDR 이미지를 기초로 생성된 다중 노출 이미지들을 포함하는 다중 노출 이미지 스택을 이용하여 인버스 카메라 응답 함수를 추정하는 단계, 상기 인버스 카메라 응답 함수를 통해 수집한 기울기와 상기 인버스 카메라 응답 함수를 이용하여 상기 LDR 이미지를 HDR 이미지로 복원하는 단계를 포함한다.Collecting one LDR (Low Dynamic Range) image and multiple exposure images generated by modifying the exposure value for the LDR image, generating training data including the collected LDR image and the multiple exposure images, and the learning training a multiple exposure image stack generator with data, when receiving one LDR image from a photographing means, extracting an exposure value of the LDR image as a reference exposure value, the learned multiple exposure image stack generator with the reference exposure value and the estimating an inverse camera response function using a multiple exposure image stack including multiple exposure images generated based on the LDR image; restoring the image to an HDR image.

상기 다중 노출 이미지 스택 생성기를 학습시키는 단계는, 상기 LDR 이미지를 상기 다중 노출 이미지 스택 생성기에 입력하면, 상기 노출값을 증가시켜 생성한 노출값 증가 이미지를 생성하도록 학습시키는 단계, 상기 LDR 이미지를 상기 다중 노출 이미지 스택 생성기에 입력하면, 상기 노출값을 감소시켜 생성한 노출값 감소 이미지를 생성하도록 학습시키는 단계, 그리고 복수의 노출 값 증가 이미지들과 복수의 노출 값 감소 이미지들을 하나의 상기 다중 노출 이미지 스택으로 생성하는 단계를 포함할 수 있다.The step of training the multiple exposure image stack generator may include: when the LDR image is input to the multiple exposure image stack generator, learning to generate an increased exposure value generated by increasing the exposure value, applying the LDR image to the multiple exposure When input to the image stack generator, learning to generate a reduced exposure image generated by reducing the exposure value, and generating a plurality of exposure value increased images and a plurality of reduced exposure value images as one multi-exposure image stack may include steps.

상기 다중 노출 이미지 스택 생성기는, 상기 노출값 증가 이미지를 생성하도록 학습된 노출값 증가 이미지 생성 모델과, 노출값 감소 이미지를 생성하도록 학습된 노출값 감소 이미지 생성 모델을 포함할 수 있다.The multiple exposure image stack generator may include an exposure value increase image generation model trained to generate the exposure value increase image, and an exposure value decrease image generation model learned to generate an exposure value decrease image.

상기 인버스 카메라 응답 함수를 추정하는 단계는, 상기 다중 노출 이미지 스택에 포함된 복수의 이미지들의 각 픽셀에서 추출한 픽셀별 밝기 값을 실제 빛의 밝기 값에 매핑하여 픽셀 밝기 샘플들을 생성하는 단계, 그리고 상기 생성한 픽셀 밝기 샘플들을 기초로 상기 인버스 카메라 응답 함수를 추정하는 단계를 포함할 수 있다.The estimating of the inverse camera response function may include generating pixel brightness samples by mapping a brightness value for each pixel extracted from each pixel of a plurality of images included in the multi-exposure image stack to an actual brightness value of light; and The method may include estimating the inverse camera response function based on the generated pixel brightness samples.

상기 HDR 이미지로 복원하는 단계는, 상기 추정한 인버스 카메라 응답 함수를 선형화된 인버스 카메라 응답 함수로 변환하는 단계, 그리고 상기 선형화된 인버스 카메라 응답 함수로부터 상기 기울기를 획득하는 단계를 포함할 수 있다.The restoring to the HDR image may include converting the estimated inverse camera response function into a linearized inverse camera response function, and obtaining the slope from the linearized inverse camera response function.

상기 HDR 이미지로 복원하는 단계는, 상기 선형화된 인버스 카메라 응답 함수를 미분하여 상기 기울기를 획득할 수 있다.The restoring to the HDR image may include obtaining the gradient by differentiating the linearized inverse camera response function.

상기 본 발명의 기술적 과제를 달성하기 위한 본 발명의 또 다른 특징인 하나의 LDR(Low Dynamic Range) 이미지로부터 복수의 다중 노출 이미지들과 HDR(High Dynamic Range) 이미지를 복원하는 이미지 복원 시스템으로서,As an image restoration system for restoring a plurality of multiple exposure images and a High Dynamic Range (HDR) image from one LDR (Low Dynamic Range) image, which is another feature of the present invention for achieving the technical problem of the present invention,

이미지 수집 장치로부터 상기 하나의 LDR 이미지를 수신하는 인터페이스, 그리고 프로세서를 포함하고, 상기 프로세서는, LDR 이미지로부터 추출한 기준 노출 값을 변형하여 생성한 다중 노출 이미지들을 학습 데이터로 수집하고, 수집한 학습 데이터에 포함된 상기 LDR 이미지를 입력하면 상기 다중 노출 이미지들이 출력되도록 다중 노출 이미지 스택 생성기를 학습시키고, 생성한 다중 노출 이미지들을 이용하여 인버스 카메라 응답 함수를 추정하며, 추정한 인버스 카메라 응답 함수를 선형화하여 기울기를 추출하고, 상기 기울기와 상기 수신한 하나의 LDR 이미지를 입력하여 상기 HDR 이미지를 복원한다.An interface for receiving the single LDR image from an image collection device, and a processor, wherein the processor collects multiple exposure images generated by modifying a reference exposure value extracted from the LDR image as training data, and the collected training data When the LDR image included in is input, the multiple exposure image stack generator is trained so that the multiple exposure images are output, the inverse camera response function is estimated using the generated multiple exposure images, and the estimated inverse camera response function is linearized. The gradient is extracted, and the HDR image is restored by inputting the gradient and the one received LDR image.

상기 프로세서는, 상기 기준 노출 값을 증가시켜 복수의 노출 값 증가 이미지들을 생성하고 상기 기준 노출 값을 감소시켜 복수의 노출 값 감소 이미지들을 생성하며, 상기 복수의 노출 값 증가 이미지들과 상기 복수의 노출 값 감소 이미지들을 하나의 다중 노출 이미지 스택으로 생성할 수 있다.The processor is configured to increase the reference exposure value to generate a plurality of exposure value increase images and decrease the reference exposure value to generate a plurality of exposure value decrease images, wherein the plurality of exposure value increase images and the plurality of exposure value increase images are generated. Reduced value images can be created as one multi-exposure image stack.

상기 프로세서는, 상기 다중 노출 이미지 스택에 포함된 복수의 이미지들의 각 픽셀에서 추출한 픽셀별 밝기 값을 실제 빛의 밝기 값에 매핑시켜 복수의 픽셀 밝기 샘플들을 생성하고, 생성한 픽셀 밝기 샘플들을 이용하여 상기 인버스 카메라 응답 함수를 추정할 수 있다.The processor generates a plurality of pixel brightness samples by mapping a brightness value for each pixel extracted from each pixel of a plurality of images included in the multiple exposure image stack to an actual light brightness value, and using the generated pixel brightness samples The inverse camera response function may be estimated.

상기 프로세서는, 상기 추정한 인버스 카메라 응답 함수를 선형화된 인버스 카메라 응답 함수로 변환하고, 선형화된 인버스 카메라 응답 함수를 미분하여 상기 기울기를 획득할 수 있다.The processor may convert the estimated inverse camera response function into a linearized inverse camera response function, and obtain the slope by differentiating the linearized inverse camera response function.

본 발명에 따르면, 미분 불가능했던 매핑 함수 추정 모듈을 미분 가능하도록 변경하여 사용하므로, LDR 이미지에서 HDR 이미지의 복원이 가능하다.According to the present invention, since the non-differentiable mapping function estimation module is changed to be differentiable and used, it is possible to restore the HDR image from the LDR image.

또한, 네트워크의 연결성을 높이기 위해 순환 구조와 조건부 인스턴스 정규화 레이어를 적용한 구조를 차용하므로, 다중 노출 이미지를 생성할 때 다양하게 변경된 노출 값들을 가지는 이미지들 사이의 연결성을 강화할 수 있다.In addition, since a structure to which a cyclic structure and a conditional instance normalization layer are applied is employed to increase network connectivity, connectivity between images having variously changed exposure values can be strengthened when generating a multi-exposure image.

또한, 적은 이미지 데이터 셋을 활용하여 신경망 이미지 복원기를 학습시킬 수 있으며, HDR 복원 성능을 향상시킬 수 있다.In addition, a neural network image reconstructor can be trained using a small image data set, and HDR restoration performance can be improved.

도 1은 본 발명의 실시예에 따른 이미지 복원 시스템이 적용된 환경의 예시도이다.
도 2는 본 발명의 실시예에 따른 이미지 복원 시스템의 구조도이다.
도 3은 본 발명의 실시예에 따른 이미지 복원 방법에 대한 흐름도이다.
도 4는 본 발명의 실시예에 따라 구간 선형 모델을 통해 미분 가능한 선형 함수를 도출한 예시도이다.
도 5는 본 발명의 실시예에 따른 하위 네트워크 구조에 대한 예시도이다.
도 6은 본 발명의 실시예에 따른 이미지 복원 방법과 종래 이미지 복원 방법들을 이용한 HDR 이미지 복원 결과를 비교한 예시도이다.
도 7은 본 발명의 실시예에 따른 컴퓨팅 장치의 구조도이다.
1 is an exemplary diagram of an environment to which an image restoration system according to an embodiment of the present invention is applied.
2 is a structural diagram of an image restoration system according to an embodiment of the present invention.
3 is a flowchart of an image restoration method according to an embodiment of the present invention.
4 is an exemplary diagram of deriving a differentiable linear function through an interval linear model according to an embodiment of the present invention.
5 is an exemplary diagram of a sub-network structure according to an embodiment of the present invention.
6 is an exemplary diagram comparing the HDR image restoration results using the image restoration method according to an embodiment of the present invention and the conventional image restoration methods.
7 is a structural diagram of a computing device according to an embodiment of the present invention.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those of ordinary skill in the art to which the present invention pertains can easily implement them. However, the present invention may be embodied in several different forms and is not limited to the embodiments described herein. And in order to clearly explain the present invention in the drawings, parts irrelevant to the description are omitted, and similar reference numerals are attached to similar parts throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. Throughout the specification, when a part "includes" a certain component, it means that other components may be further included, rather than excluding other components, unless otherwise stated.

이하, 도면을 참조로 하여 본 발명의 실시예에 따른 다중 노출 이미지 기반 이미지 복원 시스템 및 방법에 대해 상세히 설명한다. Hereinafter, a multi-exposure image-based image restoration system and method according to an embodiment of the present invention will be described in detail with reference to the drawings.

도 1은 본 발명의 실시예에 따른 이미지 복원 시스템이 적용된 환경의 예시도이다.1 is an exemplary diagram of an environment to which an image restoration system according to an embodiment of the present invention is applied.

도 1에 도시된 바와 같이, 이미지 복원 시스템(100)은 end-to-end 학습 기법을 이용하여, 다중 노출 이미지 기반으로 HDR 이미지를 복원한다. 즉, 이미지 복원 시스템(100)이 입력된 하나의 LDR 이미지를 이용하여 다중 노출 이미지 스택을 생성한다. 그리고, 이미지 복원 시스템(100)은 생성한 다중 노출 이미지 스택을 이용하여 HDR 이미지를 합성한다.As shown in FIG. 1 , the image restoration system 100 restores an HDR image based on a multiple exposure image using an end-to-end learning technique. That is, the image restoration system 100 generates a multi-exposure image stack using one input LDR image. Then, the image restoration system 100 synthesizes the HDR image using the generated multi-exposure image stack.

이때, 이미지 복원 시스템(100)은 하나의 LDR 이미지를 이용하여, 다중 노출 이미지 스택을 생성한다. 여기서, 이미지 복원 시스템(100)은 하나의 LDR 이미지로부터 복수의 다중 노출 이미지들을 생성하기 위해, 다중 노출 이미지 스택 생성기를 학습시킨다. 그리고 생성한 다중 노출 이미지 스택에 포함된 복수의 다중 노출 이미지들의 픽셀 값들을 샘플링하여 인버스 카메라 응답 함수(inverse camera response function)인 g를 추정한다.In this case, the image restoration system 100 generates a multi-exposure image stack by using one LDR image. Here, the image restoration system 100 trains a multiple exposure image stack generator to generate a plurality of multiple exposure images from one LDR image. And, by sampling pixel values of a plurality of multiple exposure images included in the generated multiple exposure image stack, g, which is an inverse camera response function, is estimated.

인버스 카메라 응답 함수는 미분이 불가능한 이산적 특성을 가지는 함수로, 이미지 복원 시스템(100)은 이 함수를 미분 가능한 함수로 변형한다. 그리고 변형한 인버스 카메라 응답 함수를 이용하여 기울기를 추출한다. The inverse camera response function is a function having discrete characteristics that cannot be differentiated, and the image restoration system 100 transforms this function into a differentiable function. Then, the gradient is extracted using the transformed inverse camera response function.

이미지 복원 시스템(100)은 추출한 기울기를 이용하여 이미지의 휘도 값을 복원시켜, LDR 이미지로부터 HDR 이미지를 복원한다. The image restoration system 100 restores the luminance value of the image by using the extracted gradient, and restores the HDR image from the LDR image.

여기서, 이미지 복원 시스템(100)의 구조에 대해 도 2를 참조로 설명한다.Here, the structure of the image restoration system 100 will be described with reference to FIG. 2 .

도 2는 본 발명의 실시예에 따른 이미지 복원 시스템의 구조도이다.2 is a structural diagram of an image restoration system according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 이미지 복원 시스템(100)은 LDR 이미지 수신부(110), 다중 노출 이미지 스택 생성기(120), 및 이미지 복원부(130)를 포함한다. 다중 노출 이미지 스택 생성기(120)는 노출값 증가 이미지 생성기(121)와 노출값 감소 이미지 생성기(122)를 포함한다.As shown in FIG. 2 , the image restoration system 100 includes an LDR image receiver 110 , a multiple exposure image stack generator 120 , and an image restoration unit 130 . The multiple exposure image stack generator 120 includes an exposure value increase image generator 121 and an exposure value decrease image generator 122 .

LDR 이미지 수신부(110)는 한 장의 LDR 이미지를 수신하면, 해당 LDR 이미지가 수집된 이미지 수집 수단(도면 미도시)의 노출값을 LDR 이미지로부터 추출한다. 여기서, LDR 이미지의 형태는 JPEG, TIFF, Bmp 등의 형태로 수집될 수 있으며, LDR 이미지를 어느 하나로 한정하지 않는다.When the LDR image receiving unit 110 receives one LDR image, the LDR image is extracted from the LDR image by an exposure value of an image collecting means (not shown) in which the corresponding LDR image is collected. Here, the form of the LDR image may be collected in the form of JPEG, TIFF, Bmp, etc., and the LDR image is not limited to any one.

LDR 이미지 수신부(110)가 LDR 이미지로부터 노출값을 추출하는 방법은 다양한 방법으로 실행할 수 있으므로, 본 발명의 실시예에서는 어느 하나의 방법으로 한정하여 설명하지 않는다. 이때, LDR 이미지 수신부(110)가 추출한 노출값을 설명의 편의를 위하여 기준 노출값이라고도 지칭할 수 있고, 0으로도 표현할 수도 있다. Since the method for the LDR image receiver 110 to extract the exposure value from the LDR image can be performed in various ways, the embodiment of the present invention will not be limited to any one method. In this case, the exposure value extracted by the LDR image receiver 110 may be referred to as a reference exposure value for convenience of explanation, or may be expressed as 0.

노출값 증가 이미지 생성기(121)는 입력된 LDR 이미지의 노출값인 기준 노출값에서 하나 증가된 노출값을 가지는 이미지를 생성한다. 그리고, 하나 증가된 노출값을 가지는 이미지를 이용하여 하나 더 증가된 노출값을 가지는 이미지를 생성한다.The exposure value increase image generator 121 generates an image having an exposure value increased by one from a reference exposure value that is an exposure value of the input LDR image. Then, an image having one more increased exposure value is generated by using the image having one increased exposure value.

이와 마찬가지로, 노출값 감소 이미지 생성기(122)는 입력된 LDR 이미지의 노출값인 기준 노출값에서 하나 감소된 노출값을 가지는 이미지를 생성한다. 그리고, 하나 감소된 노출값을 가지는 이미지를 이용하여 하나 더 감소된 노출값을 가지는 이미지를 생성한다.Similarly, the exposure reduction image generator 122 generates an image having an exposure value reduced by one from a reference exposure value that is an exposure value of the input LDR image. Then, an image having a further reduced exposure value is generated by using the image having one reduced exposure value.

본 발명의 실시예에서는 노출값 증가 이미지 생성기(121)에서 세 장의 노출값 증가 이미지를 생성하고, 노출값 감소 이미지 생성기(122)에서 세 장의 노출값 감소 이미지를 생성하여, 6장의 다중 노출 이미지 스택을 생성하는 것을 예로 하여 설명한다. 이때, 노출값 증가 이미지 생성기(121)와 노출값 감소 이미지 생성기(122)가 기준 노출값에서 하나씩 노출값을 증가시키거나 감소시켜 노출값이 증가되거나 감소된 이미지를 생성하기 위하여, 본 발명의 실시예에서는 학습 데이터로 노출값 증가 이미지 생성기(121)와 노출값 감소 이미지 생성기(122)를 학습시킨다.In an embodiment of the present invention, the exposure value increase image generator 121 generates three exposure value increase images, and the exposure value decrease image generator 122 generates three exposure value decrease images to generate a multi-exposure image stack of 6 sheets. An example will be described. At this time, the exposure value increase image generator 121 and the exposure value decrease image generator 122 increase or decrease the exposure value one by one from the reference exposure value to generate an image in which the exposure value is increased or decreased. The exposure value increase image generator 121 and the exposure value decrease image generator 122 are trained.

즉, LDR 이미지와 기준 노출값에서 노출값을 하나 증가시켜 생성한 제1 노출값 증가 이미지, 그리고 LDR 이미지의 노출값을 두 번 증가시켜 생성한 제2 노출값 증가 이미지를 포함하는 학습 데이터를 이용하여 노출값 증가 이미지 생성기(121)를 학습시킨다. 마찬가지로, LDR 이미지와 기준 노출값에서 노출값을 하나 감소시켜 생성한 제1 노출값 감소 이미지, 그리고 LDR 이미지의 노출값을 두 번 감소시켜 생성한 제2 노출값 감소 이미지를 포함하는 학습 데이터를 이용하여 노출값 감소 이미지 생성기(122)를 학습시킨다. 본 발명의 실시예에서는 학습 데이터에 두 개의 노출값 증가 이미지와 노출값 감소 이미지를 포함시키는 것을 예로 하여 설명하나, 반드시 이와 같이 한정되는 것은 아니다.That is, the exposure value increase image generator using training data including the LDR image and the first exposure value increase image generated by increasing the exposure value by one from the reference exposure value, and the second exposure value increase image generated by increasing the exposure value of the LDR image twice (121) is learned. Similarly, the exposure value reduction image generator using the training data including the LDR image, the first reduced exposure image generated by reducing the exposure value by one from the reference exposure value, and the second reduced exposure value image generated by reducing the exposure value of the LDR image twice (122) is learned. In the embodiment of the present invention, it is described as an example of including two images of increased exposure value and decreased image of exposure value in the training data, but is not necessarily limited thereto.

이미지 복원부(130)는 한 장의 LDR 이미지에서 다중 노출 이미지들과 HDR 이미지를 복원한다. 여기서, 신경망 이미지 복원기는 LDR 이미지를 다중 노출 이미지로 출력하기 위해 인버스 카메라 응답 함수를 추정하는 제1 모델과, 다중 노출 이미지 스택을 통해 추정한 인버스 카메라 응답 함수로부터 기울기를 획득하여 LDR 이미지를 HDR 이미지로 복원하는 HDR 합성 레이어인 제2 모델로 구성된다.The image restoration unit 130 restores multiple exposure images and an HDR image from a single LDR image. Here, the neural network image restorer obtains a gradient from the first model estimating the inverse camera response function to output the LDR image as a multi-exposure image and the inverse camera response function estimated through the multi-exposure image stack to convert the LDR image into an HDR image It consists of a second model, which is an HDR synthesis layer that is restored to .

이미지 복원부(130)는 다중 노출 이미지들의 픽셀들에서 추출한 픽셀별 밝기 값를 실제 빛의 밝기(luminance)에 매핑시키는 매핑 함수 즉, 인버스 카메라 응답 함수를 추정한다. 이를 통해 이미지 복원부(130)는 밝기 값을 X 축으로 하고, 실제 빛의 밝기인 휘도를 Y 축으로 하는 인버스 카메라 응답 함수를 생성하여, 매핑한 값들을 다중 노출 영상 픽셀 밝기 샘플(이하, 설명의 편의를 위하여, '픽셀 밝기 샘플'이라 지칭함)로 표시한다. The image restoration unit 130 estimates a mapping function, that is, an inverse camera response function, that maps the brightness value for each pixel extracted from the pixels of the multiple exposure images to the actual luminance of light. Through this, the image restoration unit 130 generates an inverse camera response function with the brightness value as the X axis and luminance as the actual light brightness as the Y axis, and maps the values to multiple exposure image pixel brightness samples (hereinafter, described below). For the convenience of , referred to as a 'pixel brightness sample').

그리고, 이미지 복원부(130)는 제1 모델에서 추정한 인버스 카메라 응답 함수를 구간 선형 모델(piece wise linear model)에 기반한 미분 가능한 선형 함수로 변환한다. In addition, the image restoration unit 130 converts the inverse camera response function estimated by the first model into a differentiable linear function based on a piece wise linear model.

여기서, 기울기는 이산 함수 구조의 인버스 카메라 응답 함수를 구분적 선형법을 적용하여 미분 가능한 선형 함수로 변형하고, 미분 가능한 선형 함수로부터 생성한 그래프를 미분하여 얻은 값이다. 이에 대해서는 이후 상세히 설명한다.Here, the slope is a value obtained by transforming the inverse camera response function of the discrete function structure into a differentiable linear function by applying the piecewise linear method, and differentiating the graph generated from the differentiable linear function. This will be described in detail later.

이상에서 설명한 이미지 복원 시스템(100)이 LDR 이미지로부터 다중 노출 이미지들과 HDR 이미지를 복원하는 방법에 대해 도 3을 참조로 설명한다.A method for the image restoration system 100 described above to restore the multiple exposure images and the HDR image from the LDR image will be described with reference to FIG. 3 .

도 3은 본 발명의 실시예에 따른 이미지 복원 방법에 대한 흐름도이다.3 is a flowchart of an image restoration method according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 이미지 복원 시스템(100)은 학습 데이터를 이용하여 신경망 이미지 복원기를 학습시킨다. 즉, 한 장의 LDR 이미지와 복수의 다중 노출 이미지들을 포함하는 다중 노출 이미지 스택을 이용하여 신경망 이미지 복원기를 학습시킨다.As shown in FIG. 3 , the image restoration system 100 trains a neural network image restoration using training data. That is, a neural network image reconstructor is trained using a multiple exposure image stack including one LDR image and a plurality of multiple exposure images.

이를 위해, 이미지 복원 시스템(100)은 한 장의 LDR 이미지에서 노출값을 기준 노출값으로 추출한다(S100). 그리고 이미지 복원 시스템(100)은 LDR 이미지와 기준 노출값을 이용하여 복수의 노출값이 조절된 이미지들을 포함하는 학습 데이터를 생성한다(S110). To this end, the image restoration system 100 extracts an exposure value from a single LDR image as a reference exposure value (S100). In addition, the image restoration system 100 generates training data including images of which a plurality of exposure values are adjusted by using the LDR image and the reference exposure value (S110).

이미지 복원 시스템(100)이 다중 노출 이미지 스택을 생성할 때, 기준 노출값을 하나씩 증가시켜 노출값이 증가된 이미지들과, 기준 노출값을 하나씩 감소시켜 노출값이 감소된 이미지들을 생성한다. 이미지 복원 시스템(100)이 노출값을 하나씩 증가시키거나 감소시켜 노출값이 변경된 이미지들을 생성하는 방법은 다양한 방법으로 실행할 수 있으므로, 본 발명의 실시예에서는 어느 하나의 방법으로 한정하여 설명하지 않는다.When the image restoration system 100 generates a multi-exposure image stack, it generates images in which the exposure value is increased by increasing the reference exposure value by one, and images in which the exposure value is decreased by decreasing the reference exposure value by one. Since the image restoration system 100 increases or decreases the exposure value by one to generate the images with the changed exposure value can be executed in various ways, the embodiment of the present invention will not be limited to any one method.

이미지 복원 시스템(100)은 생성한 학습 데이터로 다중 노출 이미지 스택 생성기(120)를 구성하는 노출값 증가 이미지 생성기(121)와 노출값 감소 이미지 생성기(122)를 학습시킨다(S120). The image restoration system 100 trains the exposure value increase image generator 121 and the exposure value decrease image generator 122 constituting the multi-exposure image stack generator 120 with the generated training data ( S120 ).

즉, LDR 이미지를 노출값 증가 이미지 생성기(121)입력하면, LDR 이미지의 기준 노출값에서 하나 증가된 노출값을 가지는 제1 노출값 증가 이미지와, 기준 노출값에서 둘 증가된 노출값을 가지는 제2 노출값 증가 이미지가 출력되도록 학습시킨다. 마찬가지로, LDR 이미지를 노출값 감소 이미지 생성기(122)입력하면, LDR 이미지의 기준 노출값에서 하나 감소된 노출값을 가지는 제1 노출값 감소 이미지와, 기준 노출값에서 둘 감소된 노출값을 가지는 제2 노출값 감소 이미지가 출력되도록 학습시킨다.That is, when the LDR image is input to the exposure value increase image generator 121, a first exposure value increase image having an exposure value increased by one from the reference exposure value of the LDR image, and a second exposure value increase image having an exposure value increased by two from the reference exposure value are output learn as much as possible. Similarly, when the LDR image is input to the reduced exposure image generator 122, a first reduced exposure image having an exposure value reduced by one from the reference exposure value of the LDR image, and a second reduced exposure image having an exposure value reduced by two from the reference exposure value are output learn as much as possible.

이와 같이, 다중 노출 이미지 스택 생성기(120)를 학습시킨 후, 이미지 복원 시스템(100)은 입력되는 한 장의 LDR 이미지에서 기준 노출값을 추출한 후, 학습시킨 다중 노출 이미지 스택 생성기(120)를 통해 다중 노출 이미지 스택을 생성한다(S130). In this way, after learning the multiple exposure image stack generator 120 , the image restoration system 100 extracts a reference exposure value from an input LDR image, and then multiple exposures through the trained multiple exposure image stack generator 120 . An image stack is created (S130).

이미지 복원 시스템(100)은 다중 노출 이미지들의 각 픽셀들에서 추출한 픽셀별 밝기 값을 실제 빛의 밝기에 매핑시키는 인버스 카메라 응답 함수를 추정한다(S140). 이때, 이미지 복원 시스템(100)은 다음 수학식 1을 이용하여 인버스 카메라 응답 함수를 추정한다.The image restoration system 100 estimates an inverse camera response function that maps the brightness value for each pixel extracted from each pixel of the multiple exposure images to the actual light brightness ( S140 ). In this case, the image restoration system 100 estimates the inverse camera response function by using the following Equation (1).

Figure pat00001
Figure pat00001

여기서, O는 목적 함수, g는 인버스 카메라 응답 함수, Zij는 j번째 노출 값을 갖는 i번째 픽셀의 밝기 값을 의미한다. 그리고 Zmin과 Zmax는 주어진 LDR 이미지의 최소 강도 값과 최대 강도 값을 의미한다.Here, O is the objective function, g is the inverse camera response function, and Z ij is the brightness value of the i-th pixel having the j-th exposure value. And Z min and Z max mean the minimum and maximum intensity values of a given LDR image.

또한, N은 이미지의 개수를 의미하고, P는 다중 노출 이미지 스택에 포함된 이미지들의 개수를 의미한다. i는 영상의 인덱스를 의미하는데, 몇 번째 영상인지를 나타내는 값을 의미한다. 그리고, j는 노출 값의 인덱스를 의미하며, 본 발명의 실시예에서는 -3에서부터 +3까지의 값에 해당한다. In addition, N denotes the number of images, and P denotes the number of images included in the multi-exposure image stack. i refers to the index of the image, and refers to a value indicating the number of the image. And, j means an index of an exposure value, and corresponds to a value ranging from -3 to +3 in the embodiment of the present invention.

그리고 Ei는 i번째 픽셀의 휘도 값을 나타내고, EVj는 j번째 노출값을 나타낸다. 목적 함수에서 두 번째 항은 인버스 카메라 응답 함수의 2번 미분한 값의 크기를 최소화하도록 제약하는 값으로, 인버스 카메라 응답 함수에 의한 표시된 픽셀 밝기 샘플들의 그래프가 완만한 곡선 형태를 지니도록 제약하는 함수 역할을 수행한다.And E i represents the luminance value of the i-th pixel, and EV j represents the j-th exposure value. The second term in the objective function is a value constraining the size of the second derivative of the inverse camera response function to be minimized. play a role

이와 같이 얻은 목적 함수를 최소화함으로써, 8비트의 픽셀별 밝기 값을 32비트의 휘도 값에 매핑하는 이산 카메라 응답 함수를 얻을 수 있다. 그리고 복구된 인버스 카메라 응답 함수를 이용하여, 픽셀별 밝기 값을 다음 수학식 2와 같이 휘도로 매핑할 수 있다.By minimizing the objective function obtained in this way, it is possible to obtain a discrete camera response function that maps an 8-bit pixel-specific brightness value to a 32-bit luminance value. And, by using the restored inverse camera response function, the brightness value of each pixel can be mapped to the luminance as shown in Equation 2 below.

Figure pat00002
Figure pat00002

이미지 복원 시스템(100)은 다중 노출 이미지 스택에서 픽셀을 샘플링하여 노출 값이 다른 동일한 좌표의 픽셀을 샘플링한 후, 수학식 1을 사용하여 인버스 카메라 응답 함수를 추정한다. 그리고 나서, 이미지 복원 시스템(100)은 구간 선형 모델을 사용하여, 함수를 미분 가능한 선형 형식의 인버스 카메라 응답 함수로 변환한다(S150). The image restoration system 100 samples pixels from a multi-exposure image stack to sample pixels of the same coordinates having different exposure values, and then estimates the inverse camera response function by using Equation (1). Then, the image restoration system 100 converts the function into an inverse camera response function of a differentiable linear form using the linear model ( S150 ).

즉, 이미지의 휘도 값은 수학식 2로 매핑할 수 있으나, 인버스 카메라 응답 함수는 미분할 수 없는 함수의 형태이다. 따라서, 이미지 복원 시스템(100)은 선형 근사 기법을 이용하여 이산 형식의 인버스 카메라 응답 함수를 선형화된 인버스 카메라 응답 함수로 변환한다.That is, the luminance value of the image can be mapped by Equation 2, but the inverse camera response function is a non-differentiable function. Accordingly, the image restoration system 100 converts a discrete inverse camera response function into a linearized inverse camera response function by using a linear approximation technique.

이때, 이미지 복원 시스템(100)은 인버스 카메라 응답 함수를 g=[p0, p1, …, pN]로 하는데, N은 다중 노출 이미지의 최대 강도 값을 의미한다. 이미지 복원 시스템(100)은 선형화된 인버스 카메라 응답 함수의 미분을 다음 수학식 3과 같이 정의한다.At this time, the image restoration system 100 calculates the inverse camera response function g = [p 0 , p 1 , ... , p N ], where N is the maximum intensity value of the multiple exposure image. The image restoration system 100 defines the derivative of the linearized inverse camera response function as in Equation 3 below.

Figure pat00003
Figure pat00003

이와 같이, 선형화된 인버스 카메라 응답 함수를 얻으면, 이미지 복원 시스템(100)은 선형화된 인버스 카메라 응답 함수를 미분하여 기울기를 얻는다(S160). 즉, 제1 샘플과 제2 샘플 사이의 제1 구간에 대한 기울기, 제2 샘플과 제3 샘플 사이의 제2 구간에 대한 기울기 등과 같이, 이미지 복원 시스템(100)은 선형화된 인버스 카메라 응답 함수 g의 샘플 사이의 구간들에 대한 기울기들을 각각 얻는다.As such, when the linearized inverse camera response function is obtained, the image restoration system 100 obtains a slope by differentiating the linearized inverse camera response function (S160). That is, such as the slope for the first interval between the first sample and the second sample, the slope for the second interval between the second sample and the third sample, etc., the image restoration system 100 is a linearized inverse camera response function g Obtain the slopes for the intervals between samples of , respectively.

그리고, 이미지 복원 시스템(100)은 기울기들과 LDR 이미지를 이용하여 HDR 이미지를 출력한다(S170). Then, the image restoration system 100 outputs an HDR image using the gradients and the LDR image ( S170 ).

여기서 S140 단계에서 추정한 인버스 카메라 응답 함수를 S150 단계에서 미분 가능한 선형 함수로 도출하는 예에 대해 도 4를 참조로 설명한다.Here, an example of deriving the inverse camera response function estimated in step S140 as a differentiable linear function in step S150 will be described with reference to FIG. 4 .

도 4는 본 발명의 실시예에 따라 구간 선형 모델을 통해 미분 가능한 선형 함수를 도출한 예시도이다.4 is an exemplary diagram of deriving a differentiable linear function through an interval linear model according to an embodiment of the present invention.

도 4의 (a)에 도시된 바와 같이 입력된 LDR 이미지로부터 다중 노출 이미지 스택이 생성되면, 이미지 복원 시스템(100)은 도 4의 (b)에 도시된 바와 같이 픽셀들을 샘플링하여 노출값이 다른 동일한 좌표의 픽셀 밝기 샘플들을 집계한다. When a multi-exposure image stack is generated from the input LDR image as shown in (a) of FIG. 4, the image restoration system 100 samples pixels as shown in (b) of FIG. Aggregates pixel brightness samples of the coordinates.

이미지 복원 시스템(100)은 도 4의 (c)에 도시된 바와 같이 수학식 1을 이용하여 인버스 카메라 응답 함수를 추정한다. 그리고 도 4의 (d)에 도시된 바와 같이, 이미지 조각 별 선형화를 사용하여 추정한 인버스 카메라 응답 함수를 미분 가능한 선형 형식으로 변환한다.The image restoration system 100 estimates the inverse camera response function using Equation 1 as shown in FIG. 4C . And, as shown in FIG. 4(d), the inverse camera response function estimated using the linearization for each image fragment is converted into a differentiable linear form.

도 5는 본 발명의 실시예에 따른 하위 네트워크 구조에 대한 예시도이다.5 is an exemplary diagram of a sub-network structure according to an embodiment of the present invention.

도 5에 도시된 바와 같이, 본 발명의 실시예에 따른 노출값 증가 이미지 생성기(120)와 노출값 감소 이미지 생성기(130)는 각각 U-Net 구조의 세 개의 하위 네트워크를 포함한다. 그리고 세 개의 하위 네트워크를 이용하여 상대적인 노출값 증가 또는 노출값 감소를 통해 이미지를 생성한다.5, the exposure value increase image generator 120 and the exposure value decrease image generator 130 according to the embodiment of the present invention each include three sub-networks of a U-Net structure. Then, using three sub-networks, an image is generated by increasing the relative exposure value or decreasing the exposure value.

여기서, 세 개의 하위 네트워크는 글로벌 네트워크와 로컬 네트워크 그리고 재정의 네트워크에 해당한다. 종래에는 재귀적 다중 노출 영상을 생성하는데 어려움이 있었으나, 본 발명의 실시예에서는 하위 네트워크인 글로벌 네트워크와 로컬 네트워크를 이용하여 재귀 횟수에 따라 노출값이 증가되거나 감소된 이미지를 용이하게 생성할 수 있다. Here, the three sub-networks correspond to the global network, the local network, and the redefining network. Conventionally, it is difficult to generate a recursive multiple exposure image, but in an embodiment of the present invention, an image with an increased or decreased exposure value according to the number of recursions can be easily generated using the global network and the local network, which are sub-networks.

즉, 글로벌 네트워크는 생성된 노출값이 조절되어 생성된 이미지와 목적 노출값 이미지간 히스토그램 차이를 최소화하고, 로컬 네트워크는 그라데이션 기반 에지 구조 생성에 중점을 둔다. 그리고, 각 이미지들을 재정의 네트워크에 적용하여 하나의 다중 노출 이미지 스택으로 생성한다. That is, the global network minimizes the histogram difference between the image generated by adjusting the generated exposure value and the target exposure value image, and the local network focuses on generating a gradient-based edge structure. Then, each image is applied to the redefining network to create one multi-exposure image stack.

도 6은 본 발명의 실시예에 따른 이미지 복원 방법과 종래 이미지 복원 방법들을 이용한 HDR 이미지 복원 결과를 비교한 예시도이다.6 is an exemplary diagram comparing the HDR image restoration results using the image restoration method according to an embodiment of the present invention and the conventional image restoration methods.

도 6에 도시된 바와 같이, 6개의 딥 러닝 기반 방법 즉, 종래에 알려진 다양한 직접 방법과 다중 노출 스택 기반 방법으로 이미지를 복원하고, 본 발명의 실시예에 따라 복원된 HDR 이미지 복원 결과를 비교하였다. 여기서 6개의 딥러닝 기반 방법으로 Single HDR, Deep Recursive, FHDR, ExpandNet, DrTMO, 그리고 HDRCNN으로 생성된 HDR 이미지와 본 발명의 실시예에 따른 복원 방법으로 생성된 HDR 이미지를 비교하였다.As shown in FIG. 6 , images were restored using six deep learning-based methods, that is, various conventionally known direct methods and multiple exposure stack-based methods, and the results of restoration of HDR images restored according to an embodiment of the present invention were compared. . Here, HDR images generated by Single HDR, Deep Recursive, FHDR, ExpandNet, DrTMO, and HDRCNN using six deep learning-based methods were compared with HDR images generated by the restoration method according to an embodiment of the present invention.

방법Way 학습 데이터셋
training dataset
number
VDSVDS HDR-EyeHDR-Eye RAISERAISE
m±σm±σ m±σm±σ m±σm±σ 본 발명의 실시예embodiment of the present invention 48 scenes48 scenes 58.807±5.41358.807±5.413 55.914±1.91755.914±1.917 59.493±3.42059.493±3.420 JDRCMMJDRCMM 3,700 scenes3,700 scenes 53.031±4.95753.031±4.957 50.804±5.79050.804±5.790 57.154±3.64257.154±3.642 DrTMODrTMO 1,043 scenes1,043 scenes 55.227±4.66255.227±4.662 51.800±5.93351.800±5.933 57.645±4.02857.645±4.028 Deep recursive HDRIDeep recursive HDRI 48 scenes48 scenes 56.347±3.49256.347±3.492 52.832±2.94452.832±2.944 57.570±3.69757.570±3.697 ExpandNetExpandNet 1,013 scenes1,013 scenes 44.720±9.43244.720±9.432 50.428±4.49350.428±4.493 54.717±1.99854.717±1.998 FHDRFHDR 39,460 scenes39,460 scenes 57.708±6.37357.708±6.373 53.815±3.60353.815±3.603 59.144±2.76459.144±2.764 SingleHDRSingleHDR 10,289 scenes10,289 scenes 55.237±4.48755.237±4.487 54.509±3.71454.509±3.714 59.304±3.54159.304±3.541

이때, 생성된 HDR 이미지의 품질을 측정할 때, 스택 기반 방법으로 종래 알려진 방법을 적용하였다. 표 1에 나타낸 바와 같이, 다양한 종래 방법들에 대한 훈련 데이터 세트의 크기가 불균형함을 알 수 있다.At this time, when measuring the quality of the generated HDR image, a conventionally known method as a stack-based method was applied. As shown in Table 1, it can be seen that the size of the training data set for various conventional methods is unbalanced.

그러나, 본 발명의 실시예에 따른 복원 방법은 종래 방법들에 비해 훨씬 적은 이미지로 학습하였음에도 불구하고, HDR-VDP-2 점수가 유리한 종래의 직접 방법 또는 다중 노출 스택 기반 방법보다 성능이 뛰어남을 알 수 있다. However, it can be seen that the restoration method according to the embodiment of the present invention performs better than the conventional direct method or multi-exposure stack-based method, which has an advantageous HDR-VDP-2 score, despite learning with much fewer images compared to the conventional methods. can

도 7은 본 발명의 실시예에 따른 컴퓨팅 장치의 구조도이다.7 is a structural diagram of a computing device according to an embodiment of the present invention.

도 7에 도시된 바와 같이, 이미지 복원 시스템(100)은 적어도 하나의 프로세서에 의해 동작하는 컴퓨팅 장치(200)에서, 본 발명의 동작을 실행하도록 기술된 명령들(instructions)이 포함된 프로그램을 실행한다. As shown in FIG. 7 , the image restoration system 100 executes a program including instructions described to execute the operation of the present invention in the computing device 200 operated by at least one processor do.

컴퓨팅 장치(200)의 하드웨어는 적어도 하나의 프로세서(210), 메모리(220), 스토리지(230), 통신 인터페이스(240)를 포함할 수 있고, 버스를 통해 연결될 수 있다. 이외에도 입력 장치 및 출력 장치 등의 하드웨어가 포함될 수 있다. 컴퓨팅 장치(200)는 프로그램을 구동할 수 있는 운영 체제를 비롯한 각종 소프트웨어가 탑재될 수 있다.The hardware of the computing device 200 may include at least one processor 210 , a memory 220 , a storage 230 , and a communication interface 240 , and may be connected through a bus. In addition, hardware such as an input device and an output device may be included. The computing device 200 may be loaded with various software including an operating system capable of driving a program.

프로세서(210)는 컴퓨팅 장치(200)의 동작을 제어하는 장치로서, 프로그램에 포함된 명령들을 처리하는 다양한 형태의 프로세서(210)일 수 있고, 예를 들면, CPU(Central Processing Unit), MPU(Micro Processor Unit), MCU(Micro Controller Unit), GPU(Graphic Processing Unit) 등 일 수 있다. 메모리(220)는 본 발명의 동작을 실행하도록 기술된 명령들이 프로세서(210)에 의해 처리되도록 해당 프로그램을 로드한다. 메모리(220)는 예를 들면, ROM(read only memory), RAM(random access memory) 등 일 수 있다. 스토리지(230)는 본 발명의 동작을 실행하는데 요구되는 각종 데이터, 프로그램 등을 저장한다. 통신 인터페이스(240)는 유/무선 통신 모듈일 수 있다.The processor 210 is a device for controlling the operation of the computing device 200 , and may be a processor 210 of various types for processing instructions included in a program, for example, a central processing unit (CPU), an MPU ( It may be a micro processor unit), a micro controller unit (MCU), a graphic processing unit (GPU), or the like. The memory 220 loads the corresponding program so that the instructions described to execute the operation of the present invention are processed by the processor 210 . The memory 220 may be, for example, read only memory (ROM), random access memory (RAM), or the like. The storage 230 stores various data, programs, etc. required for executing the operation of the present invention. The communication interface 240 may be a wired/wireless communication module.

이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improved forms of the present invention are also provided by those skilled in the art using the basic concept of the present invention as defined in the following claims. is within the scope of the right.

Claims (10)

적어도 하나의 프로세서에 의해 동작하는 이미지 복원 시스템이 동작하는 방법으로서,
하나의 LDR(Low Dynamic Range) 이미지와 상기 LDR 이미지에 대한 노출값을 변형시켜 생성한 다중 노출 이미지들을 수집하는 단계,
상기 수집한 LDR 이미지와 상기 다중 노출 이미지들을 포함하는 학습 데이터를 생성하고, 상기 학습 데이터로 다중 노출 이미지 스택 생성기를 학습시키는 단계,
촬영 수단으로부터 하나의 LDR 이미지를 수신하면, 상기 LDR 이미지의 노출값을 기준 노출값으로 추출하는 단계,
상기 학습시킨 다중 노출 이미지 스택 생성기에서 상기 기준 노출값과 상기 LDR 이미지를 기초로 생성된 다중 노출 이미지들을 포함하는 다중 노출 이미지 스택을 이용하여 인버스 카메라 응답 함수를 추정하는 단계,
상기 인버스 카메라 응답 함수를 통해 수집한 기울기와 상기 인버스 카메라 응답 함수를 이용하여 상기 LDR 이미지를 HDR 이미지로 복원하는 단계
를 포함하는, 동작 방법.
A method of operating an image restoration system operated by at least one processor, the method comprising:
Collecting one LDR (Low Dynamic Range) image and multiple exposure images generated by modifying the exposure value for the LDR image;
generating training data including the collected LDR image and the multiple exposure images, and training a multiple exposure image stack generator with the training data;
When receiving one LDR image from the photographing means, extracting the exposure value of the LDR image as a reference exposure value;
estimating an inverse camera response function using a multiple exposure image stack including multiple exposure images generated based on the reference exposure value and the LDR image in the trained multiple exposure image stack generator;
Restoring the LDR image to an HDR image using the gradient collected through the inverse camera response function and the inverse camera response function
comprising, a method of operation.
제1항에 있어서,
상기 다중 노출 이미지 스택 생성기를 학습시키는 단계는,
상기 LDR 이미지를 상기 다중 노출 이미지 스택 생성기에 입력하면, 상기 노출값을 증가시켜 생성한 노출값 증가 이미지를 생성하도록 학습시키는 단계,
상기 LDR 이미지를 상기 다중 노출 이미지 스택 생성기에 입력하면, 상기 노출값을 감소시켜 생성한 노출값 감소 이미지를 생성하도록 학습시키는 단계, 그리고
복수의 노출 값 증가 이미지들과 복수의 노출 값 감소 이미지들을 하나의 상기 다중 노출 이미지 스택으로 생성하는 단계
를 포함하는, 동작 방법.
According to claim 1,
The step of training the multiple exposure image stack generator comprises:
learning to generate an increased exposure value generated by increasing the exposure value when the LDR image is input to the multiple exposure image stack generator;
when the LDR image is input to the multiple exposure image stack generator, learning to generate an exposure value reduced image generated by reducing the exposure value; and
generating a plurality of increased exposure value images and a plurality of reduced exposure value images as one of the multiple exposure image stacks;
comprising, a method of operation.
제2항에 있어서,
상기 다중 노출 이미지 스택 생성기는,
상기 노출값 증가 이미지를 생성하도록 학습된 노출값 증가 이미지 생성 모델과, 노출값 감소 이미지를 생성하도록 학습된 노출값 감소 이미지 생성 모델을 포함하는, 동작 방법.
3. The method of claim 2,
The multiple exposure image stack generator comprises:
An operating method comprising: an exposure value increase image generation model trained to generate the exposure value increase image; and an exposure value decrease image generation model learned to generate an exposure value decrease image.
제3항에 있어서,
상기 인버스 카메라 응답 함수를 추정하는 단계는,
상기 다중 노출 이미지 스택에 포함된 복수의 이미지들의 각 픽셀에서 추출한 픽셀별 밝기 값을 실제 빛의 밝기 값에 매핑하여 픽셀 밝기 샘플들을 생성하는 단계, 그리고
상기 생성한 픽셀 밝기 샘플들을 기초로 상기 인버스 카메라 응답 함수를 추정하는 단계
를 포함하는, 동작 방법.
4. The method of claim 3,
Estimating the inverse camera response function comprises:
generating pixel brightness samples by mapping a brightness value for each pixel extracted from each pixel of a plurality of images included in the multiple exposure image stack to an actual brightness value of light; and
estimating the inverse camera response function based on the generated pixel brightness samples
comprising, a method of operation.
제4항에 있어서,
상기 HDR 이미지로 복원하는 단계는,
상기 추정한 인버스 카메라 응답 함수를 선형화된 인버스 카메라 응답 함수로 변환하는 단계, 그리고
상기 선형화된 인버스 카메라 응답 함수로부터 상기 기울기를 획득하는 단계
를 포함하는, 동작 방법.
5. The method of claim 4,
Restoring the HDR image includes:
converting the estimated inverse camera response function into a linearized inverse camera response function, and
obtaining the slope from the linearized inverse camera response function;
comprising, a method of operation.
제5항에 있어서,
상기 HDR 이미지로 복원하는 단계는,
상기 선형화된 인버스 카메라 응답 함수를 미분하여 상기 기울기를 획득하는, 동작 방법.
6. The method of claim 5,
Restoring the HDR image includes:
and obtaining the slope by differentiating the linearized inverse camera response function.
하나의 LDR(Low Dynamic Range) 이미지로부터 복수의 다중 노출 이미지들과 HDR(High Dynamic Range) 이미지를 복원하는 이미지 복원 시스템으로서,
이미지 수집 장치로부터 상기 하나의 LDR 이미지를 수신하는 인터페이스, 그리고
프로세서
를 포함하고,
상기 프로세서는,
LDR 이미지로부터 추출한 기준 노출 값을 변형하여 생성한 다중 노출 이미지들을 학습 데이터로 수집하고, 수집한 학습 데이터에 포함된 상기 LDR 이미지를 입력하면 상기 다중 노출 이미지들이 출력되도록 다중 노출 이미지 스택 생성기를 학습시키고, 생성한 다중 노출 이미지들을 이용하여 인버스 카메라 응답 함수를 추정하며, 추정한 인버스 카메라 응답 함수를 선형화하여 기울기를 추출하고, 상기 기울기와 상기 수신한 하나의 LDR 이미지를 입력하여 상기 HDR 이미지를 복원하는, 이미지 복원 시스템.
An image restoration system that restores a plurality of multiple exposure images and a High Dynamic Range (HDR) image from a single LDR (Low Dynamic Range) image,
an interface for receiving the one LDR image from an image acquisition device; and
processor
including,
The processor is
The multiple exposure images generated by modifying the reference exposure value extracted from the LDR image are collected as training data, and the multiple exposure image stack generator is trained so that the multiple exposure images are output when the LDR image included in the collected training data is input. , estimating the inverse camera response function using the generated multiple exposure images, extracting the slope by linearizing the estimated inverse camera response function, and restoring the HDR image by inputting the slope and the one received LDR image , image restoration system.
제7항에 있어서,
상기 프로세서는,
상기 기준 노출 값을 증가시켜 복수의 노출 값 증가 이미지들을 생성하고 상기 기준 노출 값을 감소시켜 복수의 노출 값 감소 이미지들을 생성하며, 상기 복수의 노출 값 증가 이미지들과 상기 복수의 노출 값 감소 이미지들을 하나의 다중 노출 이미지 스택으로 생성하는, 이미지 복원 시스템.
8. The method of claim 7,
The processor is
increasing the reference exposure value to generate a plurality of exposure value increasing images, decreasing the reference exposure value to generate a plurality of exposure value decreasing images, and dividing the plurality of exposure value increase images and the plurality of exposure value decrease images An image restoration system that creates a single multi-exposure image stack.
제8항에 있어서,
상기 프로세서는,
상기 다중 노출 이미지 스택에 포함된 복수의 이미지들의 각 픽셀에서 추출한 픽셀별 밝기 값을 실제 빛의 밝기 값에 매핑시켜 복수의 픽셀 밝기 샘플들을 생성하고, 생성한 픽셀 밝기 샘플들을 이용하여 상기 인버스 카메라 응답 함수를 추정하는, 이미지 복원 시스템.
9. The method of claim 8,
The processor is
A plurality of pixel brightness samples are generated by mapping a brightness value for each pixel extracted from each pixel of a plurality of images included in the multiple exposure image stack to an actual light brightness value, and the inverse camera response is performed using the generated pixel brightness samples. Estimating function, image restoration system.
제9항에 있어서,
상기 프로세서는,
상기 추정한 인버스 카메라 응답 함수를 선형화된 인버스 카메라 응답 함수로 변환하고, 선형화된 인버스 카메라 응답 함수를 미분하여 상기 기울기를 획득하는, 이미지 복원 시스템.
10. The method of claim 9,
The processor is
Transforming the estimated inverse camera response function into a linearized inverse camera response function, and differentiating the linearized inverse camera response function to obtain the gradient.
KR1020210011910A 2021-01-27 2021-01-27 System and method for image restoration based on multiple exposure image KR20220108664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210011910A KR20220108664A (en) 2021-01-27 2021-01-27 System and method for image restoration based on multiple exposure image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210011910A KR20220108664A (en) 2021-01-27 2021-01-27 System and method for image restoration based on multiple exposure image

Publications (1)

Publication Number Publication Date
KR20220108664A true KR20220108664A (en) 2022-08-03

Family

ID=82847286

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210011910A KR20220108664A (en) 2021-01-27 2021-01-27 System and method for image restoration based on multiple exposure image

Country Status (1)

Country Link
KR (1) KR20220108664A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240045011A (en) 2022-09-29 2024-04-05 주식회사 아이카 Method for charging electric vehicle charging fee

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240045011A (en) 2022-09-29 2024-04-05 주식회사 아이카 Method for charging electric vehicle charging fee

Similar Documents

Publication Publication Date Title
CN101305397B (en) Method for forming image based on a plurality of image frames, image processing system and digital camera
EP1583033B1 (en) Digital cameras with luminance correction
KR101411639B1 (en) Method and apparatus for image registration
WO2022000397A1 (en) Low-illumination image enhancement method and apparatus, and computer device
KR20110084025A (en) Apparatus and method for image fusion
KR101821285B1 (en) Apparatus and method for thermal image enhancement
CN113222877B (en) Infrared and visible light image fusion method and application thereof in airborne photoelectric video
KR20090078583A (en) Method and system for processing for low light level image
WO2019056549A1 (en) Image enhancement method, and image processing device
CN112529854B (en) Noise estimation method, device, storage medium and equipment
CN112565636A (en) Image processing method, device, equipment and storage medium
CN113206949A (en) Semi-direct monocular vision SLAM method based on entropy weighted image gradient
CN111986106A (en) High dynamic image reconstruction method based on neural network
US20100225782A1 (en) Image processing apparatus and image processing program
CN114862698B (en) Channel-guided real overexposure image correction method and device
CN112927162A (en) Low-illumination image oriented enhancement method and system
KR20220108664A (en) System and method for image restoration based on multiple exposure image
Zhuang et al. Image enhancement by deep learning network based on derived image and retinex
Wasson et al. Grey wolf optimizer based IQA of mixed and multiple distorted images
CN113132646B (en) High dynamic range image generation method and device, computer equipment and storage medium
CN112419467B (en) Method, device and system for improving rendering efficiency based on deep learning
CN114638764A (en) Multi-exposure image fusion method and system based on artificial intelligence
CN114331893A (en) Method, medium and electronic device for acquiring image noise
TWI590192B (en) Adaptive high dynamic range image fusion algorithm
WO2024127590A1 (en) Image enhancing device, image enhancing method, and program

Legal Events

Date Code Title Description
A201 Request for examination