Simple cells have often been characterised as edge detectors. This paper proposes a specific neural wiring for simple cells that operate as optimal edge detectors. The proposed simple cell is also selective for the edge contrast. Responses of this model simple cell to edges, bars, sinusoids, and flashed lights are simulated and are similar to real nondirectional simple cell responses.