plot_distortion_map

giant.calibration.visualizer:

giant.calibration.visualizer.plot_distortion_map(model, pdf_name=None)[source]

This function produces a distortion map for the provided camera model.

If the pdf_name param is provided, the figure will be saved to a pdf file of the same name, and the figure will not be displayed to the user.

Parameters:
  • model (CameraModel) – The camera model to generate the distortion map for

  • pdf_name (Path | str | None) – Used as the file name for saving the figure to pdf