Click or drag to resize
XDL

XMIG Class

XMIG 클래스는 다중 센서모델로부터 영상 좌표의 정밀 위치를 결정한다.
Inheritance Hierarchy
SystemObject
  Pixoneer.NXDL.NSMXMIG

Namespace: Pixoneer.NXDL.NSM
Assembly: NXDLsm (in NXDLsm.dll) Version: 3.0.0.0
Syntax
C#
public class XMIG : IDisposable

The XMIG type exposes the following members.

Constructors
 NameDescription
Public methodXMIG XMIG 클래스의 기본 생성자로서, 멤버변수에 대하여 초기화를 수행한다.
Top
Methods
 NameDescription
Public methodExtractPosition(Int32) 입력된 다중 센서정보와 입력된 이미지 좌표로부터 지리적인 위치를 결정한다.
Public methodExtractPosition(XSensorModel, XVertex2d) 다중 센서정보와 이미지 좌표로부터 지리적인 위치를 결정한다.
Public methodExtractPosition(XSensorModel, XVertex2d, Int32) 다중 센서정보와 함께, 고정된 하나의 이미지 좌표와 나머지 이미지 좌표로부터 지리적인 위치를 결정한다.
Public methodGetConvergenceRate 지리적인 위치를 결정한 수렴값을 가져온다.
Public methodGetImageOptPoints 지리적인 위치를 결정하기 위한 센서모델에 대응되는 이미지 좌표를 설정한다.
Public methodGetParams 지리적인 위치를 결정하기 위한 수렴조건값을 가져온다.
Public methodSetImagePoints 지리적인 위치를 결정하기 위한 센서모델에 대응되는 이미지 좌표를 설정한다.
Public methodSetParams 지리적인 위치를 결정하기 위한 수렴조건을 설정한다.
Public methodSetSensorModels 지리적인 위치를 결정하기 위한 다중 센서정보를 설정한다.
Top
Example
2개의 IKONOS 형식의 RPC 데이터를 읽어 센서 모델링을 설정한 뒤 모델링 정보와 영상 좌표를 입력으로 하여 정밀 위치를 계산한다.
C#
XRpc smL = new XRpc();
XRpc smR = new XRpc();

string strFilePathL = "D:\\Sample\\ikonos_StereoEP_1m_BW_8bit\\po_120030_pan_0010000000.rpc";
string strFilePathR = "D:\\Sample\\ikonos_StereoEP_1m_BW_8bit\\po_120030_pan_0000010000.rpc";

String strError;
smL.LoadFromRPC(strFilePathL, eSensorRPCType.Ikonos, out strError);
smR.LoadFromRPC(strFilePathR, eSensorRPCType.Ikonos, out strError);

XSensorModel[] smList = new XSensorModel[2];
smList[0] = smL;
smList[1] = smR;

XVertex2d[] imgList = new XVertex2d[2];
imgList[0] = new XVertex2d(731, 336);
imgList[1] = new XVertex2d(779, 336);

XMIG mig = new XMIG();
XGeoPoint pos = mig.ExtractPosition(smList, imgList);
See Also