Click or drag to resize
XDL

XFrameSensor Class

XFrameSensor 클래스는 Frame Camera의 센서 모델링을 수행한다.
Inheritance Hierarchy

Namespace:  Pixoneer.NXDL.NSM
Assembly:  NXDLsm (in NXDLsm.dll) Version: 1.2.817.72
Syntax
C#
public class XFrameSensor : XSensorModel

The XFrameSensor type exposes the following members.

Constructors
  NameDescription
Public methodXFrameSensor
XFrameSensor클래스의 기본 생성자로서, 멤버변수에 대하여 초기화를 수행한다.
Public methodXFrameSensor(XFrameSensor*)
Public methodXFrameSensor(IntPtr)
Top
Methods
  NameDescription
Public methodCalcBound
센서 모델을 통해 영상이 촬영될 지리 좌표 영역을 얻는다.
Public methodGetModelParams
설정된 센서 모델 파라미터를 얻는다.
Public methodInit
파라미터를 초기화한다.
Public methodIsValid
입력된 파라미터가 유효한지 판단한다.
Public methodSetParamsEarth
지구좌표 시스템 센서 모델 파라미터를 설정한다.
Public methodSetParamsLocal
로컬 좌표 시스템 센서 모델 파라미터 설정
Top
Remarks

Examples
This is example for Local:
XSpatialReference sr = new XSpatialReference();
sr.importFromEPSG(40055); // Korea 2000 / Korea Central Belt

XFrameSensorParams smParam = new XFrameSensorParams();
smParam.FocalLength = 0.12;
smParam.SensorPos.x = 232954.461; // Korea 2000 / Korea Central Belt
smParam.SensorPos.y = 316145.192; // Korea 2000 / Korea Central Belt
smParam.SensorPos.z = 3889.389;
smParam.SensorYaw = XAngle.FromDegree(-0.09862);
smParam.SensorPitch = XAngle.FromDegree(0.08007);
smParam.SensorRoll = XAngle.FromDegree(-0.30901);
smParam.PSX = 0.0000012; // CCD 크기 (meter단위)
smParam.PSY = 0.0000012; // CCD 크기 (meter단위)
smParam.Width = 7680;
smParam.Height = 13824;
smParam.XPO = 0.0;
smParam.YPO = 0.0;
smParam.TopStartY = false;
smParam.SensorSR = sr;

XFrameSensor smFrame = new XFrameSensor();
smFrame.SetParamsLocal(smParam);
This is example for Earth:
XSpatialReference sr = new XSpatialReference();
sr.SetWellKnownGeogCS("WGS84");
XGeoPoint geoSensorPos = new XGeoPoint();
geoSensorPos.lat.deg = 37.7451553;
geoSensorPos.lon.deg = 126.733184;
geoSensorPos.hgt = 3304.00024;

XFrameSensorParams smParam = new XFrameSensorParams();
smParam.FocalLength = 0.12;
smParam.SensorPos.x = geoSensorPos.ecr.x; 
smParam.SensorPos.y = geoSensorPos.ecr.y; 
smParam.SensorPos.z = geoSensorPos.ecr.z;

smParam.SensorYaw = XAngle.FromDegree(-31.8125);
smParam.SensorPitch = XAngle.FromDegree(76.375);
smParam.SensorRoll = XAngle.FromDegree(0);

smParam.PSX = 0.0000012; // CCD 크기 (meter단위)
smParam.PSY = 0.0000012; // CCD 크기 (meter단위)
smParam.Width = 704;
smParam.Height = 572;
smParam.XPO = 0.0;
smParam.YPO = 0.0;
smParam.TopStartY = false;
smParam.SensorSR = sr;

XFrameSensor smFrame = new XFrameSensor();
smFrame.SetParamsEarth(smParam);
See Also