Efficient Deep Demosaicing with Spatially Downsampled Isotropic Networks
Cory Fan, Wenchao Zhang
TL;DR
This work tackles the challenge of efficient demosaicing on mobile devices by challenging the conventional wisdom of keeping isotropic networks at full resolution. It introduces JD3Net, a simple fully convolutional isotropic network that uses deliberate spatial downsampling, guided by a resolution-invariant entropy objective adapted from DeepMAD, to achieve superior efficiency without sacrificing accuracy. Through extensive experiments on real and synthetic demosaicing tasks (including JDD, Bayer, and HybridEVS patterns), downsampling yields both higher PSNR and significantly lower FLOPs compared with non-downsampled baselines. The results demonstrate that downsampling can broadly improve isotropic network performance in demosaicing, offering a practical path toward real-time mobile ISP pipelines with lightweight models.
Abstract
In digital imaging, image demosaicing is a crucial first step which recovers the RGB information from a color filter array (CFA). Oftentimes, deep learning is utilized to perform image demosaicing. Given that most modern digital imaging applications occur on mobile platforms, applying deep learning to demosaicing requires lightweight and efficient networks. Isotropic networks, also known as residual-in-residual networks, have been often employed for image demosaicing and joint-demosaicing-and-denoising (JDD). Most demosaicing isotropic networks avoid spatial downsampling entirely, and thus are often prohibitively expensive computationally for mobile applications. Contrary to previous isotropic network designs, this paper claims that spatial downsampling to a signficant degree can improve the efficiency and performance of isotropic networks. To validate this claim, we design simple fully convolutional networks with and without downsampling using a mathematical architecture design technique adapted from DeepMAD, and find that downsampling improves empirical performance. Additionally, empirical testing of the downsampled variant, JD3Net, of our fully convolutional networks reveals strong empirical performance on a variety of image demosaicing and JDD tasks.
