README.md 528 Bytes
Newer Older
Ortner, Joshua's avatar
Ortner, Joshua committed
1
2
# ai4hdr_backend

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## "sliceImage.py" program:
Slices an image into even sized tiles. 
Note: if the slice size doesn't fit evenly into the size of 
      the original image, pixels will be lost.

## Command line arguments
 - arg1: name of image file used for slicing
 - arg2: file name used as base for all slices
 - arg3: width of new slices
 - arg4: height of new slices
 - arg5: directory to save slices 

## Example run
```bash
python sliceImage.py ../image_database/GeoEye_After011310.jpg base 512 512 ../image_database/
```