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/04/28 23:46] – [Regular Expression to get meta information from file name] kota | documents:120206pyip_cooking:python_imagej_cookbook [2018/07/16 00:23] – [Particle Analysis] kota | ||
---|---|---|---|
Line 431: | Line 431: | ||
This is an expaple of using regular expression to match file names, and to collect images as a ImagePlus array then convert it to a Hyperstack. | This is an expaple of using regular expression to match file names, and to collect images as a ImagePlus array then convert it to a Hyperstack. | ||
- | https:// | + | https:// |
<code python linenums: | <code python linenums: | ||
Line 973: | Line 973: | ||
- if the count is larger than " | - if the count is larger than " | ||
- | The jython | + | Explanation in human language: this algorithm first determines two values " |
+ | |||
+ | " | ||
+ | |||
+ | " | ||
+ | |||
+ | The Jython | ||
<code python linenums: | <code python linenums: | ||
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() | ||
Line 1815: | Line 1824: | ||
Clone the project below, compile and install it as a plugin. | Clone the project below, compile and install it as a plugin. | ||
- | https:// | + | https:// |
<code python linenums: | <code python linenums: |
documents/120206pyip_cooking/python_imagej_cookbook.txt · Last modified: 2022/10/16 07:12 by kota