stroke op• 데이터 종류: image2d → pairs
• 호출: import fullseye as fs; fs.ledger.stipple_points_from_image(image, n_points, iterations=30, gamma=1.0, floor=0.02, seed=0, metric='euclidean')(구현을 직접 호출하려면 import printpath; printpath.stipple_points_from_image(image, n_points, iterations=30, gamma=1.0, floor=0.02, seed=0, metric='euclidean'), 원장에서 가져오려면 opsprintpath.get("stipple_points_from_image"))
> 이 연산자의 설명은 아직 번역이 없습니다. 원문을 그대로 싣습니다.
濃淡を点の密度に写す(重みつき Lloyd = 重心ボロノイ)。→ `pairs`
暗いところに点が密に集まる。返るのは `(n_points, 2)` の (row, col)。
引数:
image: 明るさ `[0, 1]` の 2-D(または色。輝度に落とす)。
n_points: 点の数。
iterations: Lloyd の反復回数。
gamma: 重みを `darkness ** gamma` にする(1 = 暗さそのまま)。
floor: 重みの下限。0 にしない —— 真っ白な領域の重みが厳密に 0 だと
そこへ入った点が動けず(重心が 0/0)、位置が入力に依らなくなる。
seed: 初期配置の乱数。
metric: いまは `"euclidean"` のみ。
返り値のほかに、収束の様子は :func:stipple_points_from_image を
`iterations` を変えて呼び比べれば測れる(Lloyd のエネルギーは単調減少する)。
★真っ白な画像でも点は等間隔に散る(密度が一定なら重心ボロノイは均等)。
そこが「濃淡を読めている」ことの対照群になる。
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.
• poc_one_stroke_epicycles — py -3.11 examples/poc_one_stroke_epicycles.py
pairs 를 입력으로 받는 것)stipple_energy · stroke_tour_closed · mst_length · stroke_resample_closed · stroke_tone_error · mosaic_tiles_render
stroke)stipple_energy · stroke_tour_closed · mst_length · stroke_resample_closed · stroke_tone_error
*Provenance: printpath.py — PRINTPATH 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.