disabled all but top level of ffld now
including helpers.h
aha, I think I had the weights backwards (I was giving more weight to stuff further away from center of hog cell, instead of the other way around)
looking at weights in FFLD. the range is from roughly 0 to 35. (for weightX * weightY). not sure if mine should be similar or not...
interesting my weights are always just 0 or 1
casting operands to float when computing weights
looks like weightX and weightY in FFLD are in the range 1 to 8.
in my code, weights are [0, 0.25, 0.5, 0.75, 1]
casting everything to float ... my weights are still [0, .25, .5, .75, 1]
casting weights to floats slows things down a bit ... presumably more nonzero memory writes
hmm, seems like we're getting some -0.125 in my code (unlike ross's code). perhaps I only need to go from (cell topleft - sbin/2+1) to (cell topleft + 1.5*sbin - 1) -- note the +/- 1
all right, I think I figured the weights out.
visualized piggyhog and ffld results at the 'hog cell' stage, and they look the same. looks like the input img...cool.