poly_lut_invert — DRIVE tacscalib op

• Data kinds: rgb × table × image2d → normalmap

• Call: import fullseye as fs; fs.ledger.poly_lut_invert(rgb, poly: 'dict', mask=None, method: 'str' = 'coarse') -> 'np.ndarray' (implementation को सीधे call करना हो तो import tacscalib; tacscalib.poly_lut_invert(rgb, poly: 'dict', mask=None, method: 'str' = 'coarse') -> 'np.ndarray', registry से लेना हो तो opsdrive.get("poly_lut_invert"))

उपयोग

adapter: बाहरी position-dependent polynomial LUT (bins और grad_r / grad_g / grad_b = (bins, bins, 6); ऐसा format जिसमें हर bin के 6 coefficients [x², y², xy, x, y, 1], x = column और y = row सीधे pixels में, background-subtracted हर channel को दर्शाते हैं) को gradient_lut_invert जैसे ही inverse lookup (वही binning, वही मोटा → बारीक) से गुज़ारता है। rgb बाहरी प्रक्रिया जैसी ही background processing के बाद का अंतर है। बाहरी table के सभी bins भरे होते हैं, इसलिए सभी bins उपयोग होते हैं। Raises ValueError: key गायब / coefficients का shape (bins, bins, 6) नहीं / non-finite।

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• poc_tacscalib_sphere_lut — py -3.11 examples/poc_tacscalib_sphere_lut.py

वे अगले ops जिनसे type जुड़ता है (normalmap को input के रूप में लेते हैं)

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

इसी category के (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 operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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