テクノロジー Archives - DxO https://www.dxo.com/ja/news/category/technology-ja/ Simply Better Images Thu, 23 Apr 2026 14:08:14 +0000 ja hourly 1 https://wordpress.org/?v=6.6.2 デジタル写真のダスト自動補正 https://www.dxo.com/ja/news/automatic-dust-correction/ Thu, 19 Mar 2026 11:19:32 +0000 https://www.dxo.com/?p=171202 DxO PureRAW 6 がディープラーニングでダストスポットを検出・除去する仕組み

The post デジタル写真のダスト自動補正 appeared first on DxO.

]]>

デジタル写真のダスト自動補正
DxO PureRAW 6
ディープラーニングで
ダストスポットを検出・除去する仕組み

DxO PureRAW 6 に、ダストの自動検出・除去機能が登場。ワンクリックで、画像全体のダストスポットを検出して消去することで、煩わしい手作業を自動化します。 この機能は、最先端のオブジェクト検出ニューラルネットワークと、DxO の実績ある修復エンジンを組み合わせたものです。

ユーザーにとっての主なメリット

  • 完全に自動のワークフロー:ダストの検出と除去は、チェックボックス 1 つで完了します。 撮影データを一括処理すれば、すべての画像がクリーンな状態になります。
  • 感度を調整可能:スライダを使って、あらゆるダストスポットを検出するか(高感度)、誤検出のリスクを抑えるか(低感度)を自由に調整できます。

(とは言っても、機材は定期的にクリーニングしましょう。 😉

問題点

レンズ交換式カメラは、センサーやレンズにダストが付着しやすい傾向があります。 これらの微粒子は、画像に小さくぼんやりとしたシャドウを落とします。特に、空やスタジオの背景など、均一で滑らかな領域で目につきます。

フォトグラファーは、これまでは、このダストに撮影後の処理で対応し、修復、ヒール、レタッチブラシを使っていました。 ダストの多い画像や大量の画像を処理する場合、この作業はすぐに面倒なものになります。

DxO PureRAW 6 は、この処理を自動化します。 検出アルゴリズムが画像をスキャンしてダストスポットを検出し、修復アルゴリズムが各ダストスポットを自動的に除去します。

ダスト検出が難しい理由

一見すると、センサーダストは簡単に特定できそうに思えます。小さく、暗く、ほぼ円形のシミのようなものです。 ところが、このシンプルな見かけには落とし穴があります。 いくつかの特性が重なることで、検出は驚くほど難しくなります。

極めて微細:ほとんどのダストスポットが遮るのは、入射光のごくわずかな割合(多くの場合わずか 5 〜 20% 程度)だけです。 不透明な斑点ではなく、わずかな汚れであり、その視認性は背景となる画像に大きく左右されます。

非常に小さな空間的な広がり:一般的なダストスポットは、フル解像度では、わずか数ピクセル程度の大きさしかありません。人や車を検出するために最適化された汎用オブジェクト検出機能では、認識が困難なほど微細です。

特徴的な構造がない:主流の検出機能が得意とする被写体(目・鼻・口が写っている顔、ホイールや窓のある車など)とは異なり、ダストスポットにはニューラルネットワークが手がかりにできる要素がほとんどありません。 本質的に、かすかな暗いシミにすぎないのです。

膨大なバリエーション:ダストスポットの見え方は、粒子のサイズや形、センサー表面からの距離、レンズの絞り値、背景シーンの色や明るさによって変化します。 輪郭のはっきりした円形のものもあれば、ぼんやりとにじんだハロー状のものもあります。 明るい空に対してほぼ黒く見えるものもあれば、ノイズとほとんど区別がつかないものもあります。 ダストスポットは、想像するよりもはるかに多様です。 絞り値やシーンに依存するため、物理的に同じ粒子でも、写真ごとに見え方がまったく異なる可能性があります。

検出モデル:RF-DETR

この機能の中核を担うのが、トランスフォーマーベースのオブジェクト検出アーキテクチャ RF-DETR です。 DxO では、CNN ベースの複数世代のモデルを含む、さまざまな検出アーキテクチャを検証し、 以下の理由から RF-DETR を選択しました。

最先端の精度:RF-DETR は、標準的なオブジェクト検出ベンチマークでトップクラスのスコアを達成し、有名な多くの代替モデルを上回っています。

複数のモデルサイズ:Nano、Small、Medium、Large、XL のバリエーションが用意されており、精度と計算コストの最適なバランスを選択できます。 DxO は、Medium バリエーション(3,300万パラメータ)採用しました。

解像度に依存しないアーキテクチャ:RF-DETR には、入力解像度を固定する全結合レイヤーが含まれていません。 この柔軟性は、DxO のタイル化推論戦略において重要です。画像を 512×512 ピクセルのオーバーラップするパッチに分割し、各パッチに対して検出モデルが個別に実行されます。 その結果は、フルイメージ全体で統合されます。

標準的なベンチマークでは、RF-DETR は、人、車、動物、家具など、数十のオブジェクトカテゴリーを検出します。 DxO では、ダストスポットという単一クラスのみを認識するように同モデルを再トレーニングしました。 課題は、分類ではなく検出、つまり広大な画像の中から微小で低コントラストな特徴を見つけ出すことです。

トレーニングデータ

信頼性の高いダスト検出機能をトレーニングするには、ダストの形、不透明度、ブラー、背景のあらゆる組み合わせを網羅した、膨大な数のサンプルをネットワークに学習させる必要があります。

まず、DxO は、実際にダストスポットがある数千枚の写真を収集し、すべてを手作業で丁寧にラベル付けしました。 この実写データセットだけでも、多様なダストの形、サイズ、不透明度、ブラーの具合、背景を幅広くカバーしていますが、DxO はさらに先を目指しました。

画像と信号処理に関する専門知識を活かし、DxO の研究チームは、ダストシンセサイザーを開発しました。これは、実物と見分けがつかないダストスポットを生成し、ランダムな写真または合成背景に合成する、コンパクトなアルゴリズムです。 このシンセサイザーは、実際のダストの主要な物理的特性(不規則なシミの形、線形空間におけるチャネルごとの光の減衰、エッジを柔らかくするブラー、一部の粒子が示す方向性のあるシェーディングなど)をモデル化します。 すべてのパラメータは、実際のダストスポットの統計分析から導き出された、慎重にキャリブレーションされた範囲内で無作為に選択されます。

この合成アプローチにより、トレーニングセット全体でダストの特性と背景が均等に分布し、手動で収集したデータセットでは避けられない偏りを解消します。 たとえば、非常にかすかなスポット、非常に小さなスポット、通常とは異なる背景など、実写画像だけでは不足しがちな組み合わせをネットワークに十分学習させることができます。

DxO のダスト検出ネットワークは、トレーニングの過程で、実写と合成を合わせて約 100 万個のダストスポットを学習しています。


The post デジタル写真のダスト自動補正 appeared first on DxO.

]]>
DeepPRIME XD3:第 4 世代の AI デノイジング/デモザイキング https://www.dxo.com/ja/news/deepprime-xd3-fourth-generation/ Thu, 19 Mar 2026 10:36:19 +0000 https://www.dxo.com/?p=170915 DxO PureRAW 6 に、ベイヤーセンサー向け DeepPRIME XD3 が登場。RAW 画像処理を支える DxO のディープラーニングエンジンが、最新世代へと進化しました。

The post DeepPRIME XD3:第 4 世代の AI デノイジング/デモザイキング appeared first on DxO.

]]>

DeepPRIME XD3:第 4 世代の
AI デノイジング/デモザイキング

DxO PureRAW6 に、ベイヤーセンサー向け DeepPRIME XD3 が登場。RAW 画像処理を支える DxO のディープラーニングエンジンが、最新世代へと進化しました。 単一のニューラルネットワークが、ノイズ除去デモザイキング色収差補正の 3つのタスクを同時に処理し、前世代を超える、さらに微細なディテールを実現します。

このテクノロジーは、3つの柱で支えられています。色収差補正をネットワークの処理対象に加えた新しいマルチタスク定式化、広範な研究を通じて発見された最適化済みの畳み込みアーキテクチャ、合成トレーニングデータと実際の RAW 画像とのギャップを埋める大幅に改良されたトレーニングパイプラインです。

主なメリット

  • さらなる画質の向上:さらにクリーンな色の再現、より詳細なディテールと同時に、アーチファクトの低減を実現。特に高周波テクスチャやエッジの再現性に優れ、アンチエイリアシングフィルタを搭載しない最新センサーで、顕著な効果を発揮します。
  • 同等の処理速度:大幅に強化されたネットワークでありながら、DeepPRIME XD3 は、一般的なハードウェアで DeepPRIME XD2s と同等の速度で動作します。
  • 幅広い互換性:DeepPRIME XD3 は RAW 画像処理における最新の技術革新をすべて統合し、あらゆるセンサータイプに対応します。

6年にわたる進化の軌跡

RAW 変換とは、カメラセンサーが捉えたノイズを含む単色サンプルのモザイクをフルカラーの写真へと変換する処理です。DxO は 20年以上にわたり、この領域の最前線で専門性を磨き続けてきました。 2020年、DxO はノイズ除去とデモザイキングを単一パスで同時に実施する、世界初の商用ニューラルネットワーク DeepPRIME を発表しました。

それ以来、DxO は、品質のさらなる向上を絶え間なく追求してきました。ディープラーニングとこの包括的アプローチにより、富士フイルムのカメララインナップの一部に採用されている X-Trans センサーにも、ついに対応するようになりました。 これらのセンサーは、従来のデノイザーではサポートされていませんでした。 2022年には「XD」(eXtreme Detail)ファミリーを導入しました。これは、DeepPRIME エンジン開発において二段階目にあたり、最高レベルの画質を追求する一方で、大きく負荷がかかる演算処理を伴うため、高性能な GPU か、非常に長い処理時間が求められます。

2020年DxO PhotoLab4
DeepPRIME。 単一のディープニューラルネットワークによるノイズ除去とデモザイキングの同時処理(ベイヤーセンサーのみ)。

2022年DxO PureRAW 2
DeepPRIME が X-Trans センサーに対応。

2022年DxO PhotoLab6
DeepPRIME XD(「eXtreme Detail」)。 より高性能なアーキテクチャと知覚損失関数の採用により、さらに微細なディテールを実現(ベイヤーセンサーのみ)。

2023年DxO PureRAW 3
DeepPRIME XD が X-Trans センサーに対応。

2024年DxO PureRAW 4
DeepPRIME XD2。 敵対的識別損失により、より自然なレンダリングを実現(ベイヤーセンサーのみ)。

2024年DxO PhotoLab8
DeepPRIME XD2s。 特定のカメラ機種に対するノイズキャリブレーションの改善。

2025年DxO PureRAW 5
DeepPRIME 3。 ノイズ除去、デモザイキング、色収差補正の 3 つのタスクを同時処理(ベイヤーおよび X-Trans)。

2025年DxO PhotoLab9
DeepPRIME XD3。 より高性能なアーキテクチャと 2 段階トレーニングの採用(X-Trans のみ)。

2026年DxO PureRAW 6
DeepPRIME XD3 がベイヤーセンサーに対応。

DeepPRIME XD3 の開発にあたり、まず X-Trans から着手したのは自然な判断でした。DeepPRIME XD X-Trans バージョンは、ベイヤーユーザーがすでに利用していた DeepPRIME XD2s よりも世代が古く、その性能を超えやすかったからです。 しかしその結果、DeepPRIME XD2s にとっては、やや複雑な状況が発生しました。 ほとんどの画像では DeepPRIME XD2s が最高の品質を実現していましたが、色収差の影響を受けた低 ISO 画像では、DeepPRIME 3 のほうがむしろ良い結果を出す場合がありました。 ベイヤーセンサー向け DeepPRIME XD3 のリリースにより、2023年当時のシンプルな状況に戻ります。お使いのカメラを問わず、2つの RAW 変換ネットワーク(速度と画質のバランスを重視するもの、最高の画質を実現するもの)から選択できるようになります。

RAW 画像復元の課題

CMOS センサーが捉えるすべてのデジタル画像には、ソフトウェアがピクセルを処理する前の段階で、3つの根本的な欠陥が含まれています。

カラーモザイク:センサーは、各ピクセルでフルカラーを取得するわけではありません。微小なカラーフィルターのグリッドにより、各受光素子は 3色(赤・緑・青)のうち 1色しか記録できません。 すべてのピクセルで欠落している 2 色を復元する処理が、デモザイキングです。 デジタル写真で広く使われているフィルタパターンは、2種類あります。全デジタルカメラの約 95% が採用するベイヤーと、残り約 5% に搭載される X-Trans です。

センサーノイズ:各受光素子が、ランダムな数のフォトンを捕捉します。ショットノイズは、光そのものに内在する避けられない性質であり、電子的なリードノイズによりさらに増幅されます。 高 ISO 感度では、ノイズにより微細なディテールが完全に失われてしまうこともあります。

色収差:ほとんどのレンズは、すべての波長の光をまったく同じ点に結像させるわけではありません。 その結果、赤・緑・青チャネル間にわずかな横方向のずれが生じ、高コントラストのエッジに沿ってカラーフリンジとして現れます。

従来の RAW 処理では、これら 3つの問題を独立して扱います。デモザイキングアルゴリズムが欠落色を補間し、別のデノイザーがノイズを抑制し、別のモジュールが色収差を補正します。各モジュールは、互いの判断を把握することなく独立して動作し、各モジュールが固有のアーティファクトを生成して、次の段階の処理が複雑になる可能性があります。DxO のアプローチは、2020年の DeepPRIME 登場以来、一貫して複数の問題を単一のニューラルネットワーク内で同時に解決するというものです。 DeepPRIME XD3 により、その原則がついに 3つの欠陥すべてに適用されるようになります。

3つの欠陥、1つのネットワーク

ノイズ除去、デモザイキング、色収差補正を同時に解決すべき理由は、根本的な相互依存性にあります。

これらのタスクを分離した場合に、何が起こるか考えてみましょう。 RAW 画像のノイズ除去には、モザイクパターンが実際のシーンとどのように対応しているかを理解する必要があります。つまり、暗黙的なデモザイキングをリアルタイムで行うことが求められます。 逆に、ノイズの多い画像をデモザイキングするには、ノイズを通して構造を見抜く能力、つまり暗黙的なノイズ除去が求められます。なぜなら、本来のエッジとノイズの揺らぎを区別することが、正確な色補間に不可欠だからです。 さらに、色収差の影響を受けた画像のデモザイキングは、その色収差を補正するのとほぼ同じ問題です。赤・緑・青チャネルが互いに横方向にずれている場合、各ピクセルで正しい色を再構築するには、チャネルが揃っている状態の画像を推定する必要があるからです。

これら 3つのタスクを 3つの別々のネットワークに分割した場合、前段階で生成されたアーチファクトに対応するよう学習させたとしても、各ネットワークが他のネットワークのインテリジェンスの一部を内部で再現する必要があるため、全体としてより多くの負荷と演算が必要になります。 その結果、同等の品質を得るには処理時間が長くなり、同等の速度を求めれば品質が低下することになります。

一方、単一のネットワークであれば、3 つのタスクすべてで内部再現を共有できます。 デモザイキングのためにエッジ検出を学習した機能は、シグナルとノイズの識別や、横方向のクロマティックシフトの検出にも活用されます。

合成トレーニングデータ

ニューラルネットワークの性能は、学習データの質に左右されます。 DeepPRIME XD3 では、トレーニングデータの品質と現実性が、ネットワークアーキテクチャそのものと同等に重要になります。

トレーニングデータの課題

2018年に DxO で DeepPRIME の研究が始まったとき、根本的な問いがありました。教師ありニューラルネットワークに必要なトレーニング例、つまり劣化した入力画像と対応する完璧なオリジナルのペアを、どのように取得するかという問題です。

あらゆる選択肢が検討されました。 実際の写真のペア(クリーンな低 ISO 画像とノイズの多い高 ISO 画像を同じシーンで撮影)は自然に思えましたが、実用的ではありませんでした。2つの露光は完全には一致せず、動く被写体は一貫性がなくなり、さらに DxO がサポートするすべてのカメラ機種と ISO 感度の組み合わせごとに繰り返す必要があるからです。 クリーンなリファレンスの代わりにバースト撮影シーケンスを使用するノイズ・トゥ・ノイズのアプローチは、同様のスケーリング上の制約を抱えています。 そして従来のラベリング(教師あり学習の基本手法)も、ここでは不可能です。ノイズを含む単一チャネルのピクセル値のモザイクを見て、人間が数十億ピクセルに対してノイズのない正しいフルカラーの出力を提示することはできません。

残されたのは、合成データ生成でした。自然な高品質の写真を出発点とし、実際のカメラセンサーが導入する欠陥をシミュレーションする手法です。 つまり各トレーニングサンプルは、合成的に劣化させた画像と、正解データとなるオリジナルの高画質のペアで構成されます。 理論上、これは最も拡張性がある方法です。DxO は 600種以上のカメラ機種をサポートしており、それぞれ約 20 の ISO 設定があるため、12,000通り以上の組み合わせが可能です。 しかもこの数字はノイズだけを考慮したものです。色収差はレンズ、絞り、ズーム設定、フォーカス距離によっても変化します。 すべてのカメラ、ISO、レンズの組み合わせに対して実際の画像のペアを撮影しようとすれば、構成数は数百万規模に膨れ上がります。 合成データ生成であれば、同一の正解画像プールから、そのすべてをカバーできます。

分布ギャップ

合成データの課題は、分布ギャップと呼ばれる現象です。シミュレーションされたトレーニング画像と、ネットワークが実際に処理することになる本物の RAW ファイルの間の統計的な差異を指します。

このホワイトペーパーの上記の図を生成するには、単純なシミュレーション、つまり色収差を模倣するためにカラーチャネルをわずかにずらし、ベイヤーモザイクを再現するために 3色のうち 2色を除去し、さらにホワイトガウスノイズを加えるだけの処理で十分です。 しかし、ニューラルネットワークの学習には不十分です。 このような理想化されたデータで学習したネットワークは、同じシミュレーションから生成された合成画像(学習時に見たことのない画像も含む)に対しては優れた性能を発揮しますが、実際のカメラで撮影された本物の RAW ファイルでは機能しません。

実際の RAW 画像は、単純なシミュレーションとは無数の点で異なります。

ノイズは、純粋なホワイトガウスではない:フォトンショットノイズは確かに白でシグナル依存性があります。これは光の物理法則によって保証されています。 しかし実際のセンサーデータは、光子ノイズと電子ノイズが混在しています。 電子ノイズ(リードノイズ、暗電流、バンディング)は空間的な相関を持ち、非ガウス分布の裾や、センサー設計ごとに異なる固定パターンを示すことがあります。

色収差は、画面全体で均一ではない:横方向のカラーシフトは一様ではなく、各レンズ固有の光学特性に従って、画像中心から隅にかけて、大きさと方向が変化します。

「RAW」ファイルは、真の RAW ではない:データがメモリカードに書き込まれる前に、カメラは一連のカメラ内処理(ブラックレベル補正、固定パターンノイズ減算、静的欠陥ピクセル補正、フォーカスピクセル補間など)を適用し、シグナルを変更します。 メーカーによっては、RAW データとして記録するものに対して、非可逆圧縮やノイズ除去まで適用する場合もあります。

センサーの動作は、使用状況によって変化する: ノイズ特性は、センサーの温度、シャッター方式(メカニカル/電子)、その他の動作条件によって変わる可能性があります。 こうした特性は、メーカーごとに異なるだけでなく、同じメーカーでも世代によって大きく変わります。 メーカーは内部処理を公開していないため、 注意深い観察に基づいて、その処理内容を推測する必要があります。

ギャップを埋める

2018年以来、DxO はこの分布ギャップを最小化するために、20年以上にわたる画像信号処理の専門知識、そして非常に重要な、業界に類のない独自のキャリブレーションデータベースなど、あらゆるリソースを活用してきました。 DxO のラボでは、サポートするすべてのカメラ機種について、各 ISO 設定ごとにキャリブレーション画像(撮影コンテンツとダークフレームの両方)を撮影・分析し、ノイズの標準偏差だけでなく、その完全な統計プロファイル(分布、カメラ内処理に起因する空間的相関、さらにセンサー上の位置や動作条件によるこれらの特性の変化)を把握しています。 このデータベースは、もともと DxO の従来のノイズ除去アルゴリズム向けに構築されたものでしたが、ニューラルネットワークのトレーニングにおいても、かけがえのない基盤となりました。

しかし、既存のシミュレーションではカバーしきれないギャップが、一部のカメラで明らかになることもあります。その課題は、最近の例で端的に示されています。富士フイルムの第 4 世代・第 5 世代 X-Trans センサーで、最初の 3 世代と比べて何かが変化していたのです。 徹底して取り組んだにもかかわらず、DeepPRIME XD2 のトレーニングパイプラインではこれらのセンサーに対して満足のいく結果を得ることができなかったため、DeepPRIME XD2 および XD2s は、ベイヤーセンサー専用としてリリースされました。

DeepPRIME XD3 では、これらのセンサーへの適切な対応が最優先課題でした。 数か月にわたる調査を通じて、開発チームは新世代 X-Trans センサーが前世代とどのように異なるかを解明し、ネットワークがこれらのカメラの実画像に対して十分に汎化できるように分布ギャップが小さくなるまで、トレーニングデータの合成プロセスを体系的に調整し続けました。

最適なアーキテクチャの探索

3つ目のタスクの追加とデモザイキング品質の向上には、より高性能なネットワークが必要でした。 チームはまず、幅広い調査に着手しました。 現在多くのディープラーニング分野で主流となっている Transformer アーキテクチャに加え、複数の畳み込みニューラルネットワーク(CNN)設計をテストしました。 この特定のタスク、つまりノイズが多く不完全なデータから微細な局所的画像ディテールを復元する処理においては、CNN のほうが効果的であることが実証されました。 CNN に内在する局所バイアス(小さな空間的近傍に焦点を当てる特性)は、存在しない構造をハルシネーションすることなく、自然にノイズの平滑化を促します。 長距離依存関係をモデル化する Transformer は、ノイズを抑制するよりも、通過させてしまう傾向がありました。 ノイズ除去においては、CNN の局所的な規則性へのバイアスは制約ではなく、むしろ利点です。

DeepPRIME XD3 の初期プロトタイプは目標の品質を達成しましたが、処理速度が DeepPRIME XD2s の 3倍も遅く、数千枚の画像を扱う実用ツールとしては処理速度が遅すぎる状態でした。 そこで課題となったのは、同等の計算予算に収めながら、同じだけのインテリジェンスを発揮できるアーキテクチャを見つけることでした。開発チームは、さまざまな畳み込みブロック設計、以前の世代で使用していたフル 3D 畳み込みに代わる分離可能畳み込み、異なる活性化関数、そして U-Net の各スケールに割り当てる演算量の配分を検討しました。

各候補アーキテクチャは、NVIDIA H100 GPU で、約 3週間トレーニングされました。合計約 50 の構成が検証され、アーキテクチャの調査だけで累計約 3年分の H100 GPU 時間が費やされました。

この全プロセスが、まず X-Trans、次にベイヤー向けに 2回実施されました。ベイヤーバージョンが DxO PureRAW 6 で今になってようやく搭載される一方、X-Trans バージョンが 6ヵ月前に DxO PhotoLab9 で先行リリースされていたのは、主にこのためです。

その結果、DeepPRIME XD2s よりもパラメータ数が大幅に多いものの、一般的なハードウェアでの推論時間をほぼ同等に抑えるネットワークが誕生しました。 インテリジェンスが向上し、より多くの負荷がかかるものの、処理速度に大きな影響はありません。

リノイジング、再考

約 20年前、DxO の研究者たちは、今日でも変わらない事実を発見しました。ノイズ除去機能にノイズの一部だけを除去させるのは、非常に困難だということです。デノイザーは、初期のウェーブレットフィルタやノンローカルミーンフィルタから最新のニューラルネットワークにいたるまで、すべてのノイズを除去するよう指示された場合に、最も優れた性能を発揮します。 部分的な除去を試みると、アーチファクトが発生しがちです。 優れたノイズ除去機能ほど、ノイズ除去の過程でより多くのディテールを保持しますが、最高のノイズ除去機能でさえ、ノイズと一緒に一部の微細な構造が失われることは避けられません。

完全にノイズ除去された画像に生じる「プラスチック」のような質感を避けるため、DxO の研究者は、シンプルかつ効果的な手法を考案しました。ノイズ除去機能に徹底的にノイズ除去を行わせた後、除去されたノイズのごく一部を画像に戻すのです。 合成ホワイトノイズではなく、オリジナルのノイズの一部を再導入することには、決定的な利点があります。処理の過程で失われた微細なディテールの一部も同時に復元されるということです。 この手法は、2008年リリースの DxO OpticsPro 5 に初めて搭載されました。DeepPRIME XD3 は、当時のノイズ除去・デモザイキングアルゴリズムとは比較にならないほど高性能で、この原則は今も変わらず有効です。

DxO PureRAW 6 では、このノイズ再導入が、レンズ補正、具体的にはヴィネット補正とディストーション補正と相互作用する方法を見直しました。 両方の補正が、残留ノイズを画像に戻す前に適用されるようになり、メイン信号とノイズ成分を別々に扱うことが可能になりました。

ヴィネット:RAW 画像におけるノイズレベルは、非線形のシグナルレベルにより変わります。 ヴィネットが強いレンズでは、隅の S/N 比(信号対雑音比)が大幅に低下します。 均一な明るさの画像を得るために隅を増幅すると、ノイズも同時に増幅され、中央部よりも明らかにノイズが目立ってしまいます。 解決策は、ノイズモデル(シグナルレベルとノイズレベルの既知の関係)を用いてフレーム全体でノイズが均一になる補正ファクターを導出し、ノイズを戻す前にこのファクターを適用することです。

ディストーション:ディストーション補正には、ピクセルグリッドの幾何学的補間が必要です。 ホワイトノイズに対して補間を適用すると、ノイズに偽の構造が生成され、ノイズレベルが周期的に変動する、という 2 つの望ましくない影響が生じます。 補間座標が実ピクセルと一致する位置ではノイズがそのまま保持されますが、ピクセル間に位置する場合は、ノイズが平滑化されてレベルが低下します。 DxO PureRAW 6 では、ノイズコンポーネントに対して専用の補間アルゴリズムを個別に適用することでこの問題に対処し、ディストーション補正後もノイズレベルが均一に保たれるようにしています。

これらの効果は、残留ノイズがオリジナルの一部に過ぎないものの明確に知覚できる、高 ISO 設定で最も顕著に現れます。

この改善されたリノイジングパイプラインは、DeepPRIME 3DeepPRIME XD3 の両方に適用されます。 これは、DxO がどれほどディテールにこだわっているかを示す、好例です。DxO の目標は「単に」世界最高のノイズ除去を生み出すことではなく、世界最高の RAW 変換エンジンを構築することなのです。

結果

これらの進化による実際の効果は、画像の内容や撮影パラメータによって異なります。 X-Trans センサーにおいて DeepPRIME XD3 に置き換わる DeepPRIME XD と比較すると、新エンジンは、全般的によりクリーンで自然な結果を生み出します。 DeepPRIME 3 との比較では、ほとんどの場合、あらゆる ISO 感度で、よりクリーンでさらに精密な画像を実現します。 DeepPRIME XD2s との違いは、より微細です。DeepPRIME XD3 は、繊細なテクスチャの画像、シャープなレンズ、光学アンチエイリアシングフィルタを搭載しないセンサー、色収差を示すレンズの組み合わせで、最もメリットがあります。デモザイキングと色収差補正の改善は、低 ISO で、ディテール保持力の向上は、中〜高 ISO 設定で最も顕著に現れます。


The post DeepPRIME XD3:第 4 世代の AI デノイジング/デモザイキング appeared first on DxO.

]]>
DxO の革新的なアプローチが、画質を損なうことなく DNG ファイルを 4 分の 1 に削減する仕組み https://www.dxo.com/ja/news/dng-compression/ Wed, 18 Mar 2026 11:44:28 +0000 https://www.dxo.com/?p=170729 DxO PureRAW 6 DNG 形式に新たな高忠実度圧縮オプションを導入しました。現行のロスレス圧縮と比較してファイルサイズを約4分の1に削減しながら、知覚上の画像品質を完全に維持します。

The post DxO の革新的なアプローチが、画質を損なうことなく DNG ファイルを 4 分の 1 に削減する仕組み appeared first on DxO.

]]>

DxO の革新的なアプローチが、画質を損なうことなく DNG ファイルを 4 分の 1 に削減する仕組み

DxO PureRAW 6 は、DNG 形式に新しい高忠実度圧縮オプションを導入しました。現行のロスレス圧縮と比較して、ファイルサイズを約 4 分の 1 に削減しながら、知覚上の画質を完全に維持します。

DxO の新しい高忠実度圧縮テクノロジーは、ダイナミックレンジ圧縮と JPEG XL 画像コーデックという 2 つの補完的な技術を組み合わせています。

主なメリット

  • 1/4 のファイルサイズ:5,000万画素カメラのリニア DNG が、約 200MB から約 50MB に縮小。リニア DNG を、日常的な撮影や大量処理のワークフローで実用的に活用できます。ファイルが小さくなることで、インポートの高速化、クラウド同期の迅速化、ディスク使用量の削減が実現します。
  • 高い忠実度:大胆な編集を加えた場合でも、圧縮による劣化は知覚できないレベルです。
  • 互換性:出力されるファイルは、標準的な DNG ファイルのままです。DNG 対応のアプリケーション(Adobe Lightroom、Capture Oneなど)であれば、通常どおりにファイルを開いて編集できます。

なぜ、さらなる圧縮が必要なのか?

リニア DNGは、DxO PureRAW の推奨出力フォーマットです。最大限の編集余地を保ちながら、サードパーティ製 RAW 現像ソフトとの幅広い互換性を実現します。 しかし、DNG 仕様に組み込まれたロスレス圧縮を適用しても、一般的なリニア DNG のファイルサイズは、1メガピクセルあたり約 4MB に達します。5,000万画素のカメラでは、1画像あたり 200MB にもなります。

このような大容量のファイルをさらに圧縮したいというニーズがあるのは、当然のことです。
では、品質を損なうことなく、どこまで圧縮できるのでしょうか?

ロスレスから、知覚的ロスレスへ

ロスレス圧縮は、展開後のファイルが元のデータとビット単位で数学的に同一であることを保証するため、開発者にとってもユーザーにとっても最も安心できるアプローチです。しかし、この種のアルゴリズムには、本質的な効率の限界があります。特に、圧縮対象の信号に、知覚的には無意味な情報が含まれている場合、その限界は顕著です。

DxO PureRAW 6 では、DxO の画像科学者チームが、この不要な情報を圧縮前に除去する圧縮方式を開発しました。圧縮前に、この情報を除去することで、はるかに高い圧縮率を実現しています。 その成果が知覚的ロスレス圧縮と呼ばれる技術です。数学的な損失は存在しますが、通常の閲覧・編集条件下では、人間の目には知覚できないレベルに収まっています。

DxO は、リニア DNG ファイルにおいて、知覚的に無関係な情報を 2種類特定しました。

1.過剰なピクセル精度:デジタルカメラの RAW ファイルは通常、1ピクセルあたり、12ビットまたは 14ビットでエンコードされます。DxO の DeepPRIME パイプラインの出力は 16ビットです。ただし、画像には、常にわずかなノイズが意図的に残されています。これは、完全なノイズ除去によって生じる不自然な「プラスチック」のような見た目を防ぐためです。 以下で説明するとおり、信号に含まれるノイズが多いほど、数値精度をフルに確保する意味は薄れます。この利用されない精度を除去するのが、ダイナミックレンジ圧縮(DRC)の役割です。

2.テクスチャやグレインの正確な形状:ノイズのグレインや、微細なテクスチャの形状にわずかな違いがあっても、人間の目には知覚できません。 こうした微細なディテールを単純化するのは、画像・映像圧縮における古典的な原理であり、JPEG XL コーデックが担う領域です。

いずれの技術も、標準的な DNG メカニズムを使用しているため、対応ソフトウェアであれば、生成されたファイルを問題なく開くことができます。DRC は DNG Linearization Table タグによってエンコードされ、JPEG XL は DNG 仕様バージョン1.7で導入された圧縮モードです。どちらも、主要な RAW 現像アプリケーションでサポートされています。

ダイナミックレンジ圧縮

ダイナミックレンジ圧縮(DRC)は、オーディオ信号処理の分野で広く知られている技術です。 コンプレッサーは、非線形の伝達関数を適用して信号のダイナミックレンジを圧縮します。オーディオの用語で言えば、大きな音は減衰させ、小さな音は増幅させることで、与えられたビット量の中に信号を効率的に収めるものです。 この原理は、RAW デジタル画像にも極めて適していることが分かっています。

DRC が RAW 画像に有効な理由

デジタル画像は、光そのものの基本特性であるフォトン(ショット)ノイズの影響を受けます。 このノイズの標準偏差は、信号強さの平方根に比例して増大します。

この特性は、リニア画像の圧縮に重大な影響を及ぼします。

  • 暗部では、ノイズは非常に少なく、信号は精緻な構造を持っています。 精度のあらゆるビットが真に有用な情報を含んでいる可能性があり、14ビット、あるいは 16ビットが必要になる場合もあります。
  • 明部では、ノイズが相対的に大きくなります。 有用な信号精度は、14ビットや 16ビットが表現できる範囲よりも、はるかに低くなります。余分なビットは、誰も必要とせず、目にすることもできないレベルでノイズをより精密にエンコードしているにすぎません。

ハイライト領域に存在する、知覚的に無意味な高精度サンプルこそが、ロスレス圧縮の効率を低下させる原因です。コンプレッサーは、意味のある情報を一切含まないビットまで、忠実にエンコードしなければならないからです。

  • DRC は、圧縮前にリニアピクセル値にコンパンディング関数(具体的には平方根に近い曲線)を適用することで、この問題に対処します。 これは分散安定化変換と概念的に関連しています。平方根を適用した後は、ノイズの標準偏差がトーン全域にわたってほぼ一定になります。 精度は本当に重要な部分に配分されます。つまり、シャドウには多くの階調を、ハイライトには少なめの階調を割り当てます。知覚的に意味のある情報は一切失われません。

展開時には、DNG 線状化テーブルに格納された逆関数により、DNG 仕様が意図するとおりの元のリニアエンコーディングが復元されます。この処理は、後段のどのアプリケーションでも特別な処理を必要とせず、そのまま扱うことができます。

量子化レベルの数は保守的に選定され、大幅な露出プッシュと極端なシャドウ回復を組み合わせたワーストケースの編集シナリオに対して検証済みです。あらゆる実用的な使用条件において、量子化アーティファクトが視認されないことが確認されています。

JPEG XL 圧縮

DRC 処理後のコンディショニング済み画像は、JPEG 委員会が標準化した次世代画像コーデックである JPEG XL で圧縮されます。

JPEG XL が従来の JPEG より優れている理由

従来の JPEG は 1992年に策定された規格で、固定の 8×8 ブロック変換と比較的単純なエントロピー符号化に依存しています。 当時は画期的でしたが、今日の水準から見ると、このアプローチでは圧縮性能に大きな改善余地が残されています。 JPEG XL は、画像圧縮研究における20年以上の進歩を取り込んでいます。

可変サイズ変換:最小 2×2 から最大 256×256 まで対応し、エンコーダーは平滑な領域では大きく効率的なブロックを、エッジ付近では小さく精密なブロックを使用できます。それによって、画一的なグリッドではなく、画像の局所的な特性に適応します。

知覚最適化された色空間:JPEG XL の内部カラー表現は、人間の視覚システムをモデルとしており、知覚にとって最も重要な画像の側面にビットを、よりスマートに割り当てることが可能です。

高度なエントロピー符号化:最新の高効率な符号化技術により、従来の手法では不可能だったレベルまでデータの冗長性を抽出します。

高精度な予測とコンテキストモデリング:エンコーダーは、処理の進行に合わせて画像の統計モデルを構築し、きめ細かなローカル構造を捉えることで、実際に保存すべき予測不能な情報量を削減します。

ネイティブ高ビット深度サポート:従来の JPEG とは異なり、JPEG XL は高ビット深度コンテンツを前提にゼロから設計されており、RAW 画像処理パイプラインの圧縮レイヤーとして理想的です。

DxO では、JPEG XL を、ニアロスレスの品質設定で適用しています。つまり、コーデックが導入する数学的損失はごくわずかであり、実際の画像のノイズフロアをはるかに下回るレベルです。 事前の DRC との組み合わせこそが、この圧縮を極めて効果的にしている鍵です。知覚的に無関係な精度を JPEG XL に渡す前に除去することで、コーデックには本質的に圧縮しやすい信号が供給されます。品質を損なう判断をコーデックに委ねる必要がなくなるのです。


The post DxO の革新的なアプローチが、画質を損なうことなく DNG ファイルを 4 分の 1 に削減する仕組み appeared first on DxO.

]]>
DxO PhotoLab now supports Fujifilm X-Trans https://www.dxo.com/ja/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 画像編集

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/ja/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

あなたのカメラとレンズをブースト

DxO PhotoLab 8

高度なエンドツーエンドの RAW 写真編集ソフトウェア

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/ja/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

同じカメラでも さらにシャープで クリーンな RAW ファイルを実現

DxO PhotoLab 6

最高の写真処理ソフトウェア。簡単に使いこなそう。

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/ja/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 画像編集

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

]]>