hamedkiani / BACF-tracking

MATLAB code for BACF object tracker
MIT License
15 stars 1 forks source link

Unlisted toolbox requirements for `fhog`? #2

Open bibbygoodwin opened 3 years ago

bibbygoodwin commented 3 years ago

In the function get_fhog, there is a line that causes the BACF_Demo_single_seq.m to fail:

hog_image = fhog(single(im(:,:,:,k)), gparam.cell_size, fparam.nOrients);

This fhog method doesn't exist in the standard matlab Image Processing toolbox - is there an additional toolbox this code assumes is installed?

Thank you!

bibbygoodwin commented 3 years ago

Update: Looks like the missing code/functions are from an image processing toolbox from Piotr Dollar: https://pdollar.github.io/toolbox/channels/fhog.html

More helpfully, the repo at https://github.com/LCAR979/BACF is very similar to this one but contains copies of Piotr Dollar's fhog function and the other dependencies from that toolbox needed to get things working (so you do not need to install the whole toolbox). This may be the canonical implementation?