A neural network approach to structured background subtraction in 2-D digital imaging