/
global_tonemapping_operators.nk
2740 lines (2740 loc) · 94.9 KB
/
global_tonemapping_operators.nk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#! /Applications/Nuke10.5v2/Nuke10.5v2.app/Contents/MacOS/libnuke-10.5.2.dylib -nx
version 10.5 v2
define_window_layout_xml {<?xml version="1.0" encoding="UTF-8"?>
<layout version="1.0">
<window x="0" y="23" w="1280" h="777" screen="0">
<splitter orientation="1">
<split size="40"/>
<dock id="" hideTitles="1" activePageId="Toolbar.1">
<page id="Toolbar.1"/>
</dock>
<split size="617" stretch="1"/>
<splitter orientation="2">
<split size="441"/>
<dock id="" activePageId="Viewer.1">
<page id="Viewer.1"/>
</dock>
<split size="310"/>
<dock id="" activePageId="DAG.1">
<page id="DAG.1"/>
<page id="Curve Editor.1"/>
<page id="DopeSheet.1"/>
</dock>
</splitter>
<split size="615"/>
<dock id="" activePageId="Properties.1" focus="true">
<page id="Properties.1"/>
</dock>
</splitter>
</window>
</layout>
}
Root {
inputs 0
name /Users/kelsolaar/Documents/Development/colour-science/colour-nuke/colour_nuke/scripts/global_tonemapping_operators.nk
format "256 256 0 0 256 256 1 square_256"
proxy_type scale
proxy_format "1024 778 0 0 1024 778 1 1K_Super_35(full-ap)"
colorManagement Nuke
workingSpaceLUT linear
monitorLut sRGB
int8Lut sRGB
int16Lut sRGB
logLut Cineon
floatLut linear
}
Constant {
inputs 0
channels rgb
format "512 512 0 0 512 512 1 square_512"
name Constant
xpos 400
ypos -129
}
set N19ee54e0 [stack 0]
Invert {
name Invert
xpos 290
ypos -109
}
Transform {
translate {128 0}
scale {0.5 1}
center {256 256}
name Transform
xpos 290
ypos -81
}
Dot {
name Dot1
xpos 324
ypos -30
}
push $N19ee54e0
Ramp {
p0 {0 0}
p1 {0 512}
name LDR_Ramp
xpos 400
ypos -57
}
Ramp {
inputs 1+1
p0 {0 0}
p1 {0 512}
color {6 3 1.5 4}
name HDR_Ramp
xpos 400
ypos -33
}
set N22164320 [stack 0]
Group {
name Filmic_Tonemapping_Operator
tile_color 0xffbf00ff
xpos 510
ypos 111
addUserKnob {20 filmic_tonemapping_operator_Tab l "Filmic Tonemapping Operator"}
addUserKnob {20 tone_parameters_Group l "Tone Parameters" n 1}
addUserKnob {7 A_Floating_Point_Slider l "Shoulder Strength"}
A_Floating_Point_Slider 0.22
addUserKnob {7 B_Floating_Point_Slider l "Linear Strength"}
B_Floating_Point_Slider 0.3
addUserKnob {7 C_Floating_Point_Slider l "Linear Angle"}
C_Floating_Point_Slider 0.1
addUserKnob {7 D_Floating_Point_Slider l "Toe Strength"}
D_Floating_Point_Slider 0.2
addUserKnob {7 E_Floating_Point_Slider l "Toe Numerator"}
E_Floating_Point_Slider 0.01
addUserKnob {7 F_Floating_Point_Slider l "Toe Denominator"}
F_Floating_Point_Slider 0.3
addUserKnob {20 tone_parameters_endGroup l endGroup n -1}
addUserKnob {20 miscellaneous_parameters_Group l "Miscellaneous Parameters" n 1}
addUserKnob {7 mix_Floating_Point_Slider l Mix t "Dissolve between the original image at 0 and the full effect at 1."}
mix_Floating_Point_Slider 1
addUserKnob {7 exposure_bias_Floating_Point_Slider l "Exposure Bias"}
exposure_bias_Floating_Point_Slider 2
addUserKnob {6 clamp_output_Check_Box l "Clamp Output" t "Output values are clamped within \[0, 1] domain." +STARTLINE}
clamp_output_Check_Box true
addUserKnob {20 miscellaneous_parameters_endGroup l endGroup n -1}
addUserKnob {20 about_Tab l About}
addUserKnob {26 description_Text l "" +STARTLINE T "Filming Tonemapping Operator v0.1.0\n\ncolour-science.org - March 17, 2015\n\nThis Gizmo / Group implements the Filming Tonemapping Operator from Uncharted 2 by John Habble which is based on Haarm-Peter Duiker curve.\n\n\[1] Habble, J. (2010). Filmic Tonemapping Operators. Retrieved March 15, 2015, from http://filmicgames.com/archives/75\n\[2] Habble, J. (2010). Uncharted 2: HDR Lighting. Retrieved March 15, 2015, from http://www.slideshare.net/ozlael/hable-john-uncharted2-hdr-lighting"}
}
Input {
inputs 0
name Input
xpos 13
ypos -125
}
set N221731d0 [stack 0]
Dot {
name Dot1
xpos 123
ypos -122
}
Dot {
name Dot2
xpos 123
ypos 22
}
push $N221731d0
Multiply {
value {{parent.filmic_tonemapping_operator_Expression.exposure_bias_Floating_Point_Slider}}
name exposure_bias_Multiply
xpos 13
ypos -101
}
Expression {
temp_name0 toe_angle
temp_expr0 E_Floating_Point_Slider/F_Floating_Point_Slider
expr0 ((r*(A_Floating_Point_Slider*r+C_Floating_Point_Slider*B_Floating_Point_Slider)+D_Floating_Point_Slider*E_Floating_Point_Slider)/(r*(A_Floating_Point_Slider*r+B_Floating_Point_Slider)+D_Floating_Point_Slider*F_Floating_Point_Slider))-toe_angle
expr1 ((g*(A_Floating_Point_Slider*g+C_Floating_Point_Slider*B_Floating_Point_Slider)+D_Floating_Point_Slider*E_Floating_Point_Slider)/(g*(A_Floating_Point_Slider*g+B_Floating_Point_Slider)+D_Floating_Point_Slider*F_Floating_Point_Slider))-toe_angle
expr2 ((b*(A_Floating_Point_Slider*b+C_Floating_Point_Slider*B_Floating_Point_Slider)+D_Floating_Point_Slider*E_Floating_Point_Slider)/(b*(A_Floating_Point_Slider*b+B_Floating_Point_Slider)+D_Floating_Point_Slider*F_Floating_Point_Slider))-toe_angle
expr3 a
name filmic_tonemapping_operator_Expression
xpos 13
ypos -69
addUserKnob {20 User}
addUserKnob {7 exposure_bias_Floating_Point_Slider l "Exposure Bias"}
exposure_bias_Floating_Point_Slider {{parent.exposure_bias_Floating_Point_Slider}}
addUserKnob {7 A_Floating_Point_Slider l "Shoulder Strength"}
A_Floating_Point_Slider {{parent.A_Floating_Point_Slider}}
addUserKnob {7 B_Floating_Point_Slider l "Linear Strength"}
B_Floating_Point_Slider {{parent.B_Floating_Point_Slider}}
addUserKnob {7 C_Floating_Point_Slider l "Linear Angle"}
C_Floating_Point_Slider {{parent.C_Floating_Point_Slider}}
addUserKnob {7 D_Floating_Point_Slider l "Toe Strength"}
D_Floating_Point_Slider {{parent.D_Floating_Point_Slider}}
addUserKnob {7 E_Floating_Point_Slider l "Toe Numerator"}
E_Floating_Point_Slider {{parent.E_Floating_Point_Slider}}
addUserKnob {7 F_Floating_Point_Slider l "Toe Denominator"}
F_Floating_Point_Slider {{parent.F_Floating_Point_Slider}}
addUserKnob {7 linear_whitepoint_Floating_Point_Slider l "Linear Whitepoint"}
linear_whitepoint_Floating_Point_Slider 11.2
addUserKnob {7 linear_white_Floating_Point_Slider l "Linear White"}
linear_white_Floating_Point_Slider {{((linear_whitepoint_Floating_Point_Slider*(A_Floating_Point_Slider*linear_whitepoint_Floating_Point_Slider+C_Floating_Point_Slider*B_Floating_Point_Slider)+D_Floating_Point_Slider*E_Floating_Point_Slider)/(linear_whitepoint_Floating_Point_Slider*(A_Floating_Point_Slider*linear_whitepoint_Floating_Point_Slider+B_Floating_Point_Slider)+D_Floating_Point_Slider*F_Floating_Point_Slider))-E_Floating_Point_Slider/F_Floating_Point_Slider}}
}
Multiply {
value {{1/parent.filmic_tonemapping_operator_Expression.linear_white_Floating_Point_Slider}}
name linear_white_Multiply
xpos 13
ypos -45
}
set N270340 [stack 0]
Clamp {
name Clamp
xpos -97
ypos -13
}
push $N270340
Switch {
inputs 2
which {{parent.clamp_output_Check_Box}}
name clamp_Switch
xpos 13
ypos -9
}
Dissolve {
inputs 2
which {{1-parent.mix_Floating_Point_Slider}}
name Dissolve
xpos 13
ypos 15
}
Output {
name Output
xpos 13
ypos 43
}
end_group
Viewer {
frame_range 1-100
input_process false
name Viewer1
xpos 510
ypos 135
}
push $N22164320
Group {
name Simple_Tonemapping_Operator
tile_color 0xffbf00ff
xpos 510
ypos -57
addUserKnob {20 simple_tonemapping_operator_tab l "Simple Tonemapping Operator"}
addUserKnob {20 miscellaneous_Group l "Miscellaneous Parameters" n 1}
addUserKnob {7 mix_Floating_Point_Slider l Mix t "Dissolve between the original image at 0 and the full effect at 1."}
mix_Floating_Point_Slider 1
addUserKnob {20 miscellaneous_endGroup l endGroup n -1}
addUserKnob {20 about_Tab l About}
addUserKnob {26 description_Text l "" +STARTLINE T "Simple Tonemapping Operator v0.1.0\n\ncolour-science.org - March 17, 2015\n\nThis Gizmo / Group implements a Simple Tonemapping Operator.\n\n\[1] Wikipedia. (n.d.). Tonemapping - Purpose and methods. Retrieved March 15, 2015, from http://en.wikipedia.org/wiki/Tone_mapping#Purpose_and_methods"}
}
Input {
inputs 0
name Input
xpos 55
ypos -54
}
set N19ee45a0 [stack 0]
Expression {
expr0 r/(r+1)
expr1 g/(g+1)
expr2 b/(b+1)
name simple_tonemapping_operator_Expression
xpos 55
ypos -30
}
push $N19ee45a0
Dot {
name Dot1
xpos 165
ypos -51
}
Dot {
name Dot2
xpos 165
ypos 1
}
Dissolve {
inputs 2
which {{parent.mix_Floating_Point_Slider}}
name Dissolve
selected true
xpos 55
ypos -6
}
Output {
name Output
xpos 55
ypos 26
}
end_group
push $N22164320
Group {
name Normalisation_Tonemapping_Operator
tile_color 0xffbf00ff
xpos 510
ypos -33
addUserKnob {20 normalisation_tonemapping_operator_tab l "Normalisation Tonemapping Operator"}
addUserKnob {20 tone_parameters_Group l "Tone Parameters" n 1}
addUserKnob {22 compute_limits_Python_Script_Button l "Compute Domain" t "Computes the domain / range of internal nodes. \n\nThe domain has to be manually recomputed each time that up-stream graph is changed." T nuke.toNode('domain_CurveTool').knob('go').execute() +STARTLINE}
addUserKnob {22 reset_domain_Python_Script_Button l "Reset Domain" t "Reset the domain / range of internal nodes. " -STARTLINE T "node = nuke.toNode('domain_CurveTool')\n\nknob = node.knob('maxlumapixdata')\nknob.clearAnimated()\nknob.setValue((0, 0))\n\nknob = node.knob('maxlumapixvalue')\nknob.clearAnimated()\nknob.setValue(1)\n\nknob = node.knob('minlumapixdata')\nknob.clearAnimated()\nknob.setValue((0, 0))\n\nknob = node.knob('minlumapixvalue')\nknob.clearAnimated()\nknob.setValue(0)"}
addUserKnob {20 tone_parameters_endGroup l endGroup n -1}
addUserKnob {20 miscellaneous_Group l "Miscellaneous Parameters" n 1}
addUserKnob {7 mix_Floating_Point_Slider l Mix t "Dissolve between the original image at 0 and the full effect at 1."}
mix_Floating_Point_Slider 1
addUserKnob {20 miscellaneous_endGroup l endGroup n -1}
addUserKnob {20 about_Tab l About}
addUserKnob {26 description_Text l "" +STARTLINE T "Normalisation Tonemapping Operator v0.1.0\n\ncolour-science.org - March 17, 2015\n\nThis Gizmo / Group implements a Normalisation Tonemapping Operator.\n\n\[1] Banterle, F., Artusi, A., Debattista, K., & Chalmers, A. (2011). 3.2.1 Simple Mapping Methods. In Advanced High Dynamic Range Imaging (pp. 38–41). A K Peters/CRC Press. ISBN:978-1568817194\n"}
}
Input {
inputs 0
name Input
xpos -97
ypos -163
}
set N27737cd0 [stack 0]
Multiply {
value {{"1 / max(domain_CurveTool.maxlumapixvalue.r, domain_CurveTool.maxlumapixvalue.g, domain_CurveTool.maxlumapixvalue.b)"}}
name normalisation_Multiply
xpos -97
ypos -133
}
push $N27737cd0
Dot {
name Dot2
xpos 71
ypos -160
}
Dot {
name Dot3
xpos 71
ypos -94
}
Dissolve {
inputs 2
which {{parent.mix_Floating_Point_Slider}}
name Dissolve
xpos -97
ypos -101
}
Output {
name Output
xpos -97
ypos -69
}
push $N27737cd0
Dot {
name Dot1
xpos -207
ypos -160
}
CurveTool {
operation "Max Luma Pixel"
avgframes 1
ROI {0 0 {Input.width} {Input.height}}
autocropdata {1071 712 3214 2136}
maxlumapixvalue 1
name domain_CurveTool
selected true
xpos -241
ypos -129
}
end_group
push $N22164320
Group {
name Gamma_Tonemapping_Operator
tile_color 0xffbf00ff
xpos 510
ypos -9
addUserKnob {20 gamma_tonemapping_operator_tab l "Gamma Tonemapping Operator"}
addUserKnob {20 tone_parameters_Group l "Tone Parameters" n 1}
addUserKnob {7 exposure_Floating_Point_Slider l Exposure R -5 5}
addUserKnob {7 gamma_Floating_Point_Slider l Gamma R 0.2 5}
gamma_Floating_Point_Slider 1
addUserKnob {20 miscellaneous_Group l "Miscellaneous Parameters" n 1}
addUserKnob {7 mix_Floating_Point_Slider l Mix t "Dissolve between the original image at 0 and the full effect at 1."}
mix_Floating_Point_Slider 1
addUserKnob {6 clamp_output_Check_Box l "Clamp Output" t "Output values are clamped within \[0, 1] domain." +STARTLINE}
clamp_output_Check_Box true
addUserKnob {20 miscellaneous_endGroup l endGroup n -1}
addUserKnob {20 about_Tab l About}
addUserKnob {26 description_Text l "" +STARTLINE T "Gamma Tonemapping Operator v0.1.0\n\ncolour-science.org - March 17, 2015\n\nThis Gizmo / Group implements a Gamma Tonemapping Operator.\n\n\[1] Banterle, F., Artusi, A., Debattista, K., & Chalmers, A. (2011). 3.2.1 Simple Mapping Methods. In Advanced High Dynamic Range Imaging (pp. 38–41). A K Peters/CRC Press. ISBN:978-1568817194"}
}
Input {
inputs 0
name Input
xpos 55
ypos -57
}
Expression {
temp_name0 exposure
temp_expr0 "2 ** exposure_Floating_Point_Slider"
expr0 "(exposure * r) ** (1 / gamma_Floating_Point_Slider)"
expr1 "(exposure * g) ** (1 / gamma_Floating_Point_Slider)"
expr2 "(exposure * b) ** (1 / gamma_Floating_Point_Slider)"
name gamma_tonemapping_operator_Expression
selected true
xpos 55
ypos -30
addUserKnob {20 User}
addUserKnob {7 exposure_Floating_Point_Slider l Exposure}
exposure_Floating_Point_Slider {{parent.exposure_Floating_Point_Slider}}
addUserKnob {7 gamma_Floating_Point_Slider l Gamma}
gamma_Floating_Point_Slider {{parent.gamma_Floating_Point_Slider}}
}
set N22197f20 [stack 0]
Clamp {
name Clamp
xpos -55
ypos -10
}
push $N22197f20
Switch {
inputs 2
which {{parent.clamp_output_Check_Box}}
name clamp_Switch
xpos 55
ypos -6
}
push $N22197f20
Dot {
name Dot1
xpos 165
ypos -51
}
Dot {
name Dot2
xpos 165
ypos 25
}
Dissolve {
inputs 2
which {{parent.mix_Floating_Point_Slider}}
name Dissolve
xpos 55
ypos 18
}
Output {
name Output
xpos 55
ypos 50
}
end_group
push $N22164320
Group {
name Logarithmic_Tonemapping_Operator
tile_color 0xffbf00ff
xpos 510
ypos 15
addUserKnob {20 logarithmic_tonemapping_operator_tab l "Logarithmic Tonemapping Operator"}
addUserKnob {20 tone_parameters_Group l "Tone Parameters" n 1}
addUserKnob {22 compute_limits_Python_Script_Button l "Compute Domain" t "Computes the domain / range of internal nodes. \n\nThe domain has to be manually recomputed each time that up-stream graph is changed." T nuke.toNode('domain_CurveTool').knob('go').execute() +STARTLINE}
addUserKnob {22 reset_domain_Python_Script_Button l "Reset Domain" t "Reset the domain / range of internal nodes. " -STARTLINE T "node = nuke.toNode('domain_CurveTool')\n\nknob = node.knob('maxlumapixdata')\nknob.clearAnimated()\nknob.setValue((0, 0))\n\nknob = node.knob('maxlumapixvalue')\nknob.clearAnimated()\nknob.setValue(1)\n\nknob = node.knob('minlumapixdata')\nknob.clearAnimated()\nknob.setValue((0, 0))\n\nknob = node.knob('minlumapixvalue')\nknob.clearAnimated()\nknob.setValue(0)"}
addUserKnob {7 p_Floating_Point_Slider l p R 0.2 5}
p_Floating_Point_Slider 1
addUserKnob {7 q_Floating_Point_Slider l q R 1 3}
q_Floating_Point_Slider 1
addUserKnob {20 tone_parameters_endGroup l endGroup n -1}
addUserKnob {20 miscellaneous_Group l "Miscellaneous Parameters" n 1}
addUserKnob {4 colourspace_Pulldown_Choice l Colourspace M {ACES2065-1 ACEScc ACEScg ACESproxy "ALEXA Wide Gamut RGB" "Adobe RGB (1998)" "Adobe Wide Gamut RGB" "Apple RGB" "Best RGB" "Beta RGB" "CIE RGB" "Cinema Gamut" "ColorMatch RGB" DCI-P3 DCI-P3+ DRAGONcolor DRAGONcolor2 "Don RGB 4" "ECI RGB v2" "ERIMM RGB" "Ekta Space PS 5" "Max RGB" "NTSC RGB" "Pal/Secam RGB" "ProPhoto RGB" REDcolor REDcolor2 REDcolor3 REDcolor4 "RIMM RGB" "ROMM RGB" "Rec. 2020" "Rec. 709" "Russell RGB" S-Gamut S-Gamut3 S-Gamut3.Cine "SMPTE-C RGB" V-Gamut "Xtreme RGB" sRGB}}
colourspace_Pulldown_Choice sRGB
addUserKnob {7 mix_Floating_Point_Slider l Mix t "Dissolve between the original image at 0 and the full effect at 1."}
mix_Floating_Point_Slider 1
addUserKnob {6 clamp_output_Check_Box l "Clamp Output" t "Output values are clamped within \[0, 1] domain." +STARTLINE}
clamp_output_Check_Box true
addUserKnob {20 miscellaneous_endGroup l endGroup n -1}
addUserKnob {20 about_Tab l About}
addUserKnob {26 description_Text l "" +STARTLINE T "Logarithmic Tonemapping Operator v0.1.3\n\ncolour-science.org - July 10, 2016\n\nThis Gizmo / Group implements a Logarithmic Tonemapping Operator.\n\n\[1] Schlick, C. (1994). Quantization Techniques for Visualization of High Dynamic Range Pictures. Proceedings of the Fifth Eurographics Workshop on Rendering, (Section 5), 7–18."}
}
Input {
inputs 0
name Input
xpos -150
ypos -177
}
set N28ff60 [stack 0]
Dot {
name Dot7
xpos -116
ypos -102
}
set N221ee7c0 [stack 0]
push 0
push $N221ee7c0
push $N28ff60
Dot {
name Dot1
xpos -116
ypos -198
}
Group {
name RGB_Luminance
selected true
xpos -370
ypos -201
addUserKnob {20 RGB_luminance_Tab l "RGB Luminance"}
addUserKnob {20 colourspace_parameters_Begin_Group l "Colourspace Parameters" n 1}
addUserKnob {4 colourspace_Pulldown_Choice l Colourspace M {ACES2065-1 ACEScc ACEScg ACESproxy "ALEXA Wide Gamut RGB" "Adobe RGB (1998)" "Adobe Wide Gamut RGB" "Apple RGB" "Best RGB" "Beta RGB" "CIE RGB" "Cinema Gamut" "ColorMatch RGB" DCI-P3 DCI-P3+ DRAGONcolor DRAGONcolor2 "Don RGB 4" "ECI RGB v2" "ERIMM RGB" "Ekta Space PS 5" "Max RGB" "NTSC RGB" "Pal/Secam RGB" "ProPhoto RGB" REDcolor REDcolor2 REDcolor3 REDcolor4 "RIMM RGB" "ROMM RGB" "Rec. 2020" "Rec. 709" "Russell RGB" S-Gamut S-Gamut3 S-Gamut3.Cine "SMPTE-C RGB" V-Gamut "Xtreme RGB" sRGB}}
colourspace_Pulldown_Choice {{parent.colourspace_Pulldown_Choice x1 0}}
addUserKnob {20 endGroup n -1}
addUserKnob {20 about_Tab l About}
addUserKnob {26 description_Text l "" +STARTLINE T "RGB Luminance v0.1.4\n\ncolour-science.org - July 10, 2016\n\nThis Gizmo / Group computes the \"RGB Luminance\" of given colourspace."}
}
Input {
inputs 0
name Input
xpos -4880
ypos -273
}
set N221f0ef0 [stack 0]
Expression {
expr0 "0.212639005872 * r + 0.715168678768 * g + 0.0721923153607 * b"
expr1 "0.212639005872 * r + 0.715168678768 * g + 0.0721923153607 * b"
expr2 "0.212639005872 * r + 0.715168678768 * g + 0.0721923153607 * b"
name sRGB_luminance_Expression
xpos -5006
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.0 * r + 1.0 * g + 0.0 * b"
expr1 "0.0 * r + 1.0 * g + 0.0 * b"
expr2 "0.0 * r + 1.0 * g + 0.0 * b"
name Xtreme_RGB_luminance_Expression
xpos -5136
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.26068555009 * r + 0.77489446333 * g + -0.03558001342 * b"
expr1 "0.26068555009 * r + 0.77489446333 * g + -0.03558001342 * b"
expr2 "0.26068555009 * r + 0.77489446333 * g + -0.03558001342 * b"
name V-Gamut_luminance_Expression
xpos -5286
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.212376360705 * r + 0.701059856926 * g + 0.0865637823692 * b"
expr1 "0.212376360705 * r + 0.701059856926 * g + 0.0865637823692 * b"
expr2 "0.212376360705 * r + 0.701059856926 * g + 0.0865637823692 * b"
name SMPTE-C_RGB_luminance_Expression
xpos -5436
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.215075820116 * r + 0.885068501744 * g + -0.100144321859 * b"
expr1 "0.215075820116 * r + 0.885068501744 * g + -0.100144321859 * b"
expr2 "0.215075820116 * r + 0.885068501744 * g + -0.100144321859 * b"
name S-Gamut3.Cine_luminance_Expression
xpos -5586
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.270979670813 * r + 0.786606411221 * g + -0.0575860820344 * b"
expr1 "0.270979670813 * r + 0.786606411221 * g + -0.0575860820344 * b"
expr2 "0.270979670813 * r + 0.786606411221 * g + -0.0575860820344 * b"
name S-Gamut3_luminance_Expression
xpos -5736
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.270979670813 * r + 0.786606411221 * g + -0.0575860820344 * b"
expr1 "0.270979670813 * r + 0.786606411221 * g + -0.0575860820344 * b"
expr2 "0.270979670813 * r + 0.786606411221 * g + -0.0575860820344 * b"
name S-Gamut_luminance_Expression
xpos -5886
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.315199106486 * r + 0.664839320751 * g + 0.0199615727626 * b"
expr1 "0.315199106486 * r + 0.664839320751 * g + 0.0199615727626 * b"
expr2 "0.315199106486 * r + 0.664839320751 * g + 0.0199615727626 * b"
name Russell_RGB_luminance_Expression
xpos -6036
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.212639005872 * r + 0.715168678768 * g + 0.0721923153607 * b"
expr1 "0.212639005872 * r + 0.715168678768 * g + 0.0721923153607 * b"
expr2 "0.212639005872 * r + 0.715168678768 * g + 0.0721923153607 * b"
name Rec._709_luminance_Expression
xpos -6186
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.262700212011 * r + 0.677998071519 * g + 0.0593017164699 * b"
expr1 "0.262700212011 * r + 0.677998071519 * g + 0.0593017164699 * b"
expr2 "0.262700212011 * r + 0.677998071519 * g + 0.0593017164699 * b"
name Rec._2020_luminance_Expression
xpos -6336
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
expr1 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
expr2 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
name ROMM_RGB_luminance_Expression
xpos -6486
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
expr1 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
expr2 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
name RIMM_RGB_luminance_Expression
xpos -6636
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.211947869481 * r + 0.723019772048 * g + 0.0650323584709 * b"
expr1 "0.211947869481 * r + 0.723019772048 * g + 0.0650323584709 * b"
expr2 "0.211947869481 * r + 0.723019772048 * g + 0.0650323584709 * b"
name REDcolor4_luminance_Expression
xpos -6786
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.22890381241 * r + 0.780859824404 * g + -0.0097636368135 * b"
expr1 "0.22890381241 * r + 0.780859824404 * g + -0.0097636368135 * b"
expr2 "0.22890381241 * r + 0.780859824404 * g + -0.0097636368135 * b"
name REDcolor3_luminance_Expression
xpos -6936
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.169442097101 * r + 0.864828202542 * g + -0.0342702996431 * b"
expr1 "0.169442097101 * r + 0.864828202542 * g + -0.0342702996431 * b"
expr2 "0.169442097101 * r + 0.864828202542 * g + -0.0342702996431 * b"
name REDcolor2_luminance_Expression
xpos -7086
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.202218816094 * r + 0.758528901746 * g + 0.03925228216 * b"
expr1 "0.202218816094 * r + 0.758528901746 * g + 0.03925228216 * b"
expr2 "0.202218816094 * r + 0.758528901746 * g + 0.03925228216 * b"
name REDcolor_luminance_Expression
xpos -7236
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
expr1 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
expr2 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
name ProPhoto_RGB_luminance_Expression
xpos -7386
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.222004309998 * r + 0.706654765925 * g + 0.0713409240765 * b"
expr1 "0.222004309998 * r + 0.706654765925 * g + 0.0713409240765 * b"
expr2 "0.222004309998 * r + 0.706654765925 * g + 0.0713409240765 * b"
name Pal/Secam_RGB_luminance_Expression
xpos -7536
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.29890307025 * r + 0.586619854659 * g + 0.114477075091 * b"
expr1 "0.29890307025 * r + 0.586619854659 * g + 0.114477075091 * b"
expr2 "0.29890307025 * r + 0.586619854659 * g + 0.114477075091 * b"
name NTSC_RGB_luminance_Expression
xpos -7686
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.31011010912 * r + 0.68988989088 * g + 0.0 * b"
expr1 "0.31011010912 * r + 0.68988989088 * g + 0.0 * b"
expr2 "0.31011010912 * r + 0.68988989088 * g + 0.0 * b"
name Max_RGB_luminance_Expression
xpos -7836
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.261148012901 * r + 0.734851409355 * g + 0.00400057774408 * b"
expr1 "0.261148012901 * r + 0.734851409355 * g + 0.00400057774408 * b"
expr2 "0.261148012901 * r + 0.734851409355 * g + 0.00400057774408 * b"
name Ekta_Space_PS_5_luminance_Expression
xpos -7986
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
expr1 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
expr2 "0.288071128229 * r + 0.71184321781 * g + 8.56539606053e-05 * b"
name ERIMM_RGB_luminance_Expression
xpos -8136
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.320159696395 * r + 0.601827518042 * g + 0.0780127855624 * b"
expr1 "0.320159696395 * r + 0.601827518042 * g + 0.0780127855624 * b"
expr2 "0.320159696395 * r + 0.601827518042 * g + 0.0780127855624 * b"
name ECI_RGB_v2_luminance_Expression
xpos -8286
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.278137227919 * r + 0.687858269682 * g + 0.0340045023989 * b"
expr1 "0.278137227919 * r + 0.687858269682 * g + 0.0340045023989 * b"
expr2 "0.278137227919 * r + 0.687858269682 * g + 0.0340045023989 * b"
name Don_RGB_4_luminance_Expression
xpos -8436
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.194255795247 * r + 0.738556869189 * g + 0.0671873355644 * b"
expr1 "0.194255795247 * r + 0.738556869189 * g + 0.0671873355644 * b"
expr2 "0.194255795247 * r + 0.738556869189 * g + 0.0671873355644 * b"
name DRAGONcolor2_luminance_Expression
xpos -8586
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.220724022316 * r + 0.839188054601 * g + -0.0599120769169 * b"
expr1 "0.220724022316 * r + 0.839188054601 * g + -0.0599120769169 * b"
expr2 "0.220724022316 * r + 0.839188054601 * g + -0.0599120769169 * b"
name DRAGONcolor_luminance_Expression
xpos -8736
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.203986297104 * r + 0.882591093117 * g + -0.0865773902211 * b"
expr1 "0.203986297104 * r + 0.882591093117 * g + -0.0865773902211 * b"
expr2 "0.203986297104 * r + 0.882591093117 * g + -0.0865773902211 * b"
name DCI-P3+_luminance_Expression
xpos -8886
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.209491677913 * r + 0.721595254161 * g + 0.0689130679262 * b"
expr1 "0.209491677913 * r + 0.721595254161 * g + 0.0689130679262 * b"
expr2 "0.209491677913 * r + 0.721595254161 * g + 0.0689130679262 * b"
name DCI-P3_luminance_Expression
xpos -9036
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.274950336309 * r + 0.658074997381 * g + 0.0669746663108 * b"
expr1 "0.274950336309 * r + 0.658074997381 * g + 0.0669746663108 * b"
expr2 "0.274950336309 * r + 0.658074997381 * g + 0.0669746663108 * b"
name ColorMatch_RGB_luminance_Expression
xpos -9186
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.261261357526 * r + 0.869642145755 * g + -0.130903503281 * b"
expr1 "0.261261357526 * r + 0.869642145755 * g + -0.130903503281 * b"
expr2 "0.261261357526 * r + 0.869642145755 * g + -0.130903503281 * b"
name Cinema_Gamut_luminance_Expression
xpos -9336
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.176204436534 * r + 0.812984693878 * g + 0.0108108695884 * b"
expr1 "0.176204436534 * r + 0.812984693878 * g + 0.0108108695884 * b"
expr2 "0.176204436534 * r + 0.812984693878 * g + 0.0108108695884 * b"
name CIE_RGB_luminance_Expression
xpos -9486
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.303318752896 * r + 0.663744233497 * g + 0.0329370136071 * b"
expr1 "0.303318752896 * r + 0.663744233497 * g + 0.0329370136071 * b"
expr2 "0.303318752896 * r + 0.663744233497 * g + 0.0329370136071 * b"
name Beta_RGB_luminance_Expression
xpos -9636
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.227601772978 * r + 0.738394652678 * g + 0.0340035743443 * b"
expr1 "0.227601772978 * r + 0.738394652678 * g + 0.0340035743443 * b"
expr2 "0.227601772978 * r + 0.738394652678 * g + 0.0340035743443 * b"
name Best_RGB_luminance_Expression
xpos -9786
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.244615922485 * r + 0.672044251324 * g + 0.0833398261912 * b"
expr1 "0.244615922485 * r + 0.672044251324 * g + 0.0833398261912 * b"
expr2 "0.244615922485 * r + 0.672044251324 * g + 0.0833398261912 * b"
name Apple_RGB_luminance_Expression
xpos -9936
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.25872824304 * r + 0.724682314949 * g + 0.0165894420113 * b"
expr1 "0.25872824304 * r + 0.724682314949 * g + 0.0165894420113 * b"
expr2 "0.25872824304 * r + 0.724682314949 * g + 0.0165894420113 * b"
name Adobe_Wide_Gamut_RGB_luminance_Expression
xpos -10086
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.297344975251 * r + 0.627363566255 * g + 0.075291458494 * b"
expr1 "0.297344975251 * r + 0.627363566255 * g + 0.075291458494 * b"
expr2 "0.297344975251 * r + 0.627363566255 * g + 0.075291458494 * b"
name Adobe_RGB_(1998)_luminance_Expression
xpos -10236
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.291953779 * r + 0.823841041511 * g + -0.11579482051 * b"
expr1 "0.291953779 * r + 0.823841041511 * g + -0.11579482051 * b"
expr2 "0.291953779 * r + 0.823841041511 * g + -0.11579482051 * b"
name ALEXA_Wide_Gamut_RGB_luminance_Expression
xpos -10386
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.272228716781 * r + 0.674081765811 * g + 0.0536895174079 * b"
expr1 "0.272228716781 * r + 0.674081765811 * g + 0.0536895174079 * b"
expr2 "0.272228716781 * r + 0.674081765811 * g + 0.0536895174079 * b"
name ACESproxy_luminance_Expression
xpos -10536
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.272228716781 * r + 0.674081765811 * g + 0.0536895174079 * b"
expr1 "0.272228716781 * r + 0.674081765811 * g + 0.0536895174079 * b"
expr2 "0.272228716781 * r + 0.674081765811 * g + 0.0536895174079 * b"
name ACEScg_luminance_Expression
xpos -10686
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.272228716781 * r + 0.674081765811 * g + 0.0536895174079 * b"
expr1 "0.272228716781 * r + 0.674081765811 * g + 0.0536895174079 * b"
expr2 "0.272228716781 * r + 0.674081765811 * g + 0.0536895174079 * b"
name ACEScc_luminance_Expression
xpos -10836
ypos -251
}
push $N221f0ef0
Expression {
expr0 "0.343966449765 * r + 0.728166096613 * g + -0.0721325463786 * b"
expr1 "0.343966449765 * r + 0.728166096613 * g + -0.0721325463786 * b"
expr2 "0.343966449765 * r + 0.728166096613 * g + -0.0721325463786 * b"
name ACES2065-1_luminance_Expression
xpos -10986
ypos -251
}
Switch {
inputs 41
which {{parent.colourspace_Pulldown_Choice}}
name colourspace_Switch
selected true
xpos -4880
ypos -225
addUserKnob {20 User}
addUserKnob {4 colourspace_Pulldown_Choice l Colourspace M {ACES2065-1 ACEScc ACEScg ACESproxy "ALEXA Wide Gamut RGB" "Adobe RGB (1998)" "Adobe Wide Gamut RGB" "Apple RGB" "Best RGB" "Beta RGB" "CIE RGB" "Cinema Gamut" "ColorMatch RGB" DCI-P3 DCI-P3+ DRAGONcolor DRAGONcolor2 "Don RGB 4" "ECI RGB v2" "ERIMM RGB" "Ekta Space PS 5" "Max RGB" "NTSC RGB" "Pal/Secam RGB" "ProPhoto RGB" REDcolor REDcolor2 REDcolor3 REDcolor4 "RIMM RGB" "ROMM RGB" "Rec. 2020" "Rec. 709" "Russell RGB" S-Gamut S-Gamut3 S-Gamut3.Cine "SMPTE-C RGB" V-Gamut "Xtreme RGB" sRGB}}
}
Output {
name Output
xpos -4880
ypos -201
}
end_group
set N2d793800 [stack 0]
Dot {
name Dot4
xpos -446
ypos -198
}
Dot {
name Dot5
xpos -446
ypos -126
}
set N24532b80 [stack 0]
Expression {
channel3 rgb
expr3 "(log(1 + p_Floating_Point_Slider * r) / log(1 + p_Floating_Point_Slider * L_max_Floating_Point_Slider)) ** (1 / q_Floating_Point_Slider)"
name logarithmic_tonemapping_operator_Expression
xpos -260
ypos -129
addUserKnob {20 User}
addUserKnob {7 p_Floating_Point_Slider l p}
p_Floating_Point_Slider {{parent.p_Floating_Point_Slider}}
addUserKnob {7 q_Floating_Point_Slider l q}
q_Floating_Point_Slider {{parent.q_Floating_Point_Slider}}
addUserKnob {7 L_max_Floating_Point_Slider l L_max}
L_max_Floating_Point_Slider {{parent.domain_CurveTool.maxlumapixvalue}}
}
Merge2 {
inputs 2
operation multiply
name multiply_Merge
xpos -260
ypos -105
}
push $N24532b80
Dot {
name Dot8
xpos -446
ypos -78
}
Merge2 {
inputs 2
operation divide
name divide_Merge
xpos -260
ypos -81
}
set N27c115d0 [stack 0]
Clamp {
name Clamp
xpos -370
ypos -61
}
push $N27c115d0
Switch {
inputs 2
which {{parent.clamp_output_Check_Box}}
name clamp_Switch
xpos -260
ypos -52
}
push $N28ff60
Dot {
name Dot2
xpos -6
ypos -174
}
Dot {
name Dot3
xpos -6
ypos -49
}
Dissolve {
inputs 3+1
which {{parent.mix_Floating_Point_Slider}}
name Dissolve
xpos -150
ypos -56
}
Output {
name Output
xpos -150
ypos -24
}
push $N2d793800
Dot {
name Dot6
xpos -336
ypos -174
}
CurveTool {
operation "Max Luma Pixel"
avgframes 1
ROI {0 0 {Input.width} {Input.height}}
autocropdata {1071 712 3214 2136}
maxlumapixvalue 1
name domain_CurveTool
xpos -260
ypos -177
}
end_group
push $N22164320
Group {
name Exponential_Tonemapping_Operator
tile_color 0xffbf00ff
xpos 510
ypos 39
addUserKnob {20 exponential_tonemapping_operator_tab l "Exponential Tonemapping Operator"}
addUserKnob {20 tone_parameters_Group l "Tone Parameters" n 1}
addUserKnob {22 compute_limits_Python_Script_Button l "Compute Domain" t "Computes the domain / range of internal nodes. \n\nThe domain has to be manually recomputed each time that up-stream graph is changed." T nuke.toNode('domain_CurveTool').knob('go').execute() +STARTLINE}
addUserKnob {22 reset_domain_Python_Script_Button l "Reset Domain" t "Reset the domain / range of internal nodes. " -STARTLINE T "node = nuke.toNode('domain_CurveTool')\n\nknob = node.knob('maxlumapixdata')\nknob.clearAnimated()\nknob.setValue((0, 0))\n\nknob = node.knob('maxlumapixvalue')\nknob.clearAnimated()\nknob.setValue(1)\n\nknob = node.knob('minlumapixdata')\nknob.clearAnimated()\nknob.setValue((0, 0))\n\nknob = node.knob('minlumapixvalue')\nknob.clearAnimated()\nknob.setValue(0)"}
addUserKnob {7 p_Floating_Point_Slider l p}
p_Floating_Point_Slider 1
addUserKnob {7 q_Floating_Point_Slider l q R 1 3}
q_Floating_Point_Slider 1
addUserKnob {20 tone_parameters_endGroup l endGroup n -1}
addUserKnob {20 miscellaneous_Group l "Miscellaneous Parameters" n 1}
addUserKnob {4 colourspace_Pulldown_Choice l Colourspace M {ACES2065-1 ACEScc ACEScg ACESproxy "ALEXA Wide Gamut RGB" "Adobe RGB (1998)" "Adobe Wide Gamut RGB" "Apple RGB" "Best RGB" "Beta RGB" "CIE RGB" "Cinema Gamut" "ColorMatch RGB" DCI-P3 DCI-P3+ DRAGONcolor DRAGONcolor2 "Don RGB 4" "ECI RGB v2" "ERIMM RGB" "Ekta Space PS 5" "Max RGB" "NTSC RGB" "Pal/Secam RGB" "ProPhoto RGB" REDcolor REDcolor2 REDcolor3 REDcolor4 "RIMM RGB" "ROMM RGB" "Rec. 2020" "Rec. 709" "Russell RGB" S-Gamut S-Gamut3 S-Gamut3.Cine "SMPTE-C RGB" V-Gamut "Xtreme RGB" sRGB}}
colourspace_Pulldown_Choice sRGB
addUserKnob {7 mix_Floating_Point_Slider l Mix t "Dissolve between the original image at 0 and the full effect at 1."}
mix_Floating_Point_Slider 1
addUserKnob {6 clamp_output_Check_Box l "Clamp Output" t "Output values are clamped within \[0, 1] domain." +STARTLINE}
clamp_output_Check_Box true
addUserKnob {20 miscellaneous_endGroup l endGroup n -1}
addUserKnob {20 about_Tab l About}
addUserKnob {26 description_Text l "" +STARTLINE T "Exponential Tonemapping Operator v0.1.3\n\ncolour-science.org - July 10, 2016\n\nThis Gizmo / Group implements an Exponential Tonemapping Operator.\n\n\[1] Schlick, C. (1994). Quantization Techniques for Visualization of High Dynamic Range Pictures. Proceedings of the Fifth Eurographics Workshop on Rendering, (Section 5), 7–18."}
}
Input {
inputs 0