Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
image-analysis-training-resources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
grp-bio-it
image-analysis-training-resources
Commits
3bbcf8f2
Commit
3bbcf8f2
authored
May 28, 2019
by
Christian Tischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update binarization.md
parent
4f440925
Pipeline
#9768
passed with stage
in 30 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
modules/binarization.md
modules/binarization.md
+10
-11
No files found.
modules/binarization.md
View file @
3bbcf8f2
...
...
@@ -46,33 +46,32 @@ Open an image and binarize it by applying a threshold.
<details>
<summary>
ImageJ user interface
</summary>
-
`Open...`
-
"/image-analysis-training-resources/image_data/xy_8bit__two_cells.tif";
-
`Threshold...`
-
**[ Open... ]**
"/image-analysis-training-resources/image_data/xy_8bit__two_cells.tif"
<br/>
-
**[ Threshold... ]**
</details>
<details>
<summary>
ImageJ macro
</summary>
<summary>
ImageJ macro
</summary>
open("/image-analysis-training-resources/image_data/xy_8bit__two_cells.tif");
setThreshold(30, 255);
setOption("BlackBackground", true);
run("Convert to Mask");
```
open("/image-analysis-training-resources/image_data/xy_8bit__two_cells.tif");
setThreshold(30, 255);
setOption("BlackBackground", true);
run("Convert to Mask");
```
</details>
<details>
<summary>
Jython script
</summary>
```
```
python
from
ij
import
IJ
,
ImagePlus
from
ij.plugin
import
Thresholder
inputImage
=
IJ
.
getImage
()
IJ
.
setRawThreshold
(
inputImage
,
60
,
255
,
None
)
binaryImage
=
ImagePlus
(
'Binary image'
,
Thresholder
.
createMask
(
inputImage
))
binaryImage
.
show
()
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment