setting up basic functions and structs
setting up data structs
renamed PgHOG -> PgHog
fleshing out internal APIs
stub functions
setting up hogResult
intermediate results
gradient boilerplate
comments
calling PgHog for one scale from main
working on gradient
rename: gradImg -> oriImg
outputting oriImg
hmm, the order of the '+1 and -1' pixel location in subtraction doesnt seem to matter
visually, still not matching Piotr's results. it doesn't look wrong, just not quite the color scale that i'd expect
clamping to edges
aha, ori is often around -3 to 3 (makes sense -- radians). magnitude is sometimes as high as 57000. no wonder it looks goofy in (0 to 255) images
aha, i forgot to sqrt the magnitudes. magnitudes look correct now.
24ms for gradients, 1 scale.
15ms of that 25ms is spent in atan2().