lane_center_path — DRIVE lane op

• 데이터 종류: table × table → table

• 호출: import fullseye as fs; fs.ledger.lane_center_path(left, right, *, lane_width=3.5, samples=51, band_inset=0.2)(구현을 직접 호출하려면 import laneops; laneops.lane_center_path(left, right, *, lane_width=3.5, samples=51, band_inset=0.2), 원장에서 가져오려면 opsdrive.get("lane_center_path"))

• GPU: 없음(CPU 참조 구현만)

사용법

좌우 경계에서 차선 중심 경로와 주행 가능 띠를 반환한다.

> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.

両側があれば共通観測範囲で中点を取る。片側だけなら既知のlane_widthの半分だけ内側へずらし、確信度をSINGLE_BOUNDARY_CONFIDENCE_SCALE倍に下げる。

Parameters

left, right : table or None

lane_boundary_fitの結果。欠測側はNoneか{"valid":False}。

lane_width, samples, band_inset

既知の車線幅[m]、標本数、境界から走行帯を内側へ引く量[m]。両側がある場合も、

観測した幅が既知幅と整合することを検査する。

Returns

table

path(x,y)、band_left/right、閉じたcorridor_polygon、幅、確信度、使用した側。

English: average two fitted boundaries after checking their observed width against the supplied known lane width, or offset a single observed boundary by half the known lane width with reduced confidence. Before a one-sided offset, it rejects a curvature radius no larger than any constructed offset, and rejects a cusp, tangent reversal, or self-intersection with valid=False. It returns the centre path and an inset drivable corridor; it does not check vehicle footprint or obstacles.

呼び出し例::

import numpy as np

import laneops

left = {"coefficients":np.array([-1.75,0.,0.]), "observed_y":np.array([0.,20.]), "confidence":1.}

right = {"coefficients":np.array([1.75,0.,0.]), "observed_y":np.array([0.,20.]), "confidence":1.}

out = laneops.lane_center_path(left, right)

assert np.allclose(out["path"][:, 0], 0.) and np.allclose(out["lane_width_samples"], 3.5)

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

• lane_ops_tour — py -3.11 examples/lane_ops_tour.py

타입이 이어지는 다음 연산자(table 를 입력으로 받는 것)

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

같은 카테고리(lane)

color_rule_mask · plane_topview_color · lane_boundary_fit · stop_line_detect


*Provenance: laneops.py — DRIVE 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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