Hello, I would like to see if anyone has any idea of how to median stack raw files before demosaicing, and render a file, preferably higher in bit depth, yet read like the original file by Rawtherapee or any other raw processor.
To explain the intended use, I have a camera, the Blackmagic Pocket Cinema Camera, that have a mix of fixed pattern noise (line noise and amp glow) as well as random noise in the deep shadows. I know Rawtherapee has a dark frame noise subtraction feature, and know how to use it, but it is more useful for hot pixels for low ISO long exposure than high ISO with fixed pattern noise. This is because if there is enough random noise that if I were to use a single dark frame, it would cancel out the fixed pattern noise, but increase the variance of the random noise, thereby making the signal to noise ratio poorer. The solution to this is to mean/median the dark frames, but if the subtraction is done after the raw develop, then it potentially raises issues with the log transform, color matrix and other non-linearities that make the subtraction less accurate. Higher bit depth might be needed, as the extreme shadows information that I am trying to make use of is likely between the steps of the linear 12 bit file, but is dithered by the random noise, but I am not sure this will be 100% needed.