by the way, a1ex, since green channel stays untouched (focusing pixels are red and blue only), is it possible to calculate chroma on R and B channels only? This way we will preserve more detail.
I mean, somehow make the AHD-like calculations on R&B channels only