Analysis and Compensation of Rolling Shutter Effect