setting up a version of ATAN2_TABLE that'll match VOC5
added a version of LUT with voc5 math. matches ordinary on-the-fly voc5 atan2.
running gradient_voc5 and gradient_stream in test. (going to diff them...)
debugged LUT atan2 table...
move 'write mag,ori jpg' over to the unit tests instead of perf tests
not sure why some of the ori's are mismatched between voc5 and streamHog gradient calculation
backtracked to just computing gradX. (for debugging). fixed the shifting bug and stuff. voc5 and streamhog gradX match, except at the borders.
~1ms to transpose img, using my naive transpose impl.
got gradX and gradY lined up. BUT, my hack to do this required a 'loadu'. Do I want this in here? (and, i think the borders still are a bit goofy)
voc5 and stream match for gradX at all except for borders (again)
gradY matches too
back to doing ori, mag.
visually, the ori's match too
loadu is slightly slower (for xLo, xHi). 0.75ms instead of 0.68ms. (this isnt really a bottleneck though)
playing with oddly sized imgs. as expected, segfault.
on arbitrarily sized img, segfaulting when writing to normalized output hist
using gradient_stream->computeCells_stream and gradient_voc5->computeCells_voc5. these match pretty well.
back to separate voc5 and stream pipeline tests