Opened 19 years ago
Last modified 16 years ago
#849 new enhancement
merge psImageBackground and psImageStats
| Reported by: | eugene | Owned by: | eugene |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | PSLib | Version: | 0.12.99 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by )
these are nearly the same; psImageStats is not well-defined (should respect
nSubsample). merge them.
Change History (2)
comment:1 by , 19 years ago
| Owner: | changed from to |
|---|
comment:2 by , 16 years ago
| Component: | imageops → PSLib |
|---|---|
| Description: | modified (diff) |
| Priority: | high → low |
| Type: | defect → enhancement |
These two functions (psImageStats and psImageBackground) are different in small but important ways. Both are used in the code base. They both use psVectorStats for the low-level calculation (though psImageBackground supports an additional statistic PS_STAT_ROBUST_QUARTILE which psVectorStats does not support -- it is also probably not interesting to keep).
They probably should be used in different cases (eg, size of image, desired speed and accuracy, etc).
It is probably still worth the effort to merge them, if only to make the usage clear

Several options in psImageBackground are required for continued development of
psphot. EAM to merge these functions once the development constraints are lifted.