Controllable transmission of vector beams in dichroic medium