TIFF Tag DepthFormat
IFD | ![]() | Image |
---|---|---|
Code | 51177 (hex 0xC7E9) | |
Name | DepthFormat | |
Type | SHORT | |
Count | 1 | |
Default | 0 (Unknown) |
Description
Used in IFD 0 of DNG files.
Specifies the encoding of any depth data in the file. Valid values are:
0 = Unknown: The exact mapping of distance values to depth map is unknown, other than nearer distances are closer to zero, and farther distances are closer to the maximum value.
1 = Linear: The depth values vary linearly, with zero representing the "near" distance (see the DepthNear tag) and the maximum value representing the "far" distance (see the DepthFar tag).
2 = Inverse: The depth values are stored inverse linearly, with zero representing the "near" distance (see the DepthNear tag) and the maximum value representing the "far" distance (see the
DepthFar tag).
Related tags
DepthNear
DepthFar
DepthUnits
DepthMeasureType