get_distortion

giant.utilities.stereophotoclinometry:

giant.utilities.stereophotoclinometry.get_distortion(image_name, lithos_file)[source]

This function gets the distortion value from the lithos file pertaining to a specified image

Parameters:
  • image_name (str) – The name of the Image that the distortion belongs to

  • lithos_file (Path | str) – The lithos file to read from

Return distortion:

A numpy matrix vector containing the distortion model coefficients.

Return type:

ndarray