The crate as crates.io publishes it, minus .cargo-ok, its Cargo.lock and data/testdata (13 MB of sample files only its own tests read). Not yet routed through [patch.crates-io]; the next commit is the patch.
22 lines
564 B
TOML
22 lines
564 B
TOML
make = "NIKON CORPORATION"
|
|
model = "NIKON D500"
|
|
clean_make = "Nikon"
|
|
clean_model = "D500"
|
|
color_pattern = "RGGB"
|
|
active_area = [0, 0, 0, 0]
|
|
crop_area = [16, 8, 16, 8] # TODO: This camera has Large/Medium/Small format with different crop
|
|
|
|
[cameras.color_matrix]
|
|
A = [0.9376, -0.4139, -0.0394, -0.4687, 1.2495, 0.2454, -0.0699, 0.1378, 0.7486]
|
|
D65 = [0.8813, -0.321, -0.1036, -0.4703, 1.2868, 0.2021, -0.1054, 0.194, 0.6129]
|
|
|
|
[[cameras.modes]]
|
|
mode = "14bit"
|
|
#blackpoint = 400
|
|
whitepoint = 15520
|
|
|
|
[[cameras.modes]]
|
|
mode = "12bit"
|
|
#blackpoint = 100
|
|
whitepoint = 3880
|