pyorc.Transect.get_transect_perspective#
- Transect.get_transect_perspective(h=None, within_image=True)[source]#
Get row, col locations of the transect coordinates.
- Parameters:
h (float, optional) – Water level (measured locally) used to calculate surface coordinates. If not provided, bottom coordinates. are used.
within_image (bool, optional) – If True (default), removes points outside the camera objective.
- Returns:
array of projected transect points based on the camera configuration and at given water level (if provided).
- Return type:
numpy.ndarray