documents:201021ijmacrofragments
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documents:201021ijmacrofragments [2021/01/30 11:07] – added ROI loading kota | documents:201021ijmacrofragments [2021/12/07 09:09] (current) – kota | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| ====== ImageJ Macro Fragments ====== | ====== ImageJ Macro Fragments ====== | ||
| Line 12: | Line 13: | ||
| ===== Loading ROIs from a file in Internet ===== | ===== Loading ROIs from a file in Internet ===== | ||
| - | shell comment | + | shell command |
| <sxh js> | <sxh js> | ||
| Line 23: | Line 24: | ||
| File.delete(path); | File.delete(path); | ||
| </ | </ | ||
| + | |||
| + | ===== Getting Pixel Coordinates within a Polygon ROI ===== | ||
| + | |||
| + | <sxh js> | ||
| + | Roi.getContainedPoints(xps, | ||
| + | for(i=0; i< | ||
| + | xpos = xps[i]; | ||
| + | ypos = yps[i]; | ||
| + | pixval = getPixel(xpos, | ||
| + | print(" | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | |||
| ===== Ways of getting the file basename ===== | ===== Ways of getting the file basename ===== | ||
| <sxh js> | <sxh js> | ||
documents/201021ijmacrofragments.1612004839.txt.gz · Last modified: 2021/01/30 11:07 by kota
