Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
image-analysis-training-resources
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
grp-bio-it
image-analysis-training-resources
Commits
dc2dd89c
Commit
dc2dd89c
authored
May 28, 2019
by
Aliaksandr Halavatyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
binarization jython code
parent
97810a4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
modules/binarization.md
modules/binarization.md
+16
-0
No files found.
modules/binarization.md
View file @
dc2dd89c
...
...
@@ -35,8 +35,24 @@ shift [fontcolor=white,color=white];

## Activity
<details
open
>
<summary>
Jython script
</summary>
<br>
```
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
()
```
</details>
## Formative assessment
Quizz or something
...
...
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