计算方向梯度直方图,使用matlab实现,基于经典论文Histograms of Oriented Gradients for Human Detection