polarization op• 데이터 종류: polsweep → stokes
• 호출: import specularity; specularity.polarization_stokes(images, angles_deg=(0.0, 45.0, 90.0, 135.0), max_violation_frac=0.0)(또는 opsspecular.get("polarization_stokes"))
편광판 회전의 장면 적분 Stokes 벡터. → (4,), :func:optics.stokes_analyze 에 그대로 넘길 수 있습니다.
> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.
Stokes parameters are linear in radiance, so the spatial mean of the frames
has a Stokes vector that is the mean of the per-pixel ones — the vector a
non-imaging polarimeter looking at the whole field would report. Fitting
`I(t) = 0.5 (S0 + S1 cos 2t + S2 sin 2t) gives (S0, S1, S2)` directly.
S3 is always exactly 0, and that is a limitation, not a measurement. A
set of linear analysers cannot see circular polarisation; a quarter-wave
plate is needed. The returned vector is therefore the linear part of the
truth, and :func:optics.stokes_analyze will report `handedness="linear"`
for it no matter what the scene actually did. Returning an invented `S3`
would be worse, and returning a 3-vector would break the Stokes contract the
optics family is built on.
The result satisfies that contract by construction — ``S0 >= sqrt(S1^2 +
S2^2 + S3^2)``, i.e. degree of polarisation at most 1 — because the same
non-negativity check that guards :func:polarization_separate is exactly
the condition for it. That is why `optics.stokes_analyze` accepts the
output without a further test.
Raises `ValueError: as :func:polarization_separate`.
• specular_photometric 패밀리 가이드
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.
• poc_polarization_specular — py -3.11 examples/poc_polarization_specular.py
• specular_photometric — py -3.11 examples/specular_photometric.py
stokes 를 입력으로 받는 것)—
polarization)polarization_render · polarization_separate · polarization_dolp_map
*Provenance: specularity.py — SPECULAR 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.