Foreground-background separation separation by freed-forward neural networks in old manuscripts