Adaptive Edge Detection for Real-Time Video Processing using FPGAs