This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@File file_path | |
IJ.run("Close All", ""); | |
// the folder containing the lif | |
dir = file_path.getParent() | |
// a subfolder to save images | |
output_dir = new File( dir ,"outputRom1PC") | |
output_dir.mkdir() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You need to activate https://biop.epfl.ch/Fiji-Bdv-Playground/ for this script to function | |
// It takes a file and batch exports individual series, optionally Z Projected and rescaled | |
// Deals pretty correctly with Big dataset + saves multiresolution OME-TIFFs file, keeping the positional metadata | |
// Nicolas Chiaruttini, BIOP, EPFL, 2022 | |
#@File(label="Dataset") image_file | |
#@boolean(label="Show advanced opening parameters") advanced | |
#@String(label="Give a name to your dataset") dataset_name | |
#@String( label = "Select a subset of channels (0 based, comma separated). Leave blank for all", value="") range_channels | |
#@String( label = "Selected slices (0 based, comma separated). Leave blank for all", required = false ) range_slices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Sub AddElements() | |
Dim shp As Shape | |
Dim i As Integer, n As Integer | |
n = ActivePresentation.Slides.Count | |
For i = 1 To n | |
Dim s As Slide | |
Set s = ActivePresentation.Slides(i) |