Fascinating!! Thank you for this example. Unfortunately for 2a and 2b, there is a lot of false detail and aliasing artifacts near and at Nyquist.
Also in both 2a and 2b, along the main diagonal lines, the line goes from sharp pixels to a fuzzier edge, then becomes sharp again, then becomes fuzzy again. ‘Mine 1’ does not suffer from that at all and actually, to me looks the best here. Even better than AMaZE which also has the sharp-fuzzy-sharp issue. ‘Mine 1’ looks to have much less severe ringing than AMaZE. Hardly anything really. That’s a stunning result!
Is this your own original demosaicing algorithm or did you modify/base it off an existing one?
Edit: The DCB example is without enchancement I presume? It looks awful. With enhancement it looks closer to ACR, which has the 2x2 pixel jaggies.
Edit 2: It looks like you modified AMaZE? If ‘Mine 1’ is AMaZE, but with diagonal line interpolation before horizontal and vertical, it looks to me to be an unqualified success! I think it’s just what I was looking for.