fit_superquadric — 3D superquadric op

• Data kinds: points → primitive

• Call: import fullseye as fs; fs.ledger.fit_superquadric(points) -> 'dict' (implementation को सीधे call करना हो तो import superquadric; superquadric.fit_superquadric(points) -> 'dict', registry से लेना हो तो ops3d.get("fit_superquadric"))

उपयोग

point cloud पर least_squares से superquadric surface fit करता है और dict{a,eps,R,t,residual} लौटाता है।

प्रारंभिक pose = inertia tensor के eigenvector, प्रारंभिक a = principal axis bbox का आधा, प्रारंभिक eps=(1,1)। a को धनात्मक रखकर और eps को [0.1, 2.0] में clip करके optimisation किया जाता है।

Returns

dict: {'a': (3,), 'eps': (2,), 'R': (3,3), 't': (3,), 'residual': float}

संदर्भ (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 के स्रोत।

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

• superquadric_fit — py -3.11 examples_3d/superquadric_fit.py

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

fuse_to_voxel · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line · distance_line_line · distance_segment_segment

इसी category के (superquadric)

sample_surface · inside_outside · superquadric_residual


*Provenance: superquadric.py — 3D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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