Virtual Slit for Improved Resolution in Longitudinal Emittance Measurement