When you take a photo of a Pokémon card under an overhead ceiling bulb or with your phone flash on, you get a bright white glare spot right across the card face.
Generic AI apps mistake this hotspot for a massive scratch or water stain. Why? Because the pixels in that zone are saturated ($255, 255, 255$).
Diffuse vs. Specular Light
Under physics, light bouncing off a trading card is split into two distinct physical phenomena (the Dichromatic Reflection Model):
- Diffuse reflection ($I_{\text{diffuse}}$): Light penetrates into the ink and paper fibers, picks up the color pigment (e.g. Charizard's orange belly), and scatters uniformly in all directions.
- Specular reflection ($I_{\text{specular}}$): Light bounces directly off the smooth polymer clear coat or acrylic slab without entering the ink. It retains the exact color of the bulb (pure white glare).
"Separating specular and diffuse reflectance components allows invariant inspection of surface micro-topography independent of ambient light source direction and intensity."
Chromaticity Analysis in Color Space
Because specular glare has the chromaticity of the illuminant (white) while card artwork has high color saturation, GradieQ computes the local chromaticity distance in normalized color space:
Zones where $S_{\text{glare}} \to 1$ and luminance saturates are flagged as optical specular occlusions. GradieQ withholds judgment on obscured pixels rather than hallucinating paper creases or scratches.
This prevents false-positive grade deductions and ensures every reported defect corresponds to physical card damage, not your desk lamp.