pycvcam.core.Transform.constants#
- property Transform.constants: ndarray | None#
[Get/Set] to return the constants of the transformation.
The constants must be a 1-D float numpy array of shape (
n_constants,) wheren_constantsis the number of constants of the transformation.If the transformation does not have constants or they are not set, this property should return None.
Note
The given value is converted to a numpy array of
dtype=numpy.float64if it is not None.- Parameters:
value (Optional[ArrayLike]) – The constants of the transformation as a 1-D numpy array.
- Returns:
The constants of the transformation.
- Return type:
Optional[numpy.ndarray]
- Raises:
ValueError – If the constants are not a 1-D numpy array.