Making color images directly compatible for edge detectors