fit_plane3 — 3D geometry op

Data kinds: pointsprimitive

Call: import fullseye as fs; fs.ledger.fit_plane3(points) -> 'dict' (to call the implementation directly, import measure3d; measure3d.fit_plane3(points) -> 'dict'; from the registry, ops3d.get("fit_plane3"))

Usage

Least-squares 3-D plane fit to `(depth, row, col)` points — the plane

through the centroid whose normal is the smallest principal axis (minimises the

sum of squared point-to-plane distances). Returns `center (cd/cr/cc`), a

unit `normal` (depth, row, col), and the RMS point-to-plane residual. Raises

`ValueError` on < 3 points or a collinear set (the normal is undefined).

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

primitive_fitting_3dpy -3.11 examples_3d/primitive_fitting_3d.py

Ops the type connects to (they accept primitive as 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

Same 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. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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