polarization_render — SPECULAR polarization op

Datenarten: image2d × image2dpolsweep

Aufruf: import specularity; specularity.polarization_render(diffuse, specular, angles_deg=(0.0, 45.0, 90.0, 135.0), azimuth_deg=0.0) (oder opsspecular.get("polarization_render"))

Verwendung

Vorwärtsmodell eines Polarisatordurchlaufs: macht aus einer bekannten Aufteilung die Bilder, die eine Polarisationskamera aufzeichnen würde. → (N, H, W).

> Die ausführliche Beschreibung unten ist der Originaltext — Zusammenfassung und Überschriften sind übersetzt.

`I(t) = 0.5 * diffuse + specular * cos^2(t - azimuth)`. The diffuse term is

treated as completely unpolarised, so it contributes half its radiance at

every analyser angle; the specular term is treated as completely linearly

polarised at *azimuth_deg*, so it follows Malus's law. Those are the two

assumptions :func:polarization_separate inverts, and rendering with them

is how the inversion gets a ground truth to be exact against.

Physically the assumptions hold near Brewster's angle for a dielectric and

fail at normal incidence; the module docstring says where. This operator

does not model the incidence angle at all — it takes the two radiance maps

you specify and produces the sweep they imply.

Raises `ValueError`: *diffuse* / *specular* are not 2-D arrays of the

same shape, or are complex / masked / non-finite / string-typed; either has

a negative value (a negative radiance is not a scene); *angles_deg* has

fewer than 3 entries or does not determine the three unknowns.

Ausführlicher Anwendungsleitfaden

Leitfaden zur Familie specular_photometric

Referenzen (Beispieldaten, Literatur)

• Katalog der Beispieldaten (Download-URLs / Lizenzen) — 2-D nutzt skimage.data (BSD/Public Domain) plus synthetische Bilder, 3-D nennt Download-URLs echter Datenquellen (Stanford, PDS, …).

• Herkunft und Literatur der Operatoren — die Quellen der Forschung/Verfahren, auf denen diese Operatorfamilie beruht.

• Der kanonische Algorithmus (Autor, Jahr) und seine Anwendungen stehen im Familienleitfaden oben.

Ausführbare Beispiele (verifizierte Samples, die diesen Operator wirklich aufrufen)

specular_photometricpy -3.11 examples/specular_photometric.py

Typkompatible Folge-Operatoren (nehmen polsweep als Eingabe)

polarization_separate · polarization_dolp_map · polarization_stokes

Gleiche Kategorie (polarization)

polarization_separate · polarization_dolp_map · polarization_stokes


*Provenance: specularity.py — SPECULAR Operator-Registry. Diese Notiz wird von tools/opdocs.py md erzeugt (nicht von Hand bearbeiten).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.