SplitCamera.overwrite¶
giant.camera_models.split_camera
:
- SplitCamera.overwrite(model)[source]¶
Replace self with the properties of
model
in place.This method overwrites the properties of both component models (model1 and model2) with the corresponding properties from the input model. It is primarily used in the calibration classes to maintain the link between the internal and external camera models.
- Parameters:
model (CameraModel) – The SplitCamera model to overwrite self with
- Raises:
ValueError – When
model
is not an instance of SplitCamera