Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaoses-ib/photomosaic-generator
Generate Photomosaic by histogram similarity and OpenMP
https://github.com/chaoses-ib/photomosaic-generator
image-processing opencv openmp photomosaic
Last synced: 19 days ago
JSON representation
Generate Photomosaic by histogram similarity and OpenMP
- Host: GitHub
- URL: https://github.com/chaoses-ib/photomosaic-generator
- Owner: Chaoses-Ib
- License: mit
- Created: 2022-07-10T07:28:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-10T07:53:19.000Z (over 2 years ago)
- Last Synced: 2024-11-18T03:15:39.646Z (3 months ago)
- Topics: image-processing, opencv, openmp, photomosaic
- Language: Jupyter Notebook
- Homepage:
- Size: 10.5 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Photomosaic Generator
Generate [Photomosaic](https://wikipedia.org/wiki/Photographic_mosaic) by histogram similarity and OpenMP.## Download
[Releases](https://github.com/Chaoses-Ib/Photomosaic-generator/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](https://www.pixiv.net/artworks/34844544)):
![](docs/images/original.jpg)Generated Photomosaics:
- 160\*90p
![](docs/images/Photomosaic_90p.png)
- 320\*180p
![](docs/images/Photomosaic_180p.png)
- 533\*300p
![](docs/images/Photomosaic_300p.png)
- 800\*450p
![](docs/images/Photomosaic_450p.png)
- 1600\*900p
![](docs/images/Photomosaic_900p.png)