Skip to content

Reconstructing an image by concatenating tiny images or patches.

Notifications You must be signed in to change notification settings

a-m-farahani/ImageMosaic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ImageMosaic

Reconstructing an image by concatenating tiny images or patches. I used images of CIFAR-100 as image patches but you can change the ImageTransform function to read images from other sources like your own images.

Example:

Usage:

converter = Image2Mosaic("path to cifar-100 images file", super_pixel_size=(3,3))
result = converter.Convert("images/girl.jpg", size=(729,729))

**Note that size=(h,w), h and w must be divisible by super_pixel_size=(dh,dw). In this example I used size=(729,729) which 729 is divisible by 3.

About

Reconstructing an image by concatenating tiny images or patches.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages