Smooth the image with a gaussian filter to remove noise.  Find gradients with max intensity (above a certain threshold). Apply non-maximum suppression to get rid of spurious response to edge detection (by finding the peaks in the gradients detected above the certain threshold, so it basically is the maximum ofContinue Reading