schedule
play

Schedule Tuesday, May 10: Motion microscopy, separating shading - PowerPoint PPT Presentation

Schedule Tuesday, May 10: Motion microscopy, separating shading and paint Thursday, May 12: 5-10 min. student project presentations, projects due. Computer vision for photography Bill Freeman Computer Science and Artificial


  1. Schedule • Tuesday, May 10: – Motion microscopy, separating shading and paint • Thursday, May 12: – 5-10 min. student project presentations, projects due.

  2. Computer vision for photography Bill Freeman Computer Science and Artificial Intelligence Laboratory, MIT

  3. Multiple-exposure images by Marey

  4. Edgerton

  5. Computational photography Update those revealing photographic techniques with digital methods. 1) Shapetime photography 2) Motion microscopy 3) Separating shading and paint

  6. Shapetime photography Joint work with Hao Zhang, U.C. Berkeley

  7. Video frames Multiple- exposure Layer- Shape- By-Time Time

  8. “how to sew”

  9. “inside-out” Input sequence Shape-Time composite

  10. Insert pictures describing zcam, and initial results

  11. Motion Magnification Ce Liu Antonio Torralba William T. Freeman Fredo Durand Edward H. Adelson

  12. Goal A microscope for motion You focus the microscope by specifying which motions to magnify, and by how much; the motion microscope then re-renders the input sequence with the desired motions magnified.

  13. The naïve solution has artifacts Original sequence Naïve motion magnification Amplified dense Lukas-Kanade optical flow. Note artifacts at occlusion boundaries.

  14. Motion magnification flowchart 1 2 3 Input raw video Find feature Cluster Register frames sequence point trajectories trajectories 7 6 5 4 Magnify Render magnified Segment Interpolate dense selected layer, video sequence flow into layers optical flow Fill-in textures Layer-based motion analysis

  15. 1 Video Registration • To find a reliable set of feature points that are “still” in the sequence – Detect and track feature points – Estimate the affine motion from the reference frame to each of the rest frames – Select feature points that are inliers through all the frames – Affine warping based on the inliers

  16. Inliers (red) and outliers (blue)

  17. Registration results

  18. 2 Find feature point trajectories • An EM algorithm to find both trajectory and region of support for each feature point – E-step: to use the variance of matching score to compute the weight of the neighboring pixels – M-step: to track feature point based on the region of support • The following feature points are pruned – Occluded (matching error) – Textureless (motion coherence) – Static (zero motion)

  19. Learned regions of support for features

  20. Robust feature point tracking

  21. Minimal SSD match to find feature point trajectories

  22. Use EM to find regions of support and prune low-likelihood trajectories

  23. 3 Trajectory clustering We need to cluster trajectories belonging to the same object, despite: Points have different appearances Undergo very small motions, of varying amplitudes and directions Vy Vx Vx Vy time time

  24. 3 Compatibility function used to group feature point trajectories ρ n,m : compatibility between the nth and mth point trajectories. v x (n,k): the displacement, relative to the reference frame, of the nth feature point in the kth frame. Using the ρ n,m compatibilities, cluster the point trajectories using normalized cuts.

  25. Clustering results

  26. 4 Dense optical flow field interpolation • For each layer (cluster) a dense optical flow field (per pixel) is interpolated • Use local weighted linear regression to interpolate between feature point trajectories. Dense trajectories interpolated Clustered feature point trajectories for each cluster

  27. 5 Segment flow into layers • Assign each pixel to a motion cluster layer, using four cues: – Motion likelihood – Color likelihood – Spatial connectivity – Temporal coherence • Energy minimization using graph cuts

  28. Motion segmentation results Note we have 2 special layers: the background layer (gray), and the outlier layer (black).

  29. 6, 7 Magnification, texture fill-in and rendering • Amplify the motion of the selected layers by warping the reference image pixels accordingly. • Render unselected layers without magnification. • Fill-in holes revealed in background layer using Efros-Leung texture synthesis • Directly pass-through pixel values of the outlier layer.

  30. Summary of motion magnification steps

  31. Results • Demo

  32. Layered representation

  33. Is the signal really in the video? (yes) Magnified Original 25 frames

  34. Swingset details Proper handing Beam bending of occlusions Artifact

  35. time Magnified 480x640 pixels 44 frames time Bookshelf Original

  36. time Magnified Bookshelf deforms less, further from force time Original 480x640 pixels 44 frames

  37. Outtakes from imperfect segmentations

  38. Breathing Mike Original sequence…

  39. Breathing Mike 8 clusters 2 clusters Feature points 4 clusters

  40. Sequence after magnification… Breathing Mike

  41. Sequence after magnification… Standing Mike

  42. Crane

  43. 2 clusters 8 clusters Crane Feature points 4 clusters

  44. Things can go horribly wrong sometimes… Crane

  45. What next • Continue improving the motion segmentation. – Motion magnification is “segmentation artifact amplification”—a good test bed. • Real applications – Videos of inner ear – Connections with mechanical engineering dept. • Generalization: amplifying small differences in motion. – What’s up with Tiger Woods’ golf swing, anyway?

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