Skip to content

Commit ac5f97e

Browse files
committed
add config for Nikon D3200
1 parent bf5a064 commit ac5f97e

1 file changed

Lines changed: 101 additions & 0 deletions

File tree

configs/nikon_d3200.yaml

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
module_enable_status: # do NOT modify modules order
2+
dpc: True
3+
blc: True
4+
aaf: True
5+
awb: True
6+
cnf: True
7+
cfa: True
8+
ccm: True
9+
gac: True
10+
csc: True
11+
nlm: True
12+
bnf: True
13+
ceh: True
14+
eeh: True
15+
fcs: True
16+
hsc: True
17+
bcc: True
18+
scl: False
19+
20+
hardware:
21+
raw_width: 3000
22+
raw_height: 2000
23+
raw_bit_depth: 12
24+
bayer_pattern: rggb
25+
26+
27+
# -------------------- Module Algorithms Parameters --------------------
28+
29+
dpc:
30+
diff_threshold: 30
31+
32+
blc:
33+
bl_r: 0 # a subtractive value, not additive!
34+
bl_gr: 0
35+
bl_gb: 0
36+
bl_b: 0
37+
alpha: 0 # x1024
38+
beta: 0 # x1024
39+
40+
aaf: ~
41+
42+
awb:
43+
r_gain: &r_gain 2415 # x1024
44+
gr_gain: 1024 # x1024
45+
gb_gain: 1024 # x1024
46+
b_gain: &b_gain 1168 # x1024
47+
48+
cnf:
49+
diff_threshold: 0
50+
r_gain: *r_gain # x1024
51+
b_gain: *b_gain # x1024
52+
53+
cfa:
54+
mode: malvar
55+
56+
ccm:
57+
ccm:
58+
- [ 1896, -811, -62, 0 ] # x1024, copied from dcraw.c
59+
- [ -160, 1687, -503, 0 ]
60+
- [ 18, -557, 1563, 0 ]
61+
62+
gac:
63+
gain: 256 # x256
64+
gamma: 0.42
65+
66+
csc: ~
67+
68+
nlm:
69+
search_window_size: 11
70+
patch_size: 5
71+
h: 4 # larger value has stronger smoothing effect
72+
73+
bnf:
74+
intensity_sigma: 0.5 # larger value has stronger smoothing effect
75+
spatial_sigma: 0.4 # larger value has stronger smoothing effect
76+
77+
ceh:
78+
tiles: [4, 6]
79+
clip_limit: 0.02
80+
81+
eeh:
82+
edge_gain: 512 # x256
83+
flat_threshold: 2 # delta <= flat_threshold: set delta to 0
84+
edge_threshold: 4 # delta > edge_threshold: increase delta by edge_gain
85+
delta_threshold: 64
86+
87+
fcs:
88+
delta_min: 4
89+
delta_max: 16
90+
91+
hsc:
92+
hue_offset: 0 # in degree
93+
saturation_gain: 256 # x256
94+
95+
bcc:
96+
brightness_offset: 0
97+
contrast_gain: 256 # x256
98+
99+
scl:
100+
width: 1536
101+
height: 1024

0 commit comments

Comments
 (0)