Method for non-contact measurement of mechanical oscillations parameters by means of image sensor