Commit dc2dd89c authored by Aliaksandr Halavatyi's avatar Aliaksandr Halavatyi
Browse files

binarization jython code

parent 97810a4c
......@@ -35,8 +35,24 @@ shift [fontcolor=white,color=white];
## Activity
<details open>
<summary>Jython script</summary>
from ij import IJ, ImagePlus
from ij.plugin import Thresholder
IJ.setRawThreshold(inputImage, 60, 255, None)
binaryImage=ImagePlus('Binary image',Thresholder.createMask(inputImage))
## Formative assessment
Quizz or something
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment