580 likes | 597 Views
Applying information theory to quantify and analyze visibility and radiosity complexity in scenes, exploring refinement criteria and scene structure. Research addresses radiosity method challenges and IT applications.
E N D
Universitat Politècnica de Catalunya Departament de Llenguatges i Sistemes Informàtics Programa de Doctorat en Software An Information-Theory Framework for the study of the Complexity of Visibility and Radiosity in a Scene Miquel Feixas i Feixas Director: Mateu Sbert i Casasayas Departament d’Informàtica i Matemàtica Aplicada Universitat de Girona
Contents 1. Introduction 2. Previous Work 3. Scene Visibility Entropy 4. Scene Visibility Complexity 5. Scene Radiosity Entropy and Complexity 6. Refinement Criteria 7. Conclusions and Future Work
Objective 1. Introduction • In this thesis, information-theory tools are applied to visibility and radiosity in order to • quantify the complexity of a scene • obtain new refinementcriteria • The three fundamental pillars of this thesis are Complexity InformationTheory (IT) Radiosity
dependenceorcorrelation • A scene contains information • which is exchanged between its different parts First question 1. Introduction • How can we apply IT to the study of a scene? “When a photon is emitted from a light source and then strikes an object, that photon has effected the transfer of some information ...” (Glassner, 1995) • Informationis considered as a purely probabilistic concept
Accurate computation of the global illumination in a scene, intensities of light over all its surfaces • Realistic images precise treatment of lighting effects physical simulation of the light propagation Main problems Radiosity 1. Introduction • Radiositymethod only considers diffusesurfaces • 1. discretisation of the surfaces into patches • 2.formfactorcomputation • 3. solution of the system of linear equations • 4. visualization of the solution
We look at these problems from an IT approach Radiosity: two main problems 1. Introduction • Scene meshing has to accurately represent illumination variations • But it has also to avoid unnecessary subdivisions of the surfaces • that would increase the number of form factors to be computed • computational cost
Scene • Global illumination simulates theinterreflectionof lightbetween all the surfaces of a scene • This simulation shows a complex behaviour : • orderanddisorder • unpredictability • interactionsbetween subsystemswhich change independenceon how the system issubdivided Complexity 1. Introduction • A very active research area in many different areas • Various interpretations of the term • But, what is complexity? • “A complex object is an arrangement of parts, so intricate as to be hard to understand or deal with” (Webster, 1986)
We introduce acomplexity measurewhich quantifies the degree ofstructureor dependencein a scene This measure is also used to obtain newrefinement criteria Scene complexity and an accurate solution 1. Introduction The difficulty in obtaining an accurate solution mainly depends on the degree of dependence between all the surfaces of the scene
Both measures capture different aspects of scene complexity : entropy randomness or uncertainty mutual information structure or correlation Information theory 1. Introduction • IT deals with the transmission, storage and processing of information • It is used in many different fields • physics, computer science, economics, neurology, learning, etc. • medical image processing, computer vision and robot motion • Information Shannon entropy: uncertainty, diversity • Information transfermutual information: dependence, correlation
Contents 1. Introduction 2. Previous Work 3. Scene Visibility Entropy 4. Scene Visibility Complexity 5. Scene Radiosity Entropy and Complexity 6. Refinement criteria 7. Conclusions and Future Work
Continuous radiosity equation Radiosity method 2. Previous work • The radiosity method solves the problem of illumination in an environment of diffuse surfaces
Form factor properties • Reciprocity • Energy conservation Discrete radiosity equation 2. Previous work • Discrete radiosity equation Form factor Fij • fraction of energy ij
Local lines Global lines Form factor computation 2. Previous work • Analytical solutions • Between two spherical patches • Monte Carlo computation • Uniform area sampling • Uniformly distributed lines
P42 P13 • In each step, an imaginary particle makes a transitionijwith probability Pij • The probabilities of finding the particle in each state iconverge to a stationary distribution w = ( w1, w2, ..., wn ) Random walk 2. Previous work • Random walk in a scene Markov chain • Markov chain : stochastic process • defined over a set of states {1,2, ..., n} • described by a transition probability matrix 3 4 2 1
Random walk in a scene 2. Previous work • Discrete Markov chain:the states form a countable set • states : n patches : np • PijFij • wiai = Ai /AT 3 4 F42 F13 2 1 • Continuous Markov chain:the states form an uncountable set • states dAx • transition probabilities F(x,y) • stationary distributionw(x) = 1 /AT
Refinement criteria for HR 2. Previous work • In hierarchical radiosity, the mesh is generated adaptively • Oracles based on • Transported power • Kernel-smoothness
Discrete random variableX • X: {x1, x2, …, xn}, pi=Pr { X = xi } • Shannon entropyof X : uncertainty, ignorance Entropy is also related to how difficult it is to guess the values of a random variable • Continuous random variable p(x)= density probability of X p(x)= density probability of X 1.0 1.0 0.0 1.0 0.0 1.0 high entropy low entropy Entropy 2. Previous work
Conditional entropy: uncertainty pj|i Information channel X Y {pi} {qj} H(X) H(Y) H(X|Y) I(X,Y) H(Y|X) H(X,Y) Mutual information: shared information, information transfer Discrete channel 2. Previous work pij= pi pj|i
Important inequalities 2. Previous work • Jensen’s inequality: if f (x) is a convex function • Log-sum inequality • Data processing inequality : if X Y Z is a Markov chain, then
Continuous channel 2. Previous work • Continuous entropy • Continuous mutual information • Ic(X,Y)is the least upper bound forI(X,Y) • refinement can never decrease I(X,Y)
What is complexity? 2. Previous work • “The difficulty in constructing an object, in describing a system, in reaching a goal, in performing a task, and so on” (W.Li, 91) • A theory of complexity can be seen as a theory of modelling • object model(condensed information) • “A system is not complex by some abstract criterion but because it is intrinsically hard to model” (Badii and Politi, 1997) • To define complexity of an object we must • divide it into parts which may be further split into subelements (hierarchical model) • establish the interactions at different levels of resolution • As we can model the object from different perspectives, there cannot be a unique indicator of complexity
Statistical complexity: degree of structure, correlation, pattern … Complexity measures 2. Previous work • Many different ways to quantify complexity from different fields (automata, information theory, computer science, physics, biology, neuroscience, …) • How hard is it to describe?: entropy, algorithmic, ... • How hard is it to create?: computational, logical depth, ... • What is the degree of organization? • difficulty of describing organizational structure: effective complexity • amount of information shared between the parts of a system: mutual information
Contents 1. Introduction 2. Previous Work 3. Scene Visibility Entropy 4. Scene Visibility Complexity 5. Scene Radiosity Entropy and Complexity 6. Refinement criteria 7. Conclusions and Future Work
pj|i Fi j X X Y Y {pi} { ai} {qj} { aj} Scene: discrete channel 3. Scene visibility entropy • We model the scene visibility as an information channel
Positional entropy Scene entropy ? ? ? ? Scene mutual information Discrete visibility entropy 3. Scene visibility entropy
Maximum correlation:maximum predictability, privileged visibility directions • Maximum randomness: • no privileged visibility directions, minimum correlation narrow spaces independence Randomness vs correlation 3. Scene visibility entropy • How much uncertainty is there about the next patch? randomness,unpredictability • Information transfer in a scene correlation, dependence
Lines HS IS HP A 106 6.370 5.171 11.541 A 107 6.761 4.779 11.541 B 106 5.072 6.469 11.541 B 107 5.271 6.270 11.541 C 106 4.674 6.867 11.541 C 107 4.849 6.692 11.541 Randomness vs correlation: results 3. Scene visibility entropy A B C
randomness increases with the number of patches correlation increases with the number of objects Results 3. Scene visibility entropy
Entropy is closely related to computational error Entropy and error 3. Scene visibility entropy • Scene entropy and variance of the form factor estimators For a given error, we need to cast more lines for a scene with more entropy
Contents 1. Introduction 2. Previous Work 3. Scene Visibility Entropy 4. Scene Visibility Complexity 5. Scene Radiosity Entropy and Complexity 6. Refinement criteria 7. Conclusions and Future Work
This difficulty depends on: • degree of dependence between all the surfaces • how the interactions change in dependence when the system is subdivided complexity is more than the number of patches • degree of unpredictability entropy mutual information scene complexity Complexity of a scene 4. Scene visibility complexity How difficult is it to compute the visibility and radiosity of a scene with sufficient accuracy? Why analyzescene complexity?: scene classification and optimal discretisation
information loss continuous mutual information expresses with maximum accuracy the scenecomplexity Continuous visibility mutual information 4. Scene visibility complexity By discretising (modelling) a scene, a distortion or error is introduced • From discrete to continuous • • Fij F(x,y) • ai=Ai / AT1/ AT
contribution of each segment Monte Carlo computation 4. Scene visibility complexity x x Lines cast =K Total area =AT Line segments =N y y
ISc=3.837 ISc sphere 0 ISc=4.102 icosahedron 0.543 dodecahedron 0.825 ISc=5.044 octahedron 1.258 cube 1.609 tetrahedron 2.623 Cornell box 3.274 Results 4. Scene visibility complexity
These results can be extended to radiosity and importance Complexity and discretisation 4. Scene visibility complexity Two basic results : 1. If any patch is subdivided, ISincreases or remains the same 2. IScis the least upper bound to IS
Discretisation accuracy 4. Scene visibility complexity discretisation error information transfer loss
Discretisation accuracy 4. Scene visibility complexity
1 Between different discretisations of the same scene the most precise one will be the one that has the highestIS 2 IScexpresses the difficulty of the discretisation The higher the ISc, the more difficult it is to obtain an accurate discretisation is greater in the more complex scenes Discretisation accuracy 4. Scene visibility complexity Two fundamental proposals
Contents 1. Introduction 2. Previous Work 3. Scene Visibility Entropy 4. Scene Visibility Complexity 5. Scene Radiosity Entropy and Complexity 6. Refinement criteria 7. Conclusions and Future Work
Discrete entropy and mutual information From visibility to radiosity 5. Scene radiosity entropy and complexity • Analogy: null variance probability transition matrix
Results 5. Scene radiosity entropy and complexity
From discrete to continuous • Discretisation error Continuous radiosity mutual information 5. Scene radiosity entropy and complexity • Scene radiosity complexity • Monte Carlo computation with constant values over all patches
Patch refinement 5. Scene radiosity entropy and complexity Increase in mutual information between two patchesiandjwhen subdividing a patch iintomsubpatches Same treatment for visibility, radiosity and importance
Contents 1. Introduction 2. Previous Work 3. Scene Visibility Entropy 4. Scene Visibility Complexity 5. Scene Radiosity Entropy and Complexity 6. Refinement criteria 7. Conclusions and Future Work
j Partially occluded pair of patches: maximum increase in mutual infomation corresponds to the discontinuity meshing i Two square patches with common edge Mutual information maximization 6. Refinement criteria • Objective: to maximize the discrete mutual information • Feasibility of IT tools for scene discretisation
Three square patches with common edges Empty cube Mutual information maximization 6. Refinement criteria
information transfer between patches i and j information transfer from patch i Mutual information matrix 6. Refinement criteria
visibility log-sum inequality Monte Carlo integration Discretisation error between two patches 6. Refinement criteria Discretisation error: loss of information transfer
Information theory principles applied to visibility Refinement increases discrete mutual information Mutual information maximization radiosity equation kernel-smoothness based oracle Radiosity Mutual-information-based oracle 6. Refinement criteria patch-to-patch discretisation error
Discretisation error is weighted by Mutual-information-based oracle 6. Refinement criteria Oracle Discretisation error: benefit to be gained by refining