Enumerations¶
- class orthority.enums.CameraType(value)¶
Bases:
_StrChoiceEnumCamera model types.
- pinhole = 'pinhole'¶
Pinhole frame camera model.
- brown = 'brown'¶
Brown-Conrady frame camera model.
Compatible with OpenDroneMap / OpenSfM
perspective,simple_radial,radialandbrownmodel parameters, and the 4- and 5-coefficient versions of the OpenCV general model.
- fisheye = 'fisheye'¶
Fisheye frame camera model.
Compatible with OpenDroneMap / OpenSfM
fisheye, and OpenCV fisheye model parameters.
- opencv = 'opencv'¶
- rpc = 'rpc'¶
RPC camera model.
- class orthority.enums.Interp(value)¶
Bases:
_StrChoiceEnumInterpolation types.
- nearest = 'nearest'¶
Nearest neighbor interpolation.
- average = 'average'¶
Average input pixels over the corresponding output pixel area (suited to downsampling).
- bilinear = 'bilinear'¶
Bilinear interpolation.
- cubic = 'cubic'¶
Bicubic interpolation.
- lanczos = 'lanczos'¶
Lanczos windowed sinc interpolation.
- to_rio()¶
Convert to rasterio resampling type.
- Return type:
- class orthority.enums.Compress(value)¶
Bases:
_StrChoiceEnumCompression types.
- jpeg = 'jpeg'¶
JPEG compression.
- deflate = 'deflate'¶
Deflate compression.
- lzw = 'lzw'¶
LZW compression.
- class orthority.enums.CsvFormat(value)¶
Bases:
EnumType of the position and orientation values in a CSV exterior parameter file.
- xyz_opk = 1¶
Projected (x, y, z) position and (omega, phi, kappa) orientation.
- xyz_rpy = 2¶
Projected (x, y, z) position and (roll, pitch, yaw) orientation.
- lla_opk = 3¶
Geographic (latitude, longitude, altitude) position and (omega, phi, kappa) orientation.
- lla_rpy = 4¶
Geographic (latitude, longitude, altitude) position and (roll, pitch, yaw) orientation.