 The two summed responses then yield a local orientation vector.The longest such vector overall defines the orientation of the point of interest.The size of the sliding window is a parameter that has to be chosen carefully to achieve a desired balance between robustness and angular resolution.