-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
config.yaml
35 lines (34 loc) · 1.75 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Legacy simple-ortho configuration
camera:
name: Integraph DMC # Camera ID.
type: pinhole # Camera model type (pinhole, brown, fisheye, opencv).
im_size: [ 7680, 13824 ] # Image [width, height] in pixels.
focal_len: 120. # Focal length.
sensor_size: [ 92.160, 165.888 ] # Sensor/CCD [width, height] dimensions in same units as the focal length.
cx: 0. # Principal point x offset in normalised units.
cy: 0. # Principal point y offset in normalised units.
ortho:
# CRS of world coordinates and ortho image as an EPSG or WKT string. Can be omitted if the source image has a CRS.
crs:
# Interpolation type for resampling DEM (average, bilinear, cubic, lanczos, nearest).
dem_interp: cubic
# 1-based index of band in DEM image to use.
dem_band: 1
# Interpolation type for generating ortho image (average, bilinear, cubic, lanczos, nearest).
interp: cubic
# Remap the source image to the ortho per-band (True), or all bands at once (False - recommended).
per_band: False
# Build internal overviews.
build_ovw: True
# Overwrite ortho image if it exists.
overwrite: True
# Write an internal mask band - helps remove jpeg noise in nodata area. (None = write when jpeg compression is used).
write_mask:
# Remap source to ortho with full camera model (True), or undistorted source to ortho with pinhole model (False).
full_remap: True
# Data type of ortho image (uint8, uint16, float32, float64) (None = same type as source image).
dtype:
# Ortho pixel size [x, y] in units of the CRS.
resolution: [0.5, 0.5]
# Compression type (deflate, jpeg). (None = jpeg compression for uint8 data type, deflate otherwise).
compress: