I created 4 versions of the same photo using AMAZE, RCD, DCB and VNG4 demosaicing algorithms and opened them all in different layers in the same Photoshop image. Using the Difference Blend mode I expected to be able to see where the different algorithms gave different results, but even when viewed at 400% the result was a black (ie no difference) screen no matter what I compared with what.
Clearly there should be a difference (in RT the running commentary at the bottom as the file was saved showed the appropriate algorithm) so what am I doing wrong when comparing?
Donāt know about Photoshop, but using Absolute Difference Blend and on top of that using an extreme brightness curve you should be able to see the differences.
You need carefully chosen images, known to be challenging to demosaic, to be able to spot real differences. For example, sharp horizontal, diagonal and vertical patterns like fences, fabrics, fuzzy clouds or curtains, noisy pictures, saturated objects and lens chromatic aberrations.
Otherwise, when the conditions are nice, all of them perform similarly.
Why should I do this (waste of time) ? You know that there are differences between outputs of different demosaicers. Do I really need to show examples? Then please provide a raw file. Then I will show the differences. Tiff (or png) files are not even worth a look, sorry
@heckflosse Please take note of the wink, it wasnāt meant too seriously. Both you and Aurelien are correct. At pixel peeping levels there are significant differences between algorithms which may get blown up due to other processing. At 100% zoom level and using a picture taken in ānice conditionsā, the differences are almost non-existent and certainly not bothersome.
My zip contains an illustration to that point for anyone whoās interested. Look at 100% zoom and tell me which differences you see, then look at 400% zoom and spot the differences.
Interesting, thanks. I suppose these are simple crops from the demosaics, not resized? I hope you will say what seven methods were used.
With a quick script, I use ImageMagick to loop through each pair of images and find the largest RMSE difference. This is between images 1 and 4, with RMSE 0.011 on a scale of 0 to 1, so 1.1%. As a rule of thumb, 1% is the threshold at which I can just see that two ordinary photos are different, when the differences are evenly spread through the images.
At first glance, I canāt see differences between 1 and 4. But ImageMagick (or anything similar) can point out where the differences are.
So, I use a āhalfā demosaic for my proofs, as itās quick and looks fine when downsized to 800x600. For clients that want full resolution, Iād produce a rendition that used one of @heckflosseās wonderful tools courtesy librtprocess. Havenāt had a client in at least 30 years, howeverā¦
Iām also using half to process spectrum captures for SSF profiles; need RGB triplets to calculate channel averages down each image column, and half doesnāt change the original R and B captures, and only does an average of G1 and G2 for G. Need as little change as possible for the downstream processingā¦
@snibgo There are seven files, two of them use RCD (so should be identical), one is AMaZE, one is DCB, one is IGV, one is LMMSE and one is Fast. All options as named in RawTherapee.
There are no other adjustments to the image, except for a little increase in exposure, contrast and saturation - otherwise, things looked too dull.
I will also add that while differences may not be visible immediately after demosiac, the differences can be much more pronounced after processing - particularly sharpening. (At least this is true for X-Trans images)
4 is clearly āfastā, and it is significantly worse than the others. 3 and 7 are identical, so they must be RCD. From here, Iād guess 6 and 5 are Amaze and DCB (or the other way round), whereas 1 and 2 are IGV and LMMSE (or perhaps the other way round).