Modifying raw image data for experiments

Started Apr 5, 2021 | Discussions thread
OP Horshack Veteran Member • Posts: 9,769
Raw-based flat-field correction

Here's a more practical application of raw modification vs using it just for scientific tinkering - the ability to generate flat-field corrected raws. Lightroom actually supports this - Eric Chan's plugin was added to the mainline code in 2019. However, Lightroom's implementation doesn't let you configure the blur size so it's not useful for removing dust spots, which is what I needed for an RX1 I own that has sensor dust which can't be cleaned off the sensor.

Here's the before/after of applying a flatrame to a raw, as rendered by ACR/LR. I did a quick 'n dirty sky shot for the flat so the colors are a bit janky for this sample.

Animated PNG: Before/after flat-field dust removal

Source code: applyRawFlatFrame.m

Keyboard shortcuts:
FForum PPrevious NNext WNext unread UUpvote SSubscribe RReply QQuote BBookmark MMy threads
Color scheme? Blue / Yellow