I want to normalize the sift descriptors by rotating them so that the horizontal direction is aligned with the dominant gradient orientation of the patch.
I am using vl_feat library. Is there any way in vl_feat to normalize the sift descriptos?
or
what is the effective way of doing this using matlab?