preston_removal_map — DRIVE polish op

• Data kinds: matrix × scalar × scalar × scalar → image2d

• Call: import fullseye as fs; fs.ledger.preston_removal_map(path, force, radius: 'float', k_p: 'float', shape=(128, 128), res: 'float' = 0.0001, kind: 'str' = 'flat', speed=None, times=None, spin: 'float' = 0.0, estar=None, step=None, method: 'str' = 'direct') -> 'np.ndarray' (to call the implementation directly, import polish; polish.preston_removal_map(path, force, radius: 'float', k_p: 'float', shape=(128, 128), res: 'float' = 0.0001, kind: 'str' = 'flat', speed=None, times=None, spin: 'float' = 0.0, estar=None, step=None, method: 'str' = 'direct') -> 'np.ndarray'; from the registry, opsdrive.get("preston_removal_map"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

軌跡と押す力から、Preston の式 dh/dt = k_p p |v_rel| を積分した除去の深さの地図 [m] (形 `shape、画素 res`)。

`path (N, 2) は工具の中心の xy(NaN の行で工具を持ち上げる)、force` はスカラーか行ごとの値(区間の中で線形に補間)、

`speed [m/s] か times [s] (行ごと)のどちらか。spin` [rad/s] で工具が回ると相対速度に ω ẑ × (x − c) が足される。

`method="direct" は小区間(既定の刻み res/4)ごとに窓の画素で足す。method="fft"` は「軌跡の線密度の画像」と正規化した

圧力の窓(:func:preston_pressure_kernel)の畳み込み —— 回らない・力が一定・速さが一定の時だけ使える第 2 の実装で、

体積 Σ h res² = k_p F × (窓の半分だけ広げた地図の中の軌跡の長さ)を、地図の外にこぼれる分を除いて保つ。

Raises ValueError: 形・数の検査、速さも時刻も無い、時刻が増えない、fft で回る / 力が変わる / 時刻で速さが変わる。

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.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_polish_wipe_measure — py -3.11 examples/poc_polish_wipe_measure.py

Ops the type connects to (they accept image2d as input)

flow_from_depth_motion · ttc_truth · ttc_from_flow · foe_from_flow · perlin2 · fbm_height · fbm_gradient · radial_periodogram

Same category (polish)

preston_pressure_kernel · preston_track_profile · wipe_band_width · raster_wipe_area · coat_image · coat_thickness_from_image · wipe_coverage · band_width_profile


*Provenance: polish.py — DRIVE 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.