I already did some RAW exercises (i.e. building a synthetic Bayer DNG file to obtain some advantages over the input files), like using the Median to eliminate moving subjects:
Eliminating vehicules in a crowded motorway:
But the Median can be used in the opposite way, to
preserve all moving subjects in the scene with respect to a fixed background:
The output RAW file is available here to play with:
http://guillermoluijk.com/datosimagensonido/rawantimedian.dngThis "Antimedian" is computed by picking the farthest to the Median value on every single pixel (photosite), so the runner prevails since it can be considered an outlier in every frame vs the 11 shots burst.
Unfortunately, and although the Median was very robust against misalignments, moving subjects,..., the "Antimedian" is very sensitive to producing artifacts (including false colours) in the overlapping areas of any moving subject. The algorithm works fine anyway, but would be better applied over already demosaiced RGB files. It's a pity that Photoshop doesn't have and "antimedian" blending mode.
The complete article with online translation available:
https://www.overfitting.net/2022/11/apilado-por-antimediana-para-replicar.htmlRegards