tb_zero_crossings_funct_1d — 2D typed op

• Data kinds: signal → signal

• Call: fullseye.apply(img, "tb_zero_crossings_funct_1d", a=0.5, b=0.5) (2-D model = एक image + दो scalar knobs a,b∈[0,1])

*कोई figure नहीं: op चला पर खाली परिणाम लौटाया (synthetic input पर इस op का कोई उत्तर नहीं है — zero crossings नहीं, outliers नहीं, आदि)। खाली परिणाम को figure नहीं बनाया जाता। नीचे "Studio में आज़माएँ" वाला program चलता है, इसलिए उसे अपनी image पर आज़माएँ।*

उपयोग

वे indices जहाँ function का sign बदलता है (HALCON zero_crossings_funct_1d)।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

Returns the integer indices i with sign(y[i]) * sign(y[i+1]) < 0 — the sample *before* each crossing. An empty input returns an empty index array (degenerate case, not an error).

Honest limitation: the test is a strict sign product, so a crossing that lands exactly on a zero sample ([-1, 0, 1]) is *not* reported, nor is a touch of zero without a sign change ([1, 0, 1]).

:param y: 1-D function (may be empty). :returns: int index array (possibly empty). :raises ValueError: non-1-D / NaN / Inf input.

Typed bridge of the 1d op zero_crossings_funct_1d into the 2-D evolution registry: the same implementation, called under the op(v, a, b) convention. This op has no tunable parameter; a and b are unused.

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

नीचे के उदाहरण मूल ledger op zero_crossings_funct_1d को call करते हैं। यह bridge op वही implementation है, बस fn(v, a, b) convention के अनुसार ढाला गया है, इसलिए व्यवहार वैसा ही लागू होता है (केवल call का रूप अलग है)।

• signal_funct1d — py -3.11 examples/signal_funct1d.py

वे अगले ops जिनसे type जुड़ता है (signal को input के रूप में लेते हैं)

identity · tb_create_funct_1d_array · tb_smooth_funct_1d_gauss · tb_smooth_funct_1d_mean · tb_derivate_funct_1d · tb_integrate_funct_1d · tb_abs_funct_1d · tb_negate_funct_1d

इसी category के (typed)

tb_points_to_voxel · tb_estimate_point_normals · tb_iss_keypoints · tb_project_points · tb_render_point_depth · tb_statistical_outlier_removal · tb_radius_outlier_removal · tb_voxel_grid_downsample


*Provenance: ops.py — 2D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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