poly_lut_invert — DRIVE tacscalib op

• 数据种类:rgb × table × image2d → normalmap

• 调用: import fullseye as fs; fs.ledger.poly_lut_invert(rgb, poly: 'dict', mask=None, method: 'str' = 'coarse') -> 'np.ndarray'(要直接调用实现,import tacscalib; tacscalib.poly_lut_invert(rgb, poly: 'dict', mask=None, method: 'str' = 'coarse') -> 'np.ndarray';从台账取用则 opsdrive.get("poly_lut_invert"))

用法

适配器:将外部的位置相关多项式 LUT(bins 与 grad_r / grad_g / grad_b = (bins, bins, 6);每个 bin 用 6 个系数 [x², y², xy, x, y, 1]、x = 列、y = 行直接以像素为单位表示背景差分各通道的格式)送入与 gradient_lut_invert 相同的反查(相同的 bin 划分、相同的粗 → 细)。rgb 是经过与外部流程相同背景处理的差分。外部表的所有 bin 均已填满,因此使用全部 bin。Raises ValueError:缺少键 / 系数形状不是 (bins, bins, 6) / 非有限。

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

• 算法的正典(作者、年份)与用途见上面的族使用指南。

可运行的示例(实际调用该算子并已验证的样例)

• poc_tacscalib_sphere_lut — py -3.11 examples/poc_tacscalib_sphere_lut.py

类型可衔接的下一个算子(可接受 normalmap 作为输入)

spin_from_marker_sequence · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain · osm_parse

同类别(tacscalib)

calib_pack_load · sphere_normals_known · lights_fit_from_sphere · membrane_predict_rgb · gradient_lut_build · gradient_lut_invert · normal_error_map · sphere_cap_height


*Provenance: tacscalib.py — DRIVE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.