openCv dependent implementation of hog method. Histogram Oriented Gradient