augment op• 数据种类:points → points
• 调用: import fullseye as fs; fs.ledger.cutout(points, extent: 'Union[float, np.ndarray]', seed: 'int' = 0) -> 'Tuple[np.ndarray, np.ndarray]'(要直接调用实现,import pcl_augment; pcl_augment.cutout(points, extent: 'Union[float, np.ndarray]', seed: 'int' = 0) -> 'Tuple[np.ndarray, np.ndarray]';从台账取用则 ops3d.get("cutout"))
• 经台账调用的返回值: fullseye.ledger.cutout(...) 只返回**声明的 out 类型 points 的值**(底层函数还会返回辅助信息)。需要被丢弃的部分时,使用 fullseye.ledger.cutout.raw(...),或直接调用 pcl_augment.cutout。
去除空间中一个轴对齐盒区域,返回 `(kept, kept_idx)`(模拟局部缺失)。
> 以下的详细说明为原文 —— 摘要与标题已翻译。
既存の点を 1 つ一様サンプルして中心とし、辺長 `extent`(スカラ=立方体, または
`(3,)`=各軸辺長)のボックス内の点をすべて除去する。中心点自身が必ず入るため
最低 1 点は除去される。除去点は必ず辺長 `extent` のボックスに収まる(空間的に
局所的 = ランダム散布とは判別可能)。`kept == points[kept_idx]、extent > 0`。
`extent に正でない値や (3,) 以外の形を渡すと ValueError`。空入力は空と空
インデックスを返す。中心は `rng.integers(n) で選ぶ点なので、seed` が同じでも点の
並びが変わると別の場所が抜ける。ボックス判定は `|P - center| <= extent/2` の閉区間。
除去点数は密度次第で、`extent` を雲の大きさより大きくすると全点が消える。返り値は
`(kept float64 (M,3), kept_idx int64 (M,))`、順序は元のまま。一様な欠損は
`random_dropout`。
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• sensor_seg — py -3.11 examples_3d/sensor_seg.py
points 作为输入)points_to_voxel · gaussians_to_voxel · estimate_point_normals · to_points · match_points_ncc · match_pca · moment_axes · icp_point2point_3d
augment)jitter · random_rotation · random_scale · random_dropout · elastic_deform
*Provenance: pcl_augment.py — 3D 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.