get_grayval_contour_xld — MV gray op

• Data kinds: image2d × keypoints → signal

• Call: import fullseye as fs; fs.ledger.get_grayval_contour_xld(image, contour, order=1) (to call the implementation directly, import mvimage; mvimage.get_grayval_contour_xld(image, contour, order=1); from the registry, opsmv.get("get_grayval_contour_xld"))

• HALCON equivalent: get_grayval_contour_xld (the HALCON reference is a useful guide to its meaning and parameters)

• GPU: none (CPU reference implementation only)

Usage

Read gray values along a contour by interpolation into one signal.

> The detailed description below is the original text — the summary and the headings are translated.

contour は (N, 2) の (row, col) か、輪郭が 1 本だけの XLD dict。order は補間の次数(0 最近傍 / 1 線形 / 3 三次)。画像の外の点があると ValueError(外挿の値を実測の顔で返さない)。空の入力(image が 0 要素)は ValueError。

Args:

image: (H, W) の画像。

contour: (N, 2) の点列、または {"shape", "cs"} の XLD dict。

order: 補間の次数(0 / 1 / 3)。

Returns:

長さ N の float 信号。

Detailed usage guide

• machine_vision_classics family guide

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)

• machine_vision_tour — py -3.11 examples/machine_vision_tour.py

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

—

Same category (gray)

atan2_image · area_center_gray · gray_histo · gray_projections


*Provenance: mvimage.py — MV 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.