variation op• 데이터 종류: video → table
• 호출: import fullseye as fs; fs.ledger.varmodel_alignment(stack, max_misalign_px=0.5)(구현을 직접 호출하려면 import varmodel; varmodel.varmodel_alignment(stack, max_misalign_px=0.5), 원장에서 가져오려면 opsspc.get("varmodel_alignment"))
각 양품이 그룹의 전형적 위치에 대해 갖는 평행이동 어긋남과 허용치까지의 여유 (table).
> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.
Each image of stack (n, H, W) is phase-correlated (filters_freq.phase_correlation_fft) against a reference built from the stack itself (the most typical sample, then the registered mean); the integer peak is refined to 1/20 px by an upsampled DFT (Guizar-Sicairos et al. 2008). Offsets are relative to the median offset, so a common shift of every sample is not a misalignment. Returns offset (n, 2) = (row, col) in px (positive = the sample sits further down / right than the typical one), abs_offset (n,) = the larger of the two, margin_px = max_misalign_px - abs_offset (negative = this sample breaks the tolerance), ok (all margins >= 0), worst (index of the most shifted sample) and psr (peak-to- sidelobe ratio of the correlation), shift_sd_px (Cramér–Rao lower bound of the offset's
spread: noise variance over the structural gradient energy of the registered mean; the window makes the real spread a few times larger) and observable. A featureless or pure-noise stack has no structure, so its offsets cannot be measured (observable=False, offsets reported as 0, shift_sd_px capped at the image size) — and for the same reason a shift cannot fatten its band, so such a stack is not refused.
Why it matters: a per-pixel spread learned from a misaligned stack is inflated wherever the image has gradient (edges), so the tolerance band gets fatter and real defects there are missed.
Raises ValueError on an empty stack, a stack that is not (n, H, W) / a list of equal 2-D images, non-finite values, or max_misalign_px <= 0.
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.
• poc_good_sample_variation_model — py -3.11 examples/poc_good_sample_variation_model.py
table 를 입력으로 받는 것)msa_anova_table · msa_gauge_rr · msa_bias_linearity · msa_attribute_agreement · gum_standard_uncertainty · gum_propagate · gum_expanded · gum_monte_carlo
variation)varmodel_band_k · varmodel_fit · varmodel_calibrate · varmodel_score
*Provenance: varmodel.py — SPC 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.