Technologie Archives - DxO https://www.dxo.com/de/news/category/technology-de/ Simply Better Images Thu, 23 Apr 2026 14:06:40 +0000 de hourly 1 https://wordpress.org/?v=6.6.2 Automatische Staubkorrektur in digitalen Fotografien https://www.dxo.com/de/news/automatic-dust-correction/ Thu, 19 Mar 2026 11:17:50 +0000 https://www.dxo.com/?p=171200 Wie DxO PureRAW 6 mithilfe von Deep Learning Staubflecken erkennt und entfernt

The post Automatische Staubkorrektur in digitalen Fotografien appeared first on DxO.

]]>

Automatische Staubkorrektur in digitalen Fotografien: Wie DxO PureRAW 6 mithilfe von Deep Learning Staubflecken erkennt und entfernt

DxO PureRAW 6 führt die automatische Stauberkennung und -entfernung ein: Ein einziger Klick identifiziert Staubflecken im gesamten Bild und beseitigt sie – ein mühsamer manueller Prozess wird so vollständig automatisiert. Die Funktion kombiniert ein hochmodernes neuronales Netz zur Objekterkennung mit DxOs bewährter Retusche-Engine.

Die wichtigsten Vorteile für Anwender

  • Vollautomatischer Workflow. Stauberkennung und -entfernung lassen sich per Kontrollkästchen aktivieren. Stapelverarbeitung eines kompletten Shootings – jedes Bild wird makellos bereinigt.
  • Einstellbare Empfindlichkeit. Ein Schieberegler ermöglicht es, zwischen dem Erfassen möglichst aller Flecken (hohe Empfindlichkeit) und der Vermeidung von Fehlern (niedrige Empfindlichkeit) abzuwägen.

(Trotzdem empfehlen wir, die Ausrüstung hin und wieder zu reinigen. 😉)

Das Problem

Kameras mit Wechselobjektiven neigen dazu, Staub auf dem Sensor oder den Objektiven anzusammeln. Diese Partikel erzeugen kleine, weiche Schatten in den Bildern, die besonders bei gleichmäßigen, homogenen Bereichen wie Himmel oder Studio-Hintergründen auffallen.

Fotografen lösen diese Probleme traditionell in der Nachbearbeitung mit Reparatur-, Klon- und Retusche-Werkzeugen. Bei stark betroffenen Bildern oder großen Bildmengen wird das schnell zur mühsamen Fleißarbeit.

DxO PureRAW 6 automatisiert diesen Prozess. Ein Erkennungsalgorithmus durchsucht das Bild nach Staubflecken, und ein Retusche-Algorithmus entfernt jeden einzelnen automatisch.

Darum ist Stauberkennung so anspruchsvoll

Auf den ersten Blick scheint Sensorstaub leicht zu beschreiben: kleine, dunkle, annähernd kreisförmige Flecken. Doch die scheinbare Einfachheit täuscht. Gleich mehrere Eigenschaften machen eine zuverlässige Erkennung überraschend schwierig.

Extreme Subtilität. Die meisten Staubflecken schwächen nur einen kleinen Teil des einfallenden Lichts ab – oft lediglich 5 bis 20 Prozent. Es handelt sich um blasse Trübungen, nicht um deckende Flecken, und ihre Sichtbarkeit hängt stark vom darunterliegenden Bildinhalt ab.

Winzige räumliche Ausdehnung. In voller Auflösung umfasst ein typischer Staubfleck nur wenige Pixel – zu klein für universelle Objektdetektoren, die auf Menschen oder Fahrzeuge optimiert sind.

Keine ausgeprägte Struktur. Im Gegensatz zu Objekten, bei denen gängige Detektoren glänzen – ein Gesicht mit Augen, Nase und Mund; ein Auto mit Rädern und Fenstern –, bietet ein Staubfleck einem neuronalen Netz kaum Anhaltspunkte. Im Grunde ist er nur ein schwacher, dunkler Fleck.

Enorme Variabilität. Das Erscheinungsbild eines Staubflecks hängt von der Größe und Form des Partikels, seinem Abstand zur Sensoroberfläche, der Blende des Objektivs sowie von der Farbe und Helligkeit der zugrundeliegenden Szene ab. Manche Flecken sind scharfkantige Kreise, andere weiche, diffuse Halos. Einige erscheinen nahezu schwarz vor hellem Himmel, andere lassen sich kaum vom Rauschen unterscheiden. Die Vielfalt ist weit größer, als es ein flüchtiger Blick vermuten lässt. Die Abhängigkeit von Blende und Szene führt dazu, dass ein und dasselbe physische Partikel von Aufnahme zu Aufnahme ganz unterschiedlich aussehen kann.

Das Erkennungsmodell: RF-DETR

Das Herzstück der Funktion ist RF-DETR, eine transformerbasierte Architektur zur Objekterkennung. Wir haben mehrere Erkennungsarchitekturen getestet, darunter verschiedene Generationen CNN-basierter Modelle. RF-DETR wurde aus einer Kombination von Gründen ausgewählt:

Höchste Erkennungsgenauigkeit. RF-DETR erzielt Spitzenwerte in Standard-Benchmarks zur Objekterkennung und übertrifft viele bekannte Alternativen.

Mehrere Modellgrößen. Die Varianten Nano, Small, Medium, Large und XL erlauben es, den optimalen Kompromiss zwischen Genauigkeit und Rechenaufwand zu wählen. Wir haben die Variante Medium (33 Millionen Parameter) gewählt.

Auflösungsunabhängige Architektur. RF-DETR enthält keine vollständig verbundenen Schichten, die eine feste Eingangsauflösung erzwingen würden. Diese Flexibilität ist entscheidend für unsere gekachelte Inferenzstrategie: Das Bild wird in überlappende 512 × 512 Pixel große Kacheln unterteilt, und das Erkennungsmodell verarbeitet jede Kachel unabhängig. Anschließend werden die Ergebnisse über das gesamte Bild zusammengeführt.

In Standard-Benchmarks erkennt RF-DETR Dutzende Objektkategorien – Menschen, Fahrzeuge, Tiere, Möbel. Für unser Anwendungsbeispiel haben wir das Modell auf eine einzige Klasse trainiert: Staubfleck. Die Herausforderung liegt nicht in der Klassifikation, sondern in der Erkennung – dem Auffinden winziger, kontrastarmer Merkmale in einem riesigen Bild.

Trainingsdaten

Das Training eines zuverlässigen Staubdetektors erfordert, das Netzwerk mit einer sehr großen Zahl von Beispielen zu konfrontieren, die jede denkbare Kombination aus Staubform, Deckkraft, Unschärfe und Hintergrund abdecken.

Zunächst haben wir Tausende realer Fotografien mit echten Staubflecken gesammelt und sorgfältig von Hand gekennzeichnet. Dieser reale Datensatz deckt bereits eine große Vielfalt an Staubformen, -größen, Deckkraft, Unschärfe und Hintergründen ab – doch wir wollten noch weiter gehen.

Mit seiner Expertise in der Bild- und Signalverarbeitung hat unser Forschungsteam einen Staubsynthesizer entwickelt: einen kompakten Algorithmus, der einen Staubfleck erzeugt – von einem echten nicht zu unterscheiden – und ihn auf einen zufälligen fotografischen oder synthetischen Hintergrund montiert. Der Synthesizer modelliert die zentralen physikalischen Eigenschaften realer Staubpartikel: die unregelmäßige Tropfenform, die kanalweise Lichtabschwächung im linearen Farbraum, die Unschärfe an den Rändern sowie die optionale gerichtete Schattierung, die manche Partikel aufweisen. Jeder Parameter wird innerhalb sorgfältig kalibrierter Bereiche zufällig variiiert, die aus der statistischen Analyse realer Staubflecken abgeleitet wurden.

Dieser synthetische Ansatz gewährleistet eine gleichmäßige Verteilung von Staubeigenschaften und Hintergründen im gesamten Trainingsdatensatz und vermeidet so die Verzerrungen, die in manuell zusammengestellten Datensätzen unvermeidlich auftreten. Er stellt beispielsweise sicher, dass das Netzwerk genügend sehr schwache Flecken, genügend sehr kleine Flecken und genügend ungewöhnliche Hintergründe zu sehen bekommt – Kombinationen, die in einer rein realen Sammlung unterrepräsentiert wären.

Insgesamt hat unser Stauberkennungsnetzwerk im Laufe seines Trainings rund eine Million Staubflecken gesehen – eine Mischung aus realen und synthetischen Daten.


The post Automatische Staubkorrektur in digitalen Fotografien appeared first on DxO.

]]>
DeepPRIME XD3: KI-gestützte Rauschminderung und Demosaicing der vierten Generation https://www.dxo.com/de/news/deepprime-xd3-fourth-generation/ Thu, 19 Mar 2026 10:49:40 +0000 https://www.dxo.com/?p=171063 DxO PureRAW 6 führt DeepPRIME XD3 für Bayer-Sensoren ein, die neueste Generation von DxOs Deep-Learning-Engine für die Verarbeitung von RAW-Bildern.

The post DeepPRIME XD3: KI-gestützte Rauschminderung und Demosaicing der vierten Generation appeared first on DxO.

]]>
pureraw-logo-en@2x.png

DeepPRIME XD3: KI-gestützte Rauschminderung und Demosaicing der vierten Generation

DxO PureRAW6 führt DeepPRIME XD3 für Bayer-Sensoren ein, die neueste Generation von DxOs Deep-Learning-Engine für die Verarbeitung von RAW-Bildern. Ein einziges neuronales Netz übernimmt jetzt drei Aufgaben gleichzeitig — Rauschminderung, Demosaicing und Korrektur chromatischer Aberrationen — und liefert Bilder mit noch feineren Details als sein Vorgänger.

Die Technologie basiert auf drei zentralen Säulen: einer neuen Multitasking-Formulierung, die das Netz um die Korrektur chromatischer Aberrationen erweitert, einer optimierten Faltungsarchitektur, die aus umfangreicher Forschung hervorgegangen ist, und einer deutlich verbesserten Trainingspipeline, die die Lücke zwischen synthetischen Trainingsdaten und realen RAW-Bildern schließt.

Die wichtigsten Vorteile

  • Bessere Bildqualität. Sauberere Farbwiedergabe, feinere Details und weniger Artefakte, insbesondere bei Hochfrequenz-Texturen und Kanten sowie vor allem bei neueren Sensoren ohne optischen Tiefpassfilter.
  • Identische Verarbeitungsgeschwindigkeit. Trotz eines deutlich leistungsfähigeren Netzes läuft DeepPRIME XD3 auf handelsüblicher Hardware genauso schnell wie DeepPRIME XD2s.
  • Umfassende Kompatibilität. DeepPRIME XD3 bündelt unsere neuesten Weiterentwicklungen in der RAW-Bildverarbeitung und unterstützt nun sämtliche Sensortypen.

Sechs Jahre Entwicklung

Die RAW-Konvertierung — also der Prozess, bei dem das Mosaik aus verrauschten, einfarbigen Sensormesswerten in ein vollständiges Farbbild umgewandelt wird — steht seit über zwei Jahrzehnten im Zentrum der Expertise von DxO. Im Jahr 2020 stellte DxO DeepPRIME vor – das erste kommerziell verfügbare neuronale Netz, das Rauschminderung und Demosaicing in einem einzigen Verarbeitungsschritt kombinierte.

Seitdem treiben wir die Entwicklung unermüdlich voran — mit dem Ziel, die Bildqualität immer weiter zu verfeinern. Deep Learning und dieser ganzheitliche Ansatz ermöglichten es uns schließlich auch, X-Trans-Sensoren zu unterstützen — eine Sensortechnologie, die in einem Teil des Kameraportfolios von Fujifilm zum Einsatz kommt. Diese Sensoren wurden von unseren klassischen Algorithmen zur Rauschminderung bis dahin nicht unterstützt. 2022 führten wir die „XD“-(eXtreme Details)-Familie ein — eine zweite Generation von DeepPRIME-Engines, die auf maximale Bildqualität ausgelegt ist. Dies ging allerdings mit einem deutlich höheren Rechenaufwand einher und erforderte eine leistungsstarke GPU — oder ein gewisses Maß an Geduld.

2020DxO PhotoLab4

DeepPRIME. Zeitgleiches Entrauschen und Demosaicing innerhalb eines einzigen tiefen neuronalen Netzes (nur für Bayer-Sensoren).

2022DxO PureRAW 2
DeepPRIME wird auf X-Trans-Sensoren erweitert.

2022DxO PhotoLab6
DeepPRIME XD („eXtreme Details“). Leistungsfähigere Architektur und perzeptuelle Verlustfunktion für feinere Details (nur Bayer).

2023DxO PureRAW 3
DeepPRIME XD wird auf X-Trans-Sensoren ausgeweitet.

2024DxO PureRAW 4
DeepPRIME XD2. Adversarial-Discriminator-Loss (kontradiktorischer Diskriminator-Verlust) für eine natürlichere Bildwiedergabe (nur Bayer).

2024DxO PhotoLab8
DeepPRIME XD2s. Verbesserte Kalibrierung des Rauschverhaltens für ausgewählte Kamerabodys.

2025DxO PureRAW 5
DeepPRIME 3. Kombination von drei Aufgaben: Rauschminderung, Demosaicing und Korrektur chromatischer Aberrationen (für Bayer- und X-Trans-Sensoren).

2025DxO PhotoLab9
DeepPRIME XD3. Leistungsfähigere Architektur und zweiphasiges Training (nur für X-Trans-Sensoren).

2026DxO PureRAW 6
DeepPRIME XD3 wird auf Bayer-Sensoren ausgeweitet.

Bei der Entwicklung von DeepPRIME XD3 lag es nahe, zunächst den Fokus auf X-Trans zu legen: Die X-Trans-Version von DeepPRIME XD war älter und leichter zu optimieren als DeepPRIME XD2s, das bereits für Bayer-Fotografen verfügbar war. Für Letztere entstand dadurch eine etwas kompliziertere Ausgangslage. Bei den meisten Bildern lieferte DeepPRIME XD2s die höchste Qualität – bei bestimmten Aufnahmen mit niedrigem ISO und chromatischer Aberration konnte DeepPRIME 3 jedoch tatsächlich bessere Ergebnisse erzielen. Die Veröffentlichung von DeepPRIME XD3 für Bayer-Sensoren bringt uns endlich zu einer Einfachheit zurück, die wir seit 2023 vermisst haben: Unabhängig von der verwendeten Kamera stehen Ihnen zwei RAW-Konvertierungsmodelle zur Auswahl – eines, das eine ausgewogene Balance zwischen Geschwindigkeit und Bildqualität bietet, und eines, das kompromisslos auf höchste Bildqualität ausgerichtet ist.

Die Herausforderung der Wiedergabe von RAW-Bildern

Jedes von einem CMOS-Sensor aufgenommene digitale Bild enthält drei grundlegende Defekte, die allesamt bereits vor der Bearbeitung durch eine Software entstehen:

Farbmosaik. Der Sensor erfasst nicht für jedes Pixel die vollen Farbinformationen. Stattdessen lässt ein Raster winziger Farbfilter jede Fotodiode nur eine der drei Farben (Rot, Grün oder Blau) aufzeichnen. Die Rekonstruktion der beiden fehlenden Farbwerte an jedem Pixel ist die Aufgabe des Demosaicings. In der Digitalfotografie sind zwei Farbfiltermuster verbreitet: Bayer, das von rund 95 % aller Digitalkameras verwendet wird, und X-Trans, das in den verbleibenden etwa 5 % zum Einsatz kommt.

Sensorrauschen. Jede Fotodiode sammelt eine zufällige Anzahl von Photonen. Das daraus resultierende Schrotrauschen, auch Photonenrauschen genannt, ist eine unvermeidbare Eigenschaft des Lichts selbst und wird zusätzlich durch elektronisches Ausleserauschen verstärkt. Bei hohen ISO-Empfindlichkeiten kann Rauschen feine Bilddetails vollständig überdecken.

Chromatische Aberration. Die meisten Objektive fokussieren nicht alle Wellenlängen des Lichts exakt auf denselben Punkt. Das Ergebnis sind kleine laterale Verschiebungen zwischen dem Rot-, Grün- und Blaukanal, die sich als Farbsäume entlang kontrastreicher Kanten bemerkbar machen.

Herkömmliche RAW-Verarbeitung behandelt diese drei Probleme getrennt: Ein Demosaicing-Algorithmus interpoliert die fehlenden Farbwerte, ein separater Rauschfilter reduziert das Bildrauschen, und ein drittes Modul korrigiert chromatische Aberrationen. Jedes Modul arbeitet isoliert, ohne Kenntnis der Entscheidungen der anderen – und kann dabei eigene Artefakte erzeugen, die den folgenden Verarbeitungsschritt zusätzlich erschweren. DxOs Ansatz besteht seit der Einführung von DeepPRIME im Jahr 2020 darin, mehrere Probleme gemeinsam in einem einzigen neuronalen Netz zu lösen. Mit DeepPRIME XD3 erstreckt sich dieses Prinzip nun auf alle drei Defekte.

Drei Defekte, ein Netz

Rauschminderung, Demosaicing und die Korrektur chromatischer Aberrationen gemeinsam zu behandeln, ergibt sich aus ihrer grundlegenden wechselseitigen Abhängigkeit.

Betrachten wir, was passiert, wenn diese Aufgaben voneinander getrennt werden. Die Rauschminderung eines RAW-Bildes setzt ein gewisses Verständnis dafür voraus, wie das Mosaikmuster mit der zugrunde liegenden Szene zusammenhängt — im Grunde ein implizites Demosaicing im laufenden Prozess. Umgekehrt erfordert das Demosaicing eines verrauschten Bildes die Fähigkeit, Strukturen trotz des vorhandenen Rauschens zuverlässig zu erkennen – gewissermaßen eine implizite Rauschminderung. Denn für eine korrekte Farbinterpolation ist die Unterscheidung zwischen echten Kanten und bloßen Rauschfluktuationen entscheidend. Und das Demosaicing eines von chromatischer Aberration betroffenen Bildes stellt nahezu dasselbe Problem dar wie deren Korrektur: Wenn Rot-, Grün- und Blaukanal lateral gegeneinander verschoben sind, setzt die Rekonstruktion der korrekten Farbe für jedes Pixel ein Modell davon voraus, wie das Bild aussähe, wenn die Kanäle korrekt ausgerichtet wären.

Die Aufteilung dieser drei Aufgaben auf drei separate Netze — selbst wenn diese darauf trainiert wären, mit den in der vorherigen Stufe erzeugten Artefakten umzugehen — würde insgesamt mehr gewichtete Parameter und einen höheren Rechenaufwand erfordern, da jedes Netz intern einen Teil der Intelligenz der anderen Netze nachbilden müsste. Das Ergebnis wären längere Verarbeitungszeiten bei gleicher Qualität oder geringere Qualität bei gleicher Geschwindigkeit.

Ein einziges Netz hingegen kann interne Darstellungen für alle drei Aufgaben gemeinsam nutzen. Die Merkmale, die das System zur Kantenerkennung für das Demosaicing erlernt, unterstützen zugleich die Unterscheidung zwischen Signal und Rauschen sowie die Identifikation lateraler chromatischer Abweichungen.

Synthetische Trainingsdaten

Ein neuronales Netz ist nur so gut wie die Daten, aus denen es lernt. Für DeepPRIME XD3 sind sowohl die Qualität und der Realismus der Trainingsdaten als auch die Architektur des neuronalen Netzes selbst von entscheidender Bedeutung.

Das Problem der Trainingsdaten

Als die Forschungsarbeiten zu DeepPRIME im Jahr 2018 bei DxO begannen, stellte sich eine grundlegende Frage: Wie lassen sich Trainingsbeispiele beschaffen, die ein überwacht lernendes neuronales Netz benötigt — also Paare aus qualitativ degradierten Eingabebildern und den zugehörigen perfekten Referenzbildern?

Alle Optionen standen zur Debatte. Zunächst erschien es naheliegend, ein Paar realer Aufnahmen zu erstellen — eine „saubere“ Aufnahme bei niedriger ISO-Empfindlichkeit neben einer verrauschten Aufnahme derselben Szene bei hoher ISO-Empfindlichkeit. In der Praxis erwies sich dieser Ansatz jedoch als unbrauchbar: Die beiden Belichtungen lassen sich nie exakt aufeinander abstimmen, bewegte Motive führen zu Inkonsistenzen, und das Verfahren müsste zudem für jedes von DxO unterstützte Kameramodell und jede ISO-Einstellung erneut durchgeführt werden. Auch der Noise-to-Noise-Ansatz, der Serienaufnahmen statt perfekter Referenzbilder nutzt, kämpft mit vergleichbaren Skalierungsgrenzen. Auch die klassische Datenanreicherung — das Fundament der meisten überwachten Lernverfahren — ist in diesem Fall schlicht nicht praktikabel: Kein Mensch kann ein verrauschtes Mosaik aus einkanaligen Pixelwerten betrachten und daraus für Milliarden von Pixeln eine korrekte, vollfarbige und zugleich rauschfreie Referenzausgabe ableiten.

Übrig blieb die synthetische Datengenerierung: Ausgehend von makellosen, hochwertigen Fotografien werden die Defekte simuliert, die ein realer Kamerasensor erzeugen würde. Jedes Trainingsbeispiel besteht somit aus einem Paar: einem synthetisch degradierten Bild und der ursprünglichen makellosen Version als Ground Truth. Auf dem Papier ist dies bei Weitem die am besten skalierbare Lösung. DxO unterstützt über 600 Kamerabodys mit jeweils rund 20 ISO-Einstellungen — das ergibt mehr als 12.000 mögliche Konfigurationen. Und diese Zahl berücksichtigt nur das Rauschen: Chromatische Aberration hängt vom Objektiv, der Blende, der Zoomeinstellung und der Entfernungseinstellung ab. Würde man für jede Kombination aus Kamera, ISO-Einstellung und Objektiv reale Bildpaare aufnehmen, würde die Zahl der erforderlichen Konfigurationen auf mehrere Millionen anwachsen. Die synthetische Generierung kann all diese Kombinationen aus demselben Pool von Ground-Truth-Bildern abdecken.

Die Verteilungslücke

Die Herausforderung bei synthetischen Daten ist ein Phänomen, das als Verteilungslücke (Distribution Gap) bezeichnet wird: dem statistischen Unterschied zwischen den simulierten Trainingsbildern und den realen RAW-Dateien, denen das Netz im praktischen Einsatz begegnet.

Eine einfache Simulation — bei der die Farbkanäle leicht gegeneinander verschoben werden, um chromatische Aberration nachzuahmen, zwei der drei Farbwerte entfernt werden, um das Bayer-Mosaik zu simulieren, und anschließend weißes Gaußsches Rauschen hinzugefügt wird — genügt, um die oben dargestellten Abbildungen für dieses Whitepaper zu erzeugen. Zum Trainieren eines neuronalen Netzes reicht sie jedoch nicht aus. Ein auf derart idealisierten Daten trainiertes Netz würde bei synthetischen Bildern aus derselben Simulation gut abschneiden – auch bei Bildern, die es während des Trainings nie gesehen hat –, an echten RAW-Dateien von echten Kameras aber scheitern.

Reale RAW-Bilder unterscheiden sich in unzähligen Aspekten von einer einfachen Simulation:

Rauschen ist nicht rein weißes Gaußsches Rauschen. Das Photonenrauschen – auch als Schrotrauschen bezeichnet – ist tatsächlich weiß und signalabhängig, eine Eigenschaft, die direkt aus der Physik des Lichts resultiert. Reale Sensordaten setzen sich aus einer Mischung aus Photonenrauschen und elektronischem Rauschen zusammen. Elektronisches Rauschen — etwa Ausleserauschen, Dunkelstrom, Streifenbildung — kann räumliche Korrelationen, nicht-Gaußsche Ausreißer und feste Muster aufweisen, die sich je nach Sensorarchitektur unterscheiden.

Chromatische Aberration variiert über das gesamte Bildfeld hinweg. Laterale Farbverschiebungen sind nicht gleichmäßig verteilt: Ihre Stärke und Richtung verändern sich von der Bildmitte zu den Ecken hin und folgen den optischen Eigenschaften des jeweiligen Objektivs.

„RAW“ Dateien sind nicht wirklich RAW. Bevor die Daten auf die Speicherkarte geschrieben werden, führt die Kamera eine Reihe von internen Verarbeitungsschritten durch, die das Signal verändern: Schwarzwert-Korrektur, Subtraktion von feststehendem Musterrauschen, statische Korrektur defekter Pixel und Interpolation von Fokuspixeln. Manche Hersteller gehen sogar noch einen Schritt weiter und wenden auf das, was sie als RAW-Daten bezeichnen, verlustbehaftete Komprimierung oder sogar eine Form der Rauschminderung an.

Das Verhalten eines Sensors ändert sich mit seiner Nutzung. Das Rauschverhalten kann sich je nach Sensortemperatur, verwendetem Verschluss (mechanisch oder elektronisch) und weiteren Einsatzbedingungen verändern. All diese Faktoren unterscheiden sich je nach Hersteller und Kamerageneration. Die Hersteller dokumentieren ihre internen Verarbeitungsprozesse nicht. Was genau sie dabei tun, lässt sich nur durch sorgfältige Beobachtung erschließen.

Die Lücke schließen

Seit 2018 nutzt DxO alle verfügbaren Mittel, um die Verteilungslücke zu minimieren: zwei Jahrzehnte Erfahrung in der Bildsignalverarbeitung sowie insbesondere eine firmeneigene Kalibrierungsdatenbank, die in der Branche ihresgleichen sucht. Für jedes unterstützte Kameragehäuse und jede ISO-Einstellung hat das Labor von DxO Kalibrierungsbilder aufgenommen und analysiert – sowohl fotografische Motive als auch Dunkelbilder. Ziel war es, nicht nur die Standardabweichung des Rauschens zu bestimmen, sondern sein vollständiges statistisches Profil zu erfassen: seine Verteilung, mögliche räumliche Korrelationen infolge der kamerainternen Verarbeitung sowie die Art und Weise, wie sich diese Eigenschaften über den Sensor hinweg und unter unterschiedlichen Betriebsbedingungen verändern. Diese Datenbank, die ursprünglich für DxOs klassische Algorithmen zur Rauschminderung aufgebaut wurde, erwies sich als unschätzbar wertvolle Grundlage für das Training neuronaler Netze.

Manchmal zeigen sich bei bestimmten Kameras jedoch Lücken, die von der bestehenden Simulation nicht abgedeckt werden. Ein aktuelles Beispiel veranschaulicht diese Herausforderung: Fujifilms X-Trans-Sensoren der 4. und 5. Generation, bei denen sich im Vergleich zu den ersten drei Generationen etwas verändert hat. Trotz intensiver Bemühungen gelang es unserer DeepPRIME XD2-Trainingspipeline nie, für diese Sensoren zufriedenstellende Ergebnisse zu erzielen. Aus diesem Grund wurden DeepPRIME XD2 und XD2s ausschließlich für Bayer-Sensoren veröffentlicht.

Für DeepPRIME XD3 hatte die korrekte Unterstützung dieser Sensoren höchste Priorität. Über mehrere Monate hinweg analysierte das Team im Detail, worin sich die neueren X-Trans-Sensoren von ihren Vorgängern unterscheiden, und passte die Synthese der Trainingsdaten systematisch an. Auf diese Weise konnte die Verteilungslücke so weit reduziert werden, dass das Netz die erlernten Modelle zuverlässig auf reale Aufnahmen dieser Kameras übertragen konnte.

Die beste Architektur finden

Die Hinzunahme einer dritten Aufgabe und der Anspruch an eine bessere Demosaicing-Qualität erforderten ein leistungsfähigeres Netz. Das Team startete mit einer umfassenden Untersuchung. Transformer-Architekturen, die heute viele Bereiche des Deep Learning dominieren, wurden zusammen mit mehreren Designs konvolutionaler neuronaler Netze (CNN) getestet. Für genau diese Aufgabe — die Rekonstruktion feiner, lokaler Bilddetails aus verrauschten und unvollständigen Daten — erwiesen sich CNNs als die effektivere Lösung. Ihre inhärent lokal begrenzte Ausrichtung, die sich auf kleine räumliche Bereiche konzentriert, begünstigt eine effektive Glättung des Rauschens, ohne dabei Strukturen zu erzeugen, die im Originalbild nicht vorhanden sind. Transformer-Architekturen, die auf die Modellierung weitreichender Abhängigkeiten ausgelegt sind, neigten eher dazu, Rauschen bestehen zu lassen, als es wirksam zu unterdrücken. Für einen Rauschminderungsalgorithmus erweist sich die Tendenz eines CNN zur lokalen Regelmäßigkeit als klarer Vorteil und keineswegs als Einschränkung.

Ein früher Prototyp von DeepPRIME XD3 erreichte zwar die angestrebte Bildqualität, war jedoch rund dreimal langsamer als DeepPRIME XD2s — deutlich zu langsam für ein Produktionswerkzeug, das auf Tausende von Bildern angewendet wird. Die Herausforderung bestand also darin, eine Architektur zu finden, die ebenso intelligent arbeitet und dabei dieselbe Rechnerleistung erfordert. Das Team untersuchte verschiedene Designs für Faltungsblöcke, setzte separierbare Faltungen anstelle der in früheren Generationen verwendeten vollständigen 3D-Faltungen ein, testete unterschiedliche Aktivierungsfunktionen und variierte den Rechenaufwand, der den einzelnen Ebenen des U-Net zugewiesen wurde.

Jede der in Frage kommenden Architekturen wurde etwa drei Wochen lang auf einer Nvidia H100 GPU trainiert. Insgesamt wurden rund 50 Konfigurationen evaluiert, was einer kumulierten Rechenzeit von etwa drei Jahren auf H100-GPUs entspricht — ausschließlich für die Erforschung der Architektur.

Dieser gesamte Prozess wurde zweimal durchgeführt: zunächst für X-Trans, anschließend für Bayer. Dies ist der Hauptgrund, warum die Bayer-Version erst jetzt in DxO PureRAW 6 erscheint, während die X-Trans-Version bereits sechs Monate zuvor in DxO PhotoLab9 veröffentlicht wurde.

Das Ergebnis ist ein Netz mit deutlich mehr Parametern als DeepPRIME XD2s, dessen Architektur jedoch so gestaltet wurde, dass die Inferenzzeit auf handelsüblicher Hardware weitgehend unverändert bleibt. Mehr gewichtete Parameter, mehr Intelligenz, aber keine spürbare Einbuße bei der Verarbeitungsgeschwindigkeit.

Wiedereinführung von Rauschen – ein neuer Ansatz

Vor fast zwanzig Jahren machten die Forschungsingenieure von DxO eine Beobachtung, die bis heute Gültigkeit hat: Es ist sehr schwierig, einen Rauschminderungsalgorithmus so zu gestalten, dass er nur einen Teil des Rauschens entfernt. Rauschunterdrückungsverfahren — von den frühen Wavelet- und Non-Local-Means-Filtern bis hin zu modernen neuronalen Netzen — erzielen in der Regel die besten Ergebnisse, wenn sie darauf ausgelegt sind, möglichst sämtliches Rauschen zu entfernen. Der Versuch, Rauschen nur teilweise zu entfernen, führt hingegen häufig zu unerwünschten Artefakten. Je leistungsfähiger der Rauschfilter, desto mehr Details bleiben erhalten; dennoch entfernen selbst die besten Verfahren neben dem Rauschen unweigerlich auch einige feine Bildstrukturen.

Vollständig entrauschte Bilder wirken oft unnatürlich glatt. Deshalb verfolgen unsere Forscher einen einfachen, aber effektiven Ansatz: Zuerst wird das Rauschen vollständig entfernt, danach wird ein kleiner Teil davon wieder in das Bild zurückgerechnet, damit seine natürliche Struktur erhalten bleibt. Das Wiedereinführen eines Teils des ursprünglichen Rauschens — anstelle von synthetischem weißem Rauschen — bietet einen entscheidenden Vorteil: Es stellt zugleich einen Teil der feinen Bilddetails wieder her, die während der Verarbeitung verloren gegangen sind. Das erste Produkt mit dieser Technik war DxO OpticsPro 5, das 2008 auf den Markt kam. Auch wenn DeepPRIME XD3 deutlich leistungsfähiger ist als die Rauschunterdrückungs- und Demosaicing-Algorithmen jener Zeit, bleibt das zugrunde liegende Prinzip weiterhin gültig.

Für DxO PureRAW 6 haben wir die Wechselwirkung zwischen dieser Wiedereinführung von Rauschen und unseren Objektivkorrekturen grundlegend überarbeitet, insbesondere im Hinblick auf Vignettierung und Verzeichnungskorrektur. Beide Korrekturen greifen nun, bevor das Restrauschen wieder ins Bild zurückkehrt. So lassen sich das eigentliche Bildsignal und die Rauschanteile bewusst unterschiedlich berücksichtigen.

Vignettierung. Das Ausmaß des Bildrauschens in RAW-Bildern hängt in nichtlinearer Weise vom Signalpegel ab. Bei einem Objektiv mit starker Vignettierung nimmt das Signal-Rausch-Verhältnis im Randbereich deutlich ab. Wenn wir die Bildränder aufhellen, um eine gleichmäßige Helligkeit zu erzielen, verstärken wir zugleich das dort vorhandene Rauschen, sodass es an den Rändern sichtbarer wird als in der Bildmitte. Die Lösung besteht darin, das Rauschmodell — die bekannte Beziehung zwischen Signal- und Rauschpegel — zu nutzen, um einen Korrekturfaktor abzuleiten, der ein gleichmäßiges Rauschverhalten über das gesamte Bild hinweg sicherstellt. Dieser Faktor wird auf das Rauschen angewendet, bevor es dem Bild wieder hinzugefügt wird.

Verzeichnung. Die Verzeichnungskorrektur erfordert eine geometrische Interpolation des Pixelrasters. Wird diese Interpolation auf weißes Rauschen angewendet, entstehen zwei unerwünschte Effekte: Zum einen bildet sich eine künstliche Struktur im Rauschmuster, zum anderen treten periodische Schwankungen im Rauschpegel auf. An Stellen, an denen die interpolierte Koordinate mit einem realen Pixel übereinstimmt, bleibt das Rauschen unverändert erhalten. Liegt die Koordinate hingegen zwischen zwei Pixeln, wird das Rauschen durch die Interpolation geglättet und verliert an Stärke. In DxO PureRAW 6 lösen wir dieses Problem, indem wir einen speziell entwickelten Interpolationsalgorithmus getrennt auf die Rauschkomponente anwenden. Dadurch bleibt deren Intensität auch nach der Verzeichnungskorrektur gleichmäßig.

Beide Effekte treten besonders bei hohen ISO-Werten deutlich hervor, da das verbleibende Rauschen — selbst wenn es nur einen Bruchteil des ursprünglichen Rauschens darstellt — deutlich wahrnehmbar bleibt.

Diese überarbeitete Wiedereinführung von Rauschen kommt sowohl in DeepPRIME 3 als auch in DeepPRIME XD3 zum Einsatz. Dies ist ein gutes Beispiel dafür, wie sehr uns auch die kleinsten Details am Herzen liegen: Unser Anspruch ist nicht „nur“, den besten Rauschminderungsalgorithmus der Welt zu bauen, sondern die weltweit beste Engine für RAW-Konvertierung.

Die Ergebnisse

Die tatsächliche Wirkung all dieser Fortschritte hängt vom Bildinhalt und den Aufnahmeparametern ab. Im Vergleich zu DeepPRIME XD, das DeepPRIME XD3 für X-Trans-Sensoren ablöst, liefert die neue Engine in der Regel sauberere und natürlichere Ergebnisse. Im Vergleich zu DeepPRIME 3 liefert die neue Engine bei allen ISO-Empfindlichkeiten fast immer Bilder, die sowohl rauschärmer als auch detailreicher sind. Der Unterschied zu DeepPRIME XD2s fällt subtiler aus: DeepPRIME XD3 zeigt seine Stärken vor allem bei Bildern mit feinen Texturen, lichtstarken Objektiven, Sensoren ohne optischen Tiefpassfilter sowie bei Objektiven, die zu chromatischer Aberration neigen. Die Verbesserungen beim Demosaicing und bei der Korrektur chromatischer Aberration zeigen sich vor allem bei niedrigen ISO-Werten, während die optimierte Detailerhaltung insbesondere bei mittleren bis hohen ISO-Einstellungen zum Tragen kommt.


The post DeepPRIME XD3: KI-gestützte Rauschminderung und Demosaicing der vierten Generation appeared first on DxO.

]]>
So reduziert DxOs bahnbrechender Ansatz DNG-Dateien auf ein Viertel ihrer Größe – ohne Qualitätsverlust https://www.dxo.com/de/news/dng-compression/ Wed, 18 Mar 2026 11:42:28 +0000 https://www.dxo.com/?p=170727 DxO PureRAW 6 führt eine neue High-Fidelity-Komprimierungsoption für das DNG-Format ein, die die Dateigröße gegenüber der bisherigen verlustfreien Komprimierung um etwa den Faktor vier reduziert – bei vollständig erhaltener, wahrnehmungsgetreuer Bildqualität.

The post So reduziert DxOs bahnbrechender Ansatz DNG-Dateien auf ein Viertel ihrer Größe – ohne Qualitätsverlust appeared first on DxO.

]]>

So reduziert DxOs bahnbrechender Ansatz DNG-Dateien auf ein Viertel ihrer Größe – ohne Qualitätsverlust

DxO PureRAW 6 führt eine neue High-Fidelity-Komprimierungsoption für das DNG-Format ein, die die Dateigröße gegenüber der bisherigen verlustfreien Komprimierung um etwa den Faktor vier reduziert – bei vollständig beibehaltender, wahrnehmungsgetreuer Bildqualität.

DxOs neue High-Fidelity-Komprimierungstechnologie kombiniert zwei sich ergänzende Verfahren: die Dynamikumfangs-Komprimierung und den JPEG XL-Bildcodec.

Die wichtigsten Vorteile

  • 4x kleinere Dateien — Ein lineares DNG einer 50-MP-Kamera schrumpft von ca. 200 MB auf ca. 50 MB. Das macht lineares DNG alltagstauglich — auch für Workflows mit hohem Bildvolumen. Kleinere Dateien ermöglichen schnellere Importe, beschleunigen die Cloud-Synchronisierung und reduzieren den benötigten Speicherplatz erheblich.
  • Höchste Wiedergabetreue — Die Komprimierung ist selbst bei intensiver Bearbeitung nicht wahrnehmbar.
  • Kompatibilität — Die Ausgabe bleibt eine Standard-DNG-Datei. Jede DNG-kompatible Anwendung (etwa Adobe Lightroom, Capture One etc.) kann diese Dateien problemlos öffnen und wie gewohnt weiterverarbeiten.

Warum stärker komprimieren?

Lineares DNG ist das von DxO empfohlene Ausgabeformat für DxO PureRAW, da es den maximalen Bearbeitungsspielraum bewahrt und zugleich eine umfassende Kompatibilität mit RAW-Prozessoren von Drittanbietern gewährleistet. Trotz der in der DNG-Spezifikation integrierten verlustfreien Komprimierung erreicht eine typische lineare DNG-Datei eine Größe von etwa 4 MB pro Megapixel. Bei einer 50-MP-Kamera entspricht dies 200 MB pro Bild.

Es liegt daher nahe, diese Dateien deutlich stärker zu komprimieren.
Doch wie weit lässt sich die Komprimierung treiben, ohne die Qualität zu beeinträchtigen?

Von verlustfrei zu wahrnehmungstechnisch verlustfrei

Die verlustfreie Komprimierung gilt sowohl für Entwickler als auch für Anwender als der zuverlässigste Ansatz, da sie sicherstellt, dass die dekomprimierte Datei mathematisch exakt mit dem Original übereinstimmt – Bit für Bit. Allerdings sind der Effizienz solcher Algorithmen von Natur aus Grenzen gesetzt – insbesondere dann, wenn das zu komprimierende Signal Informationen enthält, die aus wahrnehmungsbezogener Sicht keinen relevanten Nutzen haben.

Für DxO PureRAW 6 haben unsere Ingenieure für Bildverarbeitung ein Komprimierungsverfahren entwickelt, das gezielt solche überflüssigen Informationen identifiziert und vor der eigentlichen Komprimierung entfernt, wodurch deutlich höhere Komprimierungsraten erreicht werden. Das Ergebnis ist eine sogenannte wahrnehmungstechnisch verlustfreie Komprimierung: Zwar entstehen mathematische Abweichungen, für den menschlichen Betrachter bleiben diese unter üblichen Betrachtungs- und Bearbeitungsbedingungen jedoch nicht wahrnehmbar.

Wir haben zwei Arten von Informationen in linearen DNG-Dateien identifiziert, die aus wahrnehmungstechnischer Sicht irrelevant sind:

1. Übermäßige Pixelgenauigkeit. RAW-Dateien digitaler Kameras werden in der Regel mit 12 oder 14 Bit pro Pixel codiert; die Ausgabe unserer DeepPRIME-Pipeline erfolgt hingegen mit 16 Bit. Dennoch weisen Bilder stets ein gewisses Restrauschen auf, das bewusst beibehalten wird, um den unnatürlichen „Plastik‑Look“ zu vermeiden, der durch vollständige Rauschminderung verursacht wird. Wie wir weiter unten erläutern, ist die numerische Präzision umso weniger relevant, je mehr Rauschen ein Signal enthält. Das Entfernen ungenutzter Präzision ist die Aufgabe der Dynamikumfangs-Komprimierung (DRC).

2. Exakte Textur und Form des Rauschens. In der Praxis sind geringfügige Unterschiede in der exakten Struktur von Rauschen oder feinsten Texturen für das menschliche Auge nicht wahrnehmbar. Die Vereinfachung solcher Mikrodetails ist ein etabliertes Prinzip der Bild- und Videokomprimierung und zählt zu den zentralen Mechanismen des JPEG XL-Codecs.

Beide Techniken erfordern standardisierte DNG-Mechanismen, damit jede kompatible Software die resultierenden Dateien problemlos öffnen und weiterverarbeiten kann. DRC wird über das DNG‑Tag „Linearization Table“ codiert, und JPEG XL ist ein Komprimierungsmodus, der in der DNG‑Spezifikation Version 1.7 eingeführt wurde. Beide werden von gängigen RAW‑Bearbeitungsprogrammen unterstützt.

Dynamikumfangs‑Komprimierung

Die Dynamikumfangs-Komprimierung (DRC) ist eine bewährte Technik in der Verarbeitung von Audiosignalen. Bei der Komprimierung wird der Dynamikumfang eines Signals durch eine nichtlineare Übertragungsfunktion reduziert: Im Audiobereich werden laute Abschnitte gedämpft und leise Passagen verstärkt, damit das Signal besser in ein vorgegebenes Bit-Spektrum passt. Dasselbe Prinzip funktioniert überraschend gut auch bei digitalen RAW-Bildern.

Warum DRC bei RAW-Bildern so gut funktioniert

Digitale Bilder sind vom photonischen Rauschen (Schrotrauschen) betroffen, einer fundamentalen physikalischen Eigenschaft des Lichts selbst. Die Standardabweichung dieses Rauschens wächst mit der Quadratwurzel der Signalintensität.
Das hat tiefgreifende Folgen für die Komprimierung linearer Bilder:

  • In dunklen Bildbereichen ist das Rauschen sehr gering, und das Signal ist fein strukturiert. Jedes einzelne Bit an Pixelpräzision kann wertvolle Bildinformationen enthalten — weshalb in vielen Fällen 14 oder sogar 16 Bit erforderlich sind.
  • In hellen Bildbereichen ist das Rauschen vergleichsweise stark. Die reale Präzision des Signals bleibt spürbar unter dem, was 14 oder 16 Bit theoretisch abbilden könnten. Diese zusätzlichen Bits erfassen das Rauschen mit einer Genauigkeit, die weit über das hinausgeht, was jemals sichtbar oder notwendig wäre.

Genau diese für die Wahrnehmung wertlosen hochpräzisen Abtastwerte in den Spitzlichtern machen die verlustfreie Komprimierung weniger effizient: Es werden Bits originalgetreu codiert, die keine nennenswerten Bildinformationen enthalten.

  • DRC behebt dieses Problem, indem es vor der Komprimierung eine Kompandierungsfunktion — konkret eine Kurve nahe der Quadratwurzel — auf die linearen Pixelwerte anwendet. Dies ist konzeptionell mit einer varianzstabilisierenden Transformation vergleichbar: Nach der Quadratwurzel wird die Standardabweichung des Rauschens über den gesamten Tonwertumfang hinweg nahezu konstant. Die Präzision wird somit dort zum Einsatz gebracht, wo sie erforderlich ist — viele Abstufungen in den Schatten, weniger in den Spitzlichtern — ohne dass Informationen verloren gehen, die für die Wahrnehmung von Bedeutung sind.

Beim Dekomprimieren stellt eine inverse Funktion (hinterlegt in der DNG-Linearisierungstabelle) die ursprüngliche lineare Kodierung wieder her, exakt gemäß den Vorgaben der DNG-Spezifikation. Der Prozess ist für jede weiterverarbeitende Software vollständig transparent.

Die Anzahl der Quantisierungsstufen wurde konservativ gewählt und gegen Worst-Case-Bearbeitungsszenarien validiert – etwa starke Belichtungsverschiebungen in Kombination mit extremer Wiederherstellung der Schatten –, damit Quantisierungsartefakte in allen praktischen Anwendungen unsichtbar bleiben.

JPEG XL-Komprimierung

Nach der DRC wird das aufbereitete Bild mit dem Bildcodec JPEG XL komprimiert, einer vom JPEG-Komitee standardisierten Technologie der nächsten Generation.

Was macht JPEG XL besser als das klassische JPEG?

Das klassische JPEG stammt aus dem Jahr 1992 und basiert auf einer festen 8 x 8 -Blocktransformation mit vergleichsweise einfacher Entropiekodierung. So bahnbrechend er damals war, lässt dieser Ansatz nach heutigem Maßstab erhebliches Komprimierungspotenzial ungenutzt. JPEG XL bündelt über zwei Jahrzehnte Fortschritte in der Bildkomprimierungsforschung:

Transformationen mit variabler Größe — Blockgrößen von nur 2×2 bis hin zu 256×256 erlauben es dem Encoder, in homogenen Bildbereichen große, effiziente Blöcke einzusetzen und in detailreichen Randzonen kleinere, präzisere Strukturen zu verwenden. Dadurch passt sich die Kodierung flexibel dem lokalen Bildinhalt an, anstatt ein starres Raster vorzugeben.

Wahrnehmungsoptimierter Farbraum — Die interne Farbdarstellung orientiert sich an der Funktionsweise des menschlichen Sehens und ermöglicht eine gezielte, intelligente Zuweisung der verfügbaren Bits zu den Bildbereichen, die für die visuelle Wahrnehmung am wichtigsten sind.

Erweiterte Entropiekodierung — Moderne, deutlich effizientere Kodierverfahren nutzen die in den Daten vorhandene Redundanz wesentlich effektiver als herkömmliche Ansätze.

Ausgereifte Bildprognose und Kontextmodellierung — Während der Verarbeitung erstellt der Encoder ein statistisches Modell des Bildes, erkennt dabei fein abgestufte lokale Strukturen und reduziert so die Menge an zu speichernden Informationen, die tatsächlich schwer vorhersehbar sind.

Native Unterstützung hoher Bit-Tiefe — Im Gegensatz zum klassischen JPEG wurde JPEG XL von Grund auf für Bilddaten mit hoher Bit-Tiefe entwickelt — und eignet sich damit ideal als Komprimierungsebene in RAW-Bildverarbeitungs-Pipelines.

Wir setzen JPEG XL mit einer nahezu verlustfreien Qualitätseinstellung ein. Der dabei entstehende mathematische Verlust ist vernachlässigbar und liegt deutlich unterhalb der Rauschschwelle jedes realen Bildes. Entscheidend ist die Kombination mit der vorgeschalteten DRC: Indem wahrnehmungsirrelevante Präzision bereits vor der Übergabe an JPEG XL entfernt wird, erhält der Codec ein Signal, das sich von Natur aus effizienter komprimieren lässt, ohne dass qualitätsmindernde Entscheidungen erforderlich sind.


The post So reduziert DxOs bahnbrechender Ansatz DNG-Dateien auf ein Viertel ihrer Größe – ohne Qualitätsverlust appeared first on DxO.

]]>
DxO PhotoLab now supports Fujifilm X-Trans https://www.dxo.com/de/news/fuji-xtrans/ Thu, 02 Feb 2023 11:00:00 +0000 https://www.dxo.com/news/fuji-xtrans/ DxO’s latest software brings exciting news for Fujifilm photographers: DxO PhotoLab 5 now processes files from X-Trans sensors (beta) and produces remarkable levels of detail.

The post DxO PhotoLab now supports Fujifilm X-Trans appeared first on DxO.

]]>

Sophisticated sensor meets sophisticated processing: DxO PhotoLab 5 now supports Fujifilm X-Trans

DxO’s latest software brings exciting news for Fujifilm photographers: DxO PhotoLab 5 now processes files from X-Trans sensors (beta) and produces remarkable levels of detail.

What is it about X-Trans cameras that make them different to other cameras on the market, and how is machine learning revolutionizing the way that raw files are processed? Head Scientist Wolf Hauser discusses the pros and cons of X-Trans and how DxO’s approach to processing them leads to significant advances in image quality.

Never a company afraid to try something different, Fujifilm introduced the X-Trans sensor in 2012. Given that the rest of the camera industry almost exclusively uses Bayer sensors, this was a bold move and the last nine years have seen many heated debates about whether X-Trans brings genuine benefits to photographers or is little more than an elaborate marketing trick. As will be explored below, there are certainly advantages and disadvantages to X-Trans and the algorithms used to interpret the raw data from this sensor are critical for getting good results. Fujifilm enthusiasts have long searched for the best software to process their images and the latest iteration of DxO PhotoLab include beta support for X-Trans raw files, offering clean images from Fujifilm cameras with fantastic detail rendition.

Before we can understand what makes X-Trans different from Bayer, it’s useful to remind ourselves how sensors capture light, how moiré comes about, and how the raw data from a sensor is turned into the images that we see on our screens.

How to Make a Camera Sensor See in Color

The pixels on a camera’s sensor, whether it’s the smartphone in your pocket or a medium format body, only capture the intensity of light. The solid-state photosites count photons, but they have no means of understanding the wavelength — and thus the color — of the light that they are receiving. To solve this problem, manufacturers creating the earliest digital cameras invented the Color Filter Array (CFA). This mosaic of red, green, and blue sits in front of the sensor and allows the camera to observe different colors through different pixels.

In order to create an image, the next step is to interpolate this data through a process called demosaicing which uses sophisticated algorithms to calculate the missing red, green, and blue values for each individual pixel based on the surrounding pixels.

This design was inspired by nature: the human eye also has red, green, and blue receptors, although a critical difference is that these receptors are spread completely randomly across the retina. Our brains process this stream of continuously shifting data at incredible speed, expertly filling in any blanks using experience and assumptions — none of which is easily replicated in a camera. Instead, the typical camera sensor uses a uniform grid named after its inventor, Bryce Bayer, who came up with a beautifully simple design back in 1974.

The foundation of the Bayer pattern is a block of four pixels with one red and one blue pixel sitting diagonally opposite one another, with the two remaining pixels both green. In effect, the sensor has been split into three: one-half of the pixels sees only green, one-quarter sees only red, and the remaining quarter sees only blue. As a result, the camera has to guess twice as many red values and twice as many blue values as it does green.

Moiré Explained

Capturing light through the means of a uniform grid of pixels can produce some strange visual effects. Moiré is an interference phenomenon that can occur when two grids interact, with patterns often appearing as waves or ripples. In the real world, we tend to see them most often when one dense, wire mesh fence sits behind another.

Cameras are particularly prone to creating these patterns for the simple reason that moiré is the result of two regular grids interacting, and one already exists in the form of the neatly arranged rows of pixels that make up the camera’s sensor. When the scene contains a regular pattern that is as finely detailed as the pixel grid, moiré may appear.

The diagram below simplifies the phenomenon by showing a single row of pixels. The sensor carves up the incoming texture, averaging its intensity within each pixel. Signal processing engineers call this process "sampling": converting a continuous signal into (spatially) discrete values. In the first instance, the sensor can accurately understand the scene, despite the simplification that occurs. Difficulties arise if the details of the pattern become finer than the pixel grid. As can be seen in the second instance, the high frequency of the signal does not match with the lower frequency of the pixels, and the pattern breaks down. Instead of the original high frequency, we observe a lower frequency that never was part of the scene, albeit with strongly reduced amplitude.

Things get even worse if there are gaps between pixels. Suppose that we take out all pixels at odd positions and observe the signal only through pixels at even positions. As before, the incoming signal intensity is averaged over even pixels — but whatever hits the odd pixels is lost completely.

On the two previously shown textures, this will have no decisive impact. However, there is a range of frequencies that could be captured well without gaps and which transmute into moiré patterns when we introduce gaps. Again, we observe a lower frequency that was not in the scene, and this time its amplitude is almost unchanged compared to the original signal.

You might wonder "why would we introduce gaps?" Well, that's exactly what a color filter array does. Our so-called RGB sensors are actually a red sensor with many gaps, a green sensor with fewer gaps, and a blue sensor, also with many gaps. Having more gaps means a greater chance of creating moiré patterns. More gaps in red and blue are the reason why you frequently observe color moiré, i.e. false hue patterns.

How to Avoid Moiré

As we have seen above, moiré arises when there is a mismatch between the resolving power of the lens and the resolution of the sensor, with the lens trying to force too much fine detail into too few megapixels. With sensor resolutions steadily increasing, and the pixel grid becoming finer, this is becoming less of a problem over time.

But most cameras don’t yet have high enough resolution to mitigate this problem, so manufacturers have had to find other means of dealing with moiré. One radical solution would be to remove the color filter array completely, creating a monochrome camera that is capable of capturing extra detail by virtue of the fact that the light reaching the sensor is no longer being filtered through three different colors. Obviously, for those of us who want color photographs, this is not ideal. Manufacturers typically use a slightly less brutal solution: blurring the image so that dense, fine patterns are eliminated before the light hits the sensor — effectively reducing the resolution of the image. This is achieved by placing an anti-aliasing (AA) filter (also called an optical low pass filter) in front of the Bayer filter, sacrificing a little detail in order to avoid moiré. Of course, placing an AA filter behind an ultra-sharp lens that cost a lot of money is not ideal, either. Some manufacturers now produce alternative versions of their high-end, high-resolution cameras that do not feature the AA filter for photographers who wish to capture as much detail as possible, even if that means risking moiré.

2012 saw Fujifilm make a bold design move. For several of its new cameras, it chose to get rid of this AA filter, claiming to have found an ingenious solution to the moiré problem: X-Trans.

As opposed to the two-by-two repeating pattern of the Bayer filter, the X-Trans filter is far more complex: a repeating pattern of six-by-six. This is still a long way from the random arrangement of the receptors in the human eye, but the increased periodicity means that the patterns which trigger moiré in Bayer filter cameras are less of a problem for X-Trans.

The more random-like pixel arrangement becomes more obvious when we look at, for instance, only the red pixels:

If we hide the green and blue pixels, the gaps between the red pixels become more apparent. Bayer on the left, X-Trans on the right.

Note that with X-Trans, any given row or column is capable of “seeing” all three colors. By contrast, an individual row or column on a Bayer filter is always missing either a red or blue pixel:

Every row and every column on the X-Trans sensor (left) contains all three colors — even on the rows that have the fewest red and blue pixels. By contrast, on the Bayer sensor, every row and every column is always missing either red or blue pixels.

For regular patterns consisting of either only horizontal or only vertical high frequencies, this gives X-Trans a real advantage. In this instance, it actually avoids the gaps in the red and blue channels. We have seen above how these gaps can cause moiré, and X-Trans is definitely less prone to color moiré than Bayer as a result.

However, there is no such thing as a free lunch and the advantages of X-Trans bring with them certain disadvantages. Across its six-by-six base, only 8 pixels are red and only 8 are blue, while the same sized area of a Bayer sensor would have 9 of each. As a result, the X-Trans sensor is about 11% less sensitive to both red and blue. More of a factor, however, is that pixels of the same color can be further apart on the X-Trans filter compared to Bayer. On a Bayer filter, a red pixel is never more than one pixel’s width away from another red pixel. By contrast, on an X-Trans filter, it can be twice that.

On irregular textures and details as they typically occur in nature (foliage, flowers, faces, etc), the regular grid of the Bayer pattern does no harm, and X-Trans brings no benefits. By contrast, an X-Trans sensor’s lower density of red and blue pixels means that it will observe slightly less color detail. If a small color spot happens to fall in that fairly huge block of four green pixels, it is simply not observed at all.

Bayer Versus X-Trans, Pepsi Versus Coke?

As readers may have noticed, discussing the finer details of camera technology can trigger some strong reactions, and debates over the advantages and disadvantages of X-Trans have played out on message boards and social media networks since it was launched. However, the color filter array is only one feature out of many that define a camera and few customers would have it foremost in mind when buying a camera. Fujifilm photographers appreciate the distinctive look and feel of their cameras, enjoying the ergonomics and ease of use, not to mention the results that can be achieved straight out of camera. Fujifilm’s engineers are experts when it comes to color following more than 70 years of experience in creating color photographs and devotees love Fujifilm’s film simulations which draw on the company’s rich history of producing film stock. Names such as Astia and Velvia give their cameras a sense of authenticity.

The Bayer versus X-Trans argument has parallels with the ongoing battle between ARM processors and those designed by Intel. Apple's marketing department will claim their iPad is better because it features their new ARM chip, while Microsoft wants you to believe that Surface is better because it uses the latest Intel chip. This allows aficionados of both brands to spend their nights in heated forum discussions about ARM vs Intel, RISC vs CISC — but 99% of all users don't actually care. They chose their tablet because they prefer the look and feel of one over the other, the user experience, and ultimately, the branding.

Beyond some technical differences deep inside the system, for most users, the Fujifilm versus Canon/Nikon/Sony/etc decision might be not so different from choosing between Pepsi and Coke.

The Consequences of Complexity

tech-news_fuji-xtrans.fp29

Whatever the criteria for choosing a camera, squeezing the best possible performance out of its sensor is still important, and it’s useful to see what happens when you zoom into images at 100% and more.

It’s worth remembering that the final image is not solely the result of the sensor itself; whether it’s in-camera or through software, a variety of processes take place, notably demosaicing, the algorithm which fills in the gaps between the red, green, and blue channels. It’s a combination of these algorithms with the color filter array that determines the result.

One of the reasons that the Bayer filter has proven so tenacious is that engineers are used to processing its data. Finding the best recipe for demosaicing Bayer sensors has kept researchers busy for four decades, and the highly sophisticated algorithms developed over the years have allowed them to mitigate many of the limitations fundamental to its design. Even fairly simple algorithms, such as those embedded in the first digital cameras, yield fairly good results.

The increased complexity of the X-Trans pattern, on the other hand, entails a demosaicing process that is far more complex. Fujifilm’s engineers are said to have spent five years waiting for their cameras’ processing power to catch up before introducing X-Trans in the X-Pro1 in 2012. At the same time, the research community has published far fewer papers about X-Trans demosaicing than they have for Bayer; not only is it a more complex problem but less research effort has been spent solving it. It seems fair to assume that current X-Trans demosaicing algorithms are still some distance away from achieving a theoretically optimal solution. This is one reason that Fujifilm enthusiasts often find themselves jumping between software packages in search of a solution that delivers the best results.

Overcoming Complexity Through Machine Learning

At DxO, we have attempted to create better X-Trans processing in the past, but we were never quite satisfied with the outcome. The main challenge was that our processing traditionally took a different route to every other software: while most raw processors demosaic a raw file before denoising, DxO always did it the other way around — one of the reasons that our software often produces cleaner results. As a consequence, adapting our raw processes to cater for X-Trans sensors would not only have required a new demosaicing process, but also a new denoising process. Applying raw denoising to X-Trans was again incredibly complicated compared to Bayer and rebuilding the process never yielded truly satisfactory results.

Today, image processing is being revolutionized by machine learning, particularly by a technology called convolutional neural networks. Within a few years, this new class of algorithms — no longer hand-crafted by researchers and engineers, but learned empirically by a computer from looking at millions of training examples — has made decades of research effort obsolete. With Bayer demosaicing, for instance, neural networks now easily beat the very best algorithms designed by humans.

While certainly frustrating for researchers who spent their life on demosaicing algorithms, this revolution is actually a huge opportunity. Not only are the results better, it also boosts productivity: computers find a state-of-the-art demosaicing algorithm in days or weeks rather than in years or decades. Machine learning is particularly well adapted to problems that have clearly defined inputs and expected outputs but where the mapping between them is too complex to be formulated as a classical algorithm. Image and speech recognition were the first examples but machine learning turns out to be such a powerful tool that it has proven useful in domains where decent classical algorithms already existed — such as demosaicing.

X-Trans demosaicing is a great candidate for machine learning. Being more complex than Bayer demosaicing, the advantage of machine learning over traditional engineering should be even greater than that achieved with Bayer demosaicing. Our counterparts at Adobe demonstrated exactly this when they introduced their machine learning-powered “Enhance Details” feature in early 2020. Reviewers concluded that, while the difference for Bayer images was rather subtle, it was a significant improvement for X-Trans images.

At DxO, we have leveraged machine learning in DxO PhotoLab 4 to solve another highly complex task: our new raw conversion technology — DxO DeepPRIME — uses a single, huge convolutional neural network to apply demosaicing and denoising at the same time. After 10 days of intensive work, our computer developed a highly sophisticated algorithm that outperforms our traditional demosaicing at low ISO, and both our traditional demosaicing and denoising at high ISO.

DxO PhotoLab 5 Features DeepPRIME for
X-Trans

Obviously, these 10 days of training our neural network were preceded by years of research. We had to define the “shape” of the network manually while the computer only determined its millions of parameters. But the most challenging part, on which we spent 80% of our effort, was ensuring that the problem was being described to the deep convolutional neural network as accurately as possible through the use of very precise training data.

Once work on Bayer sensor images was complete, it became clear that making changes to accommodate X-Trans raw files was no longer such a daunting task because the procedure for generating training data could be reused with very few modifications. It was still challenging as we had to fundamentally change the network shape to accommodate for the complex X-Trans pattern, but it was conceivable and proved to be an exciting challenge. The results are exciting, too. Let’s have a look at two examples.

This landscape shot was taken with a Fujifilm X-T2 at ISO 200. The image looks reasonably good in terms of color and exposure, even without post-processing (top). However, when zooming in and examining the details — details that become important when making large prints — we notice that DxO PhotoLab (bottom right) does a much better job at preserving color details than the camera itself (bottom left). The camera fails to distinguish the varying hues of human skin, the wooden fences, and the grass; all end up being more or less uniformly greenish. By contrast, DxO PhotoLab manages to distinguish these features, producing a more natural image. It also preserves the texture of the grass in the foreground more effectively. As a result, the image appears to be at a higher resolution and will reproduce better when printed in a large format.

This low light indoor action shot was taken with a Fujifilm X-T3 at ISO 6400. The original photo was underexposed so we pushed it by two stops during post-processing — the equivalent of ISO 25600 (top). Such heavy exposure adjustment cannot be performed on JPEG images, so the comparison here is not with the camera but against a well known raw converter: Adobe Lightroom with Enhance Details (bottom left). When we look at the faces more closely, we can see that DxO PhotoLab (bottom right) yields a significantly cleaner result. Because it uses a neural network to run demosaicing and denoising at the same time, DeepPRIME does a better job at removing noise while at the same time preserving more detail in terms of both luminance and color.

Obviously, it takes more than DxO DeepPRIME on its own to fully support X-Trans in software as sophisticated as DxO PhotoLab. Many internal tools used by our lab to calibrate the color and noise model of each camera body had to be adapted. Several other processing blocks had to be designed from scratch, such as the demosaicing algorithm used to display a preview while the user makes adjustments.

Because so many things were done in parallel, and because X-Trans is still more or less unknown territory for us, we feel that our technology has not quite reached a stage where it performs consistently to our high standards. At the same time, we really want to share our new technology with Fujifilm fans. We believe that photographers will appreciate how our DxO DeepPRIME technology can draw out color detail that was previously missing, bring new life to old photographs, and transform high ISO images. You can help us to complete our refinements by reporting bugs and providing feedback via Send a request.

DxO PhotoLab 9

RAW-Bildbearbeitung in Perfektion

The post DxO PhotoLab now supports Fujifilm X-Trans appeared first on DxO.

]]>
What are Linear DNG files? How do you use them? https://www.dxo.com/de/news/linear-dng/ Thu, 02 Feb 2023 11:00:00 +0000 https://www.dxo.com/news/linear-dng/ Photo editing software such as Lightroom and Capture One might give you creative freedom and flexibility, but that doesn’t necessarily mean that you’re getting the best possible image quality from your RAW files. Linear DNG files are part of a solution that allows you to combine different software to get ultimate image quality without having to overhaul your entire workflow.

The post What are Linear DNG files? How do you use them? appeared first on DxO.

]]>

What are Linear DNG files and how should you use them in your photo-editing workflow?

Photo editing software such as Lightroom and Capture One might give you creative freedom and flexibility, but that doesn’t necessarily mean that you’re getting the best possible image quality from your RAW files. Linear DNG files are part of a solution that allows you to combine different software to get ultimate image quality without having to overhaul your entire workflow.

Linear DNG files are RAW files that have been partially developed, having undergone some complex mathematical processing to lock in demosaicing. Depending on its intended purpose, a Linear DNG might also complete other parts of the RAW conversion process such as denoising and lens corrections. You can then take this optimized file into your photo-editing software of choice to complete the creative process — everything from white balance and exposure through to tone curves and color grading — with the knowledge that your final image will be the highest possible quality. As you edit your files, you might even find that you have greater flexibility than with the original RAW file.

By taking a RAW file and converting it to a Linear DNG file with one application and then editing it in another, you get to combine the strengths — one mathematical, one creative — of two different pieces of software.

This image was edited as a RAW file using Adobe Lightroom. In the centre, you can see the results of Noise Reduction in Lightroom, and on the right is the optimization as a result of using DxO PureRAW  3.

The basics: RAW conversion, linearity, and DNG files

Every image sensor in every camera produces RAW files that need to be converted into a format that is capable of being displayed on-screen or printed on paper. It’s worth remembering that a camera does not “see” an image; instead, it captures information that must be transformed using sophisticated digital image processing. Software — either in the camera or on your computer — takes data that has been measured by each pixel and converts it into a color image. Unprocessed information is called “RAW data” and the process of transforming it into something visible is called “RAW conversion.” If you shoot in RAW, you’re saving the unprocessed data from the sensor and saving it to your memory card, ready to be processed by software such as DxO PhotoLab or Adobe Lightroom.

In some ways, a RAW image can be compared to a frame of negative film in analog photography. It contains all of the information that was captured when taking the photograph but more processing is needed before an image can be revealed.

Why should you shoot RAW?

Why would you capture data that still needs to be processed rather than JPEG files that are ready to be viewed? There are two reasons.

1. The first is image quality. As mentioned above, RAW conversion is complex. Doing it outside of the camera allows you to use more sophisticated algorithms, yielding better images.

2. The second reason is that it gives you control over certain aspects of the RAW conversion, such as exposure, color, and contrast.

Again, comparing it to analog photography is a useful illustration: JPEG files are a bit like Polaroid instant film. You get immediate results and that’s a huge advantage. However, the image quality cannot match that of negative film. Furthermore, with negatives, you can adjust exposure and color while developing your prints in the darkroom.

Of course, you can change the exposure and color of JPEGS, but RAW files contain a lot more information. There’s more dynamic range, a greater array of colors, and more levels of gray that allow you to preserve smooth tone transitions

RAW data is linear

RAW data is linear — but what does this mean? In mathematics, a linear system is one where multiplying an input by a certain amount means that the output will be multiplied by the same amount. Going back to your algebra at school, consider this example: In a linear system where 2x = 5y, then 4x = 10y, and 6x = 15y. Double one factor and you double the other, triple one factor and you triple the other, etc. Mathematicians would describe a linear system as one where scaling an input by a factor means that the output is always scaled the same factor: in other words, f(αx) = α f(x) for all α.

A photographic lens is a linear system. If you double the intensity of your studio lighting or double the exposure time while keeping the aperture unchanged, the amount of light reaching the image sensor in the camera will also double.

Just like the lens, the camera’s sensor is also linear. As a result, the data in the RAW file is a linear function of the amount of light in the scene. Notably, the first few steps of RAW conversion are linear. However, some non-linear steps soon take place — most notably, color rendering and gamma correction (i.e., the process of making data fit more closely to human eye’s understanding of how brightness works). To be able to retain quality, you want your exposure adjustments to be applied before these non-linear functions occur. This is where a JPEG file falls short as it doesn’t allow you to do that.

By contrast, when editing a RAW file, all of these changes are made before color rendering and gamma correction take place. Exposure, white balance, highlight recovery, boosting shadows — all of this can be achieved before irreversible steps are imposed and the editing process remains non-destructive.

An example can be seen in this photograph of a color checker card, captured with a white balance that had not been set correctly:

If you take the RAW file from the camera, you can use the eyedropper in your photo-editing software on a part of the image that is neutral gray to allow it to calculate the correct white balance:

The result is accurate (taking into account the limitations of the camera). Adjusting white balance on your camera before the shot or as part of the editing process achieves the same result because, just like the camera, the software applies this change in the linear domain. However, if you take the JPEG produced by the camera and attempt to correct the image in the same way, the results are noticeably different:

In reality, all of the grays in this scene are completely neutral. However, in this JPEG, each of the grays has a slight color cast. In addition, the individual color tiles are both quite far from their true hues and have lost some of their intensity. Recovering an accurate reproduction of the colors is impossible because the linearity of this information was given up when the RAW data from the sensor was converted into a JPEG.

What is DNG?

DNG stands for Digital Negative and is a RAW image file format designed by Adobe. Adobe’s goal was to create an open standard for storing RAW data as an alternative to the proprietary formats used by camera manufacturers — ARW from Sony, NEF from Nikon, CR3 from Canon, etc. All of these files can be converted to DNG simply by changing how the pixel values are stored. The values themselves remain unchanged.

The DNG format also provides a standardized means of storing metadata. Metadata — called XMP (Extensible Metadata Platform) — might include information such as shooting parameters, copyright, and star ratings, but they also contain settings for Adobe’s RAW conversion algorithms.

So what is Linear DNG?

Typically, DNG files store unprocessed RAW data. By contrast, Linear DNG files store some intermediate results of RAW conversion. Some initial processing steps have been applied — but only linear ones. This means that none of the data is lost to one-way, non-linear processes. As a result, Linear DNGs have exactly the same flexibility as RAW files when it comes to editing aspects such as brightness, color, and contrast.

Linear DNG files become useful when you want more flexibility in your workflow. If your preferred photo-editing software does a poor job of performing those initial processing steps, you might want to have another piece of software do it for you instead as a means of ensuring better image quality. With Linear DNG files, you can combine the strengths of different tools, squeezing more from your RAW files in terms of quality before switching to different software that gives your preferred mode of creativity.

Objective and subjective steps when processing RAW files

RAW conversion consists of many steps, both linear and non-linear. At DxO, we regard each step as either restoration or rendering. Here’s how they differ.

Restoration is where you are trying to achieve a perfect image from imperfect RAW data. There is an objective truth — the scene in front of your camera — that you are trying to recreate in a photograph as accurately as possible. Two fundamentals of this process are demosaicing — the conversion of values from individual pixels for red, green, and blue into accurate colors — and denoising — the removal of inaccurate pixels created as a result of interference and heat inside your camera, both of which become amplified when ISO is increased. Other important steps are the removal of vignetting, geometric distortions, and chromatic aberrations, and the correction of a lack of sharpness in the corners.

Restoration is considered an objective task in that there is a ground truth that you are trying to achieve as closely as possible. For example, with demosaicing, you want to create accurate colors as though they were seen with the human eye rather than the millions of individual values for red, green, and blue, as captured by the pixels on the camera’s sensor. In denoising, you want to restore the pixel values as though the image had been captured under better lighting conditions and using a lower ISO. With both of these tasks, computers are far better than humans.

Rendering, on the other hand, is fundamentally subjective. Even exposure and white balance are subjective. Trade-offs have to be made between highlights and shadows, and for many, the goal is not to faithfully reproduce the scene as it appeared in front of their camera. Instead, you might want to create a certain atmosphere or emotion. Even though computers might become better at guessing what sort of rendering humans might appreciate, many photographers prefer to have control over this part of the process.

90% of the sliders in your RAW conversion software — whether it’s DxO PhotoLab, Adobe Lightroom, or Capture One — are dedicated to rendering. Only 10% of the sliders relate to restoration, even though the software spends 90% of its computing time on restoration tasks. Furthermore, this is in spite of the fact that the restoration can determine how much flexibility a photographer has when choosing how to edit a photograph, and can have an effect on other aspects such as the potential to crop without compromising too much detail, or how large a print can be achieved.

Splitting your RAW conversion into rendering and restoration

A photographer’s choice of RAW processing software is highly subjective, and most are guided by the software they find the most intuitive in terms of rendering their images — even though the choice for restoration should be a completely objective decision. Unfortunately, the best tool for one is not necessarily the best tool for the other.

For restoration, those evaluating cameras and RAW conversion software — whether they are photo industry journalists or keen amateurs — have been running analyses using test scenes and evaluation targets for decades. These assessments have long confirmed that DxO’s optical corrections are the most accurate and that our DeepPRIME technology is better at removing noise while preserving more detail than any other RAW converter on the market. In terms of restoration, DxO DeepPRIME should be the obvious choice for any photographer seeking to maximize the quality of their images.

However, when it comes to rendering, we appreciate that the choice is more personal. Not only are there preferences for certain colors or levels of contrast, there is also habit. Your photographic style might be tied up in the tools that are most familiar to you, and we understand that. Changing your RAW converter would require learning a completely new system and potentially losing what makes your images unique in terms of look and feel. Switching away from Adobe Lightroom or Capture One and over to DxO PhotoLab might seem too much of a hurdle, just as switching between Canon and Nikon would also mean a big commitment.

With this in mind, we decided that photographers should be able to get the best of both worlds. What if you could take advantage of DxO’s renowned restoration algorithms while keeping your existing workflow? You could get superior image quality and files with greater flexibility — all without having to switch to new software. This is where Linear DNG files and DxO PureRAW come into play.


DxO PureRAW  5

Mehr Power für Ihre Kameras und Objektive

DxO PhotoLab 8

RAW-Bildbearbeitung in Perfektion

The post What are Linear DNG files? How do you use them? appeared first on DxO.

]]>
Support arrives for Fujifilm X-Trans sensors https://www.dxo.com/de/news/unique-sensor/ Thu, 02 Feb 2023 11:00:00 +0000 https://www.dxo.com/news/unique-sensor/ DxO’s latest software brings exciting news for Fujifilm photographers: both DxO PhotoLab 6 and DxO PureRAW  3 now process files from X-Trans sensors, producing remarkable levels of detail.

The post Support arrives for Fujifilm X-Trans sensors appeared first on DxO.

]]>

A unique sensor now matched by next-generation processing: DxO DeepPRIME and DeepPRIME XD now support Fujifilm X-Trans

DxO’s latest software brings exciting news for Fujifilm photographers: both DxO PhotoLab 6 and DxO PureRAW  3 now process files from X-Trans sensors, producing remarkable levels of detail.

What is it about X-Trans cameras that make them different to other cameras on the market, and how is machine learning revolutionizing the way that raw files are processed? Head Scientist Wolf Hauser discusses the pros and cons of X-Trans and how DxO’s approach to processing them leads to significant advances in image quality.

Never a company afraid to try something different, Fujifilm introduced the X-Trans sensor in 2012. Given that the rest of the camera industry almost exclusively uses Bayer sensors, this was a bold move and the last ten years have seen many heated debates about whether X-Trans brings genuine benefits to photographers or is little more than an elaborate marketing trick. As will be explored below, there are certainly advantages and disadvantages to X-Trans and the algorithms used to interpret the raw data from this sensor are critical for getting good results. Fujifilm enthusiasts have long searched for the best software to process their images and DxO PhotoLab 6 and DxO PureRAW  3 now support for X-Trans raw files – in both DeepPRIME and DeepPRIME XD modes – offering clean images from Fujifilm cameras with fantastic detail rendition.

Before we can understand what makes X-Trans different from Bayer, it’s useful to remind ourselves how sensors capture light, how moiré comes about, and how the raw data from a sensor is turned into the images that we see on our screens.

How to Make a Camera Sensor See in Color

The pixels on a camera’s sensor, whether it’s the smartphone in your pocket or a medium format body, only capture the intensity of light. The solid-state photosites count photons, but they have no means of understanding the wavelength — and thus the color — of the light that they are receiving. To solve this problem, manufacturers creating the earliest digital cameras invented the Color Filter Array (CFA). This mosaic of red, green, and blue sits in front of the sensor and allows the camera to observe different colors through different pixels.

In order to create an image, the next step is to interpolate this data through a process called demosaicing. This uses sophisticated algorithms to calculate the missing red, green, and blue values for each individual pixel based on the surrounding pixels.

This design was inspired by nature: the human eye also has red, green, and blue receptors, although a critical difference is that these receptors are spread completely randomly across the retina. Our brains process this stream of continuously shifting data at incredible speed, expertly filling in any blanks using experience and assumptions — none of which is easily replicated in a camera. Instead, the typical camera sensor uses a uniform grid named after its inventor, Bryce Bayer, who came up with a beautifully simple design back in 1974.

The foundation of the Bayer pattern is a block of four pixels with one red and one blue pixel sitting diagonally opposite one another, with the two remaining pixels both green. In effect, the sensor has been split into three: one-half of the pixels sees only green, one-quarter sees only red, and the remaining quarter sees only blue. As a result, the camera has to guess twice as many red values and twice as many blue values as it does green.

Moiré Explained

Capturing light through the means of a uniform grid of pixels can produce some strange visual effects. Moiré is an interference phenomenon that can occur when two grids interact, with patterns often appearing as waves or ripples. In the real world, we tend to see them most often when one dense, wire mesh fence sits behind another.

Cameras are particularly prone to creating these patterns for the simple reason that moiré is the result of two regular grids interacting, and one already exists in the form of the neatly arranged rows of pixels that make up the camera’s sensor. When the scene contains a regular pattern that is as finely detailed as the pixel grid, moiré may appear.

The diagram below simplifies the phenomenon by showing a single row of pixels. The sensor carves up the incoming texture, averaging its intensity within each pixel. Signal processing engineers call this process “sampling”: converting a continuous signal into (spatially) discrete values. In the first instance, the sensor can accurately understand the scene, despite the simplification that occurs. Difficulties arise if the details of the pattern become finer than the pixel grid. As can be seen in the second instance, the high frequency of the signal does not match with the lower frequency of the pixels, and the pattern breaks down. Instead of the original high frequency, we observe a lower frequency that never was part of the scene, albeit with strongly reduced amplitude.

Things get even worse if there are gaps between pixels. Suppose that we take out all pixels at odd positions and observe the signal only through pixels at even positions. As before, the incoming signal intensity is averaged over even pixels — but whatever hits the odd pixels is lost completely.

On the two previously shown textures, this will have no decisive impact. However, there is a range of frequencies that could be captured well without gaps but which transmute into moiré patterns when we introduce gaps. Again, we observe a lower frequency that was not in the scene, and this time its amplitude is almost unchanged compared to the original signal.

You might wonder “why would we introduce gaps?” This is exactly what a color filter array does. Our so-called RGB sensors are actually a red sensor with many gaps, a green sensor with fewer gaps, and a blue sensor, also with many gaps. Having more gaps means a greater chance of creating moiré patterns. More gaps in red and blue are the reason why you frequently observe color moiré, i.e. false hue patterns.

How to Avoid Moiré

As we have seen above, moiré arises when there is a mismatch between the resolving power of the lens and the resolution of the sensor, with the lens trying to force too much fine detail into too few megapixels. With sensor resolutions steadily increasing, and the pixel grid becoming finer, this is becoming less of a problem over time.

But most cameras don’t yet have high enough resolution to mitigate this issue, so manufacturers have had to find other means of dealing with moiré. One radical solution would be to remove the color filter array completely, creating a monochrome camera that is capable of capturing extra detail by virtue of the fact that the light reaching the sensor is no longer being filtered through three different colors. Obviously, for those of us who want color photographs, this is not ideal. Manufacturers typically use a slightly less brutal solution: blurring the image so that dense, fine patterns are eliminated before the light hits the sensor — effectively reducing the resolution of the image. This is achieved by placing an anti-aliasing (AA) filter (also called an optical low pass filter) in front of the Bayer filter, sacrificing a little detail in order to avoid moiré. Of course, placing an AA filter behind an ultra-sharp lens that cost a lot of money is not ideal, either. Some manufacturers now produce alternative versions of their high-end, high-resolution cameras that do not feature the AA filter for photographers who wish to capture as much detail as possible, even if that means risking moiré.

2012 saw Fujifilm make a bold design move. For several of its new cameras, it chose to get rid of this AA filter, claiming to have found an ingenious solution to the moiré problem: X-Trans.

As opposed to the two-by-two repeating pattern of the Bayer filter, the X-Trans filter is far more complex: a repeating pattern of six-by-six. This is still a long way from the random arrangement of the receptors in the human eye, but the increased periodicity means that the patterns which trigger moiré in Bayer filter cameras are less of a problem for X-Trans.

The more random-like pixel arrangement becomes more obvious when we look at, for instance, only the red pixels. If we hide the green and blue pixels, the gaps between the red pixels become more apparent. Bayer on the left, X-Trans on the right.

Note that with X-Trans, any given row or column is capable of “seeing” all three colors. By contrast, an individual row or column on a Bayer filter is always missing either a red or blue pixel:

Every row and every column on the X-Trans sensor (left) contains all three colors — even on the rows that have the fewest red and blue pixels. By contrast, on the Bayer sensor, every row and every column is always missing either red or blue pixels.

For regular patterns consisting of either only horizontal or only vertical high frequencies, this gives X-Trans a real advantage. In this instance, it actually avoids the gaps in the red and blue channels. We have seen above how these gaps can cause moiré, and X-Trans is definitely less prone to color moiré than Bayer as a result.

However, there is no such thing as a free lunch and the advantages of X-Trans bring with them certain disadvantages. Across its six-by-six base, only 8 pixels are red and only 8 are blue, while the same sized area of a Bayer sensor would have 9 of each. As a result, the X-Trans sensor is about 11% less sensitive to both red and blue. More of a factor, however, is that pixels of the same color can be further apart on the X-Trans filter compared to Bayer. On a Bayer filter, a red pixel is never more than one pixel’s width away from another red pixel. By contrast, on an X-Trans filter, it can be twice that.

On irregular textures and details as they typically occur in nature (foliage, flowers, faces, etc), the regular grid of the Bayer pattern does no harm, and X-Trans brings no benefits. By contrast, an X-Trans sensor’s lower density of red and blue pixels means that it will observe slightly less color detail. If a small color spot happens to fall in that fairly huge block of four green pixels, it is simply not observed at all.

Bayer Versus X-Trans, Pepsi Versus Coke?

As you may have noticed, discussing the finer details of camera technology can trigger some strong reactions, and debates over the advantages and disadvantages of X-Trans have played out on message boards and social media networks since it was launched. However, the color filter array is only one feature out of many that define a camera and few customers would have it foremost in mind when buying a camera. Fujifilm photographers appreciate the distinctive look and feel of their cameras, enjoying the ergonomics and ease of use, not to mention the results that can be achieved straight out of camera. Fujifilm’s engineers are experts when it comes to color following more than 70 years of experience in creating color photographs, and devotees love Fujifilm’s film simulations which draw on the company’s rich history of producing film stock. Names such as Astia and Velvia give their cameras a sense of authenticity.

The Bayer versus X-Trans argument has parallels with the ongoing battle between ARM processors and those designed by Intel. Apple’s marketing department will claim their iPad is better because it features their new ARM chip, while Microsoft wants you to believe that Surface is better because it uses the latest Intel chip. This allows aficionados of both brands to spend their nights in heated forum discussions about ARM vs Intel, RISC vs CISC — but 99% of all users don’t actually care. They chose their tablet because they prefer the look and feel of one over the other, the user experience, and ultimately, the branding.

Beyond some technical differences deep inside the system, for most users, the Fujifilm versus Canon/Nikon/Sony/etc decision might be not so different from choosing between Pepsi and Coke.

The Consequences of Complexity

Whatever the criteria for choosing a camera, squeezing the best possible performance out of its sensor is still important, and it’s useful to see what happens when you zoom into images at 100% and more.

It’s worth remembering that the final image is not solely the result of the sensor itself; whether it’s in-camera or through software, a variety of processes take place, notably demosaicing, the algorithm which fills in the gaps between the red, green, and blue channels. It’s a combination of these algorithms with the color filter array that determines the result.

One of the reasons that the Bayer filter has proven so tenacious is that engineers are used to processing its data. Finding the best recipe for demosaicing Bayer sensors has kept researchers busy for four decades, and the highly sophisticated algorithms developed over the years have allowed them to mitigate many of the limitations fundamental to its design. Even fairly simple algorithms, such as those embedded in the first digital cameras, yield fairly good results.

The increased complexity of the X-Trans pattern, on the other hand, entails a demosaicing process that is far more elaborate. Fujifilm’s engineers are said to have spent five years waiting for their cameras’ processing power to catch up before introducing X-Trans in the X-Pro1 in 2012. At the same time, the research community has published far fewer papers about X-Trans demosaicing than they have for Bayer; not only is it a more complex problem but less research effort has been spent solving it. It seems fair to assume that current X-Trans demosaicing algorithms are still some distance away from achieving a theoretically optimal solution. This is one reason that Fujifilm enthusiasts often find themselves jumping between software packages in search of a solution that delivers the best results.

Overcoming Complexity Through Machine Learning

At DxO, we have attempted to create better X-Trans processing in the past, but we were never quite satisfied with the outcome. The main challenge was that our processing traditionally took a different route to every other software: while most raw processors demosaic a RAW file before denoising, DxO always did it the other way around — one of the reasons that our software often produces cleaner results. As a consequence, adapting our RAW processes to cater for X-Trans sensors would not only have required a new demosaicing process, but also a new denoising process. Applying RAW denoising to X-Trans was again incredibly complicated compared to Bayer and rebuilding the process never yielded truly satisfactory results.

Today, image processing is being revolutionized by machine learning, particularly by a technology called convolutional neural networks. Within a few years, this new class of algorithms — no longer hand-crafted by researchers and engineers, but learned empirically by a computer from looking at millions of training examples — has made decades of research effort obsolete. With Bayer demosaicing, for instance, neural networks now easily beat the very best algorithms designed by humans.

While certainly frustrating for researchers who spent their life on demosaicing algorithms, this revolution is actually a huge opportunity. Not only are the results better, it also boosts productivity: computers find a state-of-the-art demosaicing algorithm in days or weeks rather than in years or decades. Machine learning is particularly well adapted to problems that have clearly defined inputs and expected outputs but where the mapping between them is too complex to be formulated as a classical algorithm. Image and speech recognition were the first examples but machine learning turns out to be such a powerful tool that it has proven useful in domains where decent classical algorithms already existed — such as demosaicing.

X-Trans demosaicing is a great candidate for machine learning. Being more complex than Bayer demosaicing, the advantage of machine learning over traditional engineering should be even greater than that achieved with Bayer demosaicing. Our counterparts at Adobe demonstrated exactly this when they introduced their machine learning-powered “Enhance Details” feature in early 2020. Reviewers concluded that, while the difference for Bayer images was rather subtle, it was a significant improvement for X-Trans images.

At DxO, we leveraged machine learning in DxO PhotoLab to solve another highly complex task: our RAW conversion technology — DxO DeepPRIME and DeepPRIME XD — uses a single, huge convolutional neural network to apply demosaicing and denoising at the same time. After 10 days of intensive work, our computer developed a highly sophisticated algorithm that outperforms our traditional demosaicing at low ISO, and both our traditional demosaicing and denoising at high ISO.

DxO PhotoLab 6 and DxO PureRAW  3 Feature DxO DeepPRIME and DeepPRIME XD for X-Trans

Of course, those 10 days of training our neural network were preceded by years of research. We had to define the “shape” of the network manually while the computer only determined its millions of parameters. But the most challenging part, on which we spent 80% of our effort, was ensuring that the problem was being described to the deep convolutional neural network as accurately as possible through the use of very precise training data.

Once work on Bayer sensor images was complete, it became clear that making changes to accommodate X-Trans raw files was no longer such a daunting task because the procedure for generating training data could be reused with very few modifications. There were still obstacles to overcome as we had to fundamentally change the network shape to accommodate for the complex X-Trans pattern, but it was conceivable and proved to be an exciting challenge. The results are exciting, too. Let’s have a look at two examples.

This landscape shot was taken with a Fujifilm X-T2 at ISO 200. The image looks reasonably good in terms of color and exposure, even without post-processing (top). However, when zooming in and examining the details — details that become important when making large prints — we notice that DxO DeepPRIME (using DxO PhotoLab 6, bottom right) does a much better job at preserving color details than the camera itself (bottom left). The camera fails to distinguish the varying hues of human skin, the wooden fences, and the grass; all end up being more or less uniformly greenish. By contrast, DxO DeepPRIME manages to distinguish these features, producing a more natural image. It also preserves the texture of the grass in the foreground more effectively. As a result, the image appears to be at a higher resolution and will reproduce better when printed in a large format.

This low light indoor action shot was taken with a Fujifilm X-T3 at ISO 6400. The original photo was underexposed so we pushed it by two stops during post-processing — the equivalent of ISO 25600 (top). Such heavy exposure adjustment cannot be performed on JPEG images, so the comparison here is not with the camera but against a well known raw converter: Adobe Lightroom with Enhance Details (bottom left). When we look at the faces more closely, we can see that DxO DeepPRIME (using DxO PhotoLab, bottom right) yields a significantly cleaner result. Because it uses a neural network to run demosaicing and denoising at the same time, DeepPRIME does a better job at removing noise while at the same time preserving more detail in terms of both luminance and color.

More than just machine learning

Obviously, it takes more than DxO DeepPRIME on its own to fully support X-Trans in software as sophisticated as DxO PhotoLab and DxO PureRAW  3. Many internal tools used by our lab to calibrate the color and noise model of each camera body had to be adapted. Several other processing blocks had to be designed from scratch, such as the demosaicing algorithm used to display a preview while the user makes adjustments.

Ready for your photos

After an intense period of research and development, both DxO PhotoLab 6 and DxO PureRAW  3 are now ready to bring dramatic improvements to your RAW files. We believe that photographers will appreciate how our DxO DeepPRIME and DeepPRIME XD technology can draw out color detail that was previously missing, bring new life to old photographs, and transform high ISO images. Download a free trial and discover what DxO DeepPRIME can do for your photos.


DxO PureRAW  3

Schärfere, klarere RAW-Dateien ohne den Kauf einer neuen Kameraausrüstung

DxO PhotoLab 6

Einfach die perfekte Bildbearbeitungssoftware.

The post Support arrives for Fujifilm X-Trans sensors appeared first on DxO.

]]>
DxO’s new ultra-wide color space is unique https://www.dxo.com/de/news/white-paper-wide-gamut/ Thu, 02 Feb 2023 11:00:00 +0000 https://www.dxo.com/news/white-paper-wide-gamut/ For DxO PhotoLab 6, we created our most versatile and flexible color space yet. Here’s how it works and why it’s better for your photos.

The post DxO’s new ultra-wide color space is unique appeared first on DxO.

]]>

How the new DxO Wide Gamut helps PhotoLab 6 deliver truer colors and better images (Article only available in English)

For DxO PhotoLab 6, we created our most versatile and flexible color space yet. Here’s how it works and why it’s better for your photos.

Color is one of the most important aspects of any picture and the capacity to reproduce and adjust color to match the photographer's intent is fundamental to any image-editing software. Essentially, accurate color is the foundation on which you edit.

To make better adjustments and provide more intense and lifelike results, DxO PhotoLab 6 brings three major advances in terms of the way it handles color.

  • At its heart is a new working color space providing a much wider gamut for accurate reproduction of saturated colors and more headroom for color adjustments like hue, saturation, and luminance.
  • The algorithms that manage colors as they pass through your image-editing workflow have been completely reengineered so that they deliver better results in conjunction with the new working color space.
  • Finally, a new Soft Proofing mode ensures that the colors and tones that you see on your monitor match what comes out of your printer, or what is displayed on your other devices.

Together, not only do these advances give extra headroom for boosting colors and let you make the most of the latest generation of monitors, but they also allow you to accurately reproduce images throughout your entire workflow — from the second that you press the shutter button to the moment you hang your print on the wall.

From capture, through editing, to printing and sharing, PhotoLab 6 is a revolution in color.

Get to grips with color science lingo

To understand why we created a new wide gamut color space – and why it’s so effective – it’s important to have a working knowledge of color science. Below are some of the main components. If you’re comfortable with color science and just want to know more about how PhotoLab 6 handles color, just click here to skip to that section. Link to below

Color

Color is a sensation that the human eye perceives as a result of light being reflected by an object or emitted by a source. More precisely, this perception occurs as various parts of the spectrum of light interact with the three different types of cone photoreceptor cells on our retina. This stimulation is converted into an electrical signal which we interpret as color.

If all wavelengths present similar levels of intensity, we perceive achromatic colors such as gray or white, but when certain parts of the spectrum dominate, it is perceived as color. When more energy is concentrated in a small part of the spectrum, a color will appear more saturated and intense.

Surface colors

As we’ve already set out, color is not a literal property of objects – it’s a sensation we perceive, resulting from the interaction between reflected light and the cone cells in our retinas. Additionally, the colors we perceive depend on both the incident light (illumination) and the physical characteristics of the objects (reflectivity, fluorescence, etc) we’re viewing. Nevertheless, it makes sense to characterize objects in terms of the color we perceive when looking at them under standard conditions (e.g. bright daylight). We call those surface colors.

Surface colors are only a subset of all the colors that humans can perceive — e.g., they don't include spectral colors. For example, the pure green and blue of the monitor on which you are reading this article cannot be observed on real-world objects. But surface colors are typically what we care about in photography, because we want to reproduce those ‘real world’ colors in prints or on screens.


Spectral colors

If the light emitted from a source consists only of a single wavelength — i.e., a single spectral value — it is perceived as one, highly intense color. These spectral colors do not exist naturally but some can be produced by lasers.


Color space

Color space is the term we use for the organization of colors. That organization results in a defined range and uses a mathematical model to represent colors. Color spaces typically organize colors along three axes, which ties in with the human eye’s three different types of cones (those which are responsive to red, green, and blue light).

The most common family of color spaces is therefore RGB where colors are created through a blend of three primary colors: red, green, and blue. But these primaries are different for each device. For example, different screens use different chemical components in their color filters. To counter this, there are standard RGB color spaces such as sRGB, Adobe RGB, and Display P3, each of which defines its own distinct set of primaries.


XYZ and CIE color spaces

There are also color spaces that are defined independently of any device, such as the XYZ space designed in 1931 by the International Commission on Illumination (abbreviated to CIE from its French name, Commission Internationale de l'Éclairage). This space attempts to model color perception along three axes: X, Y, and Z.

The illustration below shows the spectral power distribution of the light reflected by two different objects — a piece of paper and a tomato – when the objects are illuminated under daylight. Each graph also indicates the corresponding surface color expressed as XYZ values. To the human eye, the paper is perceived as white, while the tomato is perceived as red.

Fig 1: The light reflected by two objects, shown in graph form.

Gamut

A gamut is the range of colors that can be reproduced by a given monitor or printer, or the colors that can be represented within a certain color space. For printing, gamut depends on both the inks and the paper being used. The larger the gamut, the more colors a device can reproduce.

If you are soft proofing an image using a color profile for a printer, your software might notify you that certain colors in your image simply cannot be reproduced by the printer — they are “out of gamut.” See below for more on soft proofing and why it’s important.

Wide gamut

Wide gamut is a loose term that describes any device or color space that can reproduce more colors than average. Since most of today’s monitors use the relatively small sRGB color space, any color space exceeding the gamut of sRGB tends to be called “wide gamut” by the relevant marketing team. Not all wide gamut devices are equal, however; the term can describe color spaces that are slightly larger than sRGB through to those that are far, far bigger.

Chromaticity

Chromaticity is a measurement that distinguishes different colors of equal luminance. It’s therefore commonly used in charts that illustrate color space. Several color spaces organize color so that one axis represents luminance, and the other two axes represent chromaticity, for instance in the form of hue and colorfulness.

The CIE has derived a chromaticity diagram from their XYZ color space where colors are represented along two axes, x and y. This diagram is popular for comparing color gamuts, mainly because it can be presented more easily than a three-dimensional chart.

Fig 2: Comparison of the AdobeRGB and Display P3 color spaces in the CIE XYZ color space (left) and CIE chromaticity diagram (right). Notice how, although AdobeRGB and Display P3 are of similar size on the chart, neither is a subset of the other – AdobeRGB contains more cyan, while Display P3 contains more red and yellow.

Color profile / ICC profile

A color profile – also called an ICC profile because the format was standardized by the International Color Consortium – characterizes the color space of a specific device, typically a monitor or a printer. They are normally supplied by the vendor or can be created by the user by measuring the device, for instance by using a colorimeter.

Color management

Color management is the process of converting colors from one color space to another while preserving the perception. Typically, when displaying an image on your calibrated screen that has been saved in a standard color space such as AdobeRGB, the color management system will convert the colors from AdobeRGB into XYZ (called the “profile connection space”) and then from there to the color space defined by the color profile of your screen.

Sensor native color

Sensor native color is what results from the interaction between light and the sensor of a digital camera. Strictly speaking, it’s not “color” because color is a human perception, but since camera sensors used in photography are designed to perceive color in a similar way to the human eye, the digital values they produce resemble those colors.

RAW files contain pixel values in sensor native color, so converting RAW files into finished photographs involves converting the former into actual color. The parameters required for this conversion are typically provided either by the image file’s metadata or directly by the RAW converter itself.

Because the sensor only approximates human photoreceptor cells, this conversion is also an approximation. Its precision can be improved by taking the light source into account. That is why at DxO we calibrate these parameters for every camera for both daylight and tungsten lighting.


Working color space

The working color space is internal to software, and not something you’ll experience visually when you edit an image. It’s the space within which the processing takes place. To be displayed on a monitor, the image needs to be converted from the working color space to the color space of the monitor.

In DxO PhotoLab, denoising and lens corrections are performed within sensor native color in order to achieve the best results. However, the image is then converted into our working color space, where red, green, and blue are defined according to human perception, rather than the color filters of the sensor. This ensures that editing tools such as HSL sliders, ColorWheel, or ClearView Plus are consistent, regardless of which camera has been used to take an image.

Output color space

Finally, the output color space defines how you save your images and is typically governed by what monitors can display. The most common is sRGB, and this is the standard for the World Wide Web, which uses the primaries as defined by the television standard Rec. 709. Other typical output color spaces include AdobeRGB, which is widely used in the prepress community, and Display P3, which is used for the displays in Apple’s recent desktop and notebook computers.

Fig 3: The different color spaces used in DxO’s RAW conversion pipeline

Why DxO PhotoLab 6 has moved to a wide gamut

Wide gamut monitors can display more vivid color than those with a standard gamut like sRGB. Whether this is useful depends on the content of an image, because under normal lighting conditions, even objects that we perceive as very colorful – for example red tomatoes or a blue sky — fit within sRGB.

However, there are a lot of colors that do not fit into sRGB. These are usually encountered on artificial objects such as brightly colored sportswear or from artificial lighting such as laser stage lights. On a wide-gamut monitor, these colors can be reproduced more accurately than on a regular monitor.

Fig 4: Comparison between wide gamut and sRGB monitors. Notice how, due to some of the values being out of gamut on the sRGB monitor, detail in the poppies’ petals is lost.

To fully exploit the capacity of a monitor, photo editing software should use a working color space with a gamut which at least matches that of the monitor. When we created our first RAW converter almost two decades ago, it was safe to assume that monitors would be either sRGB or – for the high-end, color-critical models – AdobeRGB. Choosing AdobeRGB as our working color space seemed to cover all needs, so that is what we did.

Since then, technology has evolved and monitors have improved. With Display P3 monitors used in recent Apple computers, their native red is “redder” than the “reddest red” that DxO PhotoLab 5 could produce. In order to simulate pure AdobeRGB red on such a monitor, the color management system must dilute it slightly and make it less intense by adding a small amount of blue. The much wider working color space of DxO PhotoLab 6 — which comprises both AdobeRGB and Display P3 — solves this and can produce pure, native color on such a display.

The same applies to printing. Certain printers and printing services can produce colors that are outside of AdobeRGB, and DxO PhotoLab 6 allows you to harness their full potential.

Fig 5: The gamut of WhiteWall’s Ultra HD photo prints (in color) in different RGB color spaces (in gray): sRGB (left), AdobeRGB (center) and DxO’s new working color space (right).

At the other end of the imaging workflow is the camera. Camera sensors do not actually have a gamut. Instead, they’re sensitive to every wavelength in the visible part of the spectrum and high-end sensors only differ from low-end models in that they better approximate the spectral sensitivity of the human eye. Thus, every color in a scene can be observed and recorded in the sensor native color space.

However, when converting from sensor native color into a working color space, as you do when developing RAW files, it may happen that a color cannot be represented. Essentially it has fallen outside of the working color space’s gamut. Having a working color space with a wider gamut therefore allows us to preserve more colors, just as they were recorded by a camera’s sensor. In combination with a wide gamut monitor and printer, the scene can then be captured, processed, and reproduced without losing its original intensity.

Finally, working in a wider color space gives photographers more headroom for adjusting the color in their images. For example, PhotoLab’s ClearView Plus tool can produce certain colors that do not fit within AdobeRGB. But with DxO Wide Gamut they are preserved. You can therefore use the ColorWheel or a Control Point to desaturate these colors, and bring them back into gamut.

The problem of ‘clamping’ out-of-gamut colors

What does falling outside the color gamut mean precisely? Let’s start by going back to the idea of color values.

The simplest way to describe out-of-gamut colors and how they are managed is to think in terms of 8-bit images. In an 8-bit image, each of the red, green, and blue pixel values can range from 0 to 255. 255/0/0 would be the reddest possible red, while 128/128/128 is mid-gray.

Mathematically, a color would be out of gamut if at least one of the three RGB components had negative values. But obviously, this wouldn’t make sense as a monitor cannot emit negative light. A color could also be out of gamut if some of the values exceed the maximum. That, again, is not technically possible as a monitor cannot display values brighter than its limit.

One way of handling out-of-gamut colors is to simply clamp them to the closest allowed values, for example, setting them to 0 if they’re below the low limit, or to 255 if they’re above it. This is what many color management systems do, but they can produce unwanted results.

What do we mean by unwanted results? This ‘clamping’, whereby one of the RGB components is altered while keeping the others unchanged, means altering the hue. A more sophisticated method involves preserving the hue while accepting a reduction in saturation, and this generally yields better results. Unfortunately, even this approach can cause some problems. For instance, textures flatten as the contrasting color within those areas falls completely out of gamut.

How DxO’s reimagined color processing fixes the problem

For DxO PhotoLab 6, we’ve worked to ensure that all of the luminance details captured by the sensor are maintained throughout your workflow. For the best possible quality, our reengineered algorithm is designed to act in two stages: first when converting from sensor native color to working color, and then when converting from working color to output color.

As the image moves from sensor native color to working color, in order to avoid losing any of the details originally captured, the algorithm smartly analyzes the colors in each image and then desaturates – only if necessary – highly saturated colors by a small amount. This applies even to those inside the gamut, and is done in order to make headroom for those outside the gamut. Thanks to this algorithm, we can therefore produce images that contain all luminance details that were captured by the sensor — and although they appear less colorful than in the original scene, all of the tonality and detail is maintained.

The first stage (Protect saturated colors in the Color Rendering palette) has been reworked and improved compared to PhotoLab 5, the second stage (Protect color details’ in the Soft Proofing palette) is entirely new.

Fig 6: Comparison when converting to sRGB from original image

How DxO PhotoLab 6’s Soft Proofing mode keeps colors consistent for output

Most of the time, photographers use wide-gamut monitors which, in combination with software such as DxO PhotoLab 6, allow accurate reproduction of most of the colors contained in images. But when it comes to sharing images, either online or as physical prints, these output media have different gamuts that are typically a lot smaller.

A smaller gamut means that colors can look different between what you see on your monitor and what you get in print, or after exporting to other devices. Those changes in color also mean that delicate textures can be lost. Wouldn’t it be better to take that output gamut into account during editing? This is where soft proofing comes into play.

Soft proofing allows photographers to get an on-screen simulation of what an image will look like when displayed or printed on a certain device. It gives an overview of the outcome by emulating the less saturated primaries of a standard screen, or the inks of the printer and the way they physically react with paper.

The conversion properties are embedded in specific color profiles created for each combination of printers/inks/papers and are usually provided by printing services, device manufacturers, or are created for personal printers.

Once downloaded and installed, users can select a specific profile to be used as a soft proofing base, and after activating the option in their application, can adapt their color adjustments according to the displayed results in order to achieve the desired image. This can include adjusting color casts, or contrast and luminance issues in areas such as shadows or highlights.

Though it cannot completely replace a hardcopy proof, soft proofing is crucial for saving time and money that would otherwise be wasted in the trial and error of getting a print acceptably close to the original image.

However, soft proofing isn’t a free pass to perfect output. It's important to remember that soft proofing mode, as with any settings dedicated to color accuracy, requires editing on a calibrated monitor and in a consistent viewing environment.

Fig 7: DxO Wide Gamut color space and out-of-gamut colors

How we designed our new working color space

As explained, the working color space used by a RAW converter determines the colors it can produce. The more, the better — correct?

At the same time, as its name suggests, the working color space should allow you to work with color and manipulate it in an intuitive way. For example, turning up the blue saturation in the DxO ColorWheel should produce some color that you perceive as very blue.

If it was only about reproducing color in the scene, the best working color space would be XYZ, as it contains every color that can be perceived by the human eye. However, while this color space was designed to express the color stimuli generated on our retina, it does not follow our perception of color as effectively as when using RGB color spaces. Deploying XYZ as a working color space would make our color adjustment tools behave strangely and make photo editing very challenging.

Among the RGB color spaces used today, the one that stands out is ProPhoto RGB. It covers a very large percentage of colors, and certainly all that are useful in practice. It achieves this through a trick: it uses imaginary colors for its blue and green primaries — points in the XYZ space that lie beyond spectral colors. Mathematically, this trick allows ProPhoto RGB to obtain certain spectral colors as a blend of the ProPhoto RGB primaries. The downside is that pure blue or pure green in this color space do not correspond to anything that physically exists or that any human has ever perceived.

When experimenting with our new algorithms for DxO PhotoLab 6 we found that even when you turn all saturation sliders up to 11, it is more intuitive to obtain results that tend toward spectral colors — and not beyond.

The diagram below shows a comparison of the hue and saturation between sRGB and ProPhoto RGB. The circles show all of the RGB values contained in each color space. The looping line symbolizes spectral colors, from a wavelength of 380 nanometers through to 750 nanometers — the most saturated colors that exist.

The gray dots represent all of the surface colors that can be observed in the real world. Since there are no surfaces that reflect light at a single wavelength, these surface colors are far less saturated than spectral colors. The sRGB color space on the left does not contain any spectral colors and you can see that some surface colors also lie outside of this color space.

The ProPhoto RGB color space on the right is far larger and easily contains all of the surface colors. However, while every RGB value in sRGB corresponds to some color, part of ProPhoto RGB lies outside of the spectral colors and corresponds to something that doesn’t exist. While fully saturated magenta, red, yellow, and cyan correspond to actual colors, fully saturated green and blue correspond to imaginary colors. This can make ProPhotoRGB counterintuitive when it comes to editing photographs.

For this reason we decided to design an RGB color space with the widest possible gamut that can be achieved utilizing spectral colors as primaries. The result is a color space that includes close to every color that can be reproduced on the best monitors and printers available today, and encompasses all of Pointer’s Gamut, the 4089 real-world surface color samples collected by scientist Doctor Michael R. Pointer at Kodak Research in 1980. link to https://onlinelibrary.wiley.com/doi/abs/10.1002/col.5080050308

Fig 9: DxO Wide Gamut (the green triangle) encompasses every possible color that a photographer might encounter in nature

The DxO PhotoLab 6 working color space uses spectral colors as its primaries. It is big enough to contain all real-world surface colors, and it achieves this without imaginary colors — i.e., every combination of R, G, and B in this color space represents an actual color.

Fig 10: DxO Wide Gamut (DPL6) vs AdobeRGB (DPL5 and older) vs sRGB, DisplayP3, and ProPhoto

DxO Wide Gamut: An intelligent compromise

We believe that this color space, which is quite similar to the television standard Rec. 2020, provides the best possible trade-off between preserving as much color as needed and allowing users to manipulate color in a way that feels natural and intuitive. Combined with our gamut-squeezing algorithm and soft proofing tools, it allows photographers to reproduce any color they may encounter, as closely as possible to the original, without ever losing details.


DxO PhotoLab 9

RAW-Bildbearbeitung in Perfektion

The post DxO’s new ultra-wide color space is unique appeared first on DxO.

]]>