Edge detection for streight lines are coded