mirror of
https://github.com/stepsal/block_sort.git
synced 2026-08-20 20:45:30 +00:00
block sorting images as opposed to pixel sorting
- Python 100%
| block_sorter_script.py | ||
| blocksorter.py | ||
| color_sort_functions.py | ||
| README.md | ||
block_sort
Block sorting script written in Python. Image is divided up into blocks which can be color sorted in either of 4 ways (rgb, hsv, lum, step)
Usage
Block Sorter Script
optional arguments:
-h, --help show this help message and exit
-b BLOCK_SIZE, --blocksize BLOCK_SIZE
Block Size
-t {rgb,hsv,lum,step}, --sort_type {rgb,hsv,lum,step}
Sort Type
-s STEP_SORT_REPETITIONS, --step_repetitions STEP_SORT_REPETITIONS
Number of Step repetitions for avg_step sort
-i INPUT_DIR, --input INPUT_DIR
input directory