CMOS implementation of a Cellular Nonlinear Network for image segmentation