Complementary metal–oxide–semiconductor (CMOS) image sensors allow machines to interact with the visual world. In these sensors, capture in front-end silicon photodiode arrays is separated from back-end processing. To reduce energy cost associated transferring data between sensing and computing units, in-sensor approaches are being developed where images processed within arrays. However, such m...