A convolutional neural network is trained in auto/hetero-associative mode for reconstructing RGB components from a randomly mosaicked color image. The trained network was shown to perform equally well when images are sampled periodically or with a different random mosaic. Therefore, this model is able to generalize on every type of color filter array. We attribute this property of universal demosaicking to the network learning the statistical structure of color images independently of the mosaic pattern arrangement.
Lise Yannick Bourrier, Martial Mermillod, Marina Reyboz, David Alleysson, "CNN Color Demosaicking Generalizes for any CFA" in Color and Imaging Conference, 2022, pp 92 - 95, https://doi.org/10.2352/CIC.2022.30.1.18