Correctly detect 4-component images