1. A multi-layered neural network for pattern recognition, comprising: an input layer for mapping into a two-dimensional scan window, said scan window defining an input space that can be scanned over objects, and which input contains at least two adjacent ones of said objects; an output layer comprised of at least a first output node with an associated activation energy that is activated to represent the presence of a desired object substantially centered in said scan window, the activation energy thereof having a variable level, which level represents the proximity of the object to the substantial center of said scan window, and a second output node with an associated activation energy that is activated to represent a desired distance from a frame of reference in said scan window to another and adjacent one of said objects when the activation energy thereof is raised above a predetermined threshold; and a hidden layer having local receptor fields and interconnected with said input layer and said output layer for mapping said input layer to said output layer, said hidden layer providing a representation of the position of the desired one of said objects relative to the substantial center of said scan window such that said first output node is activated in response thereto, said hidden layer providing a representation of the desired distance when the adjacent one of said objects is separated from said frame of reference in said scan window by substantially said desired distance such that said second output node is activated in response thereto.