Feedback and surround modulated boundary detection