local_min_max_funct_1d — ONED function op

データ種: signaltable

呼び出し: import fullseye as fs; fs.ledger.local_min_max_funct_1d(y) (実装を直接呼ぶなら import funct1d; funct1d.local_min_max_funct_1d(y)、台帳から引くなら ops1d.get("local_min_max_funct_1d"))

使い方

厳密な極大・極小の添字(HALCON `local_min_max_funct_1d`)。

> 以下の詳細説明は原文のままです —— 要約と見出しは訳出済み。

`{"max": indices, "min": indices} where index i` is a maximum iff

`y[i] > y[i-1] and y[i] > y[i+1]` (mirrored for minima). Inputs shorter

than 3 samples have no interior point and return two empty arrays

(degenerate case, not an error).

Honest limitation: inequalities are strict — plateau extrema (equal

neighbouring samples at the top/bottom) are not reported, and the boundary

samples `0 and n-1` are never extrema.

:param y: 1-D function (may be empty).

:returns: dict `{"max": int array, "min": int array}`.

:raises ValueError: non-1-D / NaN / Inf input.

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

• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。

• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。

• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。

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

poc_web_roll_periodicitypy -3.11 examples/poc_web_roll_periodicity.py

signal_funct1dpy -3.11 examples/signal_funct1d.py

型が繋がる次の op(table を入力に取れる)

同カテゴリ(function)

create_funct_1d_array · create_funct_1d_pairs · smooth_funct_1d_gauss · smooth_funct_1d_mean · derivate_funct_1d · integrate_funct_1d · zero_crossings_funct_1d · abs_funct_1d


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

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