Skip to content

Chaoses-Ib/Photomosaic-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photomosaic Generator

Generate Photomosaic by histogram similarity and OpenMP.

Download

Releases

Usage

Allowed options:
  --help                produce help message
  -I [ --images ] arg   * directory of the source images
  -n arg                limit the maximum number of source images
  -t [ --target ] arg   * target image
  --xn arg (=100)       number of x blocks
  --yn arg (=150)       number of y blocks
  --precision arg (=8)  histogram size
  --threads arg         number of threads for generating Photomosaic (0 for serial)
  -o [ --output ] arg   output path

Preview

Original image (source):

Generated Photomosaics:

  • 160*90p
  • 320*180p
  • 533*300p
  • 800*450p
  • 1600*900p