Click or drag to resize
XDL

XsmUpdateRPCModel Method (XRpc, Double, Double, Double, Double, Double, Double)

기존의 RPC와 보정계수를 이용하여 새로운 RPC모델을 생성한다.
dr = a0 + a1*r + a2*c, dc = b0 + b1*r + b2*c

Namespace:  Pixoneer.NXDL.NSM
Assembly:  NXDLsm (in NXDLsm.dll) Version: 1.2.817.72
Syntax
C#
public static bool UpdateRPCModel(
	ref XRpc rpc,
	double a0,
	double a1,
	double a2,
	double b0,
	double b1,
	double b2
)

Parameters

rpc
Type: Pixoneer.NXDL.NSMXRpc
[Out] 개선된 XRpc객체.
a0
Type: SystemDouble
[In] RPC 보정계수 a0
a1
Type: SystemDouble
[In] RPC 보정계수 a1
a2
Type: SystemDouble
[In] RPC 보정계수 a2
b0
Type: SystemDouble
[In] RPC 보정계수 b0
b1
Type: SystemDouble
[In] RPC 보정계수 b1
b2
Type: SystemDouble
[In] RPC 보정계수 b2

Return Value

Type: Boolean
성공이면 true, 실패면 false를 리턴
Examples
This is example #1:
string strFilePathL = "D:\\Sample\\sample.rpc";
XRpc rpc = new XRpc();
String strError;
rpc.LoadFromRPC(strFilePathL, eSensorRPCType.Ikonos, out strError);

// Updates rpc using Correction coefficients
Xsm.UpdateRPCModel(ref rpc, 18.14746, 0.0001313268, 0.0001814451, -9.023821, 0.000002151604, -0.0004230786);
See Also