Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1488 |
|
Package | general | |
Module | images | |
Tool | image |
region | in | ||
Allowed: | Region tool | ||
Default: | unset | ||
mask | in | ||
Allowed: | Boolean LEL expression or mask region | ||
Default: | unset | ||
simple | in | Skip contour deblending and scan for local maxima | |
Allowed: | T or F | ||
Default: | F | ||
threshold | in | Value of minimum contour | |
Allowed: | Positive Float | ||
Default: | unset | ||
ncontour | in | Number of contours to use in deblending | |
Allowed: | Int of 2 or greater | ||
Default: | 11 | ||
minrange | in | Minimum number of closed contours in a component | |
Allowed: | Positive Integer | ||
Default: | 1 | ||
naxis | in | Max number of perpendicular steps between contiguous pixels | |
Allowed: | 1, 2, or 3 | ||
Default: | 2 | ||
fit | in | Fit to the components after deblending? | |
Allowed: | T or F | ||
Default: | T | ||
maxrms | in | Maximum RMS of fit residuals to not retry fit | |
Allowed: | Positive Float | ||
Default: | unset | ||
maxretry | in | Maximum number of times to retry the fit | |
Allowed: | Non-negative Integer | ||
Default: | unset | ||
maxiter | in | Maximum number of iterations allowed in a single fit | |
Allowed: | Positive Integer | ||
Default: | 256 | ||
convcriteria | in | Criterion to establish convergence | |
Allowed: | Positive Float | ||
Default: | 0.0001 |
The contour deblending can optionally be replaced with a simpler local maximum scan, and the fitting can be replaced with a moment-based estimation method to speed up calculations on very large images or if either primary method causes trouble, but in general this will impede the accuracy of the fit.
The function works with both two and three dimensional images.
- im := imagemaketestimage() - im.decompose(threshold=2.5, maxrms=1.0)