A transputer-based self-tuning edge detection chain