I'm working on a school project and, between many tasks, I need to binarize Fisher Vectors following what is written in this paper. I was given the vl_feat library to use with Matlab and I implementd this simple tutorial to return fisher vectors given some features.
Everything works fine and I successfully updated the vl_fisher function to raise each dimension of the Fisher vector to the power of a value α ∈ [0, 1] as stated in section 4.1. With α = 0 I can have a Fisher vector with values {-1,0,1} which is a ternary encosing.
The second part of section 4.1 explains how to turn this ternary encoding into an equivalent binary encoding. I got a little lost in there, mainly due to the fact that I'm using a library to return the fisher vector representation. This representation consists of a vector of doubles and it makes it trickier to follow the paper description.
So my question is, how do I binarize fisher vectors with vl_feat library on Matlab ? Do I simply have to binarize the ternary encoding ? Should I compute fisher vectors in another way to make them more suitable for a following binarization ?
Thanks in advance for your time!