Type Definition BoW
abow
type BoW = Vec<f32>;
Bag-of-Words representation of an image or descriptor set.
Index: word/leaf id in the vocabulary.
Value: total weight of that word in provided features.
impl BoWTrait for BoW
fn l1(&self, other: &Self) -> f32
Compute L1 norm between two BoW. (Used in Galvez (Eq 2)).
fn l2(&self, _other: &Self) -> f32
Not sure if needed