documents:120206pyip_cooking:python_imagej_cookbook
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documents:120206pyip_cooking:python_imagej_cookbook [2017/12/03 13:03] – [Automatic Brightness/Contrast Button] updated github repo link kota | documents:120206pyip_cooking:python_imagej_cookbook [2018/07/16 00:23] – [Particle Analysis] kota | ||
---|---|---|---|
Line 972: | Line 972: | ||
- if the count exceeds " | - if the count exceeds " | ||
- if the count is larger than " | - if the count is larger than " | ||
+ | |||
+ | Explanation in human language: this algorithm first determines two values " | ||
+ | |||
+ | " | ||
+ | |||
+ | " | ||
The Jython script shown below is the re-written version based on original Java code. You could see the Java code of method " | The Jython script shown below is the re-written version based on original Java code. You could see the Java code of method " | ||
Line 1303: | Line 1309: | ||
<code python linenums: | <code python linenums: | ||
+ | from ij import IJ, ImagePlus | ||
from ij.plugin.filter import ParticleAnalyzer as PA | from ij.plugin.filter import ParticleAnalyzer as PA | ||
+ | from ij.measure import ResultsTable | ||
+ | |||
imp = IJ.getImage() | imp = IJ.getImage() | ||
documents/120206pyip_cooking/python_imagej_cookbook.txt · Last modified: 2022/10/16 07:12 by kota