I think that the median will be the good estimator for the background. This way, if some faint stars are included into the box, they will be ignored. You can add also the average (mean), but it will be more influenced by residual stars
Sorry I wasn't able to find time lately. Let me know whether I should output the details in
1. an overlay on top of the image itself ( although limited number of stats, like Width x Height, sigma as this looks messy )
2. a new floating window with the same stats table (similar experience as in Siril )
3. the existing stats panel itself (which alternates between full image stats to selection stats depending on a button )
Attached Image shows how it would look in option 3.
Once the area has been drawn, right-click on it to bring up a menu in which you will find "Statistics". This menu opens a window with the results: minimum, maximum, average, median, sigma. Using the standard panel may be confusing. So you need to display the results concern only the plotted area.
There may be other entries than Statitics, if necessary, for others functions.
Ad 1: Guess WxH isn't really needed, as one can see (guesstimate) the size? Median and sigma would be the important numbers (for me).
Ad 2: [-] for that, if it's a full window. Or could it be tooltip-like if the mouse pointer is over the area, and close by itself when moving the pointer away?
Ad 3: So then the stats in the tabs refer to only the highlighted area, yes? I don't see a sigma in the images...
Will definitely be a great addition!
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI2600/1600/290mini+EFW+EAF