These are chat archives for menpo/menpo
Unexpected behaviour in
DalalTriggsHOGdescriptor from repository
Line 294: block(double *) is set to 0.
Line 413: the loop can change the value of
We can imagine that for a given value of (x, y),
block[i][j][k] is modified at line 426
But that for another value (after) (x', y'),
block[i][j][k] is not modified (no else statement)
That means that the value of
block[i][j][k] will not be the one corresponding to this (x', y') (and not 0.) but will still be taken into account for the remaining part of the process.
Is it really the expected behaviour ?
nosetests ./menpo/image/test/image_features_test.py? You could configure your IDE to run these tests, or write a trivial Makefile. There is no more automated way than the above command though.