31
Numerical simulation of water erosion models and some physical models in image processing Gloria Haro Ortega December 2003 Universitat Pompeu Fabra

Numerical simulation of water erosion models and some physical models in image processing

Embed Size (px)

DESCRIPTION

Numerical simulation of water erosion models and some physical models in image processing. Gloria Haro Ortega. December 2003. Universitat Pompeu Fabra. CONTENTS. I. Water, erosion and sedimentation II. Day for night. December 2003 - Universitat Pompeu Fabra. - PowerPoint PPT Presentation

Citation preview

Page 1: Numerical simulation of water erosion models and some physical models in image processing

Numerical simulation of water erosion models and some physical models in

image processing

Gloria Haro Ortega

December 2003 Universitat Pompeu Fabra

Page 2: Numerical simulation of water erosion models and some physical models in image processing

CONTENTS

I. Water, erosion and sedimentation

II. Day for night

December 2003 - Universitat Pompeu Fabra

Gloria Haro Ortega

Page 3: Numerical simulation of water erosion models and some physical models in image processing

I. Water, erosion and sedimentation

CONTENTS:

1. Objective

2. State of the art

3. Proposed model

4. Shallow water equations

5. Numerical implementation

6. Evaluation and results

7. Conclusions

8. Future work

Page 4: Numerical simulation of water erosion models and some physical models in image processing

I. Objective

Find a model based on PDEs (Partial Differential Equations) of the erosion and sedimentation processes produced by the action of rivers.

Page 5: Numerical simulation of water erosion models and some physical models in image processing

I. State of the art

- Models including only erosion

- Models including both erosion and sedimentation but do not model water movement.

- Models that include water thickness evolution and make a simplification of the velocity.

Page 6: Numerical simulation of water erosion models and some physical models in image processing

I. Proposed model

;||)(||

1)(

)()()(

)(

2st

tt

t

t

zzhfuz

zd

udiv

hzd

hguuhdivuh

d

suhdivh

2

21 ||

||

||

1

u

u

zs

;|)(|

)(

|)(|1 2 hz

hz

hz

vu

HYDROSTATIC MODEL:

SIMPLE MODEL:

2|)(|1

)(

hzC

hzhgv

Page 7: Numerical simulation of water erosion models and some physical models in image processing

I. Shallow water equations

SUGUFU yxt )()(

2

1

q

q

h

U

21

21

1

1

2

1)(

qh

q

ghqh

q

q

UF

22

2

21

2

2

1

)(

ghqh

q

qh

q

q

UG

y

x

ghz

ghzS

0

Rarefaction waves

Shock waves

Contact discontinuities

Vacuum formation RLLR ghghuu 22

Page 8: Numerical simulation of water erosion models and some physical models in image processing

I. Numerical implementation

Homogeneous system: Upwind flux difference ENO with Marquina’s Flux Splitting [Fedkiw et al.]

ENO TV(R(ŵ)) TV(w) + O(hr)

0)( xt UFUTime discretization:

)(UAU t Runge-Kutta

Spatial discretization:

x

FFUF ii

x

2/12/1)(

Page 9: Numerical simulation of water erosion models and some physical models in image processing

I. Numerical implementation

Source Term extension: Write source as a divergence [Gascón & Corberán]

Dry fronts and vacuum formation:

Special treatment

Page 10: Numerical simulation of water erosion models and some physical models in image processing

I. Evaluation and results

Dealing with vacuum:

Riemann invariantsWater elevation

Page 11: Numerical simulation of water erosion models and some physical models in image processing

I. Evaluation and results

Steady flow over a hump:

gh

uFr Froude number:

1rF

1rF

1rF

Page 12: Numerical simulation of water erosion models and some physical models in image processing

I. Evaluation and results

Drain on a non-flat bottom:

Page 13: Numerical simulation of water erosion models and some physical models in image processing

I. Evaluation and results

Vacuum occurrence over a step:

Lax-Friedrichs Harten

Page 14: Numerical simulation of water erosion models and some physical models in image processing

I. Evaluation and results

2D evolution test:

Dam break over three mounds.

Page 15: Numerical simulation of water erosion models and some physical models in image processing

I. Conclusions

- Physical model for the erosion and sedimentation processes.

- Extension of a numerical scheme for homogeneous systems so as to include the source term.

- Special treatment of wet/dry boundaries and vacuum formation.

- Experimental evaluation in 1D (2D).

Page 16: Numerical simulation of water erosion models and some physical models in image processing

I. Future work

- Experimental evaluation in 2D.

- Numerical study of the complete erosion-sedimentation model.

-Simulations on real and synthetic topographies.

- Analyse the suitability to generate river networks.

- Study the possible use to interpolate Digital Elevation Maps.

Page 17: Numerical simulation of water erosion models and some physical models in image processing

II. Day for night

CONTENTS:

1. Objective

2. Algorithm

3. Some examples

4. Conclusion

5. Future work

Page 18: Numerical simulation of water erosion models and some physical models in image processing

OBJECTIVE: Transform a ‘day image’ into a ‘night’ version of it including the loss of acuity at low luminances.

+ desired luminance level =

II. Day for night

Page 19: Numerical simulation of water erosion models and some physical models in image processing

TRANSFORMATION IN 5 STEPS

1. Estimation of reflectance values and modification of illuminant.

2. Modification of chromaticity.

3. Modification of luminance.

4. Modification of contrast.

5. Loss of acuity: Diffusion.

II. Day for night algorithm

Page 20: Numerical simulation of water erosion models and some physical models in image processing

dzSkZ

dySkY

dxSkX

)()()(

)()()(

)()()(

Characteristic curve of the film

Estimation of reflectance values and modification of illuminant

Color-matching functions

II.

Page 21: Numerical simulation of water erosion models and some physical models in image processing

- The preceived chromaticity depends on the illumination level.

- Difficult to emulate directly on film.

- We use experimental data in [Stabell & Stabell] to modify the color matching functions.

Modification of chromaticityII.

Page 22: Numerical simulation of water erosion models and some physical models in image processing

Use of the luminous efficiency functions tabulated by the CIE:

bb

aL

L

dVSL

0

0

''

)(')(')('

Modification of luminanceII.

Page 23: Numerical simulation of water erosion models and some physical models in image processing

Human sensitivity to contrast depends on the adaptation luminance. Contrast in night image must be different than in the original daylight scene.

Two ways:

- Approximating the eye‘s performance:

tone reproduction operator [Ward et al.].

- Emulating a photograpic film with

a characteristic curve:

rwat

atn L

LLLL

Lrw

)()'(

nLcLLn )('

1

Modification of contrastII.

Page 24: Numerical simulation of water erosion models and some physical models in image processing

Highest level of acuity achieved at photopic levels.

Spatial summation principle [Cornsweet & Yellott].

))(( 2 III t

0));1(log(1

II

II t

I

II

)1log()(2

Results of existence and uniqueness results, also monotonicity preserving and well-posed [Vázquez et al.].

Loss of acuity: Diffusion

Particular case:

Fast Diffusion Equations

Underlying family of PDE´s:

II.

Page 25: Numerical simulation of water erosion models and some physical models in image processing

Using night spectrum Palomar 1972Using night spectrum CA 1990

Using standard day illuminant D55 Using standard day illuminant D75

II. OTHER EXAMPLES

Page 26: Numerical simulation of water erosion models and some physical models in image processing

Ambient luminance: 1, 0.6, 0.3, 0.1 and -0.1 log cd/m2, 5, 8, 10, 11 and 15 iterations of diffusion respectively from left to right and from top to bottom.

II. OTHER EXAMPLES

Page 27: Numerical simulation of water erosion models and some physical models in image processing

Emulating human vision at night.

Emulating a photographic film (n=3, =1).

Simulated scene at 0.3 log cd/m2

II. OTHER EXAMPLES

Page 28: Numerical simulation of water erosion models and some physical models in image processing

Without changing the variance, a=1

Increasing the variance, a=0.1

Simulated scene at 0.1 log cd/m2

II. OTHER EXAMPLES

Page 29: Numerical simulation of water erosion models and some physical models in image processing

Video sequence

II. OTHER EXAMPLES

Page 30: Numerical simulation of water erosion models and some physical models in image processing

-Transformations based on real physical and visual perception experimental data.

- Modification night illuminant spectrum.

- Novel diffusion equation to simulate the loss of resolution (well-posed, existence and uniqueness results, no ringing suitable for video sequences).

Limitation: assumption that all light in the scene is natural, i.e. one illuminant for the whole image.

II. CONCLUSIONS

Page 31: Numerical simulation of water erosion models and some physical models in image processing

II. FUTURE WORK

-Solve the constraint of one illuminant and simulate artificial lights.

-Include emulations of the developing process, and reformulate the algorithm in terms and units that cinematographers use.