Improved GUI for FlatField and DarkFrame autoselection

Added serial number in .badpixels file
Added Pentax CameraInfo decoding (contains serial number)
This commit is contained in:
ffsup2
2011-01-30 23:51:55 +01:00
parent 40b2699ccd
commit 860e8037f0
14 changed files with 116 additions and 36 deletions

View File

@@ -37,11 +37,12 @@ class ImageData : public ImageMetaData {
IptcData* iptc;
struct tm time;
time_t timeStamp;
int iso_speed;
double aperture;
double focal_len;
double shutter;
std::string make, model;
std::string make, model, serial;
std::string lens;
void extractInfo ();
@@ -58,6 +59,7 @@ class ImageData : public ImageMetaData {
bool hasIPTC () const { return iptc; }
struct tm getDateTime () const { return time; }
time_t getDateTimeAsTS() const { return timeStamp; }
int getISOSpeed () const { return iso_speed; }
double getFNumber () const { return aperture; }
double getFocalLen () const { return focal_len; }
@@ -65,6 +67,7 @@ class ImageData : public ImageMetaData {
std::string getMake () const { return make; }
std::string getModel () const { return model; }
std::string getLens () const { return lens; }
std::string getSerialNumber () const { return serial;}
};
};
#endif