realistic image synthesis
play

Realistic Image Synthesis - Spatio-temporal Sampling and - PowerPoint PPT Presentation

Realistic Image Synthesis - Spatio-temporal Sampling and Reconstruction. Exploiting Temporal Coherence. Motion Blur . - Philipp Slusallek Karol Myszkowski Gurprit Singh Realistic Image Synthesis SS18 Spatio-temporal Sampling &


  1. Realistic Image Synthesis - Spatio-temporal Sampling and Reconstruction. Exploiting Temporal Coherence. Motion Blur . - Philipp Slusallek Karol Myszkowski Gurprit Singh Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction Karol Myszkowski

  2. Overview • Today – Sampling and reconstruction of spatio-temporal functions – Motion compensation techniques – Antialiasing techniques in animation • the amount of blur should be minimized – Exploting temporal coherence in global illumination – Motion blur techniques • blur is intentionally introduced to model controllable shutter speed Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  3. Reading Materials Basic: • M.Tekalp, Digital Video Processing, Prentice Hall, Signal Processing Series, 1995 • K. Sung, A. Pearce, C. Wang, Spatial-Temporal Antialiasing, IEEE Transactions on Visualization and Computer Graphics, Vol.8, No.2, pp. 144-153, 2002 • M. Shinya, Spatial Antialiasing for Animation Sequences with Spatio-temporal Filtering, In Proceedings of ACM Siggraph 93, pp. 289-296 Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  4. Spatio-Temporal Fourier Spectrum • Assumption: the temporal variations in the image intensity pattern can be approximated by a simple motion model • Motion trajectory - a curve in the 3D space (x 1 ,x 2 ,t) which is followed by a given point in image plane Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  5. Spatio-Temporal Fourier Spectrum • For simplicity let us consider the frame-to-frame intensity variations s c (x 1 ,x 2 ,t) only for the case of global motion with constant velocity (v 1 ,v 2 ) :       s ( x , x , t ) s ( x v t , x v t , 0 ) s ( x v t , x v t ) c 1 2 c 1 1 2 2 0 1 1 2 2  where s ( x , x ) denotes the reference frame at t 0 . 0 1 2 0  Fourier transform of spatio temporal function s ( x , x , t ) : c 1 2             j 2 ( F x F x F t ) S ( F , F , F ) s ( x , x , t ) e dx dx dt 1 1 2 2 t c 1 2 t c 1 2 1 2                       j 2 ( F x F x F t ) s ( x v t , x v t ) e dx dx dt x x v t 1 1 2 2 t 0 1 1 2 2 1 2 i i i                     j 2 ( F x F x ) j 2 ( F v F v F ) t s ( x , x ) e dx dx e dt 1 1 2 2 1 1 2 2 t 0 1 2 1 2            S ( F , F , F ) S ( F , F ) ( F v F v F ) c 1 2 t 0 1 2 1 1 2 2 t Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  6. Spatio-Temporal Fourier Spectrum      S ( F , F , F ) S ( F , F ) ( F v F v F ) c 1 2 t 0 1 2 1 1 2 2 t thus the support of is limited to a plane S ( F , F , F ) c 1 2 t    F v F v F 0 1 1 2 2 t The spectral support of animation function s c (x 1 ,x 2 ,t) with global, uniform velocity motion Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  7. Spatio-Temporal Fourier Spectrum For the bandlimite d image s (x ,x ) such that 0 1 2    S ( F , F ) 0 for F B and F B 0 1 2 1 1 2 2 the animation sequence s (x ,x , t) is also bandlimite d c 1 2 in the temporal domain     S ( F , F , F ) 0 for F B where B B v B v c 1 2 t t t t 1 1 2 2 Projection of the S c (F 1 , F 2 , F t ) support into (F 1 ,F t ) plane for F 1 v 1 +F t =0 Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  8. Sampling on a Spatio-Temporal Lattice • Sampling frequencies above the Nyquist limit, ie. above 2B 1 , 2B 2 , and 2B t f 1 f 1 f t f t v 1 >0 and v 2 =0 v 1 = v 2 =0 Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  9. Sampling on a Spatio-Temporal Lattice • Sampling frequencies under the Nyquist limit – v 1 = v 2 =0: spectral replicas overlap • aliasing-free reconstruction of s c (x 1 ,x 2 ,t) is not possible – v 1 >0 and v 2 =0: spectral replicas interleaved • ideal reconstruction possible! (requires special reconstruction filter) f 1 f 1 f t f t v 1 >0 and v 2 =0 v 1 = v 2 =0 Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  10. Sampling on a Spatio-Temporal Lattice • Critical velocities: f 1 – Frequency domain interpretation: • velocities that for a given spatial bandwidth of s c (x 1 ,x 2 ,t) and sampling lattice result in overlapping of the replicas. f t – Spatio-temporal domain interpretation • motion trajectory cannot pass through an existing sample in any of N consecutive frames used for the reconstruction (otherwise such a sample does not provide „new“ information) • Example: – Assumption: frames are spatially sub-Nyquist sampled by a factor of 2. – Samples collected for four consecutive frames make possible ideal reconstruction of frame k under the condition that any motion trajectory does not pass through an existing sample for the next three frames k+1, k+2 , and k+3 . – Velocities v=0, v=1, v=1/2, and v=1/3 (measured in pixels per frame) are the critical velocities in this example Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  11. Motion-compensated Filtering • Optimum filtering strategy for noise removal and reconstruction – samples along motion trajectory contain different noisy realizations of the reconstructed value • Algorithm: Filtration the input frame at point (x 1 ,x 2 ,t) – 1-D signal along the motion trajectory traversing (x 1 ,x 2 ,t) is convolved with 1-D filter function operating along this trajectory within the support of K frames – motion-compensated low-pass filter with the cutoff frequencies B 1 , B 2 , and B t       and 1 F B , F B , -v F-v F B F -v F-v F B  1 1 2 2 1 2 2 t t 1 2 2 t H ( F , F , F ) { 1 2 t otherwise 0 the filter spatio-temporal frequency support matches the support of the reconstructed animation function which is limited to a plane    F v F v F 0 1 1 2 2 t Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  12. Motion-compensated Filtering • Filtering without motion compensation leads to blurry images for quickly moving objects or camera Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  13. Motion-compensated Filtering • Adaptive filtering algorithm: – Assumption: Intensity of samples along a precisely computed motion trajectory should be similar – This assumption may not hold because of • inaccuracies in the computation of motion trajectory • occlusions/disocclusions (lead to motion trajectory bifurcations) • view-dependent changes in shading for glossy and specular objects • changes in the scene, eg., lighting, object deformations – If this assumption does not hold then • stop collecting samples in the temporal domain and normalize the reconstruction filter weights due to its narrower support – result: increase of noise • or instead of collecting samples in the temporal domain, collect samples of similar intensity in the spatial domain and process them using the reconstruction filter – result: increase of blur Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  14. Motion-compensated Filtering • Occlusion problem Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  15. Motion-compensated Filtering • All derivations so far were performed under the assumption of constant velocity for the whole image plane – in practice these derivations remain valid for any coherent block of pixels when applied over a short period of time • The critical issue is the accuracy of motion trajectories – for natural image sequences difficult to acquire • optical flow computation – for synthetic images easy to compute even with subpixel accuracy • camera motion compensation • object motion compensation Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

  16. Natural Image Sequences • The optical flow derivation – mathematical model: „intensity does not change along motion trajectory“ ds ( x , x , t )  c 1 2 0 dt and after applying the chain differenti ation rule    s ( x , x , t ) s ( x , x , t ) s ( x , x , t )    c 1 2 c 1 2 c 1 2 v ( x , x , t ) v ( x , x , t ) 0    1 1 2 2 1 2 x x t 1 2   where v ( x , x , t ) dx / dt and v ( x , x , t ) dx / dt 1 1 2 1 2 1 2 2 Aperture 2 • Problems – image gradients are required • surfaces with textures or complex shading are desirable – changes in shading can be confusing – lack of coherence due to occlusions/dissoclusions – aperture problem Aperture 1 Realistic Image Synthesis SS18 – Spatio-temporal Sampling & Reconstruction

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend