inside_outside — 3D superquadric op

資料種類:pointssignal

呼叫: import fullseye as fs; fs.ledger.inside_outside(points, a, eps, R=None, t=None) -> 'np.ndarray'(要直接呼叫實作,import superquadric; superquadric.inside_outside(points, a, eps, R=None, t=None) -> 'np.ndarray';從台帳取用則 ops3d.get("inside_outside"))

用法

超二次曲面的內外函數 F(表面=1,內部<1,外部>1)。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

`F(X) = (|x/a1|^(2/eps2) + |y/a2|^(2/eps2))^(eps2/eps1) + |z/a3|^(2/eps1)`。

`R, t で姿勢(X_body = R.T @ (X - t)`)。

Parameters

----------

points : array_like (N,3)

a : (a1,a2,a3) 半径(すべて正)

eps : (eps1,eps2) 形状指数(> 0)

R : (3,3) 回転(列 = body 軸の world 表現)、既定 = 単位

t : (3,) 平行移動(body 中心の world 位置)、既定 = 原点

Returns

-------

np.ndarray, shape (N,)

參考(範例資料・文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

superquadric_fitpy -3.11 examples_3d/superquadric_fit.py

型別可銜接的下一個運算子(可接受 signal 作為輸入)

fuse_to_voxel

同類別(superquadric)

fit_superquadric · sample_surface · superquadric_residual


*Provenance: superquadric.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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