• Pavel Rojtberg's avatar
    aruco: simplify Dictionary by not interleaving the marker rotations · 35b935c9
    Pavel Rojtberg authored
    store marker internally as
    "r0_b0, r0_b1, .. , r0_bn, r2_b0, .." instead of
    "r0_b0, r1_b0, .. , rn_b0, r1_b0, .."
    i.e. the same as in predefined_dictionaries.cpp.
    This makes loading a dictionary a simple memcpy and also allows to get
    rid of the custom hammingDistance implementation in favor of
    hal::normHamming.
    35b935c9
dictionary.cpp 15.6 KB