Add the implementation of regularly sampling Shape Context.