fit op• 데이터 종류: mask → measurement
• 호출: import fullseye as fs; fs.ledger.region_perimeter_estimate(region, method: 'str' = 'skimage') -> 'float'(구현을 직접 호출하려면 import measure; measure.region_perimeter_estimate(region, method: 'str' = 'skimage') -> 'float', 원장에서 가져오려면 opsfit.get("region_perimeter_estimate"))
• GPU: 없음(CPU 참조 구현만)
선택한 추정기로 이진 영역의 둘레를 측정합니다。
> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.
method='skimage' uses skimage.measure.perimeter with its four-neighbour convention, the same estimator used by the existing contlength and compactness operators for a single connected component. 'crofton' uses skimage.measure.perimeter_crofton(..., directions=4). 'chain' counts exposed four-direction pixel edges (a Freeman 4-chain length); it is available without scikit-image and is exact for an axis-aligned pixel square, but has a large positive bias for a circle.
The value is in pixels and includes every foreground component and every hole. Foreground means region > 0.5. An empty input (region with zero elements) returns an empty perimeter (reason: without foreground pixels, no exposed edge exists to measure); its numeric value is 0.0. 空の入力(region が 0 要素)は空の周囲長を返す(理由: 前景画素が無く、測る露出辺も無い)。数値は 0.0 となる。これは普遍的に真な周囲長を選ぶのではなく、次の *measurement convention* である:
on the fixed closed-form probes (disc r=96, square side 128), the ratios to truth are respectively 1.0518 / 0.9922 (skimage), 1.0016 / 0.9459 (crofton), and 1.2799 / 1.0000 (chain). Do not substitute its result into an existing feature threshold without revalidating that threshold.
region must be a finite numeric 2-D array. Invalid dimensionality, values, or a method other than 'skimage', 'crofton' or 'chain' raises ValueError; the scikit-image methods raise ImportError when that optional dependency is unavailable. 既存 op の既定値は変更しない。推定量を選ぶ必要があるときだけ、この関数を明示して使う。
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.
• shape_factors_closed_form — py -3.11 examples/shape_factors_closed_form.py
measurement 를 입력으로 받는 것)—
fit)fit_circle_geometric · fit_curve_principal_axis
*Provenance: measure.py — FIT 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.