ptypy.experiment.ID16Anfp.undistort#

ptypy.experiment.ID16Anfp.undistort(frame, delta)#

Frame distortion correction (linear interpolation) Any value outside the frame is replaced with a constant value (mean of the complete frame)

Parameters:
  • frame (ndarray) – The input frame data

  • delta (2-tuple) – Containing the horizontal and vertical displacements respectively.

Returns:

outf – The corrected frame of same dimension and type as frame.

Return type:

ndarray