Implemented mean-grayscale calculation for the input frame to selected proper Canny- Thresholds during Edge detection.