fit_line3 — 3D geometry op

• Data kinds: points → primitive

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

उपयोग

(depth, row, col) points पर total-least-squares 3-D line fit।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

The line is the largest principal axis through the centroid (orthogonal regression, isotropic in all three axes). Returns the centroid center (with cd/cr/cc), a unit direction (depth, row, col), and the RMS orthogonal residual. Raises ValueError on < 2 points or a coincident cluster with no defined direction.

संदर्भ (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 करते हैं)

• primitive_fitting_3d — py -3.11 examples_3d/primitive_fitting_3d.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 के (geometry)

line_from_2points · plane_from_3points · angle_3points · angle_between_lines · angle_between_planes · angle_line_plane · distance_point_plane · distance_point_line


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

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