类名 Global

方法

# GDALApplyGeoTransform(padfGeoTransform, dfPixel, dfLine)

Applies the following computation, converting a (pixel, line) coordinate into a georeferenced (geo_x, geo_y) location.

参数:

名称 类型 描述
padfGeoTransform Float64Array

Six coefficient GeoTransform to apply.

dfPixel Number

Input pixel position.

dfLine Number

Input line position.

output location

Object

# GDALComposeGeoTransforms(padfGT1, padfGT2, padfGTOut)

The resulting geotransform is the equivalent to padfGT1 and then padfGT2 being applied to a point.

参数:

名称 类型 描述
padfGT1 Float64Array

the first geotransform, six values.

padfGT2 Float64Array

the second geotransform, six values.

padfGTOut Float64Array

the output geotransform, six values, may safely be the same array as padfGT1 or padfGT2.

# GDALGCPsToGeoTransform(pasGCPs, padfGeoTransform, bApproxOK)

Given a set of GCPs perform first order fit as a geotransform.

参数:

名称 类型 描述
pasGCPs Array.<GCP>

the list of GCP structures.

padfGeoTransform Float64Array

the six double array in which the affine geotransformation will be returned.

bApproxOK Boolean

If FALSE the function will fail if the geotransform is not essentially an exact fit (within 0.25 pixel) for all GCPs.

TRUE on success or FALSE if there aren't enough points to prepare a geotransform, the pointers are ill-determined or if bApproxOK is FALSE and the fit is poor.

Boolean

# GDALInvGeoTransform(gt_in, gt_out)

Invert Geotransform.

参数:

名称 类型 描述
gt_in Float64Array

Input geotransform (six doubles - unaltered).

gt_out Float64Array

Output geotransform (six doubles - updated).

TRUE on success or FALSE if the equation is uninvertable.

Number

类型定义

Object

# CalibrationParam

标定参数

属性:
Name Type Description
groundControlPointList Array.<GroundControlPoint>
Object

# CameraParam

相机内外参数

属性:
Name Type Attributes Description
cameraPosition Array.<Number>
orientation Object
heading Number <optional>
pitch Number <optional>
roll Number <optional>
hFOV Number
vFOV Number
Object

# GCP

Ground Control Point

属性:
Name Type Description
pszId String

Unique identifier, often numeric

pszInfo String

Informational message or ""

dfGCPPixel Number

Pixel (x) location of GCP on raster

dfGCPLine Number

Line (y) location of GCP on raster

dfGCPX Number

X position of GCP in georeferenced space

dfGCPY Number

Y position of GCP in georeferenced space

dfGCPZ Number

Elevation of GCP, or zero if not known

Object

# GroundControlPoint

标定配准参数

属性:
Name Type Description
id String

控制点标识

description String

控制的描述

pixelX Number

控制点在图像上的像素坐标x分量

pixelY Number

控制点在图像上的像素坐标y分量

x Number

控制点的地理坐标x分量

y Number

控制点的地理坐标y分量

z Number

控制点的地理坐标高程

Object

# VideoSource

视频源数据

属性:
Name Type Description
videoUrl String

视频源地址

protocol VideoSourceType

视频传输协议

构造函数
成员变量
方法
事件