Polarization contrast between a target and its background
Source:R/polarization.R
polarization_contrast.RdHow distinct a target's polarization is from its background, for a polarization-sensitive viewer. Each polarization state is mapped to its normalised linear-polarization (Stokes) coordinates $$q = DoP\cos 2\psi, \qquad u = DoP\sin 2\psi,$$ where \(\psi\) is the angle of polarization; the polarization distance is the Euclidean separation in this plane, $$\Delta P = \sqrt{(q_t - q_b)^2 + (u_t - u_b)^2}.$$ The factor of two in the angle correctly handles the 180-degree periodicity of polarization orientation, so orthogonal e-vectors (90 degrees apart) at equal degree of polarization give the maximal angular contrast. This is the geometric core of How & Marshall's (2014) polarization-distance model.
Value
A data frame with columns delta_dop (absolute difference in
degree of polarization), delta_aop (axial angular difference in
degrees, [0, 90]), and distance (the polarization distance
\(\Delta P\)).