Click or drag to resize
XDL

XVideoEncoderEncodeUasSensorParameters(XVertex3d, XVertex3d, XVertex3d, Boolean, XVertex2d, DateTime, Boolean, Int64, Boolean) Method

MISB ST 0601에 따라 센서/플랫폼 자세, 위치, 화각을 주어진 생성 시각과 PTS로 기본 동영상 데이터 스트림에 인코딩한다.

Namespace: Pixoneer.NXDL.NXVideo
Assembly: NXVideo (in NXVideo.dll) Version: 2.0.3.38
Syntax
C#
public bool EncodeUasSensorParameters(
	XVertex3d platformYawPitchRollDegree,
	XVertex3d lonLatHgtDegree,
	XVertex3d sensorAziElevRollDegree,
	bool bMergeAttitude,
	XVertex2d fov,
	DateTime timestamp,
	bool bFollowVideo,
	ref long pts,
	bool streamTimeBase
)

Parameters

platformYawPitchRollDegree  XVertex3d
플랫폼의 방위각, 고각, 회전각을 순서대로 도 단위로 나타낸 3차원 벡터.
lonLatHgtDegree  XVertex3d
센서 위치를 도 단위의 경도와 위도, 미터 단위의 타원체 고도 순서대로 나타낸 3차원 벡터.
sensorAziElevRollDegree  XVertex3d
플랫폼 자세에 상대적인 센서의 방위각, 고각, 회전각을 순서대로 도 단위로 나타낸 3차원 벡터.
bMergeAttitude  Boolean
플랫폼과 센서 자세를 결합하여 하나의 자세로 기록하는 방식 설정. 결합 시 플랫폼 자세는 모두 0이고 해상도가 높은 센서 상대자세에 결합 자세를 기록한다.
fov  XVertex2d
센서 가로, 세로 화각을 도 단위로 나타낸 2차원 벡터.
timestamp  DateTime
메타데이터 수집 시각.
bFollowVideo  Boolean
비디오 프레임 이후에 데이터 프레임을 기록하도록 하는 설정값. 거짓이면 비디오 프레임과 무관하게 기록한다.
pts  Int64
[In/Out] 프레임 번호와 같은 입력 타임스탬프를 지정하고 실제 동영상의 PTS를 얻어온다. XVideoChannel.InvalidPts를 입력으로 주면 인코더에서 인코딩 파라미터에 따라 자동으로 PTS를 할당한다.
streamTimeBase  Boolean
PTS를 비디오 프레임 순번이나 밀리초(실시간)이 아닌 스트림 시간 기준(예: MPEG-2 90kHz)으로 설정한 경우를 나타낸다.

Return Value

Boolean
데이터 프레임 기록 성공 여부.
See Also