Skip to content

Commit

Permalink
Added imageJ macro
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed Dec 22, 2023
1 parent f195f65 commit feee0d4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include README.md
exclude .pre-commit-config.yaml

recursive-include mesospim_stitcher *.py
recursive-include mesospim_stitcher *.ijm

recursive-exclude * __pycache__
recursive-exclude * *.py[co]
Expand Down
2 changes: 2 additions & 0 deletions mesospim_stitcher/big_stitcher_bridge.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def run_big_stitcher():
return
19 changes: 19 additions & 0 deletions mesospim_stitcher/stitch_macro.ijm
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
run("Load TileConfiguration from File...",
"browse=D:/TiledDataset/2.5x_tile/2.5x_tile_igor_rightonly_Mag2.5x_ch488_ch561_ch647_bdv3.xml " +
"select=D:/TiledDataset/2.5x_tile//2.5x_tile_igor_rightonly_Mag2.5x_ch488_ch561_ch647_bdv3.xml " +
"tileconfiguration=D:/TiledDataset/2.5x_tile//2.5x_tile_igor_rightonly_Mag2.5x_ch488_ch561_ch647_bdv_tile_config.txt " +
"use_pixel_units keep_metadata_rotation");

run("Calculate pairwise shifts ...",
"select=D:/TiledDataset/2.5x_tile//2.5x_tile_igor_rightonly_Mag2.5x_ch488_ch561_ch647_bdv3.xml " +
"process_angle=[All angles] process_channel=[All channels] process_illumination=[All illuminations] " +
"process_tile=[All tiles] process_timepoint=[All Timepoints] " +
"method=[Phase Correlation] channels=[Average Channels] " +
"downsample_in_x=4 downsample_in_y=4 downsample_in_z=4");

run("Optimize globally and apply shifts ...",
"select=D:/TiledDataset/2.5x_tile//2.5x_tile_igor_rightonly_Mag2.5x_ch488_ch561_ch647_bdv3.xml " +
"process_angle=[All angles] process_channel=[All channels] process_illumination=[All illuminations] " +
"process_tile=[All tiles] process_timepoint=[All Timepoints] relative=2.500 absolute=3.500 " +
"global_optimization_strategy=[Two-Round using Metadata to align unconnected Tiles and iterative dropping of bad links] " +
"fix_group_0-0,");

0 comments on commit feee0d4

Please sign in to comment.