mirror of
https://github.com/eddyem/astrovideoguide_v3.git
synced 2026-03-22 01:31:25 +03:00
add more statistics
This commit is contained in:
@@ -32,6 +32,11 @@ typedef uint8_t Imtype;
|
||||
// WARNING! Check code if you change Imtype: e.g. recalcexp() and other
|
||||
#define HISTOSZ (256)
|
||||
|
||||
typedef struct{ // statistics: mean, RMS, area
|
||||
float xc; float yc; float xsigma; float ysigma;
|
||||
int area;
|
||||
} ptstat_t;
|
||||
|
||||
typedef struct{
|
||||
int width; // width
|
||||
int height; // height
|
||||
@@ -40,6 +45,7 @@ typedef struct{
|
||||
Imtype maxval;
|
||||
float avg_intensity;
|
||||
Imtype background; // background value
|
||||
ptstat_t stat; // image statistics
|
||||
} Image;
|
||||
|
||||
// input file/directory type
|
||||
|
||||
Reference in New Issue
Block a user