adapt_template调整模板best_match最佳匹配best_match_mg最佳匹配多重网格best_match_pre_mg最佳匹配预生成多重网格best_match_rot最佳匹配旋转best_match_rot_mg最佳匹配旋转多重网格clear_template清除模板create_template创建模板create_template_rot创建模板旋转deserialize_template反序列化模板fast_match快速匹配fast_match_mg快速匹配多重网格read_template读取模板serialize_template序列化模板set_offset_template设置偏移模板set_reference_template设置参考模板write_template写入模板