seam carving for content aware
play

Seam Carving for Content-Aware Finding Optimal Seams Image - PowerPoint PPT Presentation

Seam Carving for Image Resizing Overview Definitions Seam Carving for Content-Aware Finding Optimal Seams Image Resizing Optimal Seams Order Results Video Synopsis Ricardo David Casta neda Marin Experiments References Computer


  1. Seam Carving for Image Resizing Overview Definitions Seam Carving for Content-Aware Finding Optimal Seams Image Resizing Optimal Seams Order Results Video Synopsis Ricardo David Casta˜ neda Marin Experiments References Computer Graphics at Instituto de Matematica Pura e Aplicada VISGRAF November 29, 2007

  2. Overview Seam Carving for Image Resizing Overview Content Aware − → Energy Preservation Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Image and its Energy

  3. Overview Seam Carving for Image Resizing Content Aware − → Energy Preservation Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Different strategies for energy preservation

  4. Definitions Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams ◮ Image: I = I ( i , j ) of size n × m . Optimal Seams Order Results Video Synopsis Experiments References

  5. Definitions Seam Carving for Image Resizing ◮ Image: I = I ( i , j ) of size n × m . Overview ◮ Vertical Seam: { ( i , S ( i )) } n i =1 , such that Definitions | S ( i ) − S ( i − 1) | ≤ 1 , ∀ i > 1. Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Vertical Seam

  6. Definitions Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams ◮ Image: I = I ( i , j ) of size n × m . Optimal Seams Order ◮ Vertical Seam: { ( i , S ( i )) } n i =1 , such that Results | S ( i ) − S ( i − 1) | ≤ 1 , ∀ i > 1. Video Synopsis Experiments ◮ Energy: e 1 ( I ) = | ∂ I ∂ x | + | ∂ I ∂ y | = E . References

  7. Definitions Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams ◮ Image: I = I ( i , j ) of size n × m . Optimal Seams Order ◮ Vertical Seam: { ( i , S ( i )) } n i =1 , such that Results | S ( i ) − S ( i − 1) | ≤ 1 , ∀ i > 1. Video Synopsis Experiments ◮ Energy: e 1 ( I ) = | ∂ I ∂ x | + | ∂ I ∂ y | = E . References ◮ Seam Cost: cost ( S ) = Σ n i =1 E ( i , S ( i )) .

  8. Definitions Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams ◮ Image: I = I ( i , j ) of size n × m . Optimal Seams Order ◮ Vertical Seam: { ( i , S ( i )) } n i =1 , such that Results | S ( i ) − S ( i − 1) | ≤ 1 , ∀ i > 1. Video Synopsis Experiments ◮ Energy: e 1 ( I ) = | ∂ I ∂ x | + | ∂ I ∂ y | = E . References ◮ Seam Cost: cost ( S ) = Σ n i =1 E ( i , S ( i )) . ◮ Optimal Seam: S ∗ = min S { cost ( S ) } .

  9. How to find Optimal Seams? Seam Carving for Image Resizing Overview ◮ M ( i , j ) = Minimum Cost from Row 1 to ( i , j ) in E. Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References

  10. How to find Optimal Seams? Seam Carving for Image Resizing Overview ◮ M ( i , j ) = Minimum Cost from Row 1 to ( i , j ) in E. Definitions = E ( i , j ) + min { M ( i − 1 , j − 1) , M ( i − 1 , j ) , M ( i − 1 , j + 1) } Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References

  11. How to find Optimal Seams? Seam Carving for Image Resizing Overview ◮ M ( i , j ) = Minimum Cost from Row 1 to ( i , j ) in E. Definitions = E ( i , j ) + min { M ( i − 1 , j − 1) , M ( i − 1 , j ) , M ( i − 1 , j + 1) } Finding Optimal Seams ◮ S ∗ ( n ) = minArg j M ( n , j ) Optimal Seams Order Results Video Synopsis Experiments References

  12. How to find Optimal Seams? Seam Carving for Image Resizing Overview ◮ M ( i , j ) = Minimum Cost from Row 1 to ( i , j ) in E. Definitions = E ( i , j ) + min { M ( i − 1 , j − 1) , M ( i − 1 , j ) , M ( i − 1 , j + 1) } Finding Optimal Seams ◮ S ∗ ( n ) = minArg j M ( n , j ) Optimal Seams Order ◮ S ∗ ( i ) = minArg S ( i +1) − 1 ≤ j ≤ S ( i +1)+1 M ( i , j ) Results Video Synopsis Experiments References

  13. How to find Optimal Seams? Seam Carving for Image Resizing ◮ M ( i , j ) = Minimum Cost from Row 1 to ( i , j ) in E. Overview = E ( i , j ) + min { M ( i − 1 , j − 1) , M ( i − 1 , j ) , M ( i − 1 , j + 1) } Definitions ◮ S ∗ ( n ) = minArg j M ( n , j ) Finding Optimal ◮ S ∗ ( i ) = minArg S ( i +1) − 1 ≤ j ≤ S ( i +1)+1 M ( i , j ) Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Finding Optimal Seams

  14. How to find Optimal Seams? Seam Carving for Image Resizing Overview ◮ M ( i , j ) = Minimum Cost from Row 1 to ( i , j ) in E. Definitions = E ( i , j ) + min { M ( i − 1 , j − 1) , M ( i − 1 , j ) , M ( i − 1 , j + 1) } Finding Optimal Seams ◮ S ∗ ( n ) = minArg j M ( n , j ) Optimal Seams Order ◮ S ∗ ( i ) = minArg S ( i +1) − 1 ≤ j ≤ S ( i +1)+1 M ( i , j ) Results Video Synopsis Experiments References Figure: Finding Optimal Seams

  15. Optimal Seams Order Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order ◮ Transport Map: T ( i , j ) = Minimum cost of removing i Results rows and j columns . Video Synopsis Experiments References

  16. Optimal Seams Order Seam Carving for Image Resizing ◮ Transport Map: T ( i , j ) = Minimum cost of removing i Overview Definitions rows and j columns . Finding Optimal ◮ T ( r , c ) = min { T ( r − 1 , c )+ X ( r − 1 , c ) , T ( r , c − 1)+ Y ( r , c − 1) } . Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Computing T

  17. Optimal Seams Order Seam Carving for Image Resizing Overview ◮ Transport Map: T ( i , j ) = Minimum cost of removing i Definitions rows and j columns . Finding Optimal Seams ◮ T ( r , c ) = min { T ( r − 1 , c )+ X ( r − 1 , c ) , T ( r , c − 1)+ Y ( r , c − 1) } . Optimal Seams ◮ Backtracking 0 = row , 1 = column . Order Results Video Synopsis Experiments References Figure: Backtracking

  18. Seam Removal Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Removal

  19. Seam Removal Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Removal

  20. Seam Removal Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Removal

  21. Seam Removal Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Removal

  22. Seam Removal Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Removal

  23. Seam Removal Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Removal

  24. Seam Removal Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Removal

  25. Seam Insertion Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Insertion

  26. Seam Insertion Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Insertion

  27. Seam Insertion Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Insertion

  28. Seam Insertion Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Insertion

  29. Seam Insertion Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Seam Insertion

  30. Amplification Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Amplification

  31. Amplification Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Amplification

  32. Amplification Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Amplification

  33. Video Synopsis Seam Carving for Image Resizing Overview ⇒ Deleting redundancies in time. Definitions Finding Optimal Seams Optimal Seams Order Results Video Synopsis Experiments References Figure: Synopsis video: The baby and the child appear at different times in the original video, while the synopsis video can represent them at the same time.

  34. Seam Carving in Time Seam Carving for Image Resizing Overview Definitions Finding Optimal Seams ◮ Sequence of Images: f ( i , j , t ), with k frames of size Optimal Seams Order n × m Results Video Synopsis Experiments References

Recommend


More recommend