1.3.77
Loading...
Searching...
No Matches
image_metadata.h
Go to the documentation of this file.
1
16
#ifndef HELIOS_IMAGE_METADATA_H
17
#define HELIOS_IMAGE_METADATA_H
18
19
#include <string>
20
21
namespace
helios {
22
24
32
struct
ImageEXIFData
{
33
34
// --- IFD0 (primary image) ---
35
37
std::string
make
=
"Helios"
;
39
std::string
model
;
41
std::string
software
=
"Helios"
;
43
std::string
datetime
;
45
unsigned
int
orientation
= 1;
46
47
// --- Exif SubIFD ---
48
50
std::string
datetime_original
;
52
std::string
datetime_digitized
;
54
std::string
offset_time
;
56
float
focal_length_mm
= 0.f;
58
float
focal_plane_x_resolution
= 0.f;
60
float
focal_plane_y_resolution
= 0.f;
62
unsigned
int
focal_plane_resolution_unit
= 3;
64
float
exposure_time_s
= 0.f;
66
float
f_number
= 0.f;
68
unsigned
int
iso
= 0;
70
float
exposure_bias_ev
= 0.f;
72
bool
has_exposure_bias
=
false
;
74
float
max_aperture_value_apex
= 0.f;
76
float
subject_distance_m
= 0.f;
78
unsigned
int
pixel_x_dimension
= 0;
80
unsigned
int
pixel_y_dimension
= 0;
82
std::string
lens_make
;
84
std::string
lens_model
;
86
std::string
lens_specification
;
88
unsigned
int
exposure_mode
= (
unsigned
int) -1;
90
unsigned
int
white_balance
= (
unsigned
int) -1;
92
float
digital_zoom_ratio
= 0.f;
94
unsigned
int
focal_length_in_35mm
= 0;
95
96
// --- GPS IFD ---
97
99
bool
gps_valid
=
false
;
101
double
latitude_deg
= 0.0;
103
double
longitude_deg
= 0.0;
105
double
altitude_m
= 0.0;
107
double
img_direction_deg
= 0.0;
109
std::string
gps_datestamp
;
111
std::string
gps_timestamp_hms
;
112
113
// --- XMP (Pix4D Camera namespace http://pix4d.com/camera/1.0) ---
114
116
bool
xmp_valid
=
false
;
118
double
yaw_deg
= 0.0;
120
double
pitch_deg
= 0.0;
122
double
roll_deg
= 0.0;
123
};
124
125
}
126
127
#endif
core
include
image_metadata.h
Generated by
1.9.8