ViolaJonesYiqingJL: add parameters to control use of mirror filter and select output image (maybe bugged, not fully tested)