README.md 1.48 KB
Newer Older
janosch's avatar
janosch committed
1
2
# Macro Collection for BigStitcher Automation

janosch's avatar
janosch committed
3
4
by Stephan Janosch, janosch@mpi-cbg.de, https://orcid.org/0000-0002-2401-6862

janosch's avatar
janosch committed
5
6
7
8
9
First you run ***stich_a_day*** on a folder with daily recordings. This takes a while.

Second you run fix filenames somewhere in output folder. This fixes the filename (which takes a long time) and generates quickview jpgs.


janosch's avatar
janosch committed
10
11
12
13
14
## stitch_a_day

2 macros for stitching:
- a directory hierarchie full of
- tifs, each containing multiple channels and tiles
janosch's avatar
janosch committed
15
16
17

Indicate files for stitiching via ***_stitch_*** or any other substring

janosch's avatar
janosch committed
18
19
1 macro for just doing a fusion for all xmls in a daily recording folder. 

janosch's avatar
janosch committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
### MacOs

A directory naming convention like this works
```
/Volumes/SarovHFSP/2018-09-18 SD1 Andre/TRG_1678/
```

```
TRG_1678_16C_to_25C_TimelapseZ_0.tif	TRG_1678_@16C_stitch_1.tif
TRG_1678_16C_to_25C_timelapseZ_1.tif	TRG_1678_@16C_stitch_2.tif
TRG_1678_@16C_stitch_0.tif		TRG_1678_@28C_stitch_0.tif
```

### Windows

janosch's avatar
janosch committed
35
36
37
38
map network drive. Have the days folders in the root of the drive

```
Z:\2018-09-18 SD1 Andre\TRG_1678\
janosch's avatar
janosch committed
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
```

### stitch_a_day_macos.ijm

Does the whole pipeline on mac

### stitch_a_day_windows.ijm

Does the pipeline on windows

### stitch_a_day_windows_fusion_only1x.ijm

Does only the fusion for a daily recording folder

### fix_filenames_and_create_quickview.ijm

janosch's avatar
janosch committed
55
Fixes all filenames for suffixed-output files. Directory needed to be created via a script above. Select at least one folder above your fused_tp0_ch0* files. Will traverse a whole directory structure.