Motion Denoising with Application to Time-lapse Photography Michael - - PowerPoint PPT Presentation

motion denoising
SMART_READER_LITE
LIVE PREVIEW

Motion Denoising with Application to Time-lapse Photography Michael - - PowerPoint PPT Presentation

Motion Denoising with Application to Time-lapse Photography Michael Rubinstein MIT CSAIL Ce Liu Peter Sand Fredo Durand Bill Freeman Microsoft Research NE MIT MIT Time-lapse Videos Construction Natural phenomena Medical


slide-1
SLIDE 1

Michael Rubinstein

MIT CSAIL

Motion Denoising

with Application to Time-lapse Photography

Ce Liu

Microsoft Research NE

Peter Sand Fredo Durand

MIT

Bill Freeman

MIT

slide-2
SLIDE 2

Time-lapse Videos

Construction Natural phenomena Medical Biological/Botanical

slide-3
SLIDE 3

For Personal Use Too!

Source: YouTube

9 months 7 years 16 years

http://www.danhanna.com/aging_project/p.html

slide-4
SLIDE 4

“Stylized Jerkiness”

slide-5
SLIDE 5

Motion Denoising

Time World Time-lapse Space Motion denoising

slide-6
SLIDE 6

Motion Denoising

Motion denoising

slide-7
SLIDE 7
  • Video summarization (video  time-lapse)
  • Time-lapse editing

Time-lapse in Vision/Graphics Research

[Bennett and McMillan 2007] [Pritch et al. 2008] [Sunkavalli et al. 2007]

slide-8
SLIDE 8
  • Naïve low-pass (temporal) filtering

– Pixels of different objects are averaged

  • Smoothing motion trajectories

– Motion estimation in time-lapse videos is hard! * Motion discontinuities * Color inconsistencies

Motion Denoising is Challenging!

KLT tracks

slide-9
SLIDE 9
  • Key idea: long-term events in videos can be statistically

explained within some local spatiotemporal support, while short- term events are more distinctive

– Assumption: world is smooth – Short-term variation = noise, long-term variation = signal

  • Our algorithm reshuffles the pixels in both space and time to

maintain long-term events in the video, while removing short- term noisy motions

Formulation

slide-10
SLIDE 10

𝐹 𝑥 = |𝐽 𝑞 + 𝑥(𝑞) − 𝐽(𝑞

𝑞

)| + 𝛽 𝐽(𝑞 + 𝑥 𝑞 ) − 𝐽 𝑠 + 𝑥(𝑠)

2 𝑞,𝑠∈𝑂𝑢(𝑞)

+ 𝛿 𝜇𝑞𝑟|𝑥 𝑞 − 𝑥 𝑟 |

𝑞,𝑟∈𝑂(𝑞)

Formulation

𝑞 = (𝑦, 𝑧, 𝑢) 𝐽 – input video, 𝐽(𝑞 + 𝑥 𝑞 ) – output video 𝑂𝑢 𝑞 - Temporal neighbors of 𝑞, 𝑂 𝑞 - Spatiotemporal neighbors of 𝑞 𝑥 𝑞 ∈ 𝜀𝑦, 𝜀𝑧, 𝜀𝑢 : |𝜀𝑦| ≤ Δ𝑡, 𝜀𝑧 ≤ Δ𝑡, 𝜀𝑢 ≤ Δ𝑢 - displacement field 𝜇𝑞𝑟 = exp −𝛾 𝐽 𝑞 − 𝐽 𝑟

2 , 𝛾 = 2

𝐽 𝑞 − 𝐽 𝑟

2 −1

Fidelity (to input) Temporal coherence (of the result) Regularization (of the warp)

slide-11
SLIDE 11
  • Optimized discretely on a 3D MRF

– Nodes represent pixels – state space of each pixel = volume of possible spatiotemporal shifts

  • Complicated (huge!) inference problem

– E.g. 5003 nodes, 103 states per node – Optimize using Loopy Belief Propagation

Optimization

slide-12
SLIDE 12
  • Potential functions

message passing

– Message structure stored on disk; read and write message chunks on need

𝜔𝑞 𝑥 𝑞 = 𝐽 𝑞 + 𝑥 𝑞 − 𝐽 𝑞 𝜔𝑞𝑠

𝑢

𝑥 𝑞 ,𝑥 𝑠 = 𝛽 𝐽 𝑞 + 𝑥 𝑞 − 𝐽 𝑠 + 𝑥 𝑠

𝟑 +

𝛿𝜇𝑞𝑠|𝑥 𝑞 − 𝑥 𝑠 | 𝜔𝑞𝑟

𝑢

𝑥 𝑞 ,𝑥 𝑟 = 𝛿𝜇𝑞𝑟|𝑥 𝑞 − 𝑥 𝑟 |

Optimization

Linear in state space + Pre-compute Quadratic in state space (non convex) Quadratic in state space But can be computed in linear time (distance transforms)

slide-13
SLIDE 13
  • Spatiotemporal video pyramid

– Smooth spatially – Sample temporally

  • Displacements in the coarse level

used as centers for the search volume in the finer level

Multi-scale Processing

slide-14
SLIDE 14

Results

x y future past

slide-15
SLIDE 15

Comparing with Other Optimization Techniques

slide-16
SLIDE 16

Results

x y future past

slide-17
SLIDE 17

Results

slide-18
SLIDE 18

Comparison with Naïve Temporal Filtering

x t

slide-19
SLIDE 19

Support Size

slide-20
SLIDE 20

Motion-scale Decomposition

slide-21
SLIDE 21

Motion-scale Decomposition

slide-22
SLIDE 22

Other Scenarios

slide-23
SLIDE 23
  • User-controlled motion scales

– Not necessarily binary decomposition into long-term and short-term

  • Modify the time-lapse capturing process to help post-

processing

– E.g. use short videos instead of still images and find best “path” through the video

  • Explore motion-denoising with time-lapse from other

domains

– Embryos research, satellite imagery

Future Work

slide-24
SLIDE 24

http://csail.mit.edu/mrub/timelapse

Thank you!