Added Cross Edge Detector