fullseye

random_dropout — 3D augment op

使い方

点の ratio 割合をランダム除去し (kept, kept_idx) を返す(欠損の模倣)。

残す点数は round((1-ratio)*N)kept_idx は元配列への昇順インデックスで、 kept == points[kept_idx] が厳密に成り立つ。オクルージョン/疎な視点による 点欠損を学習で再現する。0 <= ratio <= 1 を要求。

ratio が [0,1] の外なら ValueErrorratio=1 は空 (0,3) と空インデックス、 ratio=0 は全点(順序は元のまま)。残す点数は Python の round(偶数丸め)で決まる ので .5 端では偶数側に寄る。seedpermutation が決まり決定論的。返り値は (kept float64 (M,3), kept_idx int64 (M,))。除去は空間的に一様なので、局所的な 欠損(遮蔽)を模すには cutout を使う。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(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 · elastic_deform · cutout


Provenance: pcl_augment.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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