IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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 eugene)

these are nearly the same; psImageStats is not well-defined (should respect
nSubsample). merge them.

Change History (2)

comment:1 by Paul Price, 19 years ago

Owner: changed from Paul Price to eugene

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

comment:2 by eugene, 16 years ago

Component: imageopsPSLib
Description: modified (diff)
Priority: highlow
Type: defectenhancement

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

Note: See TracTickets for help on using tickets.