add sample for edge detection