SHARE

Machine learning technology is used in many aspects of modern photography, from shooting images that would otherwise be difficult to capture to speeding up sorting and editing. This week I want to focus on a targeted implementation that ripples through the entire image edit process: translating and processing the data in Raw files. Specifically, I’m looking at DxO PureRAW 2, which uses a technology called DeepPRIME to demosaic and denoise the unedited data in Raw files to create better editable versions. The technology is also available in DxO PhotoLab 5, the company’s photo editing app.

The process of Raw processing

First, let’s get on the same page about Raw processing. 

If your camera is set to shoot in JPEG or HEIC formats, the camera’s processor does a lot of work to take the light information captured by the sensor, interpret it as luminance and color values, and create an image made up of colored pixels. The photo is also compressed to save storage, so a significant amount of image data is thrown away.

When you shoot in the camera’s Raw format, the file it saves is made up entirely of the data captured by the image sensor. It includes not just the values from each pixel, but information about how the sensor deals with digital noise, characteristics of the lens being used, and more. You also end up with larger image files because none of the data is purged in a processing step.

At this point, that file isn’t really a “photo” at all. The data has to be decoded before it can be viewed as an image. (When you see the shot on the camera’s screen, you’re actually looking at a JPEG preview.)

The first step is demosaicing, which interprets the color values produced by patterned filters on the camera’s image sensor. Most cameras use sensors with Bayer filters, while Fujifilm cameras use sensors with X-Trans filters.

The photo software’s algorithms translate that data to pixels and then apply some other processing adjustments such as denoising based on the information in the Raw file to minimize digital noise such as that caused by shooting at high ISO values. At that point, the Raw file is ready for your edits to tone, color, and so on. 

Software such as Adobe Lightroom or Capture One automatically handles this process, making it appear that the Raw file has been opened just as if you’d opened a JPEG file. Some apps use an intermediary step, such as when Adobe Photoshop opens Raw images first in the Adobe Camera Raw interface.

Into the DeepPRIME

A night photos of the Seattle skyline with space needle.
A photo of the Seattle skyline captured at ISO 3200 and processed through Adobe Lightroom Classic. Jeff Carlson

Related: The best photo editor for every photographer

That window between Raw data and editable file is where DxO PureRAW 2 comes in. Its DeepPRIME technology uses machine learning to demosaic and denoise the data and create a better image to work with. It then pulls from DxO’s extensive library of camera and lens profiles to apply optical corrections. (And honestly, DeepPRIME is just an awesomely cool name.)

In my testing, I’m seeing results in two specific areas: processing noisy high-ISO images and working with the Raw files from my Fujifilm X-T3, which are sometimes underserved by Lightroom’s conversion.

A night photos of the Seattle skyline with space needle, zoomed to 200%.
Here’s the above image zoomed into 100%. The crop on the left was processed through Lightroom, the crop on the right through DxO PureRAW 2. The latter looks significantly cleaner while still maintaining a good level of detail. Jeff Carlson
A night photos of the Seattle skyline with space needle, zoomed to 100%.
At 200%, the PureRAW 2 example looks a tad soft but I still prefer this output to Lightroom’s. Jeff Carlson

In this example of the Seattle skyline, shot handheld at ISO 3200, the Raw file processed by Lightroom Classic reveals noticeable noise. I’ve made only exposure changes since the original was still pretty underexposed. The PureRAW-processed image is much cleaner and only reveals some denoising softening when viewed at 200% magnification.

Another noisy example

A night photo of a Bristlecone Pine.
The image on the left was processed through Lightroom with no adjustments made, the image on the right was processed through PureRAW 2, also with no adjustments made. Mason Marsh

For another example, this image of a Bristlecone Pine was shot on a Sony A7R IV at ISO 12800 and processed in Lightroom and using PureRAW 2 without any other adjustments applied.

A night photo of a Bristlecone Pine zoomed in to 100%.
A 100% crop with the Lightroom example on the left and the PureRAW 2 one on the right. The latter maintains as much or more detail than the former, without any of the ugly noise. Mason Marsh
A night photo of a Bristlecone Pine zoomed in to 200%.
The same example cropped to 200%. Mason Marsh

Processing Fujifilm Raw files with PureRAW 2

As a Fujifilm camera owner, I was also happy to hear that PureRAW 2 added support for Fujifilm’s X-Trans Raw files. Lightroom’s conversion can create a “wormy” appearance, particularly in textured areas. Shooting autumn foliage, for instance, often vexes me because, while the overall image looks good, at 100% magnification and closer the pattern is pretty obvious.

A photo of fall foliage with a pond in center.
The image on the left was processed through Lightroom, the image on the right through PureRAW. From an overview, they look pretty similar. But zoom the shots in (see examples below) and you’ll notice crisper detail in the PureRAW version. Jeff Carlson

Lightroom includes its own machine-learning-based feature to reprocess Raw files (in the Develop module, choose Photo > Enhance), which improves on the default appearance, but to my eye, the PureRAW version looks better, if a little over-sharpened when viewed magnified.

A photo of fall foliage with a pond in center, cropped to 200%.
A 200% crop shows Lightroom’s standard processing on the left, Lightroom’s processing with the machine-learning-based “Enhanced” feature turned on (center), and PureRAW 2’s processing on the right. Jeff Carlson

I also ran the same image through Capture One 22, because it tends to handle Fujifilm Raw files well. The image is an improvement over Lightroom, but I still prefer the PureRAW output.

A photo of fall foliage with a pond in center, cropped to 100%.
A 100% crop shows Lightroom’s “Enhanced” processing on the left, PureRAW 2’s output in the center, and Capture One 2022’s output at the right. Jeff Carlson

Final thoughts

Since PureRAW is dealing just with the Raw translation stage, you can process images regardless of which app you prefer to edit in. In my Lightroom Classic examples, I ran PureRAW as a plug-in, which creates a new image saved to my Lightroom library. You can alternately run PureRAW 2 as a standalone app, process your files, and then import the resulting DNG images into your app of choice or edit them singularly.

One final note: DxO PureRAW 2 works with just about any Raw image available, with one notable exception, Apple ProRAW files. That’s because ProRAW images, while sharing many of the editable characteristics of Raw files such as greater dynamic range, are already demosaiced when they’re saved.