Detecting PWM Flicker and Temporal Dimming Patterns Using Solid Black and White frames