9#include "dcrawinfocontainer.h"
34 for (
int ch=0; ch<4; ch++)
44 for (
int x=0 ; x<3 ; x++)
46 for (
int y=0 ; y<4 ; y++)
49 cameraColorMatrix2[x][y] = 0.0;
50 cameraXYZMatrix[y][x] = 0.0;
98 cameraColorMatrix2[0][0] == 0.0 &&
99 cameraColorMatrix2[0][1] == 0.0 &&
100 cameraColorMatrix2[0][2] == 0.0 &&
101 cameraColorMatrix2[0][3] == 0.0 &&
102 cameraColorMatrix2[1][0] == 0.0 &&
103 cameraColorMatrix2[1][1] == 0.0 &&
104 cameraColorMatrix2[1][2] == 0.0 &&
105 cameraColorMatrix2[1][3] == 0.0 &&
106 cameraColorMatrix2[2][0] == 0.0 &&
107 cameraColorMatrix2[2][1] == 0.0 &&
108 cameraColorMatrix2[2][2] == 0.0 &&
109 cameraColorMatrix2[2][3] == 0.0 &&
110 cameraXYZMatrix[0][0] == 0.0 &&
111 cameraXYZMatrix[0][1] == 0.0 &&
112 cameraXYZMatrix[0][2] == 0.0 &&
113 cameraXYZMatrix[1][0] == 0.0 &&
114 cameraXYZMatrix[1][1] == 0.0 &&
115 cameraXYZMatrix[1][2] == 0.0 &&
116 cameraXYZMatrix[2][0] == 0.0 &&
117 cameraXYZMatrix[2][1] == 0.0 &&
118 cameraXYZMatrix[2][2] == 0.0 &&
119 cameraXYZMatrix[3][0] == 0.0 &&
120 cameraXYZMatrix[3][1] == 0.0 &&
121 cameraXYZMatrix[3][2] == 0.0 &&
137 dbg.
nospace() <<
"DcrawInfoContainer::aperture: " << c.
aperture <<
", ";
A container for RAW image information.
float sensitivity
The sensitivity in ISO used by camera to take the picture.
QSize fullSize
The full RAW image dimensions in pixels.
QDateTime dateTime
Date & time when the picture has been taken.
ImageOrientation orientation
The raw image orientation.
virtual ~DcrawInfoContainer()
Standard destructor.
QSize thumbSize
The thumb dimensions in pixels.
bool isDecodable
True is RAW file is decodable by dcraw.
QString DNGVersion
The DNG version.
float focalLength
==> Focal Length value in mm.
float cameraColorMatrix1[3][4]
Camera Color Matrix.
bool isEmpty()
Return 'true' if container is empty, else 'false'.
unsigned int whitePoint
White level from Raw histogram.
QString filterPattern
The demosaising filter pattern.
bool hasIccProfile
True if RAW file include an ICC color profile.
QSize outputSize
The output dimensions in pixels.
int rawImages
The number of RAW images.
QSize imageSize
The image dimensions in pixels.
unsigned int leftMargin
Left margin of raw image.
double daylightMult[3]
White color balance settings.
DcrawInfoContainer()
Standard constructor.
QString make
The camera maker.
unsigned int blackPoint
Black level from Raw histogram.
float pixelAspectRatio
The pixel Aspect Ratio if != 1.0.
unsigned int blackPointCh[4]
Channel black levels from Raw histogram.
unsigned int topMargin
Top margin of raw image.
float aperture
==> Aperture value in APEX.
double cameraMult[4]
Camera multipliers used for White Balance adjustments.
int rawColors
The number of RAW colors.
QString model
The camera model.
QString colorKeys
The used Color Keys.
float exposureTime
==> 1/exposureTime = exposure time in seconds.
Main namespace of libKDcraw.
QDebug operator<<(QDebug dbg, const DcrawInfoContainer &c)
qDebug() stream operator. Writes container c to the debug output in a nicely formatted way.
bool isValid() const const
bool isValid() const const
bool isEmpty() const const