Download
photo mosaic n.
Skip this Video
Loading SlideShow in 5 Seconds..
PHOTO MOSAIC PowerPoint Presentation
Download Presentation
PHOTO MOSAIC

PHOTO MOSAIC

160 Vues Download Presentation
Télécharger la présentation

PHOTO MOSAIC

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. PHOTO MOSAIC 組員: B98902041 李庚道 B98902047 徐 哲 B98902107 古長霖

  2. WHATISPHOTOMOSAIC? 圖片來源:http://www.ou-online.com/blog/?p=366

  3. HOW WEDO IT – Generate the features • STEP 1 Find a sufficient amount of photos in .raw format

  4. HOW WEDO IT – Generate the features • STEP 2 Compress each image into the size of 8x8, 16x16 and 32x32 pixels. We called those compressed images tiles.

  5. HOW WEDO IT – Generate the features • STEP 3 Divide the 8x8(or 16x16, 32x32) tileinto 5 regions(R1~R5)

  6. HOW WEDO IT – Generate the features • STEP 4 Generate the features(R,G,B,Y,I,Q) of each region(There are 30 features in each tile), and write the features in a .txt file

  7. HOW WEDO IT – Generate the features • Introduction of YIQ color space YIQ is the color space used by NTSC color TV system. Y: Brightness I: In-phase (Change from orange to blue) Q: Quadrature-phase (Change from purple to green)

  8. HOW WEDO IT – Preprocess for the input image • STEP 1 Compress the input image into the image which both its length and width can be divided by 32

  9. HOW WEDO IT – Preprocess for the input image • STEP 2 Divide the modified image into several 8x8 (16x16, 32x32) images.

  10. HOW WEDO IT – Feature comparison • STEP 1 Calculate the distance between each 8x8 (16x16, 32x32) segment of the input image and the tiles.(We used two kinds of formula)

  11. HOW WEDO IT – Feature comparison • STEP 2 Find the tile in our database which has the shortest distance with the 8x8(16x16, 32x32) segment of the input image and replace it with the tile.

  12. Result • Input Image

  13. Result • Input Image after size modification

  14. Result • Mosaic using 32x32 tile

  15. Result • Mosaic using 16x16 tile

  16. Result • Mosaic using 8x8 tile

  17. Result • 32x32 tile • Original image • 16x16 tile • 8x8 tile

  18. Result • 32x32 tile • 16x16 tile • 8x8 tile • Original image

  19. Discussion – Different distance formula • Formula 1: • Original image • Formula 2:

  20. Discussion – Different distance formula • Distance1 • Distance2 • Mosaic with 1200 32x32 tiles in the database

  21. Discussion – Different distance formula • Distance1 • Distance2 • Mosaic with 1200 16x16 tiles in the database

  22. Discussion – Different distance formula • Distance1 • Distance2 • Mosaic with 1200 8x8 tiles in the database

  23. Discussion – Different distance formula • Distance1 • Distance2 • Mosaic with 4886 32x32 tiles in the database

  24. Discussion – Different distance formula • Distance1 • Distance2 • Mosaic with 4886 16x16 tiles in the database

  25. Discussion – Different distance formula • Distance1 • Distance2 • Mosaic with 4886 8x8 tiles in the database

  26. Discussion – Different database • Original image

  27. Discussion – Different database • Mosaic with 500 16x16 tiles in the database

  28. Discussion – Different database • Mosaic with 1200 16x16 tiles in the database

  29. Discussion – Different database • Mosaic with 4886 16x16 tiles in the database

  30. Discussion – Different database • Mosaic with 500 8x8 tiles in the database

  31. Discussion – Different database • Mosaic with 1200 8x8 tiles in the database

  32. Discussion – Different database • Mosaic with 4886 8x8 tiles in the database