Principal components analysis for PIV applications