implementation of Sift extraction and spatial pyramids using matlab wrapper (containing vlfeat) in Java