LensSerious 0.1
Lens-correction mathematics as data, not as a library of callbacks
Loading...
Searching...
No Matches
ls_vendor_dng_t Struct Reference

A DNG's OpcodeList3 corrections, parsed. Fill it with ls_vendor_parse_dng_opcodelist3() — or by hand, if the consumer's DNG reader already decoded the opcodes itself. More...

#include <lensserious_vendor.h>

+ Collaboration diagram for ls_vendor_dng_t:

Data Fields

int has_warp
 
int has_vignette
 
uint32_t warp_planes
 
double warp_coeffs [3][6]
 
double warp_cx
 
double warp_cy
 
double vig_coeffs [5]
 
double vig_cx
 
double vig_cy
 

Detailed Description

A DNG's OpcodeList3 corrections, parsed. Fill it with ls_vendor_parse_dng_opcodelist3() — or by hand, if the consumer's DNG reader already decoded the opcodes itself.

Definition at line 160 of file lensserious_vendor.h.

Field Documentation

◆ has_vignette

int ls_vendor_dng_t::has_vignette

a VignetteRadial (opcode 3) was present

Definition at line 163 of file lensserious_vendor.h.

Referenced by _dng_axes(), _dng_populate(), and _parse_vignette_radial().

◆ has_warp

int ls_vendor_dng_t::has_warp

a WarpRectilinear (opcode 1) was present

Definition at line 162 of file lensserious_vendor.h.

Referenced by _dng_axes(), _dng_populate(), and _parse_warp_rectilinear().

◆ vig_coeffs

double ls_vendor_dng_t::vig_coeffs[5]

k0..k4 radial vignette polynomial

Definition at line 168 of file lensserious_vendor.h.

Referenced by _dng_populate(), and _parse_vignette_radial().

◆ vig_cx

double ls_vendor_dng_t::vig_cx

normalized optical centre [0..1] — carried, not yet consumed

Definition at line 169 of file lensserious_vendor.h.

Referenced by _parse_vignette_radial().

◆ vig_cy

double ls_vendor_dng_t::vig_cy

Definition at line 170 of file lensserious_vendor.h.

Referenced by _parse_vignette_radial().

◆ warp_coeffs

double ls_vendor_dng_t::warp_coeffs[3][6]

per plane: kr0..kr3 radial, kt0..kt1 tangential

Definition at line 165 of file lensserious_vendor.h.

Referenced by _dng_populate(), and _parse_warp_rectilinear().

◆ warp_cx

double ls_vendor_dng_t::warp_cx

normalized optical centre [0..1] — carried, not yet consumed

Definition at line 166 of file lensserious_vendor.h.

Referenced by _parse_warp_rectilinear().

◆ warp_cy

double ls_vendor_dng_t::warp_cy

Definition at line 167 of file lensserious_vendor.h.

Referenced by _parse_warp_rectilinear().

◆ warp_planes

uint32_t ls_vendor_dng_t::warp_planes

1 = distortion only; >1 (typically 3) = per-channel, i.e. TCA too

Definition at line 164 of file lensserious_vendor.h.

Referenced by _dng_axes(), _dng_populate(), and _parse_warp_rectilinear().


The documentation for this struct was generated from the following file: