Histograms of Oriented Gradients For Human Detection N. Dalal and B. Triggs CVPR 2005
Histograms of Oriented Gradients For Human Detection N. Dalal and B. Triggs CVPR 2005
(HOG)
N. Dalal and B. Triggs
CVPR 2005
Cited by 6021
2
Dr. Edgar Seemann 3
HOG Steps
HOG feature extraction
Compute centered horizontal and vertical gradients with no smoothing
Compute gradient orientation and magnitudes
For color image, pick the color channel with the highest gradient magnitude for each
pixel.
Gradient
Magnitude: s s x2 s y2
Orientation: s
arctan( y )
sx
5
Blocks, Cells
Block 2
Block 1
16x16 blocks of 50% overlap.
7x15=105 blocks in total
Cells
Votes
Each block consists of 2x2 cells with
size 8x8
Quantize the gradient orientation into 9 9 Bins
bins (0-180)
Visualization
8
How to Select Different Parameters?
9
Results
SIFT HOG
128 dimensional vector 3,780 dimensional vector
16 by 16 window 64 by 128 window
4x4 sub-window (16 total) 16 by 16 blocks with
8 bin histogram overlap
Each block consists of 2 by
2 cells each of 8 by 8
Overlapping
9 bin histogram