and AMD
 processors support SSE2). Please see: http://en.wikipedia.org/wiki/SSE2.

 USAGE
  H = hog( I, [binSize], [nOrients], [clip] )

 INPUTS
  I        - [hxw] color or grayscale input image (must have type single)
  binSize  - [8] spatial bin size
  nOrients - [9] number of orientation bins
  clip     - [.2] value at which to clip histogram bins

 OUTPUTS
  H        - [h/binSize w/binSize nOrients*4] computed hog features

 EXAMPLE
  I=imResample(single(imread('peppers.png')),[480 640])