2

I have read recently about how even RAW images can have DNR and sharpening applied and I'm wondering, is this something some particular camera manufacturers are known to do or it's a universal thing ??

For people asking how a RAW file can have DNR applied:

"The “Star Eater” problem is a form of software spatial filtering designed to reduce noise in photos, particularly hot pixels. Unfortunately, the rather rudimentary filtering algorithm that Sony is using easily mistakes sharp pinpoint stars for noise, nearly deleting them from the image or greatly reducing their brightness. The result is an astrophoto with less stars and the appearance of diminished resolution. Sony a7RII, a7SII and a7RIII cameras exhibit this problem for all exposure times longer than 3.2″. Furthermore, the “Star Eater” issue affects RAW images (whether uncompressed or not) and cannot be disabled by any means. There are no user selectable settings that will prevent these cameras from eating stars."

https://www.lonelyspeck.com/sony-star-eater-and-how-to-fix-it/

Michael C
  • 175,039
  • 10
  • 209
  • 561
  • 2
    I think you've misunderstood what a RAW file is & what must be done before you can even view it at all. – Tetsujin May 04 '23 at 16:27
  • 3
    Can you provide the source of "even RAW images can have DNR and sharpening applied"? – Romeo Ninov May 04 '23 at 16:34
  • @RomeoNinov https://www.lonelyspeck.com/sony-star-eater-and-how-to-fix-it/ - "The 'Star Eater' problem is a form of software spatial filtering designed to reduce noise in photos, particularly hot pixels. Unfortunately, the rather rudimentary filtering algorithm that Sony is using easily mistakes sharp pinpoint stars for noise, nearly deleting them from the image or greatly reducing their brightness. The result is an astrophoto with less stars and the appearance of diminished resolution." – LucaMancini May 04 '23 at 20:22
  • @RomeoNinov "Sony a7RII, a7SII and a7RIII cameras exhibit this problem for all exposure times longer than 3.2″. Furthermore, the “Star Eater” issue affects RAW images (whether uncompressed or not) and cannot be disabled by any means. There are no user selectable settings that will prevent these cameras from eating stars." – LucaMancini May 04 '23 at 20:25
  • 2
    All NR is not digital noise reduction. Analog signaling (of many types, including audio and video) can also have nose reduction applied via various limiters. The charges accumulated by each photosite of a digital camera sensor are analog until converted to digital information by the analog-to-digital converter (ADC), – Michael C May 05 '23 at 15:00
  • I've never heard of any digital camera applying sharpening to raw files. Please give us an example of a camera that aleged;y does this? All of the Sony "Star eater" cameras are so-called strictly due to on-die NR being applied before ADC. – Michael C May 05 '23 at 15:03
  • On the other hand, what you see on the back of the camera when you review a "raw" image or on your computer when you open a "raw" file is not a raw image, it is a heavily processed interpretation of the raw image data. Those previews are pretty much all sharpened, had NR applied, along with contrast and color saturation punched up. – Michael C May 05 '23 at 15:32
  • While it is always possible for the manufacturer to add some processing before writing the RAW file, another possibility is to enforce certain processing of the RAW files in software. Most commonly it relates to lens correction such as distortion. Sony is particularly (in)famous for doing that. Major software vendors such as Adobe usually comply with it, and such processing cannot be disabled. However, independent 3rd party tools (such as RawTherapee) often let users disable default processing (and see how ugly the lens is). I don't know if such approach is actually used for de-noising though. – Zeus May 08 '23 at 01:34
  • Manufacturers are generally very secretive about manipulations they make to the pixels of a RAW file. This question is basically unanswerable. – Mark Ransom May 11 '23 at 02:23
  • Nikon‘s NEF,at least on entry level cameras, are just TIFF in YUV format plus meta data. Those are heavily processed. – user3528438 Jun 08 '23 at 06:53

2 Answers2

1

Some camera do, some don't. There is no rule, but in general noise reduction is not applied to RAW files. I think cleaning up RAWs is the exception.

If you are interested in checking whether a camera does noise filtering, you can try to obtain a raw file shot in complete darkness (lens cap on) and do 2D Fourier transform of the pixel values, as explained here. Star-eating is mentioned also here.

This is a 2D Fourier of an image with Gaussian blur, see the "vignetting" (not in a traditional sense):

enter image description here

It appears that the Z50 does some preprocessing anyway, see here, so the issue is not always that easy and related only to noise filtering. In particular, it appears that Nikon "calibrates" the response of the sensor to get more consistent colours between units, which is done by prescaling of the sensor output and which results in empty gaps in the red and blue channels:

enter image description here

You can also check noise graphs obtained by someone else, see for example Z50 which talks about noise filtering at 10 000 ISO. Graphs can be found also on Photons to photos.

enter image description here

FarO
  • 1,329
  • 2
  • 14
  • 27
0

RAW files are the least processed data a camera makes available as a file.

All cameras process data as it is written to a file. For instance by adding EXIF fields.

But they also add information about the filter array so that colors may be consistently interpreted and amplify (or attenuate) analog voltages to create different ISO behaviors…and of course quantize those voltages to create digital values for digital processing.

Hardware hot pixel mapping essentially is a form of error correction. Like all engineering it is a series of tradeoffs.

Maybe an analogy is a RAW file is like a piece of lumber. Although a 2x4 isn’t a tree, it is still wood and generally more useful than a tree for ordinary tasks that involve wood.

Sure there are edge cases where hot pixel correction is not what someone wants just as there are times when a tree is the solution to a wood need.

Bob Macaroni McStevens
  • 4,921
  • 2
  • 9
  • 27
  • 1
    "Least processed" does not equal "not processed". This includes pixel data, not just ancillary fields like EXIF. – Mark Ransom May 11 '23 at 02:21
  • @MarkRansom That is why I said “least processed”…although practically speaking the processing that happens is what distinguishes arbitrary voltages from data. – Bob Macaroni McStevens May 11 '23 at 04:52