Image Processing¶
Description¶
Module: geocompy.geo.img
Definitions for the GeoCOM Imaging subsystem.
Types¶
GeoComIMG
Definitions¶
- class GeoComIMG(parent: GeoComType)[source]¶
Imaging subsystem of the GeoCOM protocol.
This subsystem provides access to the telescoping camera functions for instruments that possess such functionality.
Added in version GeoCOM-TPS1200.
- Parameters:
- parent: GeoComType¶
The parent protocol instance of this subsystem.
-
get_telescopic_configuration(at: Device | str =
Device.CFCARD) GeoComResponse[tuple[int, int, CameraFunctions, str]][source]¶ RPC 23400,
IMG_GetTccConfigGets the current telescopic camera settings on the specified memory device.
- Parameters:
- Returns:
- Params:
int: Current image number.
int: JPEG compression quality [0; 100]%
CameraFunctions: Current camera function combination.
str: File name prefix.
- Error codes:
FATAL: CF card is not available, or config file does not exist.IVVERSION: Config file version differs from system software.NA: Imaging license not found.
- Return type:
See also
-
set_telescopic_configuration(imgnumber: int, quality: int, functions: CameraFunctions | int, prefix: str, saveto: Device | str =
Device.CFCARD) GeoComResponse[None][source]¶ RPC 23401,
IMG_SetTccConfigSets the telescopic camera settings on the specified memory device.
- Parameters:
- Returns:
- Error codes:
FATAL: CF card is not available or full, or any parameter is out of valid range.NA: Imaging license not found.
- Return type:
- set_telescopic_exposure_time(time: int) GeoComResponse[None][source]¶
RPC 23403,
IMG_SetTCCExposureTimeAdded in version GeoCOM-VivaTPS.
Sets the exposure time for the telescopic camera.
- Parameters:
- Return type:
-
take_telescopic_image(device: Device | str =
Device.CFCARD) GeoComResponse[int][source]¶ RPC 23401,
IMG_SetTccConfigTakes image with the telescopic camera, on the specified memory device.
- Parameters:
- Returns:
- Params:
int: Number of new image.
- Error codes:
IVRESULT: Not supported by telescope firmware.FATAL: CF card is not available or is full.NA: Imaging license not found.
- Return type: