-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.cfg
34 lines (26 loc) · 1.67 KB
/
config.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Rules about file structure:
// Rule nr 1 - mosaicsDirectoryAbsolutePath variable contains path to the folder where are mosaic folders. Every folder in mosaicsDirectoryAbsolutePath path corresponds to one mosaic.
// Rule nr 2 - All folders in mosaicsDirectoryAbsolutePath are named in sequence [mosaic_1, mosaic_2, mosaic_3, ..., mosaic_n]. numberOfMosaics variable contains information about number of mosaics to stitch (must correspond to number of folders in mosaicsDirectoryAbsolutePath).
// Rule nr 3 - Information about the coordinates of tile in mosaic must be in format "_XX_YX". For example if your images names are "tile_X0_Y0" and "tile_X1_Y0" you need to put value of "tile_XX_YX" to variable named "tilesBaseName". Tile name format must be the same in all mosaic folders in mosaicsDirectoryAbsolutePath.
// Example file structure:
// - my_mosaics
// - mosaic_1
// - tile_X0_Y0.tif
// - tile_X0_Y1.tif
// - mosaic_2
// - tile_X0_Y0.tif
// - tile_X0_Y1.tif
// Corresponding config file:
// mosaicsDirectoryAbsolutePath = "{path_to_my_mosaics}/my_mosaics";
// numberOfMosaics = 4;
// tilesBaseName = "tile_XX_YX.tif";
// Other parameters you can set:
// mosaicsSaveAbsolutePath - path where stitched mosaics will be saved
// angleParameter, percentOverlap, shiftParameter - algorithm parameters
mosaicsDirectoryAbsolutePath = "/Users/aleksander.grzyb/Dropbox/studies/studia_magisterskie/praca_magisterska/software/Mosaic Stitcher/Mosaic Stitcher/mosaics";
numberOfMosaics = 4;
tilesBaseName = "tile_XX_YX.tif";
mosaicsSaveAbsolutePath = "/Users/aleksander.grzyb/Desktop";
angleParameter = 1.00;
percentOverlap = 0.12;
shiftParameter = 0.10;