photo mosaic

32
PHOTO MOSAIC 組組B98902041 組組組 B98902047 B98902107 組組組

Upload: chipo

Post on 22-Feb-2016

31 views

Category:

Documents


0 download

DESCRIPTION

PHOTO MOSAIC. 組員: B98902041 李庚道 B98902047 徐 哲 B98902107 古長霖. WHAT IS PHOTO MOSAIC ?. 圖片來源 : http://www.ou-online.com/blog/?p=366. HOW WE DO IT – Generate the features . STEP 1 Find a sufficient amount of photos in .raw format. HOW WE DO IT – Generate the features . - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: PHOTO  MOSAIC

PHOTO MOSAIC

組員:B98902041 李庚道B98902047 徐 哲B98902107 古長霖

Page 2: PHOTO  MOSAIC

WHAT IS PHOTO MOSAIC ?

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

Page 3: PHOTO  MOSAIC

HOW WE DO IT – GENERATE THE FEATURES STEP 1 Find a sufficient amount of photos in .raw

format

Page 4: PHOTO  MOSAIC

STEP 2 Compress each image into the size of

8x8, 16x16 and 32x32 pixels. We called those compressed images tiles.

HOW WE DO IT – GENERATE THE FEATURES

Page 5: PHOTO  MOSAIC

STEP 3 Divide the 8x8(or 16x16, 32x32) tile into

5 regions(R1~R5)

HOW WE DO IT – GENERATE THE FEATURES

Page 6: PHOTO  MOSAIC

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

HOW WE DO IT – GENERATE THE FEATURES

Page 7: PHOTO  MOSAIC

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)

HOW WE DO IT – GENERATE THE FEATURES

Page 8: PHOTO  MOSAIC

STEP 1 Compress the input image into the image

which both its length and width can be divided by 32

HOW WE DO IT – PREPROCESS FOR THE INPUT IMAGE

Page 9: PHOTO  MOSAIC

STEP 2 Divide the modified image into several

8x8 (16x16, 32x32) images.

HOW WE DO IT – PREPROCESS FOR THE INPUT IMAGE

Page 10: PHOTO  MOSAIC

STEP 1 Calculate the distance between each 8x8

(16x16, 32x32) segment of the input image and the tiles.(We used two kinds of formula)

HOW WE DO IT – FEATURE COMPARISON

Page 11: PHOTO  MOSAIC

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.

HOW WE DO IT – FEATURE COMPARISON

Page 12: PHOTO  MOSAIC

Input Image

RESULT

Page 13: PHOTO  MOSAIC

Input Image after size modification

RESULT

Page 14: PHOTO  MOSAIC

Mosaic using 32x32 tile

RESULT

Page 15: PHOTO  MOSAIC

Mosaic using 16x16 tile

RESULT

Page 16: PHOTO  MOSAIC

Mosaic using 8x8 tile

RESULT

Page 17: PHOTO  MOSAIC

Original imageRESULT

32x32 tile

16x16 tile 8x8 tile

Page 18: PHOTO  MOSAIC

Original imageRESULT

32x32 tile 16x16 tile 8x8 tile

Page 19: PHOTO  MOSAIC

Original image

DISCUSSION – DIFFERENT DISTANCE FORMULA

Formula 1:

Formula 2:

Page 20: PHOTO  MOSAIC

Mosaic with 1200 32x32 tiles in the database

DISCUSSION – DIFFERENT DISTANCE FORMULA

Distance1 Distance2

Page 21: PHOTO  MOSAIC

Mosaic with 1200 16x16 tiles in the database

DISCUSSION – DIFFERENT DISTANCE FORMULA

Distance1 Distance2

Page 22: PHOTO  MOSAIC

Mosaic with 1200 8x8 tiles in the database

DISCUSSION – DIFFERENT DISTANCE FORMULA

Distance1 Distance2

Page 23: PHOTO  MOSAIC

Mosaic with 4886 32x32 tiles in the database

DISCUSSION – DIFFERENT DISTANCE FORMULA

Distance1 Distance2

Page 24: PHOTO  MOSAIC

Mosaic with 4886 16x16 tiles in the database

DISCUSSION – DIFFERENT DISTANCE FORMULA

Distance1 Distance2

Page 25: PHOTO  MOSAIC

Mosaic with 4886 8x8 tiles in the database

DISCUSSION – DIFFERENT DISTANCE FORMULA

Distance1 Distance2

Page 26: PHOTO  MOSAIC

Original imageDISCUSSION – DIFFERENT DATABASE

Page 27: PHOTO  MOSAIC

Mosaic with 500 16x16 tiles in the databaseDISCUSSION – DIFFERENT DATABASE

Page 28: PHOTO  MOSAIC

Mosaic with 1200 16x16 tiles in the databaseDISCUSSION – DIFFERENT DATABASE

Page 29: PHOTO  MOSAIC

Mosaic with 4886 16x16 tiles in the databaseDISCUSSION – DIFFERENT DATABASE

Page 30: PHOTO  MOSAIC

Mosaic with 500 8x8 tiles in the databaseDISCUSSION – DIFFERENT DATABASE

Page 31: PHOTO  MOSAIC

Mosaic with 1200 8x8 tiles in the databaseDISCUSSION – DIFFERENT DATABASE

Page 32: PHOTO  MOSAIC

Mosaic with 4886 8x8 tiles in the databaseDISCUSSION – DIFFERENT DATABASE