![]() |
XRSSave
|
public class XRSSaveFile : IDisposable
The XRSSaveFile type exposes the following members.
Name | Description | |
---|---|---|
![]() | XRSSaveFile | XRSSaveFile클래스의 기본 생성자로서, 멤버변수에 대하여 초기화를 수행한다. |
Name | Description | |
---|---|---|
![]() | FileName | 저장될 파일의 이름를 얻는다. |
![]() | FilePath | 저장될 파일의 경로를 얻는다. |
![]() ![]() | MetaData | 저장될 파일에 대한 메타데이터를 설정한다. |
![]() | NumBand | 저장될 파일의 Band의 수를 얻는다. |
![]() | Orbit | SAR 영상일 경우 저장될 파일에 대한 Orbit 정보를 설정한다. |
![]() | SarParameters | SAR 영상일 경우 저장될 파일에 대한 Sar Parameter를 설정한다. |
![]() | SR | 저장될 파일에 대한 적용 좌표 시스템를 얻거나 설정한다. |
![]() | XPixelSize | X축 방향에 대한 1픽셀에 대한 공간 크기를 얻는다. |
![]() | YPixelSize | Y축 방향에 대한 1픽셀에 대한 공간 크기를 얻는다. |
Name | Description | |
---|---|---|
![]() | AddBand | Band를 추가한다. |
![]() | AddGCPSet | GCP Set을 추가한다. |
![]() | GetBandAt(Int32) | 입력 인덱스에 해당하는 Band를 얻는다. |
![]() | GetBandAt(Int32, XDMBand) | 입력 인덱스에 해당하는 Band를 얻는다. |
![]() | GetBoundRect | 설정된 Bounary값을 얻는다. |
using Pixoneer.NXDL; using Pixoneer.NXDL.NRS; using Pixoneer.NXDL.NIO; XRasterIO RasterIO = new XRasterIO(); String strError = ""; if (RasterIO.Initialize(out strError) == false) { return; } String strFilePathLoad = "D:\\Sample\\IKONOS.xdm"; XRSLoadFile xrsFileInput = RasterIO.LoadFile(strFilePathLoad, out strError, false, eIOCreateXLDMode.All_NoMsg); // Create XRSSaveFile XRSSaveFile fileSave = new XRSSaveFile(); for (int i = 0; i < xrsFileInput.NumBand; i++) { XDMBand band = (XDMBand)xrsFileInput.GetBandAt(i); fileSave.AddBand(ref band); } XThread thd = null; String strFilePathSave = "D:\\Sample\\Out_Save.xdm"; if (!RasterIO.Export(ref fileSave, strFilePathSave, "XDM", out strError, thd)) { return; }