hmm, not building on mac?
nevermind ... just needed to make clean. does build on mac.
hmm, 'magnitudes' img is blank
tried png instead of jpg .. didnt make a difference
aha, multiplied mags by 255. I see some ugly/arbitrary looking noise, which seems to repeat itself.
aha, just got height and width opposite ... i see a car, rotated 180 degrees, in magnitudes. looks about the same as piotr's matlab result
transposed ... looks about the same as piotr's matlab result
outputting mags and oris from C++ to file. looks about the same as the matlab version
cleanup
aha, part of the difference between piotr matlab and piotr cpp code is jpg vs png. noticed that the numbers in jpg and png versions of the same image vary slightly.
yeah, i think it was mostly a png vs jpg thing. (should try using JPG with FFLD, or else changing all to PNG