원시데이터 수집 시스템
선정목록으로

Fast and flexible stack‐based inverse tone mapping

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Ning Zhang — School of Electronic and Computer Engineering Peking University Shenzhen Graduate School Shenzhen China|||School of Electronic and Computer Engineering, Peking University Shenzhen Graduate School, Nanshan, China
  2. Yuyao Ye — School of Electronic and Computer Engineering Peking University Shenzhen Graduate School Shenzhen China|||School of Electronic and Computer Engineering, Peking University Shenzhen Graduate School, Nanshan, China
  3. Yang Zhao — School of Computer and Information Hefei University of Technology Hefei China|||School of Computer and Information, Hefei University of Technology, Hefei, China
  4. Xufeng Li — Department of Computer Science (CS), College of Engineering (EG) City University of Hong Kong Hong Kong China|||Department of Computer Science (CS), College of Engineering (EG), City University of Hong Kong, Hong Kong, China
  5. Ronggang Wang — School of Electronic and Computer Engineering Peking University Shenzhen Graduate School Shenzhen China|||School of Electronic and Computer Engineering, Peking University Shenzhen Graduate School, Nanshan, China
DOI
10.1049/cit2.12188
저널
CAAI Transactions on Intelligence Technology
발행년도
2023
발행기관
Institution of Engineering and Technology
피인용수
5
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1049/cit2.12188
토픽
Color Science and Applications
OpenAlex ID
W4318982693

평가 내용

관련도
관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Inverse tone mapping technique is widely used to restore the lost textures from a single low dynamic range image. Recently, many stack‐based deep inverse tone mapping networks have achieved impressive results by estimating a set of multi‐exposure images from a single low dynamic range input. However, there are still some limitations. On the one hand, these methods usually set a fixed length for the estimated multi‐exposure stack, which may introduce computational redundancy or cause inaccurate results. On the other hand, they neglect that the difficulties of estimating each exposure value are different and use the identical model to increase or decrease exposure value. To solve these problems, the authors design an exposure decision network to adaptively determine the number of times the exposure of low dynamic range input should be increased or decreased. Meanwhile, the authors decouple the increasing/decreasing process into two sub‐modules, exposure adjustment and optional detail recovery, based on the characteristics of different variations of exposure values. With these improvements, this method can fast and flexibly estimate the multi‐exposure stack from a single low dynamic range image. Experiments on several datasets demonstrate the advantages of the proposed method compared to state‐of‐the‐art inverse tone mapping methods.

본문 34,953자

본문 펼치기
Inverse tone mapping technique is widely used to restore the lost textures from a single low dynamic range image.Recently, many stack-based deep inverse tone mapping networks have achieved impressive results by estimating a set of multi-exposure images from a single low dynamic range input.However, there are still some limitations.On the one hand, these methods usually set a fixed length for the estimated multi-exposure stack, which may introduce computational redundancy or cause inaccurate results.On the other hand, they neglect that the difficulties of estimating each exposure value are different and use the identical model to increase or decrease exposure value.To solve these problems, the authors design an exposure decision network to adaptively determine the number of times the exposure of low dynamic range input should be increased or decreased.Meanwhile, the authors decouple the increasing/decreasing process into two sub-modules, exposure adjustment and optional detail recovery, based on the characteristics of different variations of exposure values.With these improvements, this method can fast and flexibly estimate the multi-exposure stack from a single low dynamic range image.Experiments on several datasets demonstrate the advantages of the proposed method compared to state-of-the-art inverse tone mapping methods. | INTRODUCTION Compared with traditional low dynamic range (LDR) images, high dynamic range (HDR) images can provide a more realistic visual experience and richer details [1].Currently, the HDR content is usually shot directly by professional devices or generated by multi-exposure fusion [2,3].However, there exist a large amount of single LDR image and video resources.Therefore, how to recover the missing details from the single LDR image has attracted wide attention. | INTRODUCTION Converting a single LDR image to an HDR radiance is also called inverse tone mapping (ITM).Banterle et al. [4] extended the range in the high luminance areas using an inverse Photographic Tone Reproduction operator.Rempel et al. [5] proposed a video ITM method that can deal with video streams in real-time.Akyüz et al. [6] proposed that simply boosting the range of an LDR image linearly is good enough.However, these traditional methods cannot recover realistic textures in the over/under-exposed regions.Recently, researchers have shown an increased interest in deep-learningbased ITM methods, which can be roughly divided into two categories, that is, direct mapping and stack-based methods.The intuitive idea is directly learning an end-to-end model to recover the 32-bits HDR image from the single 8-bits LDR input [7,8].However, on the one hand, the change of HDR pixels is more complicated than that of LDR images.On the other hand, the dynamic ranges of HDR images tend to vary greatly from scene to scene, which increases the difficulty of training networks for such an ill-posed problem.The other category is to first estimate the multi-exposure stack (MES) by increasing/decreasing the exposure value (EV) of the input single LDR image and then synthesise them into the HDR radiance [9][10][11] by multi-exposure fusion technology [12][13][14][15].Consequently, these stack-based methods can effectively reduce the learning difficulty because they only need to learn the relative change of pixels in the LDR domain instead of crossing the LDR and HDR domains [10].However, the stackbased approaches tend to be more time-consuming compared to the direct mapping approaches, which affects their performance in practical applications. | INTRODUCTION We analyse the limitations of the previous stack-based methods and propose a fast and flexible deep stack-based ITM method.The previous stack-based methods suffer from the fixed length of the MES, which may involve unnecessary computational cost if a smaller length can already restore the dynamic range of the LDR input or cause inadequate dynamic ranges if the fixed length is not enough to recover the lost details.To overcome this limitation, we propose an exposure decision model (EDM) to determine in advance how to estimate the MES.For the input LDR image, the EDM can decide the number of times that the input LDR image should be increased or decreased.In this way, the MES can be generated more appropriately with less redundancy.In addition, different from previous methods that treat the changes between each EV equally, we decouple increasing/decreasing the EV of the single LDR image to the exposure adjustment and optional detail restoration.The decoupling is based on that the difficulties of increasing or decreasing EVs are very different, which depend on whether texture information is available.Specifically, we firstly design a lightweight exposure adjustment model (EAM) which can adjust the luminance, colour, and contrast of the image based on the available information.Then, for the challenging task of recovering the lost details in the over/under-exposed regions, we utilise a complicated but optional detail restoration model (DRM) to regain these textures separately.Figure 1 demonstrates that our method can recover lost details of the LDR images and generate pleasing results. | INTRODUCTION This paper has the following contributions: | INTRODUCTION 1.The previous stack-based methods set a fixed length for MES, which may lead to inaccurate results and introduce computational redundancy.An EDM is proposed to overcome this limitation, which can flexibly estimate the times of increasing and decreasing according to the specific lighting conditions of the input LDR image, thus reducing computational cost and improving the performance.2. We divide the generation of the MES into exposure adjustment and optional detail restoration based on the different characteristics of changes between each EV, which further reduces the redundant parameters and computations significantly.3.By decoupling the complicated EV changing process, each region of the input LDR image can be processed more accurately.The proposed EAM can adjust the entire luminance while avoiding artefacts and the DRM can focus on recovering the lost textures to generate a more realistic result. | Deep-learning-based inverse tone mapping Eilertsen et al. [7] focussed on the over-exposed regions and for the other under-exposed regions they used a fixed inverse camera response function (CRF) to roughly process.Santo et al. [16] took the same strategy as Ref. [7] but they used the attention masks to help the model focus on the available features to restore the lost details in the over-exposed regions.Marnerides et al. [8] designed a three-branches model to expand the dynamic range of the single LDR image and avoided artefacts caused by the U-Net [17].Liu et al. [18] directly reconstructed HDR images by modelling the inverse process of the image formation pipeline, which consisted of dequantisation that converted the 8-bits LDR image to 16-bits, linearisation that transferred the non-linear image into linear radiance, and hallucination that recovered the clipped information.Zheng et al. [19] proposed an ultra-high-definition HDR reconstruction method via a collaborative learning manner that learnt the content and colour details in the dualpath network.Marnerides et al. [20] presented a generative adversarial network-based method that hallucinated missing information from badly exposed areas in LDR images.Chen et al. [21] used a spatially dynamic encoder-decoder network to learn an end-to-end mapping for single image HDR reconstruction with denoising and dequantisation.Different from the direct mapping, Endo et al. [9] firstly proposed a stack-based method by generating LDR images with different EVs and synthesising them into the HDR images.Specifically, they designed a 2D-encoder with 3D-decoder architecture to estimate a set of exposure increased or decreased images at once, which greatly increases the computational cost due to 3D convolutions.Lee et al. [10] devised a chain structure to generate the increased/decreased images in sequence.Both of them can only estimate MES with fixed length.Once you need to further increase or decrease the EV of the LDR image, a new model must be retrained.Lee et al. [11] incorporated adversarial loss during training the network, which made the generated MES closer to the real one perceptually.Meanwhile, they overcame the above problem by training a single increasing/decreasing model and reusing it to change the EV.Kim et al. [22] proposed a novel framework with a fully differentiable HDR imaging process by introducing the differentiable HDR synthesis layer.Compared to the previous stack-based ITM methods, the proposed method can generate the multi exposure stack with flexible exposure setting and achieve more accurate results. | Deep-learning-based over/under- exposed correction Increasing EV can be regarded as an under-exposed correction process, which has been studied for a long time.Lore et al. [23] proposed a stacked auto-encoder to learn the natural low-light image enhancement.Wei et al. [24] designed an end-to-end deep network to enhance the low-light images based on the Retinex theory.Li et al. [25] proposed the robust Retinex model, which additionally considered a noise map compared with the conventional Retinex model and thus improved the performance of enhancing low-light images accompanied by noises.Jiang et al. [26] proposed an effective unsupervised generative adversarial network for low-light enhancement, which can be trained without low/normal-light image pairs.Guo et al. [27] proposed a zero-shot learning method to enhance the low light images by estimating curve parameters.The estimation network was lightweight but efficient due to the intuitive and simple non-linear curve mapping.Similarly, decreasing EV also involves the over-exposed correction.Zhang et al. [28] proposed a dual illumination estimation to simultaneously process under-exposure and over-exposure images.Yang et al. [29] corrected the exposure by transferring the image into the HDR domain to restore the information and converting it back.Cao et al. [30] recovered the lost detail in the over-exposed region by disentangling the exposure and scene information.Compared to the deep-learning-based over/under-exposed correction methods, the proposed method aims to recover both the lost details in the over and under-exposed regions and divide the generation of the result into exposure adjustment and optional detail restoration based on the different characteristics. | Exposure bracketing selection The exposure bracketing selection aims to select the proper sets of exposures to represent the entire information of the scenes.Beek et al. [31] proposed irradiance distribution adaptive bracketing selection algorithm by formulating the selection problem as a polynomially solvable problem.Wang et al. [32] designed an agent and used reinforcement learning (RL) to solve the exposure bracketing selection problem.Specifically, they calculated the peak signal to noise ratio (PSNR) between the possible exposure sets and the ground truth stack, then the PSNR was used as the reward to train the agent.However, on the one hand, it is unnecessary to use RL to do this task because there is no interaction between the agent and the environment.On the other hand, the PSNR metric cannot evaluate the quality of HDR images precisely.Meanwhile, compared to the previous exposure bracketing selection methods, the proposed EDM predict the relationship between each exposure combination to achieve more precise results. | METHODOLOGY At first, the limitations of the previous stack-based ITM algorithms are analysed.Then, the proposed method is introduced to solve these problems. | Problems of stack-based deep ITM methods The purpose of the stack-based ITM method is to restore the realistic textures in different dynamic ranges by estimating images with different EVs, which can be formulated as: | Problems of stack-based deep ITM methods where I is the input single LDR image, O i;i∈ 1;n ½ � , denotes the predicted n LDR images with different EVs, and f(⋅) is the stack-based ITM algorithm.Figure 2 shows an example of MES captured by changing the shutter time of the LDR camera.The stack-based ITM methods aim to estimate the rest of the images in the MES from the input LDR image, that is, Figure 2d.For the input LDR image, previous stack-based ITM methods [9][10][11] usually generate the MES with a fixed length of 2T + 1 (e.g. when T = 3 there are three exposureincreased images and three exposure-decreased images).However, a fixed number T is not always the reasonable and optimal choice.For example, we only need to decrease the exposure if the input image has already covered the most dynamic range of the original scene and only has over-exposed regions.In these cases, a large T involves many unnecessary computations and may introduce artefacts caused by the algorithms.Conversely, if the original scene has an extremely high dynamic range, a small T is not sufficient to recover the desired result.Figure 3 shows an example that contains extremely dark regions (blue rectangle) and slightly overexposed areas (red rectangles).The previous stack-based ITM method [10] still generates three exposure-decreased and three exposure-increased images for the input LDR image.However, the −1 EV image has already restored the textures in the over-exposed regions and the +3 EV image is still not enough to recover the details in extreme dark regions.On the contrary, the proposed method can estimate the MES flexibly, which only decreases the exposure of the input LDR one time and increases the exposure four times to restore sufficient information. | Problems of stack-based deep ITM methods In addition, there are over/under-exposed regions in Figure 2d, which are marked by yellow and red rectangles separately.Through experiments, we find that a simple model is enough to adjust the EV of the well-exposed regions, that is, the rest regions of Figure 2d.However, it is more difficult when it comes to the under/over-exposed regions.On the one hand, the textures and details are almost lost, for example, some pixels in these regions are equal to 0 or 255, which means that there is little available information.On the other hand, the noises in the dark regions of the input LDR image are also amplified during increasing the EV, which further increases the difficulty.However, most previous methods [9][10][11] neglect this phenomenon and use a complex model to handle them equally, which causes unnecessary computational cost. | Problems of stack-based deep ITM methods Based on these analyses, we devise an EDM to adaptively select the length of the MES.Meanwhile, we propose a lightweight but efficient EAM and a specific DRM to tackle different EV changes separately.The details of each model are introduced in the following and the structures of the proposed models are shown in Figure 4. | Exposure decision model The EDM aims to decide the times to increase and decrease the EV of the input LDR image.At first, we should generate the label that indicates the best exposure combination.Specifically, we generate 10 EV-increased images and 10 EVdecreased images (which can cover all of the dynamic range of the images) and form 190 different MES combinations.Then, we synthesise the predicted HDR images by the LDR images in each combination and calculate the HDR-VDP-2.2scores.We find that most of the combinations with the highest scores (98%) located in the range of −5 to 5 EV.Furthermore, the visual quality of these predicted HDR images is also comparable to the ground-truth images.Therefore, we conclude that T = 5 can handle the great majority of scenes and recover sufficient details.Meanwhile, Barakat et al. [33] has shown that three images can capture the luminance of a scene adequately in most cases, and the input image should be chosen to keep the realistic information.Therefore, we decide to choose two images from the estimated images to form the final MES.Consequently, the total number of possible exposure combinations are C 2 10 ¼ 45.For every single LDR input in the training dataset, we first generate 5 EV-increased images and 5 EV-decreased images and form 45 different MES combinations.Then we synthesise the predicted HDR images by the LDR images in each combination and then calculate the HDR-VDP-2.2[34] scores V, V ∈ R 1�45 for all predicted HDR images with the ground truth HDR images as reference.The intuitive idea is taking the combination with the highest score as the one-hot label to train a classification model.However, it will ignore the relationship between each combination and decrease the performance.Therefore, we normalise the scores V as the ground truth and let EDM to predict the relative values.Specifically, we resize each LDR input I s into 224 � 224 and send the over/under-exposed masks (binary -1447 masks with the threshold of 0.95/0.05)together to the EDM to predict the relative values V : | Exposure decision model where F EDM denotes EDM and ⋅ f g denotes the concatenation operator.The training loss of the EDM is defined as: | Exposure decision model Then, the combination with the highest predict value will be chosen as the final exposure decision.Motivated by Marnerides et al. and Zhang et al. [8,35], we design the lightweight local-global dense block (LGDB), which consists of a local branch to extract the fine-grained details and a global branch to extract the high-level information (e.g.entire lighting conditions and scene information).The local feature extractor consists of four 3 � 3 convolutional (conv) layers with dense connection [36], which aims to preserve the fine-grained details.Note that there is no max-pool operation and thus avoiding the loss of spatial information.In the global feature block, the extracted local features are firstly down-sampled to 32 � 32 by an average-pooling operation, and then there are three 3 � 3 conv layers with 2 � 2 max-pooling and a 4 � 4 conv layer, which aims to extract the global information, for example, entire lighting conditions and scene information.Finally, the local and global features are fused by element-wise addition.There are two linear layers after the LGDB to predict the relative values. | Lightweight exposure adjustment model The commonly used U-Net [17] structure of previous ITM methods contains too many parameters and thus causes high computational cost when adjusting the exposure of LDR image without over/under-exposed regions.On the contrary, we adopt the proposed LGDB as the lightweight EAM to perform the exposure adjustment: | Lightweight exposure adjustment model where I and ÔEA denote the input single LDR image and exposure-adjusted output of the network F EAM . | Lightweight exposure adjustment model The training losses of the EAM contain the pixel-wise loss: | Lightweight exposure adjustment model the cosine similarity loss to ensure colour correctness of the RGB vectors of each pixel: | Lightweight exposure adjustment model and the histogram loss in [22] to ensure that the generated image has a similar global tone with the target image: where O denotes the ground truth image, L denotes the intensity levels, and cnt l indicates the number of pixels, which has a rounded down intensity l in the input image.The total loss of EAM can be formulated as: | Lightweight exposure adjustment model where λ cos and λ hist are set to 5 and 1 separately. | Complicated but optional detail restoration model Recovering the lost details in saturated regions is a challenging task, and the EAM module cannot handle this problem due to the lightweight architecture.Consequently, we design a deeper DRM to pointedly solve this problem, which can be formulated as: | Complicated but optional detail restoration model where ÔDR denotes the detail restored output of the network F DRM .The DRM is designed based on the U-Net [17] with five-levels and the interpolation and convolution layers are used in the decoder to avoid checkerboard artefacts as in many works [18,37,38].Furthermore, to enhance the ability of the DRM to remove the noises in dark regions, we add random Poisson-Gaussian noise to the input LDR image during training the increasing DRM, which can be approximated by a heteroscedastic Gaussian with a signal-dependent variance: | Complicated but optional detail restoration model We then fuse the ÔDR and ÔEA with the following equation: | Complicated but optional detail restoration model where α is the soft blending mask indicates the over/underexposed regions of I and: | Complicated but optional detail restoration model The training loss of the DRM is defined as: | Complicated but optional detail restoration model where ϕ j denotes the feature map extracted from the jth maxpooling layer of the VGG-19 [39] pre-trained on ImageNet.We set the j to 4. The τ 1 , τ 2 , λ d , and λ are set to 0.95, 0.05, 40, and 1 separately. | Inference As shown in Figure 5, for an input LDR image, we firstly resize it to the size of 224 � 224 and send it to the EDM to predict the exposure decision (A, B), where A; B ∈ −5; 0 ½ Þ ∪ 0; 5 ð �.Then, we can obtain the increasing time I if I = max(A, B) > 0, and the decreasing time |D| if D = min(A, B) < 0. During the exposure increasing/decreasing process, the input image is first determined whether there are under/over-saturated (pixels larger than 243 or smaller than 12) regions.If not, the input image is only processed by the EAM, and if yes, the input image will be sent to the DRM to further restore the lost details.Finally, the MES is generated and can be merged into an HDR image by Debevec and Malik [2] or directly merged into the tone mapped image by Kou et al. [3].We fuse the MES into HDR radiance with the software Photomatix https:// www.hdrsoft.com/. | Implementation details We collect a multi-exposure dataset,, which consist of [40,41].There are 776 MES that cover several common HDR scenes such as indoor, skyline, night, and so forth.Because the previous methods only use stacks with fixed length as the dataset, for a fair comparison, we divide this dataset into two | Implementation details The whole pipeline to process the input LDR image.For example, if (A,B) is (−3,1), then the LDR image will be increased one time and decreased three times.If (A,B) is (2,5), then the LDR image will be increased five times and does not need to be decreased. | Implementation details ZHANG ET AL. | Implementation details -1449 categories, one contains 429 stacks with a length of 7 and the other has 347 stacks with varying lengths.The stacks with fixed length are then divided into a training set with 222 stacks, a validation set with 31 stacks, and a testing set named HDR-TEST-7 with 62 stacks.The 347 stacks with varying lengths are also used to evaluate the performance and robustness of the proposed method, named HDR-TEST-N.In addition, two publicly available dataset HDR-EYE [42] and HDR-MEF [43] are also used in our evaluation. | Implementation details During the training process, we first resize the images in the training dataset to 512 � 512 and augment them by randomly cropping to 64 � 64 for EAM and 384 � 384 for DRM.We resize the training images to 224 � 224 during training the EDM without cropping to keep the entire information.The training images are randomly flipped and rotated in all the above training processes.As for the testing datasets, we fuse all the multi-exposure exposure stacks into HDR images by Photomatix, which is a commonly used HDR tool and can generate more accurate fused images than [2].The resolution of testing images is set to 512 � 512.Our models are implemented using Pytorch 1.2 and deployed on the Tesla V100 GPU.The training batch sizes are 1, 1, and 16 for EAM, DRM, and EDM separately.The training losses are minimised through an Adam optimiser with an initial learning rate of 0.0001. | Comparisons on the predicted HDR images The proposed method is compared with seven recent state-ofthe-art Convolutional Neural Networks-based approaches: Deep reverse tone mapping opearator (DrTMO) [9], Deep recursive high dynamic range imaging (HDRI) [11], Deep Single HDRI [18], Deep Chain HDRI [18], Deep Diff HDRI [22], Deep Mask HDRI [16], and Deep HDR-UNet [21].The commonly used HDR-VDP-2.2[34] index is adopted to measure the quality of HDR reconstruction.Both the predicted HDR and ground-truth HDR images have been normalised as in [8,18].Specifically, the HDR images are normalised in the display-referenced way where the peak luminance is 1000 cd/m 2 , which represents current commercial HDR display technology.The scaling is done to match the 0.1 and 99.9 percentiles of the predictions with the corresponding percentiles of the HDR test images.The input parameters of HDR-VDP-2.2[34] evaluation is set as follows: a 34-in.display, a viewing distance of 0.5 m and a 1920 � 1080 resolution.For fair comparisons, we fine-tune these models with the same training dataset.Table 1 shows the average HDR-VDP-2.2scores on the HDR-TEST-7, HDR-TEST-N, HDR-EYE, and HDR-MEF datasets.The proposed method performs favourably against the state-of-the-art methods on all four datasets.Note that compared to the DrTMO [9] with the stack length of 17 and Deep Recursive HDRI [11] with the stack length of 7, the stack length generated by the proposed method is only 3, which can significantly reduce the complexity of the image fusion algorithms. | Comparisons on the predicted HDR images Figures 6 and 7 show results of these ITM methods.Deep recursive HDRI [11] is easy to blur images.DrTMO [10] causes checkerboard artefacts due to the de-convolution.Deep Single HDRI [18], Deep chain HDRI [10], and Deep Diff HDRI [16] introduce artefacts in the over-exposed regions and fail to recover realistic textures.On the contrary, the proposed method can achieve impressive results both in the over-and under-exposed regions. | Comparisons on the estimated MES Furthermore, we also compare the quality of the estimated MES with the above stack-based ITM methods and the baseline U-Net [17].Because the multi-exposure images are LDR images, we use the PSNR and Structural Similarity as the evaluation metrics.The quantitative comparison of the estimated MES with previous stack-based methods on the HDR-TEST-7 dataset is shown in Table 2, which also demonstrates the proposed method can estimate more accurate MES than the previous stack-based ITM methods. | Comparisons on running time and parameters We conduct experiments to compare the proposed method with state-of-the-art ITM algorithms on the running time and parameters.Table 3 shows the average running time of each method processing the input LDR images with the size of 512 � 512, 1920 � 1080, and 3840 � 2160 separately and the total parameters of the models.The proposed method can generate the MES faster than previous stack-based ITM methods with few parameters.Note that the running time of stack-based ITM methods only indicates the time of estimating the MES.We set the length of MES to 7 for the U-Net [17], Deep Chain HDRI [10], Deep Recursive HDRI [11], and Deep Diff HDRI [22] as described in their papers.The time of the once increasing/decreasing process of these methods can be calculated by dividing the running time in Table 3 by six.The average processing times of EAM and DRM are 4.5 and 1.3 separately, which on the one hand means that the complicated DRM does not take up too many computations and thus reduces the complexity; on the other hand, further demonstrates the high efficiency due to the EDM, which makes the selection of EVs more flexible.The running time of the once increasing/decreasing process for EAM and DRM can be calculated in the same way. | Ablation studies At first, we conduct experiments to analyse the effect of each proposed module.As shown Figure 8, EAM can adjust the luminance, colour, and contrast of the image based on the available information without introducing artefacts.However, the lost details in the over/under-exposed regions cannot be recovered by the lightweight EAM.With the DRM, the textures in these regions can be restored as close to ground truth as possible.Note that although the proposed DRM is designed based on U-Net [17] without complex improvements, it focuses on recovering lost details in over/under-exposed regions and performs the restoration in LDR domain, so that it can 4, where the results of the first two rows are generated by fusing five exposure-up images, five exposure-down images, and the input image.The results of last row are generated by fusing the two exposure-adjustment images selected by EDM and the input image, which demonstrates that owing to the proposed EDM, more precise results can be obtained with less exposure stack length.Consequently, it will also greatly reduce the time and space complexity of subsequent multi-exposure fusion algorithms.Meanwhile, we use the U-Net as the model to generate the exposure-increased or exposuredecreased results and the HDR-VDP-2.2score is 65.8942, which demonstrates that the proposed EAM can adjust the entire exposure without introduce artefacts, which avoid the pooling and down-sampling operation and keep the entire spatial information.Furthermore, we use the dense convolutional layers without global branch as the EAM and the HDR-VDP-2.2score is 66.1504, which demonstrate that the proposed local-global branches can extract multi-scales features to help generate more precise results. | Ablation studies Then, we compare the EDM with the classification method and reinforcement method.Specifically, the classification method regards the exposure decision process as an imageclassification problem, where the ground truth label of the input LDR image is the combination with the highest scores in V. We take ResNet-50 [44] as the classifier.The reinforcement method aims to train an agent to choose the best exposure combination like [32].The comparisons with these methods are shown in Table 5.Actually, the proposed EDM is better at learning the differences among different exposure combinations than the classification class approach.Meanwhile, compared to the reinforcement approach, the EDM training process is more straightforward and converges faster. | Ablation studies In the following, we further verify the effectiveness of the EDM.If the input images have extremely dark and bright regions, as shown at the top of Figure 9, a small fixed length of MES like seven may be not adequate to recover the lost textures in these regions.However, the EDM chooses a combination (−4,5) for the input image, which means increasing the input image five times and decreasing it four times to recover sufficient details.On the contrary, if the input images do not have over-exposed regions, as shown at the bottom of Figure 9, a fixed-length may involve unnecessary computational cost while the EDM chooses a combination (1,2) that only needs to increase the exposure two times and thus saves the computations to decrease the exposure. | CONCLUSION We have proposed a novel pipeline to recover the HDR radiance from a single LDR image by estimating the MES fast and adaptively, which avoids unnecessary computational redundancy by analysing the differences of changes between each EV and tackling them separately.An exposure classification model is also presented to adaptively choose appropriate increasing and decreasing times for each input LDR image.The proposed lightweight EAM can change the luminance of the input image while preserving fine-grained details and avoiding artefacts.The DRM can focus on the lost textures in the over/under-exposed regions and recover realistic results.The proposed exposure adaptive ITM method performs favourably against state-of-the-art methods both quantitatively and qualitatively and has a significant advantage in terms of computational cost and running time. | CONCLUSION An example of multi-exposure stack (MES) captured by changing the shutter time of low dynamic range (LDR) camera F I G U R E 3 An example of multi-exposure stack (MES) predicted by the previous stack-based Inverse tone mapping (ITM) methods and the proposed method ZHANG ET AL. E 4 1448 - Structures of proposed exposure adjustment model, detail restoration model, and exposure decision model.(a) The proposed local-global dense block.(b) The exposure decision model (EDM) takes the image and over/under-exposed masks as input and estimates the scores of each exposure combination.(c) The EAM aims to increase or decrease the exposure value (EV) of the input image based on the available information.(d) The detail restoration model (DRM) focuses on recovering the lost details in the over/under-exposed regions.The + denotes element-wise addition and the � denotes element-wise multiplication.ZHANG ET AL. 24682322, 2023, 4, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/cit2.12188 by City Universitaet Of Hong Kong, Wiley Online Library on [03/03/2024].See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions)on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License F I G U R E 7 Visual comparison on LDR input image of the testing dataset F I G U R E 6 Visual comparison on LDR input image of the testing dataset ZHANG ET AL. -1451 24682322, 2023, 4, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/cit2.12188 by City Universitaet Of Hong Kong, Wiley Online Library on [03/03/2024].See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions)on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License achieve more realistic results than the previous methods.The quantitative comparisons between each module are shown in Table F I G U R E 7 Comparisons on the running time (ms) of processing the LDR images with different resolutions and parameters (million) of the models F I G U R E 7 Note: Bold values mean best performance.Abbreviation: HDRI, high dynamic range imaging.F I G U R E 8 Ablation study of the contribution of each module 1452 -ZHANG ET AL. F I G U R E 7 Ablation study of the contribution of each module Ablation study of the exposure selection methods Examples of exposure selections of the proposed exposure decision model ZHANG ET AL. -1453 24682322, 2023, 4, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/cit2.12188 by City Universitaet Of Hong Kong, Wiley Online Library on [03/03/2024].See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions)on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License F I G U R E 7 T A B L E 4Note: Bold values mean best performance.T A B L E 5Note: Bold values mean best performance.F I G U R E 9

섹션 본문 50문단 · 33,419자

(제목 없음)

1Inverse tone mapping technique is widely used to restore the lost textures from a single low dynamic range image.Recently, many stack-based deep inverse tone mapping networks have achieved impressive results by estimating a set of multi-exposure images from a single low dynamic range input.However, there are still some limitations.On the one hand, these methods usually set a fixed length for the estimated multi-exposure stack, which may introduce computational redundancy or cause inaccurate results.On the other hand, they neglect that the difficulties of estimating each exposure value are different and use the identical model to increase or decrease exposure value.To solve these problems, the authors design an exposure decision network to adaptively determine the number of times the exposure of low dynamic range input should be increased or decreased.Meanwhile, the authors decouple the increasing/decreasing process into two sub-modules, exposure adjustment and optional detail recovery, based on the characteristics of different variations of exposure values.With these improvements, this method can fast and flexibly estimate the multi-exposure stack from a single low dynamic range image.Experiments on several datasets demonstrate the advantages of the proposed method compared to state-of-the-art inverse tone mapping methods.

| INTRODUCTION

2Compared with traditional low dynamic range (LDR) images, high dynamic range (HDR) images can provide a more realistic visual experience and richer details [1].Currently, the HDR content is usually shot directly by professional devices or generated by multi-exposure fusion [2,3].However, there exist a large amount of single LDR image and video resources.Therefore, how to recover the missing details from the single LDR image has attracted wide attention.

3Converting a single LDR image to an HDR radiance is also called inverse tone mapping (ITM).Banterle et al. [4] extended the range in the high luminance areas using an inverse Photographic Tone Reproduction operator.Rempel et al. [5] proposed a video ITM method that can deal with video streams in real-time.Akyüz et al. [6] proposed that simply boosting the range of an LDR image linearly is good enough.However, these traditional methods cannot recover realistic textures in the over/under-exposed regions.Recently, researchers have shown an increased interest in deep-learningbased ITM methods, which can be roughly divided into two categories, that is, direct mapping and stack-based methods.The intuitive idea is directly learning an end-to-end model to recover the 32-bits HDR image from the single 8-bits LDR input [7,8].However, on the one hand, the change of HDR pixels is more complicated than that of LDR images.On the other hand, the dynamic ranges of HDR images tend to vary greatly from scene to scene, which increases the difficulty of training networks for such an ill-posed problem.The other category is to first estimate the multi-exposure stack (MES) by increasing/decreasing the exposure value (EV) of the input single LDR image and then synthesise them into the HDR radiance [9][10][11] by multi-exposure fusion technology [12][13][14][15].Consequently, these stack-based methods can effectively reduce the learning difficulty because they only need to learn the relative change of pixels in the LDR domain instead of crossing the LDR and HDR domains [10].However, the stackbased approaches tend to be more time-consuming compared to the direct mapping approaches, which affects their performance in practical applications.

4We analyse the limitations of the previous stack-based methods and propose a fast and flexible deep stack-based ITM method.The previous stack-based methods suffer from the fixed length of the MES, which may involve unnecessary computational cost if a smaller length can already restore the dynamic range of the LDR input or cause inadequate dynamic ranges if the fixed length is not enough to recover the lost details.To overcome this limitation, we propose an exposure decision model (EDM) to determine in advance how to estimate the MES.For the input LDR image, the EDM can decide the number of times that the input LDR image should be increased or decreased.In this way, the MES can be generated more appropriately with less redundancy.In addition, different from previous methods that treat the changes between each EV equally, we decouple increasing/decreasing the EV of the single LDR image to the exposure adjustment and optional detail restoration.The decoupling is based on that the difficulties of increasing or decreasing EVs are very different, which depend on whether texture information is available.Specifically, we firstly design a lightweight exposure adjustment model (EAM) which can adjust the luminance, colour, and contrast of the image based on the available information.Then, for the challenging task of recovering the lost details in the over/under-exposed regions, we utilise a complicated but optional detail restoration model (DRM) to regain these textures separately.Figure 1 demonstrates that our method can recover lost details of the LDR images and generate pleasing results.

5This paper has the following contributions:

61.The previous stack-based methods set a fixed length for MES, which may lead to inaccurate results and introduce computational redundancy.An EDM is proposed to overcome this limitation, which can flexibly estimate the times of increasing and decreasing according to the specific lighting conditions of the input LDR image, thus reducing computational cost and improving the performance.2. We divide the generation of the MES into exposure adjustment and optional detail restoration based on the different characteristics of changes between each EV, which further reduces the redundant parameters and computations significantly.3.By decoupling the complicated EV changing process, each region of the input LDR image can be processed more accurately.The proposed EAM can adjust the entire luminance while avoiding artefacts and the DRM can focus on recovering the lost textures to generate a more realistic result.

| Deep-learning-based inverse tone mapping

7Eilertsen et al. [7] focussed on the over-exposed regions and for the other under-exposed regions they used a fixed inverse camera response function (CRF) to roughly process.Santo et al. [16] took the same strategy as Ref. [7] but they used the attention masks to help the model focus on the available features to restore the lost details in the over-exposed regions.Marnerides et al. [8] designed a three-branches model to expand the dynamic range of the single LDR image and avoided artefacts caused by the U-Net [17].Liu et al. [18] directly reconstructed HDR images by modelling the inverse process of the image formation pipeline, which consisted of dequantisation that converted the 8-bits LDR image to 16-bits, linearisation that transferred the non-linear image into linear radiance, and hallucination that recovered the clipped information.Zheng et al. [19] proposed an ultra-high-definition HDR reconstruction method via a collaborative learning manner that learnt the content and colour details in the dualpath network.Marnerides et al. [20] presented a generative adversarial network-based method that hallucinated missing information from badly exposed areas in LDR images.Chen et al. [21] used a spatially dynamic encoder-decoder network to learn an end-to-end mapping for single image HDR reconstruction with denoising and dequantisation.Different from the direct mapping, Endo et al. [9] firstly proposed a stack-based method by generating LDR images with different EVs and synthesising them into the HDR images.Specifically, they designed a 2D-encoder with 3D-decoder architecture to estimate a set of exposure increased or decreased images at once, which greatly increases the computational cost due to 3D convolutions.Lee et al. [10] devised a chain structure to generate the increased/decreased images in sequence.Both of them can only estimate MES with fixed length.Once you need to further increase or decrease the EV of the LDR image, a new model must be retrained.Lee et al. [11] incorporated adversarial loss during training the network, which made the generated MES closer to the real one perceptually.Meanwhile, they overcame the above problem by training a single increasing/decreasing model and reusing it to change the EV.Kim et al. [22] proposed a novel framework with a fully differentiable HDR imaging process by introducing the differentiable HDR synthesis layer.Compared to the previous stack-based ITM methods, the proposed method can generate the multi exposure stack with flexible exposure setting and achieve more accurate results.

| Deep-learning-based over/under- exposed correction

8Increasing EV can be regarded as an under-exposed correction process, which has been studied for a long time.Lore et al. [23] proposed a stacked auto-encoder to learn the natural low-light image enhancement.Wei et al. [24] designed an end-to-end deep network to enhance the low-light images based on the Retinex theory.Li et al. [25] proposed the robust Retinex model, which additionally considered a noise map compared with the conventional Retinex model and thus improved the performance of enhancing low-light images accompanied by noises.Jiang et al. [26] proposed an effective unsupervised generative adversarial network for low-light enhancement, which can be trained without low/normal-light image pairs.Guo et al. [27] proposed a zero-shot learning method to enhance the low light images by estimating curve parameters.The estimation network was lightweight but efficient due to the intuitive and simple non-linear curve mapping.Similarly, decreasing EV also involves the over-exposed correction.Zhang et al. [28] proposed a dual illumination estimation to simultaneously process under-exposure and over-exposure images.Yang et al. [29] corrected the exposure by transferring the image into the HDR domain to restore the information and converting it back.Cao et al. [30] recovered the lost detail in the over-exposed region by disentangling the exposure and scene information.Compared to the deep-learning-based over/under-exposed correction methods, the proposed method aims to recover both the lost details in the over and under-exposed regions and divide the generation of the result into exposure adjustment and optional detail restoration based on the different characteristics.

| Exposure bracketing selection

9The exposure bracketing selection aims to select the proper sets of exposures to represent the entire information of the scenes.Beek et al. [31] proposed irradiance distribution adaptive bracketing selection algorithm by formulating the selection problem as a polynomially solvable problem.Wang et al. [32] designed an agent and used reinforcement learning (RL) to solve the exposure bracketing selection problem.Specifically, they calculated the peak signal to noise ratio (PSNR) between the possible exposure sets and the ground truth stack, then the PSNR was used as the reward to train the agent.However, on the one hand, it is unnecessary to use RL to do this task because there is no interaction between the agent and the environment.On the other hand, the PSNR metric cannot evaluate the quality of HDR images precisely.Meanwhile, compared to the previous exposure bracketing selection methods, the proposed EDM predict the relationship between each exposure combination to achieve more precise results.

| METHODOLOGY

10At first, the limitations of the previous stack-based ITM algorithms are analysed.Then, the proposed method is introduced to solve these problems.

| Problems of stack-based deep ITM methods

11The purpose of the stack-based ITM method is to restore the realistic textures in different dynamic ranges by estimating images with different EVs, which can be formulated as:

12where I is the input single LDR image, O i;i∈ 1;n ½ � , denotes the predicted n LDR images with different EVs, and f(⋅) is the stack-based ITM algorithm.Figure 2 shows an example of MES captured by changing the shutter time of the LDR camera.The stack-based ITM methods aim to estimate the rest of the images in the MES from the input LDR image, that is, Figure 2d.For the input LDR image, previous stack-based ITM methods [9][10][11] usually generate the MES with a fixed length of 2T + 1 (e.g. when T = 3 there are three exposureincreased images and three exposure-decreased images).However, a fixed number T is not always the reasonable and optimal choice.For example, we only need to decrease the exposure if the input image has already covered the most dynamic range of the original scene and only has over-exposed regions.In these cases, a large T involves many unnecessary computations and may introduce artefacts caused by the algorithms.Conversely, if the original scene has an extremely high dynamic range, a small T is not sufficient to recover the desired result.Figure 3 shows an example that contains extremely dark regions (blue rectangle) and slightly overexposed areas (red rectangles).The previous stack-based ITM method [10] still generates three exposure-decreased and three exposure-increased images for the input LDR image.However, the −1 EV image has already restored the textures in the over-exposed regions and the +3 EV image is still not enough to recover the details in extreme dark regions.On the contrary, the proposed method can estimate the MES flexibly, which only decreases the exposure of the input LDR one time and increases the exposure four times to restore sufficient information.

13In addition, there are over/under-exposed regions in Figure 2d, which are marked by yellow and red rectangles separately.Through experiments, we find that a simple model is enough to adjust the EV of the well-exposed regions, that is, the rest regions of Figure 2d.However, it is more difficult when it comes to the under/over-exposed regions.On the one hand, the textures and details are almost lost, for example, some pixels in these regions are equal to 0 or 255, which means that there is little available information.On the other hand, the noises in the dark regions of the input LDR image are also amplified during increasing the EV, which further increases the difficulty.However, most previous methods [9][10][11] neglect this phenomenon and use a complex model to handle them equally, which causes unnecessary computational cost.

14Based on these analyses, we devise an EDM to adaptively select the length of the MES.Meanwhile, we propose a lightweight but efficient EAM and a specific DRM to tackle different EV changes separately.The details of each model are introduced in the following and the structures of the proposed models are shown in Figure 4.

| Exposure decision model

15The EDM aims to decide the times to increase and decrease the EV of the input LDR image.At first, we should generate the label that indicates the best exposure combination.Specifically, we generate 10 EV-increased images and 10 EVdecreased images (which can cover all of the dynamic range of the images) and form 190 different MES combinations.Then, we synthesise the predicted HDR images by the LDR images in each combination and calculate the HDR-VDP-2.2scores.We find that most of the combinations with the highest scores (98%) located in the range of −5 to 5 EV.Furthermore, the visual quality of these predicted HDR images is also comparable to the ground-truth images.Therefore, we conclude that T = 5 can handle the great majority of scenes and recover sufficient details.Meanwhile, Barakat et al. [33] has shown that three images can capture the luminance of a scene adequately in most cases, and the input image should be chosen to keep the realistic information.Therefore, we decide to choose two images from the estimated images to form the final MES.Consequently, the total number of possible exposure combinations are C 2 10 ¼ 45.For every single LDR input in the training dataset, we first generate 5 EV-increased images and 5 EV-decreased images and form 45 different MES combinations.Then we synthesise the predicted HDR images by the LDR images in each combination and then calculate the HDR-VDP-2.2[34] scores V, V ∈ R 1�45 for all predicted HDR images with the ground truth HDR images as reference.The intuitive idea is taking the combination with the highest score as the one-hot label to train a classification model.However, it will ignore the relationship between each combination and decrease the performance.Therefore, we normalise the scores V as the ground truth and let EDM to predict the relative values.Specifically, we resize each LDR input I s into 224 � 224 and send the over/under-exposed masks (binary -1447 masks with the threshold of 0.95/0.05)together to the EDM to predict the relative values V :

16where F EDM denotes EDM and ⋅ f g denotes the concatenation operator.The training loss of the EDM is defined as:

17Then, the combination with the highest predict value will be chosen as the final exposure decision.Motivated by Marnerides et al. and Zhang et al. [8,35], we design the lightweight local-global dense block (LGDB), which consists of a local branch to extract the fine-grained details and a global branch to extract the high-level information (e.g.entire lighting conditions and scene information).The local feature extractor consists of four 3 � 3 convolutional (conv) layers with dense connection [36], which aims to preserve the fine-grained details.Note that there is no max-pool operation and thus avoiding the loss of spatial information.In the global feature block, the extracted local features are firstly down-sampled to 32 � 32 by an average-pooling operation, and then there are three 3 � 3 conv layers with 2 � 2 max-pooling and a 4 � 4 conv layer, which aims to extract the global information, for example, entire lighting conditions and scene information.Finally, the local and global features are fused by element-wise addition.There are two linear layers after the LGDB to predict the relative values.

| Lightweight exposure adjustment model

18The commonly used U-Net [17] structure of previous ITM methods contains too many parameters and thus causes high computational cost when adjusting the exposure of LDR image without over/under-exposed regions.On the contrary, we adopt the proposed LGDB as the lightweight EAM to perform the exposure adjustment:

19where I and ÔEA denote the input single LDR image and exposure-adjusted output of the network F EAM .

20The training losses of the EAM contain the pixel-wise loss:

21the cosine similarity loss to ensure colour correctness of the RGB vectors of each pixel:

22and the histogram loss in [22] to ensure that the generated image has a similar global tone with the target image: where O denotes the ground truth image, L denotes the intensity levels, and cnt l indicates the number of pixels, which has a rounded down intensity l in the input image.The total loss of EAM can be formulated as:

23where λ cos and λ hist are set to 5 and 1 separately.

| Complicated but optional detail restoration model

24Recovering the lost details in saturated regions is a challenging task, and the EAM module cannot handle this problem due to the lightweight architecture.Consequently, we design a deeper DRM to pointedly solve this problem, which can be formulated as:

25where ÔDR denotes the detail restored output of the network F DRM .The DRM is designed based on the U-Net [17] with five-levels and the interpolation and convolution layers are used in the decoder to avoid checkerboard artefacts as in many works [18,37,38].Furthermore, to enhance the ability of the DRM to remove the noises in dark regions, we add random Poisson-Gaussian noise to the input LDR image during training the increasing DRM, which can be approximated by a heteroscedastic Gaussian with a signal-dependent variance:

26We then fuse the ÔDR and ÔEA with the following equation:

27where α is the soft blending mask indicates the over/underexposed regions of I and:

28The training loss of the DRM is defined as:

29where ϕ j denotes the feature map extracted from the jth maxpooling layer of the VGG-19 [39] pre-trained on ImageNet.We set the j to 4. The τ 1 , τ 2 , λ d , and λ are set to 0.95, 0.05, 40, and 1 separately.

| Inference

30As shown in Figure 5, for an input LDR image, we firstly resize it to the size of 224 � 224 and send it to the EDM to predict the exposure decision (A, B), where A; B ∈ −5; 0 ½ Þ ∪ 0; 5 ð �.Then, we can obtain the increasing time I if I = max(A, B) > 0, and the decreasing time |D| if D = min(A, B) < 0. During the exposure increasing/decreasing process, the input image is first determined whether there are under/over-saturated (pixels larger than 243 or smaller than 12) regions.If not, the input image is only processed by the EAM, and if yes, the input image will be sent to the DRM to further restore the lost details.Finally, the MES is generated and can be merged into an HDR image by Debevec and Malik [2] or directly merged into the tone mapped image by Kou et al. [3].We fuse the MES into HDR radiance with the software Photomatix https:// www.hdrsoft.com/.

| Implementation details

31We collect a multi-exposure dataset,, which consist of [40,41].There are 776 MES that cover several common HDR scenes such as indoor, skyline, night, and so forth.Because the previous methods only use stacks with fixed length as the dataset, for a fair comparison, we divide this dataset into two

32The whole pipeline to process the input LDR image.For example, if (A,B) is (−3,1), then the LDR image will be increased one time and decreased three times.If (A,B) is (2,5), then the LDR image will be increased five times and does not need to be decreased.

33ZHANG ET AL.

34-1449 categories, one contains 429 stacks with a length of 7 and the other has 347 stacks with varying lengths.The stacks with fixed length are then divided into a training set with 222 stacks, a validation set with 31 stacks, and a testing set named HDR-TEST-7 with 62 stacks.The 347 stacks with varying lengths are also used to evaluate the performance and robustness of the proposed method, named HDR-TEST-N.In addition, two publicly available dataset HDR-EYE [42] and HDR-MEF [43] are also used in our evaluation.

35During the training process, we first resize the images in the training dataset to 512 � 512 and augment them by randomly cropping to 64 � 64 for EAM and 384 � 384 for DRM.We resize the training images to 224 � 224 during training the EDM without cropping to keep the entire information.The training images are randomly flipped and rotated in all the above training processes.As for the testing datasets, we fuse all the multi-exposure exposure stacks into HDR images by Photomatix, which is a commonly used HDR tool and can generate more accurate fused images than [2].The resolution of testing images is set to 512 � 512.Our models are implemented using Pytorch 1.2 and deployed on the Tesla V100 GPU.The training batch sizes are 1, 1, and 16 for EAM, DRM, and EDM separately.The training losses are minimised through an Adam optimiser with an initial learning rate of 0.0001.

| Comparisons on the predicted HDR images

36The proposed method is compared with seven recent state-ofthe-art Convolutional Neural Networks-based approaches: Deep reverse tone mapping opearator (DrTMO) [9], Deep recursive high dynamic range imaging (HDRI) [11], Deep Single HDRI [18], Deep Chain HDRI [18], Deep Diff HDRI [22], Deep Mask HDRI [16], and Deep HDR-UNet [21].The commonly used HDR-VDP-2.2[34] index is adopted to measure the quality of HDR reconstruction.Both the predicted HDR and ground-truth HDR images have been normalised as in [8,18].Specifically, the HDR images are normalised in the display-referenced way where the peak luminance is 1000 cd/m 2 , which represents current commercial HDR display technology.The scaling is done to match the 0.1 and 99.9 percentiles of the predictions with the corresponding percentiles of the HDR test images.The input parameters of HDR-VDP-2.2[34] evaluation is set as follows: a 34-in.display, a viewing distance of 0.5 m and a 1920 � 1080 resolution.For fair comparisons, we fine-tune these models with the same training dataset.Table 1 shows the average HDR-VDP-2.2scores on the HDR-TEST-7, HDR-TEST-N, HDR-EYE, and HDR-MEF datasets.The proposed method performs favourably against the state-of-the-art methods on all four datasets.Note that compared to the DrTMO [9] with the stack length of 17 and Deep Recursive HDRI [11] with the stack length of 7, the stack length generated by the proposed method is only 3, which can significantly reduce the complexity of the image fusion algorithms.

37Figures 6 and 7 show results of these ITM methods.Deep recursive HDRI [11] is easy to blur images.DrTMO [10] causes checkerboard artefacts due to the de-convolution.Deep Single HDRI [18], Deep chain HDRI [10], and Deep Diff HDRI [16] introduce artefacts in the over-exposed regions and fail to recover realistic textures.On the contrary, the proposed method can achieve impressive results both in the over-and under-exposed regions.

| Comparisons on the estimated MES

38Furthermore, we also compare the quality of the estimated MES with the above stack-based ITM methods and the baseline U-Net [17].Because the multi-exposure images are LDR images, we use the PSNR and Structural Similarity as the evaluation metrics.The quantitative comparison of the estimated MES with previous stack-based methods on the HDR-TEST-7 dataset is shown in Table 2, which also demonstrates the proposed method can estimate more accurate MES than the previous stack-based ITM methods.

| Comparisons on running time and parameters

39We conduct experiments to compare the proposed method with state-of-the-art ITM algorithms on the running time and parameters.Table 3 shows the average running time of each method processing the input LDR images with the size of 512 � 512, 1920 � 1080, and 3840 � 2160 separately and the total parameters of the models.The proposed method can generate the MES faster than previous stack-based ITM methods with few parameters.Note that the running time of stack-based ITM methods only indicates the time of estimating the MES.We set the length of MES to 7 for the U-Net [17], Deep Chain HDRI [10], Deep Recursive HDRI [11], and Deep Diff HDRI [22] as described in their papers.The time of the once increasing/decreasing process of these methods can be calculated by dividing the running time in Table 3 by six.The average processing times of EAM and DRM are 4.5 and 1.3 separately, which on the one hand means that the complicated DRM does not take up too many computations and thus reduces the complexity; on the other hand, further demonstrates the high efficiency due to the EDM, which makes the selection of EVs more flexible.The running time of the once increasing/decreasing process for EAM and DRM can be calculated in the same way.

| Ablation studies

40At first, we conduct experiments to analyse the effect of each proposed module.As shown Figure 8, EAM can adjust the luminance, colour, and contrast of the image based on the available information without introducing artefacts.However, the lost details in the over/under-exposed regions cannot be recovered by the lightweight EAM.With the DRM, the textures in these regions can be restored as close to ground truth as possible.Note that although the proposed DRM is designed based on U-Net [17] without complex improvements, it focuses on recovering lost details in over/under-exposed regions and performs the restoration in LDR domain, so that it can 4, where the results of the first two rows are generated by fusing five exposure-up images, five exposure-down images, and the input image.The results of last row are generated by fusing the two exposure-adjustment images selected by EDM and the input image, which demonstrates that owing to the proposed EDM, more precise results can be obtained with less exposure stack length.Consequently, it will also greatly reduce the time and space complexity of subsequent multi-exposure fusion algorithms.Meanwhile, we use the U-Net as the model to generate the exposure-increased or exposuredecreased results and the HDR-VDP-2.2score is 65.8942, which demonstrates that the proposed EAM can adjust the entire exposure without introduce artefacts, which avoid the pooling and down-sampling operation and keep the entire spatial information.Furthermore, we use the dense convolutional layers without global branch as the EAM and the HDR-VDP-2.2score is 66.1504, which demonstrate that the proposed local-global branches can extract multi-scales features to help generate more precise results.

41Then, we compare the EDM with the classification method and reinforcement method.Specifically, the classification method regards the exposure decision process as an imageclassification problem, where the ground truth label of the input LDR image is the combination with the highest scores in V. We take ResNet-50 [44] as the classifier.The reinforcement method aims to train an agent to choose the best exposure combination like [32].The comparisons with these methods are shown in Table 5.Actually, the proposed EDM is better at learning the differences among different exposure combinations than the classification class approach.Meanwhile, compared to the reinforcement approach, the EDM training process is more straightforward and converges faster.

42In the following, we further verify the effectiveness of the EDM.If the input images have extremely dark and bright regions, as shown at the top of Figure 9, a small fixed length of MES like seven may be not adequate to recover the lost textures in these regions.However, the EDM chooses a combination (−4,5) for the input image, which means increasing the input image five times and decreasing it four times to recover sufficient details.On the contrary, if the input images do not have over-exposed regions, as shown at the bottom of Figure 9, a fixed-length may involve unnecessary computational cost while the EDM chooses a combination (1,2) that only needs to increase the exposure two times and thus saves the computations to decrease the exposure.

| CONCLUSION

43We have proposed a novel pipeline to recover the HDR radiance from a single LDR image by estimating the MES fast and adaptively, which avoids unnecessary computational redundancy by analysing the differences of changes between each EV and tackling them separately.An exposure classification model is also presented to adaptively choose appropriate increasing and decreasing times for each input LDR image.The proposed lightweight EAM can change the luminance of the input image while preserving fine-grained details and avoiding artefacts.The DRM can focus on the lost textures in the over/under-exposed regions and recover realistic results.The proposed exposure adaptive ITM method performs favourably against state-of-the-art methods both quantitatively and qualitatively and has a significant advantage in terms of computational cost and running time.

44An example of multi-exposure stack (MES) captured by changing the shutter time of low dynamic range (LDR) camera F I G U R E 3 An example of multi-exposure stack (MES) predicted by the previous stack-based Inverse tone mapping (ITM) methods and the proposed method ZHANG ET AL.

E 4 1448 -

45Structures of proposed exposure adjustment model, detail restoration model, and exposure decision model.(a) The proposed local-global dense block.(b) The exposure decision model (EDM) takes the image and over/under-exposed masks as input and estimates the scores of each exposure combination.(c) The EAM aims to increase or decrease the exposure value (EV) of the input image based on the available information.(d) The detail restoration model (DRM) focuses on recovering the lost details in the over/under-exposed regions.The + denotes element-wise addition and the � denotes element-wise multiplication.ZHANG ET AL. 24682322, 2023, 4, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/cit2.12188 by City Universitaet Of Hong Kong, Wiley Online Library on [03/03/2024].See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions)on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License

F I G U R E 7

46Visual comparison on LDR input image of the testing dataset F I G U R E 6 Visual comparison on LDR input image of the testing dataset ZHANG ET AL. -1451 24682322, 2023, 4, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/cit2.12188 by City Universitaet Of Hong Kong, Wiley Online Library on [03/03/2024].See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions)on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License achieve more realistic results than the previous methods.The quantitative comparisons between each module are shown in Table

47Comparisons on the running time (ms) of processing the LDR images with different resolutions and parameters (million) of the models

48Note: Bold values mean best performance.Abbreviation: HDRI, high dynamic range imaging.F I G U R E 8 Ablation study of the contribution of each module 1452 -ZHANG ET AL.

49Ablation study of the contribution of each module Ablation study of the exposure selection methods Examples of exposure selections of the proposed exposure decision model ZHANG ET AL. -1453 24682322, 2023, 4, Downloaded from https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/cit2.12188 by City Universitaet Of Hong Kong, Wiley Online Library on [03/03/2024].See the Terms and Conditions (https://onlinelibrary.wiley.com/terms-and-conditions)on Wiley Online Library for rules of use; OA articles are governed by the applicable Creative Commons License

50T A B L E 4Note: Bold values mean best performance.T A B L E 5Note: Bold values mean best performance.F I G U R E 9

참고문헌 43건

  1. Perceptual Quality Assessment for Multi-Exposure Image Fusion IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2015 10.1109/tip.2015.2442920
  2. U-Net: Convolutional Networks for Biomedical Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-24574-4_28
  3. Demystifying High-Dynamic-Range Technology: A new evolution in digital media IEEE Consumer Electronics Magazine · Institute of Electrical and Electronics Engineers · 2015 10.1109/mce.2015.2463294
  4. Inverse tone mapping 2006 10.1145/1174429.1174489
  5. Recovering high dynamic range radiance maps from photographs 2008 10.1145/1401132.1401174
  6. Minimal-Bracketing Sets for High-Dynamic-Range Image Capture IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2008 10.1109/tip.2008.2001414
  7. Deep Residual Learning for Image Recognition 2016 10.1109/cvpr.2016.90
  8. LLNet: A deep autoencoder approach to natural low-light image enhancement Pattern Recognition · Elsevier BV · 2016 10.1016/j.patcog.2016.06.008
  9. Deconvolution and Checkerboard Artifacts Distill · 2016 10.23915/distill.00003
  10. Detail-Enhanced Multi-Scale Exposure Fusion IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2017 10.1109/tip.2017.2651366
  11. Robust Multi-Exposure Image Fusion: A Structural Patch Decomposition Approach IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2017 10.1109/tip.2017.2671921
  12. Intelligent Detail Enhancement for Exposure Fusion IEEE Transactions on Multimedia · Institute of Electrical and Electronics Engineers · 2017 10.1109/tmm.2017.2743988
  13. HDR image reconstruction from a single exposure using deep CNNs ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3130800.3130816
  14. Deep reverse tone mapping ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3130800.3130834
  15. Learning a Deep Single Image Contrast Enhancer from Multi-Exposure Images IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/tip.2018.2794218
  16. Deep Chain HDRI: Reconstructing a High Dynamic Range Image from a Single Low Dynamic Range Image IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2868246
  17. Structure-Revealing Low-Light Image Enhancement Via Robust Retinex Model IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2018 10.1109/tip.2018.2810539
  18. A Hybrid l1-l0 Layer Decomposition Model for Tone Mapping 2018 10.1109/cvpr.2018.00500
  19. Deep Recursive HDRI: Inverse Tone Mapping Using Generative Adversarial Networks Lecture notes in computer science · Springer Science+Business Media · 2018 10.1007/978-3-030-01216-8_37
  20. Densely Connected Convolutional Networks 2017 10.1109/cvpr.2017.243
  21. Image Correction via Deep Reciprocating HDR Transformation 2018 10.1109/cvpr.2018.00193
  22. ExpandNet: A Deep Convolutional Neural Network for High Dynamic Range Expansion from Low Dynamic Range Content Computer Graphics Forum · Wiley · 2018 10.1111/cgf.13340
  23. Improved image selection for stack-based HDR imaging Electronic Imaging · Society for Imaging Science & Technology · 2019 10.2352/issn.2470-1173.2019.4.pmii-581
  24. Dual Illumination Estimation for Robust Exposure Correction Computer Graphics Forum · Wiley · 2019 10.1111/cgf.13833
  25. Deep tone mapping network in HSV color space 2019 10.1109/vcip47243.2019.8965992
  26. Deep HDR Imaging via A Non-Local Network IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2020 10.1109/tip.2020.2971346
  27. Single image HDR reconstruction using a CNN with masked features and perceptual loss ACM Transactions on Graphics · Association for Computing Machinery · 2020 10.1145/3386569.3392403
  28. Single-Image HDR Reconstruction by Learning to Reverse the Camera Pipeline 2020 10.1109/cvpr42600.2020.00172
  29. Learning a Reinforced Agent for Flexible Exposure Bracketing Selection 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2020 10.1109/cvpr42600.2020.00189
  30. Zero-Reference Deep Curve Estimation for Low-Light Image Enhancement 2020 10.1109/cvpr42600.2020.00185
  31. End-to-End Differentiable Learning to HDR Image Synthesis for Multi-exposure Images Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2021 10.1609/aaai.v35i2.16272
  32. HDR-GAN: HDR Image Reconstruction From Multi-Exposed LDR Images With Large Motions IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2021 10.1109/tip.2021.3064433
  33. A night-time outdoor data set for low-light enhancement 2022 IEEE International Conference on Visual Communications and Image Processing (VCIP) · 2020 10.1109/vcip49819.2020.9301758
  34. Single image HDR reconstruction using a CNN with masked features and perceptual loss ACM Transactions on Graphics · Association for Computing Machinery · 2020 10.1145/3386569.3392403
  35. EnlightenGAN: Deep Light Enhancement Without Paired Supervision IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2021 10.1109/tip.2021.3051462
  36. HDR-VDP-2 ACM Transactions on Graphics · Association for Computing Machinery · 2011 10.1145/2010324.1964935
  37. Do HDR displays support LDR content? ACM Transactions on Graphics · Association for Computing Machinery · 2007 10.1145/1276377.1276425
  38. Deep HDR Hallucination for Inverse Tone Mapping Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21124032
  39. A Real-Time Semi-Supervised Deep Tone Mapping Network IEEE Transactions on Multimedia · Institute of Electrical and Electronics Engineers · 2021 10.1109/tmm.2021.3089019
  40. Deep HDR Hallucination for Inverse Tone Mapping Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21124032
  41. HDRUNet: Single Image HDR Reconstruction with Denoising and Dequantization 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · 2021 10.1109/cvprw53098.2021.00045
  42. Ultra-High-Definition Image HDR Reconstruction via Collaborative Bilateral Learning 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · 2021 10.1109/iccv48922.2021.00441
  43. Ldr2Hdr ACM Transactions on Graphics · Association for Computing Machinery · 2007 10.1145/1276377.1276426