450 likes | 626 Views
A. I. P. Term Project. 9512514 郭瓊蓮 922014 柯瑋明 922508 吳榮軒. Subject Review. Implement this paper : “Two-scale Tone Management for photographic Look,” Bae, Paris, and Durand. Apply the method to different kind of pictures. Add HDR technique. Algorithm Review. base.
E N D
A. I. P Term Project 9512514 郭瓊蓮 922014 柯瑋明 922508 吳榮軒
Subject Review • Implement this paper : “Two-scale Tone Management for photographic Look,” Bae, Paris, and Durand. • Apply the method to different kind of pictures. • Add HDR technique.
Algorithm Review base large-scale transfer model textureness transfer bilateral filter input detail high pass and local averaging textureness
Algorithm Review modified base black-and-white output constrained combination postprocess final output modified detail
Our works Our input Our model
Our works Our detail Our base
Our works With edge preserving Without edgepreserving
Our works Our result Author’s result
Problems • Uncertainty. • Poisson equation. • Histogram matching. • Textureness. • Color channel.
Uncertainty • An old problem while using fast bilateral filter.
Poisson • Cost most time in our pipeline. • Use Discrete Sine Transform to reduce time complexity. • Easy to implement.
Poisson • General Poisson Equation: • Ixx + Iyy = f • For discrete version, we can rewrite the equation to matrix form: • TI + IT = F ,where T is a N*N triagonal matrix of {1,-2,1}.
Poisson • We define
Poisson • DX+XD=B is easy to solve • Then we use I=SXS to get final answer.
Poisson • In fact, SXS performs 2-D DST on X • Implementation steps: • Perform 2-D DST on F • Divide the sum of the corresponding eigenvalue and a constant. • Perform 2-D DST again
Hist-matching • The gray-value in log domain are always negative or zero. • The range could be even wider if HDR added. • The function implemented by MATLAB can only handle the interval from 0 to 1……
Hist-matching distribution Input histogram
Hist-matching distribution Mask histogram
Hist-matching distribution Output histogram
Hist-matching Mask Input Output
Textureness H is the high-pass version of the image. T( I )p = 1/k * ∑ gσs( |p – q| ) gσr( |Ip - Iq| )|H|q q∈|H| k = ∑ gσs( |p – q| ) gσr( |Ip - Iq| ) q∈I ρp = max( 0, ( T’p – T(B’)p ) / T(D)p ) O = B’ + ρD
Textureness Input
Textureness High frequency of H
Textureness Absolute value of H
Textureness 0 +
Color Channel • Which color channel could work best? • RGB channel. • Process separately. • Process intensity only and then interpolate the three channel. • YUV channel.
More Images Input Model
More Images Input Output
More Images Model Input
More Images Input Output
More Images Model Input
More Images Output Input
More Images Model Input
More Images Output Input
Questions Thanks for your attention.