Batch Sampler Code
A small tool for batch sampling rectangular regions from images.
Brought to you by:
affine
File | Date | Author | Commit |
---|---|---|---|
trunk | 2013-01-17 |
![]() |
[a55e9f] fixed packing on non-windows platforms |
readme.txt | 2013-01-17 |
![]() |
[beb457] second commit |
Desc: Batch Sampler v1.0 Author: Thomas Havlik email: t.havlik@live.com Date: 16 January 2013 License: WTFPL This tool takes an input image (PNG, TGA, or JPG) and produces an output image constructed from randomly sampled rectangular regions of a given size. Running the tool without any command line options produces the following message, which is pretty self explanatory: Batch Sampler v1.0 by Thomas Havlik (t.havlik@live.com) Last update: 16 January 2013 ------------------------------------------------------------------------------ Usage: batchsampler.exe filename tileCountX tileCountY tileSizeX tileSizeY output Example: \batchsampler.exe in.jpg 8 8 128 128 out.tga\ Will produce a 1024x1024 image of an 8x8 sampling grid. TGA, PNG, and JPG are 'fully' supported. Use a .bat file or script of some sort if you want to do batches. Nasty source code is available upon request. Released under WTFPL license (DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE)