Local Edge-Preserving Multi-scale Decomposition for High ......Local Edge-Preserving Multi-scale Decomposition for High Dynamic Range Image Tone Mapping . Abstract Proposed method

Post on 22-Sep-2020

4 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

IEEE Transactions on Image Processing

Vol. 22, No. 1, January 2013

Bo Gu, Wujing Li, Minyun, Zhu, Minghui Wang

Presented by Yuan Xi

School of Electrical Engineering and Computer Science

Kyungpook National Univ.

Local Edge-Preserving Multi-scale

Decomposition for High Dynamic Range

Image Tone Mapping

Abstract

Proposed method

– Structuring novel filter

• Edge-preserving decomposition of image

− Inclusion with local means all location in Filtered image

− Preserving salient edges

– Multi-scale decomposition

• Application to high dynamic range image

• Assumptions in proposed method

− Holding local means all locations in base layer

− Salient edges of every scale

» large gradients in corresponding local window

− All of nonzero gradient information belonging to detail layer

2/47

HDR image processing

– Definition of dynamic range

• Ratio of maximum to minimum intensities of scene

– Acquisition of HDR imaging

• Fusion of multi-exposure images

– Compressing intensity distribution of HDR image

• Exceeding dynamic ranges of displays

• Compression for low-frequency on HVS

− Less sensitive to low-frequency than high-frequency components

Introduction

3/47

Tone mapping by using feature of HVS

– Methods based on retinex theory

• Decomposing image by using various filters

− Illumination image(base layer)

− Reflectance image(detail layer)

− Edge-preserving for avoiding halo artifacts

» Preserving locally edge in base layer

Improvement

– Small gradient also significant for edge locally

– Holding locally salient but small gradient in base layer

4/47

Previous work

– Retinex Theory

• Decomposition of HDR based on Retinex Theory

− Replacing filter in Retinex

− Giving more satisfactory resultings

• Image consisting of illumination and reflectance

• Decomposition of image with filter

• Expression of R.Kimmel’s filter

− Obtaining base layer of input image

» Minimizing polynomial below

Problem Statement

log( ) log( ) log( )I L R

L R

(1)

2 2 2| | ( ) | ( ) |

:

L L I L I dxdy

subject to L I

where , is free weighting parameters.

(2)

5/47

• Edge-preserving filter for preserving image detail

− Image consisting of base layer plus detail layer

− Expression of Z.Farbman’s filter

» Obtaining base layer of input image

» Minimizing polynomial below

22

2( ) ( ) ( )x y

B BB I I I dxdy

x y

where is luminance of input image, and is base layer,

and are image information dependent coefficients,

is free weighting parameter.

I B

x y

I B D

B D

(3)

(4)

6/47

− Expression of G.Guarnieri’s filter

» Obtaining base layer of input image

» Minimizing polynomial below

2 2| | ( )

:

L L I dxdy

subject to L I

where is space-varying coefficient.

(5)

7/47

Problem Statement

– Multi-scale decomposition image

• Decomposing image to base layer and multiple detail layers

• Processing at every step

− Obtaining different base layers for each step

− Dynamic range compression and contrast enhancement

» At every detail layer

– Assumptions of proposed method

• Using assumptions for designing filter

− Base layer preserving local means in all local regions

− Salient edges of every scale

» Treating as relatively large gradients in local window

• Using assumption for multi-scale decomposition

− All nonzero gradient information belonging to detail layer

0 1 2 nI B D D D (6)

8/47

Proposed Algorithm

Showing assumptions as functions

– Detail layer oscillating around zero

• Assumption of base layer preserves local means

• Representation by minimizing polynomial below

• Base layer smooth enough in local window

− Every pixel holding constant value

» Derived function equal to zero at every point

2( )I B dxdy

where stands for local window,

stands for image’s luminance,

stands for base layer.

I

B

12 ( ) 0I B dxdy B Idxdy

N

where is number of points in window .

N

(7)

(8)

9/47

– Preserving local salient edges in base layer

• Representation by polynomial below

2 2( ) | || |

I B B dxdyI

where is a coefficient balancing between two terms,

determines coefficient’s sensitivity to gradient of ,

is free parameter,

stands for gradient of .

| |I

I

I I

(9)

10/47

– Adding two constraints to same energy function

• Obtaining local energy function

2 2 2

'2 2

( ) ( ) | || |

( ) | || |

I B dxdy I B B dxdyI

I B B dxdyI

where treats balance between two constraints,

and it is absorbed in .

'

(10)

11/47

Local Edge-Preserving Filter

– Rewriting (10) as discrete form

• Procedure of simple solution

− Supposing carrying linear dependence with in local window

» Pixels highly correlating locally

» Replacing in by get

'2 2( ) | |

| |i i i

i i

I B BI

(11)

B I

B

,i iB a I b i (12)

where and are constant coefficients in window . a b

B (11) (12)

22 ' 2( ) | |i i i

i

I a I b a I a

(13)

12/47

» Solution of Linear least squares

» Getting LEP output

2

2 ' 21| |ii

a

IN

b I a I

(14)

where is variance of in window ,

is mean of in window .

2

I

I I

' 1( ) ,i ii k i k i

k

B a I b a I b iN

(15)

where represents area of image,

is average of in neighborhood window, and same

with .

ia ka

ib

13/47

– Comparison between LEP and three other filters

• Input image with black scan line

Fig. 1.(a) Input image created by Farbman et al., with a black scan line.

(a)

14/47

• Resulting of BLF(bilateral line filter)

Fig. 1.(b) Result of the BLF.

Fig. 1.(c) Result Plot of the black scan line in (a).

(b) (c)

15/47

• Resulting of guided filter

Fig. 1.(d) Result of guided filter.

Fig. 1.(e) Result Plot of the black scan line in (a).

(d) (e)

16/47

• Resulting of WLS filter

Fig. 1.(f) Result of WLS filter.

Fig. 1.(f) Result Plot of the black scan line in (a).

(f) (e)

17/47

• Resulting of LEP filter

Fig. 1.(h) Result of our LEP filter.

Fig. 1.(i) Result Plot of the black scan line in (a).

(h) (i)

18/47

Analysis of LEP

– Rewriting in (14)

• Setting

• Considering one-dimensional case

• Making , then,

a' 1a

1

i 2

2

1 1

1 | |1

( )1

i iii

ii

aI I

IN I I

(16)

1

2

| |

( )

i ii

ii

I IR

I I

1

1a

R

19/47

– Analysis of parameter

• Getting expression of

• Fixing denominator

− Same absolute deviation of every

R

1 1

22

| | | |

( )

i i i ii i

ii ii

I IR

I I

where denotes deviation from luminance to luminance mean . i iI I

R

i

(17)

20/47

• Analysis of typical signal

− Edge instance

» Considering one case for

» Showing example of typical signal figure

Fig. 2.(a) Smooth signal except for a salient edge.

1 5 6

2

| | | |i iia

ii

RM

(17)

(18)

where denotes fixed value for denominator,

are shown in Fig.2.(a).

M

5 6,

(a)

21/47

− Another edge instance

» Considering anther case for

» Showing example of typical signal figure

Fig. 2.(b) Oscillating signal.

1

2

| | 2 | |i i iib

ii

RM

(17)

(19)

(b)

22/47

− Conclusion of analysis

» Considering

» Compressing signal in (b) heavier

» Preserving salient edge in (a)

» Preserving local edge

» Similar to case of Fig.2.(a)

b aR R

23/47

Parameter for LEP

– Giving two parameters

• Determining sensitivity of filter to gradient

• Treating more gradients as local salient edge

− and with small value

• Selecting satisfactory value

− and

'

' 0.1 1

24/47

• Filtered resulting of LEP with varying parameters

Fig. 3. Filtered results of LEP with varying parameter values. Original image is

shown at top with multi-scale noise representing image pattern or details. The central

image presents a satisfactory.

25/47

– Progressive layer through different filter

(b) (a) (c)

Fig. 3. Comparison of progressively coarsening effect between our algorithm and

other two algorithms. Plot is shown with first base layer(red lines) and second base

layer (pink lines). (a) Iterative filtering using WLS. (b)Coarsen using method in [10].

(c) Iterative filtering using our LEP with blue line representing mean of pick line.

26/47

Multi-scale Decomposition

– Decomposing base layer progressively

• Getting last base layer as

• Obtaining detail layer simultaneously

– Decomposing image into three detail and one base layer

1 ( ), ,..., 2,l l l nB LEP B for l n and B I (20)

where denotes filter function,

is scale level.

lLEP

l

1, ,..., 2.l l lD B B for l n

0 1( )B mean B

(21)

0 1 2 3I B D D D (22)

27/47

Dynamic Range Compression

– Calculating compression function

– Plot of compression function

2 arctan( 20) /y x (23)

Fig. 5.Plot of our compression function.

It is convex and S shaped.

28/47

Color

– Using mapping function for three color channels

s

inout out

in

CC L

L

(24)

where represents three color channels,

denote luminance before and after HDR compression.

default value is .

, ,C R G B

inLoutL

s 0.6

29/47

Implementation

– Transforming HDR radiance map into gray image ranging

• Typical operation of most methods

− Averaging three channels for getting luminance

− Transforming luminance into logarithm domain

• Normalized operation

– Decomposing image

• Setting values for ,

• Using local windows

− radius for first decomposition

− radius for second decomposition

Experimental Results and Discussion

6ln( 10 1)inL L (25)

' / max( )L L L (26)

' 0.1 1

2r

20r

30/47

• Resulting images of different choose of radiuses

Fig. 6.Results of various combinations of radiuses. Image courtesy of Fredo Durand. (a)

Result with first window radius ,second . (b)Result with first and second

. (c)Result with first , and second .(d)Result with first and second

.

2r 20r 20r

100r 2r 200r 20r

200r

(a) (b)

(c) (d)

31/47

– Composing image

• Image composing by detail layers

• Cutting low and high values

− Getting stretched histogram

» Reducing noise artifact

» Increasing major contrast

' ' '

1 2 30.5outL D D D (27)

32/47

• Demonstration of cut and stretch effect

Fig. 7.Results Demonstration of the cut and stretch effect. Image

courtesy of Karol Myszlowski. (a)Image without the cut and stretc

h. (b)Image looks clearer with the cut and stretch.

(a) (b)

33/47

Fig. 7.Results Demonstration of the cut and stretch effect. Ima

ge courtesy of Karol Myszlowski. (c)Histogram of(a).There are

few pixel at the high and low ends.(d)Stretched histogram of

(b).

(d) (c)

34/47

– Diagram of algorithm

Fig. 8. Diagram of our algorithm.

35/47

Results and discussion

– Comparing HDR reproduce with other three algorithms

Fig. 9. Comparison of real HDR reproducing image between our

algorithm and other three algorithms. The close-ups show images in

rectangles, respectively.(a)Result of [15] using BLF. (b)Result of [9]

using WLS.

(a) (b)

36/47

• Other pairs of figure 9

Fig. 9. Comparison of real HDR reproducing image between out

algorithm and other three algorithms. The close-ups show images

in rectangles, respectively.(c)Result of[10].(d)Our result.

(c) (d)

37/47

• Other pairs of figure 9

Fig. 9. Comparison of real HDR reproducing image between out algorithm and

other three algorithms. The close-ups show images in rectangles, respectively.

(e) Close-up of(a). (f) Close-up of(b). (g) Close-up of(c). (h) Close-up of(d).

(e) (f) (g) (h)

38/47

• Quantitative measure for Fig.9

− Defining measure as normalized sum of total gradients

Table 1. Quantitative Measure for Fig.9.

1| |S I

N

where is number of pixels in image . N I

(28)

39/47

– Comparison reproduced HDR images

• WLS filter and LEP filter

(a)

Fig. 10. Comparison of reproduced HDR images obtained by same process but

using different filters. (a) WLS filter. (b)LEP filter.

(b)

40/47

(c) (d)

Fig. 10. Comparison of reproduced HDR images obtained by same process but

using different filters. (c) Close-ups of red rectangle areas in (a). (d)Close-ups of

red rectangle areas in(b).

41/47

• Quantitative measure for Fig.10

Table 2. Quantitative Measure for Fig.10.

42/47

– Comparison of reproduced memorial church HDR images

• Proposed algorithm and other seven algorithms

(a) (b) Fig. 11. Comparison of reproduced famous memorial church HDR image between our

algorithm and other seven algorithms.(a) Our result. (b) Result taken directly form [14].

43/47

Fig. 11. Comparison of reproduced famous memorial church HDR image between our

algorithm and other seven algorithms.(c) Result taken directly form [15]. (d) Result form [16]

after tweaking parameters.

(c) (d)

44/47

(e) (f)

Fig. 11. Comparison of reproduced famous memorial church HDR image between our

algorithm and other seven algorithms.(e) Result taken directly form [3]. (f) Result taken

directly form [17].

45/47

(g) (h)

Fig. 11. Comparison of reproduced famous memorial church HDR image between our

algorithm and other seven algorithms.(g) Result taken directly form [19]. (h) Result taken

directly form [20].

46/47

Conclusion

Proposed method

– Presenting three assumptions for image decomposition

• Deriving local edge-preserving filter

– Comparing with recent effective algorithms

• Preserving local tiny details

• Appealing global view

Experimental results

– LEP filter giving more pleasing view than pervious methods

• Avoiding halo effect

• Emphasis on local edge preservation

47/47

top related