ARRI LogC4 Specification
ARRI LogC4 Specification
Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Version History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Hardware Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1 LogC4 Hardware Encoding Curve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.1 ARRI LogC4 Curve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.1.1 Encoding Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4.1.2 Decoding Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4.2 ARRI Wide Gamut 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.2.1 RGB Primaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.2.2 White Point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.3 ARRI LogC4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.3.1 ARRI LogC4 to CIE XYZ Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4.3.2 ARRI LogC4 to ACES Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5 Contact . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Appendices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
E False Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
E.1 Achromatic Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
E.2 False Color Zones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
E.3 False Color Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
E.3.1 False Color Zone Color Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
E.3.2 Computed Bounds – EI 160 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
E.3.3 Computed Bounds – EI 200 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
E.3.4 Computed Bounds – EI 250 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
E.3.5 Computed Bounds – EI 320 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
E.3.6 Computed Bounds – EI 400 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
E.3.7 Computed Bounds – EI 500 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
E.3.8 Computed Bounds – EI 640 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
E.3.9 Computed Bounds – EI 800 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
E.3.10 Computed Bounds – EI 1000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
E.3.11 Computed Bounds – EI 1280 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
E.3.12 Computed Bounds – EI 1600 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
E.3.13 Computed Bounds – EI 2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
E.3.14 Computed Bounds – EI 2560 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
E.3.15 Computed Bounds – EI 3200 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2 Version History
ARRI LogC4 is a direct successor to the prior LogC v3 encoding definition in use since 2011, and continues its
version history. The prefix “ARRI” was adopted to ensure consistent naming across our cameras and provide a
stable base for advancement into the future. The following table provides a historical overview of the versioning
history for ARRI camera encodings:
Note: In technical or UI text, the version number must be included for full specificity, including the reduced
form, e.g. ARRI LogC4 or LogC4.
1.0 EI 200
EI 400 4000
EI 800
0.9 EI 1600
EI 3200 3500
EI 6400
0.8
3000
0.7
0.6 2500
0.5 2000
0.4
1500
500
0.1
0.0 0
-18.0 -16.0 -14.0 -12.0 -10.0 -8.0 -6.0 -4.0 -2.0 0.0
Relative Exposure (Stops)
HEI
ah = (218 − 16) (1a)
800
1023 − 95
b= (1b)
1023
95
c= (1c)
1023
where:
1.0
4000
0.9
3500
0.8
3000
0.7
0.6 2500
0.5 2000
0.4
1500
500
0.1
0.0 0
-12.0 -10.0 -8.0 -6.0 -4.0 -2.0 0.0 2.0 4.0 6.0 8.0 10.0 12.0
Relative Exposure (Stops)
Figure 2: ARRI LogC4 Curve as normalized Float and 12-bit Integer signal.
The ARRI LogC4 Curve is exposure index independent, meaning, correct linearization of LogC4 encoded
images does not depend on the user selected EI. This is a notable change from LogC3, and simplifies
decoding of LogC4 encoded footage. This feature is enabled by the hardware encoding method described in
Section 3.1.
Although ARRI cameras will not produce negative LogC4 values in internal processing or RAW data,
negative LogC4 values may be introduced by intermediate processes in post-production software and
colorimetric conversions. Negative handling is covered in the following definitions.
Note: The ARRI LogC4 Curve function was designed for 12-bit encoding as its minimum quantization level,
10-bit ARRI LogC4 encoded images should not be used for archival or interchange.
log2 (aEscene +64)−6
b +c Escene ≥ t
14
f (Escene ) = (2)
Escene −t
Escene < t
s
1
a = (218 − 16) (2a)
117.45
7 ln(2) 27−14c/b
s= (2b)
ab
−c
2(14 b
+6)
− 64
t= (2c)
a
where:
f = ARRI LogC4 Curve encoding function.
Escene = Relative scene linear signal.
a = Relative scene linear gain factor, see Equation 4.
s = Inverse slope at threshold t.
t = Relative scene linear threshold point.
E ′ −c +6)
2(14 −64
−1 ′
b
a
E′ ≥ 0
f (E ) = (3)
E ′s + t E′ < 0
where:
f −1 = ARRI LogC4 Curve decoding function.
E ′ = ARRI LogC4 Curve encoded signal.
Terms a, b, c, s and t are defined in Equations 2a, 1b, 1c, 2b, 2c respectively.
The constant 117.45 found in the parameter a defined in Equation 2a is the relative scene linear gain factor
derived by the following equation:
ARRI Wide Gamut 4 (AWG4) is the name of the color primaries used in ARRI LogC4. All chromaticity values
are defined with CIE 1931 2 Degree Standard Observer Colorimetry.
1.0
0.8
0.6
CIE y
0.4
0.2
0.0
Figure 3: The 2D gamut bounded by ARRI Wide Gamut 4 in the CIE 1931 chromaticity diagram is shown
as the solid line with colored markers. The larger and smaller gamuts with dotted lines are ACES AP0
(SMPTE ST 2065-1) and ITU-R BT.2020 respectively.
CIE x CIE y
CIE x CIE y
ARRI LogC4 (LogC4) shall be defined as the logarithmic color space composed of the transfer function
ARRI LogC4 Curve and the color primaries ARRI Wide Gamut 4.
0.704858320407232064 0.129760295170463003 0.115837311473976537
MXYZ =
0.254524176404027025 0.781477732712002049 −0.036001909116029039 (5a)
0.000000000000000000 0.000000000000000000 1.089057750759878429
where:
f −1 = ARRI LogC4 Curve decoding function, defined in Equation 3.
MXYZ = ARRI Wide Gamut 4 to CIE XYZ conversion matrix.
0.750957362824734131 0.144422786709757084 0.104619850465508965
MACES =
0.000821837079380207 1.007397584885003194 −0.008219421964383583 (6a)
−0.000499952143533471 −0.000854177231436971 1.001354129374970370
where:
f −1 = ARRI LogC4 Curve decoding function, defined in Equation 3.
MACES = ARRI Wide Gamut 4 to ACES AP0 conversion matrix.
Note: The above MACES matrix has been created with a CAT02 chromatic adaptation transform from CIE
D65 to the ACES RGB White Point. Which, despite the primaries being defined within the gamut of AP0, may
produce negative values at the extreme border of ARRI Wide Gamut 4 in an ACES (ST 2065-1) container. Care
should be used to preserve these values if a lossless round-trip conversion is required.
5 Contact
In case you have questions or comments, please contact: [email protected]
Relative Scene Linear 0.0 0.0929, 0.0929, 0.0929 0.0000, 0.0000, 0.0000
Relative Scene Linear 0.18 0.2784, 0.2784, 0.2784 0.1800, 0.1800, 0.1800
ARRI LogC4 Hardware Max 1.0000, 1.0000, 1.0000 469.80, 469.80, 469.80
10-bit Legal 12-bit Legal 10-bit Full 12-bit Full IRE Stops
10-bit Legal 12-bit Legal 10-bit Full 12-bit Full IRE Stops
145 581 95 380 9.29% BLACK
546 2183 563 2252 55.00% 4.39
152 606 102 410 10.00% -6.31
555 2218 573 2293 56.00% 4.55
160 641 113 450 11.00% -4.96
563 2253 583 2334 57.00% 4.70
169 676 123 491 12.00% -4.22
572 2288 593 2375 58.00% 4.86
178 712 133 532 13.00% -3.69
581 2323 604 2416 59.00% 5.02
187 747 143 573 14.00% -3.26
590 2358 614 2457 60.00% 5.17
195 782 153 614 15.00% -2.90
598 2393 624 2498 61.00% 5.33
204 817 164 655 16.00% -2.58
607 2428 634 2539 62.00% 5.48
213 852 174 696 17.00% -2.29
616 2464 644 2580 63.00% 5.64
222 887 184 737 18.00% -2.03
625 2499 655 2621 64.00% 5.79
230 922 194 778 19.00% -1.78
633 2534 665 2662 65.00% 5.94
239 957 205 819 20.00% -1.55
642 2569 675 2703 66.00% 6.10
248 992 215 860 21.00% -1.33
651 2604 685 2744 67.00% 6.25
257 1027 225 901 22.00% -1.12
660 2639 696 2785 68.00% 6.41
265 1062 235 942 23.00% -0.91
668 2674 706 2826 69.00% 6.56
274 1097 246 983 24.00% -0.71
677 2709 716 2867 70.00% 6.72
283 1132 256 1024 25.00% -0.52
686 2744 726 2907 71.00% 6.87
292 1167 266 1065 26.00% -0.33
695 2779 737 2948 72.00% 7.03
301 1202 276 1106 27.00% -0.15
703 2814 747 2989 73.00% 7.18
308 1232 285 1140 27.84% 0.00
712 2849 757 3030 74.00% 7.34
309 1237 286 1147 28.00% 0.03
721 2884 767 3071 75.00% 7.49
318 1272 297 1188 29.00% 0.21
730 2919 777 3112 76.00% 7.64
327 1307 307 1229 30.00% 0.38
739 2954 788 3153 77.00% 7.80
336 1342 317 1269 31.00% 0.55
747 2989 798 3194 78.00% 7.95
344 1377 327 1310 32.00% 0.72
756 3024 808 3235 79.00% 8.11
353 1412 338 1351 33.00% 0.89
765 3059 818 3276 80.00% 8.26
362 1447 348 1392 34.00% 1.06
774 3094 829 3317 81.00% 8.42
371 1482 358 1433 35.00% 1.22
782 3129 839 3358 82.00% 8.57
379 1517 368 1474 36.00% 1.39
791 3164 849 3399 83.00% 8.73
388 1552 379 1515 37.00% 1.55
800 3199 859 3440 84.00% 8.88
397 1588 389 1556 38.00% 1.71
809 3234 870 3481 85.00% 9.03
406 1623 399 1597 39.00% 1.87
817 3269 880 3522 86.00% 9.19
414 1658 409 1638 40.00% 2.03
826 3304 890 3563 87.00% 9.34
423 1693 419 1679 41.00% 2.19
835 3340 900 3604 88.00% 9.50
432 1728 430 1720 42.00% 2.35
844 3375 910 3645 89.00% 9.65
441 1763 440 1761 43.00% 2.51
852 3410 921 3686 90.00% 9.81
449 1798 450 1802 44.00% 2.67
861 3445 931 3726 91.00% 9.96
458 1833 460 1843 45.00% 2.83
870 3480 941 3767 92.00% 10.12
467 1868 471 1884 46.00% 2.99
879 3515 951 3808 93.00% 10.27
476 1903 481 1925 47.00% 3.14
887 3550 962 3849 94.00% 10.42
484 1938 491 1966 48.00% 3.30
896 3585 972 3890 95.00% 10.58
493 1973 501 2007 49.00% 3.46
905 3620 982 3931 96.00% 10.73
502 2008 512 2048 50.00% 3.61
914 3655 992 3972 97.00% 10.89
511 2043 522 2088 51.00% 3.77
922 3690 1003 4013 98.00% 11.04
520 2078 532 2129 52.00% 3.93
931 3725 1013 4054 99.00% 11.20
528 2113 542 2170 53.00% 4.08
940 3760 1023 4095 100.00% 11.35
537 2148 552 2211 54.00% 4.24
10-bit Legal 12-bit Legal 10-bit Full 12-bit Full IRE Stops
where:
A′ = Achromatic LogC4 signal.
Er′ = Red channel of the normalized RGBLogC4 signal.
Eg′ = Green channel of the normalized RGBLogC4 signal.
Eb′ = Blue channel of the normalized RGBLogC4 signal.
F
Bz = fhw ( D , HEI ) (8a)
N
F
Bz = fhw ( I , 400) (8b)
N
N = 260991 (8c)
where:
Bz = Normalized LogC4 Curve encoded bound for zone z. Bz ∈ {Bzl , Bzu }
fhw = LogC4 Hardware Encoding Curve function, defined in Equation 1.
FD = Upper or Lower Bound of EI dependent False Color Zone (Table 1).
N = Max signal normalization factor.
HEI = User selected EI value.
FI = Upper or Lower Bound of EI independent False Color Zone (Table 2).
Note: The two undefined upper and lower bounds for the signal extrema are respectively fixed at the min and
max of the output signal A′ , i.e. for the Red Upper Bound Bzu = 1.0 and for the Purple Lower Bound Bzl = 0.0
for all EI.
Note: For HEI ≥ 3200, the top two zone’s bounds (Red, Yellow) are held at a constant EI 3200. This is due
to this EI gain producing values beyond 1.0 in LogC4. This results in the visualization of earlier signal clipping
than what is present in the sensor linear values or RAW file.
where:
Bzl = Lower bound for a particular zone z. Calculated from Equations 8a, 8b, 8c.
Bzu = Upper bound for a particular zone z. Calculated from Equations 8a, 8b, 8c.
Rz = Red value from the corresponding False Color Zone Index.
Gz = Green value from the corresponding False Color Zone Index.
Bz = Blue value from the corresponding False Color Zone Index.
A′ = Achromatic LogC4 signal.
(R, G, B) = Output display RGB signal.
Table 3: The False Color Index colors have no colorimetric meaning and are purely categorical.