Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on...

21
Modeling BRDF by a Probability Distribution Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg, Russia
  • date post

    22-Dec-2015
  • Category

    Documents

  • view

    215
  • download

    0

Transcript of Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on...

Page 1: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Modeling BRDF by a Probability Distribution

Aydın ÖZTÜRKMurat KURTAhmet BİLGİLİ

GraphiCon’201020th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg, Russia

Page 2: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

BRDF functions defines the surface reflection behaviour through a mathematical model.

BRDF is first formulated by Nicadamus using the following relationship:

Bidirectional Reflectance Distribution Function (BRDF)

iiii

oo

ii

oooi dL

dL

dE

dL

ωnωω

ω

ω

ωωω

)(

)(

)(

)(),(

),( oi ωω

i

ii

ii

oo

oi

d

L

dE

dL

ω

ω

ω

ω

nωω

)(

)(

)(

,, Incoming, outgoing and surface normal vectors,

Differential outgoing radiance,

Differential irradiance,

Incoming radiance,

Differential solid angle.

Page 3: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

A good BRDF should obey the following principles:

Reciprocity

Energy Conservation

Physical Properties of BRDF

),(),( iooi ωωωω

1)(),(,

iioio dωnωωωω

Page 4: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Ward (1992) BRDF model,◦ Gaussian Distribution.

Edwards et al. (2006) BRDF model,◦ Halfway Vector Disk distribution.

Öztürk et al. (2010) Copula-Based BRDF model, ◦ Archimedean Copula distributions.

Modeling BRDF by Probability Distributions

Page 5: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Copula is a multivariate cumulative distribution function of the uniform random variables on the interval [0,1].

They provide a simple and general structure for modeling multivariate distributions through univariate marginal distributions.

Copula Distributions

Page 6: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Copula Distributions (2)

),...,,(

)(

,...,1),(

),...,,(

,...,,

21

21

21

n

iii

ii

n

n

uuuC

xFu

nixF

xxxF

XXX

),...,,(

))(),...,(),((

),...,,(

21

2211

21

n

nn

n

uuuC

xFxFxFC

xxxF

Random Variables

Cumulative Distribution

Marginal Cumulative Distributions

Copula Distribution

Page 7: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Copula Distributions (3)

),...,,(

,...,1),(

),...,,(

21

21

n

ii

n

uuuc

nixf

xxxf

Probability Density Function (pdf)

Marginal Density function

Copula pdf

n

iiinn

n

nn

n

xfuuucxxxf

uuu

uuuCuuuc

12121

21

2121

)(),...,,(),...,,(

...

),...,,(),...,,(

Page 8: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Archimedean Copula Distributions

)(

)( 1

0)(

)(lim

0)1(

0t

t

t

Generator Function

Inverse of Generator Function

Properties of Generator Functions

Archimedean Copula Distribution

)}(...)()({)...,,,( 211

21 nn uuuuuuC

Page 9: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Archimedean Copula Distributions (2)

1)exp(,)(

)1(),,(

),,(),,(

321

212

12

321

321

3213

321

321

321

321

tggggg

gggggguuuc

uuu

uuuCuuuc

tuuu

uuuuuu

0,1)exp(

1)exp(ln)(

t

t

Frank Generator Function

Copula Probability Distribution Function

Page 10: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Copula-Based BRDF Model

)(),(),(

)()()();,,(),,(

332211

321321

ddh

ddhddh

FuFuFu

fffuuuKc

)(),(),( 332211 ddh FuFuFu

K

Scaling coefficient:

Marginal Cumulative Distributions:

Page 11: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Copula-Based BRDF Model (2)

...

~

b

bb rstrst

...

~

b

b

b

rst

rst Scaled BRDF values

Measured BRDF values

Sum of measured BRDF values

179,...,1,0 89,...,1,0 89,...,1,0 tsr

89

0

89

0

179

0...

~

r s trstbb

89

0

179

0..

s trstr

r bbfh

i

r

ri

hhfF

0

Marginal Density function Marginal Cumulative Distribution

Page 12: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Copula-Based BRDF Model (3)

)( hF )( dF

)( dF

Empirical cumulative marginal distributions of measured BRDF

Page 13: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

We have observed that the marginal distributions of for specular materials are extremely skewed. Our empirical results showed that copula distributions do not provide satisfactory approximations for these cases.

We overcome this difficulty by dividing data along into subsamples and fitting the BRDF model to each of these subsamples.

We defined 6 subsamples by dividing into 6 non-overlapping intervals each with a length of 90º/6 = 15º.

Copula-Based BRDF Model (3)

d

d

Page 14: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Reciprocity

◦ Copula-Based BRDF Model satisfies reciprocity if we use the identity

Physical Properties of Copula-Based BRDF model

dd

Page 15: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Energy Conservation◦ Our BRDF model depends on a multivariate probability

distribution function but it is scaled by a different coefficient K for each subsumple. In this sense, our model may not be considered as an energy conserving model.

◦ However, for all samples considered in this study, our BRDF model empirically satisfies the energy conservation property.

Physical Properties of Copula-Based BRDF model (2)

Albedo for 3 isotropic materials.Nickel,Yellow-Matte-Plastic,Blue-Metallic-Paint.

Page 16: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Importance sampling is a variance reduction technique in Monte Carlo rendering

Importance Sampling

iioiiioo dLL ωnωωωωω ))(,()()( Rendering Equation

Monte Carlo Estimator of Rendering Equation

n

i oi

ioiiioo p

L

NL

1 )|(

))(,()(1)(

ωω

nωωωωω

Page 17: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

If BRDF model is a probability distribution, it can be simplified to:

Important for real time rendering if is provided.

Importance Sampling

n

iiiiooo Lh

NL

1

).)(()(1

)( nωωωω

Page 18: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

If BRDF can be modeled by a 4 dimensional Archimedean Copula distribution, incoming light vectors can be sampled from

Importance Sampling

)}()({

)}()()()({),|,(

21)2(

4321)2(

uu

uuuuF ooii

)(),(),(),( 44332211 ooii FuFuFuFu

Page 19: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Results

Various spheres were rendered with our Frank copula model using different materials. Columns left to right: alum-bronze, black-oxidized-steel, dark-specular-fabric, green-metallic-paint, pvc and silver-metallic-paint. Rows top to bottom: Reference images were rendered using measured data; images were rendered using our Frank copula model and color-coded difference images (Color-coded differences are scaled by a factor of five to improve the visibility of differences between the real and approximated images).

Page 20: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Results

The PSNR values of the Ashikhmin-Shirley, the Cook-Torrance, the Ward and our Frank copula models. The BRDFs are sorted in the PSNRs of the Ashikhmin-Shirley model (Blue) for visualization purpose.

Image is taken from following paper:

Öztürk, A., Kurt, M., Bilgili, A., A Copula-Based BRDF Model, Computer Graphics Forum, 29(6), 1795-1806, 2010.

Page 21: Aydın ÖZTÜRK Murat KURT Ahmet BİLGİLİ GraphiCon’2010 20th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg,

Thank you !

Questions ?

GraphiCon’201020th International Conference on Computer Graphics and Vision September 20-24, 2010, St.Petersburg, Russia