reflectance op• 데이터 종류: normalmap → rgbimage
• 호출: import specularity; specularity.dichromatic_render(normals, albedo_rgb=(0.8, 0.55, 0.35), light=(0.3, 0.2, 1.0), illuminant_rgb=(1.0, 1.0, 1.0), view=(0.0, 0.0, 1.0), specular=0.25, model='blinn_phong', shininess=32.0, roughness=0.3, f0=0.04, ambient=0.0)(또는 opsspecular.get("dichromatic_render"))
이색성 모델의 순방향: 알려진 하이라이트를 렌더링해 분리 결과를 대조할 수 있게 합니다. → (H, W, 3).
> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.
`I = albedo_rgb * max(n.l, 0) + specular * lobe(n) * illuminant_unit`, the
body term coming straight from :func:photometric.render_lambertian (called,
not re-implemented, so the two modules cannot drift apart in convention) and
the interface term carrying the illuminant colour, which is what makes
the image obey the dichromatic model exactly.
*albedo_rgb* may be a single `(3,)` colour — the single-material case that
:func:specular_diffuse_split handles without help — or an `(H, W, 3)`
map, which is the textured case that needs `body_rgb` passed to the split.
*model* selects the lobe: `"blinn_phong"` (*shininess*) or
`"microfacet"` (*roughness*, *f0*). Both are available on purpose: the
separation operators must be blind to the lobe shape, and swapping the model
is how that is tested rather than asserted.
This is a shading model, not light transport. No interreflection, no
cast shadow, no subsurface term, no occlusion between pixels — the same
boundary :mod:visiondesign draws. Its purpose is a synthetic image whose
decomposition is known exactly.
Raises `ValueError`: geometry problems as in
:func:brdf_blinn_phong; *albedo_rgb* is neither `(3,)` nor
`(H, W, 3)`; *specular* or *ambient* is negative, non-finite, a string or
a bool; *model* is not in :data:BRDF_MODELS.
• specular_photometric 패밀리 가이드
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.
• specular_photometric — py -3.11 examples/specular_photometric.py
rgbimage 를 입력으로 받는 것)specular_diffuse_split · specular_coefficient_map · specular_free_transform · illuminant_from_dichromatic_planes
reflectance)brdf_blinn_phong · brdf_microfacet
*Provenance: specularity.py — SPECULAR 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.