-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
22 additions
and
47 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
_includes/string_concat/activities/string_concat_imagejmacro.ijm
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
_includes/string_concat/activities/string_concat_python.py
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// create a log message | ||
imageIndex = 11; | ||
numImages = 100; | ||
print("Analyzing image "+imageIndex+"/"+numImages+"..."); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<h4 id="creating_logs"><a href="#creating_logs">Creating log messages</a></h4> | ||
- Open a script editor | ||
- Define two variables: | ||
- index of the hypothetially currently processed image with value `11` | ||
- the total number of images to be processed with value `100`. | ||
- Using those two variables create the message: `"Analyzing image 11/100..."`. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# TODO |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// manipulating file paths | ||
tmpFolder = getDirectory("temp"); | ||
fileName = "nuclei.tif"; | ||
path = tmpFolder + File.separator + fileName; | ||
print(path); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<h4 id="manipulate_paths"><a href="#manipulate_paths">Manipulate file paths</a></h4> | ||
|
||
In bioimage analysis, one very often opens one image and then needs to save a segmentation (label mask file) and segmented object measurements (a table file). To this end, it is useful if the output images have similar names than the input image, such that one knows that they belong to each other. Sometimes it is useful for those output files to be placed in the same folder as the input image, but often you want to specify a dedicated output folder. | ||
|
||
To manage all these scenarios it is critical to learn how to manipulate file and folder paths in various ways and thereby construct the output paths from the input path and a given output directory. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# TODO |