detect edges using L only