Non-maximum suppression
Check if pixel is local maximum along gradient direction
requires checking interpolated pixels p and r