DJI: D-Log M and D-Log

Published · Updated

At a glance

  • Reading time 1 min
  • Sections 7

The rule

DJI D-Log M places 18% middle gray at 39.88% of code with 7.87 stops of headroom above it, close to S-Log3 in gray placement but with its own gamut matrix.

Matching LUTs

Every .cube in the catalog can be tried on a frame of your own in the LUT Optimizer before you download it.

Browse the catalog →

The hub for the DJI pages on this site. The figures below are computed at build time from the transform library the site ships.

Where DJI D-Log M is used

DJI's 10-bit D-Log M profile is the default log-style capture mode on compact festival and gimbal cameras including the Osmo Pocket 3, Osmo Action 4/5 Pro, and Mavic 3 / Air 3 drone lines. DJI D-Log M places 18% middle gray at 39.88% of code with 7.87 stops of headroom above it, close to S-Log3 in gray placement but with its own gamut matrix.

The curve

0%25%50%75%100%-6-4-20+2+4+6+8stops from 18% gray (scene reflectance)18% gray 39.88%90% white 57.29%clip, +7.87 stops
DJI D-Log M, computed from the transform library this site ships: 0% black encodes at 9.29% (10-bit code 95), 18% gray at 39.88% (code 408), 90% white at 57.29% (code 586); the curve reaches 100% at 4200% scene reflectance, 7.87 stops over gray.

D-Log M encodes 18% gray at 39.88% (10-bit code 408) and reaches linear 8.0 (display white under the shared shoulder) at 81.53%, leaving 2.39 stops of highlight reserve above display white.

The gray ladder

Stops from 18% grayScene reflectanceDJI D-Log M code value10-bit
-41.13%15.88%162
-32.25%20.45%209
-24.50%26.19%268
-19.00%32.77%335
018.0%39.88%408
+136.0%47.28%484
+272.0%54.84%561
+3144.0%62.48%639
+4288.0%70.17%718
+5576.0%77.87%797
+61152.0%85.59%876
+72304.0%93.31%955
The DJI D-Log M gray ladder, computed from the shipped library: each stop from four under 18% gray to the last whole stop before the curve clips (7.87 stops over gray, at 4200% reflectance). The 10-bit column is the code value on a 0–1023 scale.

The gamut matrix

× camera R× camera G× camera Brow sum
Rec.709 R 1.6746-0.5797-0.0949 1.0000
Rec.709 G-0.0981 1.3340-0.2359 1.0000
Rec.709 B-0.0410-0.2430 1.2840 1.0000
The DJI D-Log M gamut matrix the conversion applies after the curve is undone (camera linear RGB → Rec.709 linear RGB), from the shipped library. Each row sums to 1.0000, so a neutral stays neutral; a pure camera red (1, 0, 0) lands at Rec.709 (1.675, -0.098, -0.041); the off-diagonal term largest in size is -0.5797.

The matrix maps DJI's camera primaries into Rec.709 linear RGB before the shared shoulder and Rec.709 OETF are applied.

The DJI articles on this site

What is not here

DJI's older full D-Log (used on Inspire and select cinema drones) uses a different curve from D-Log M and is not bundled under the D-Log M conversion.

Sources

DJI official D-Log M to Rec.709 LUT specification and this site's transform library (medium-confidence curve fit), computed at build time.