资源简介
C# 遥感影像分类,可以实现各种遥感影像的分类,基于IDL8.2实现的.

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.DataSourcesRaster;
namespace RSImageClassification
{
public partial class BinaryEncoding : Form
{
List BinaEncodName = new List();
public bool ShowResultOrNot = false;
public string ResultFilePath = string.Empty;
public BinaryEncoding(List fname)
{
InitializeComponent();
this.StartPosition = FormStartPosition.CenterScreen;
BinaEncodName = fname;
}
private void BinaryEncoding_Load(object sender EventArgs e)
{
if (BinaEncodName != null)
{
for (int i = 0; i < BinaEncodName.Count(); i++)
{
cmbInputFile.Items.Add(System.IO.Path.GetFileName(BinaEncodName[i]));
}
}
}
private void cmbInputFile_SelectedIndexChanged(object sender EventArgs e)
{
listBox1.Items.Clear();
for (int i = 0; i < BinaEncodName.Count(); i++)
{
string selectedFileName = cmbInputFile.SelectedItem.ToString().Trim();
if (selectedFileName == System.IO.Path.GetFileName(BinaEncodName[i]))
{
IRasterDataset rd = ReadRasterDataset.OpenFileRasterDataset(BinaEncodName[i]);
IRasterBandCollection rbc = (IRasterBandCollection)rd;
for (int j = 0; j < rbc.Count; j++)
{
IRasterBand band = rbc.Item(j);
listBox1.Items.Add(band.Bandname);
}
lbSelectedBand.Text = “0//“ + listBox1.Items.Count;
}
}
}
private void btnSelectImage_Click(object sender EventArgs e)
{
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.title = “选择栅格图像“;
openFileDialog.Filter = “Img and Tif Files(*.img*.tif)|*.img;*.tif|Img Files(*.img)|*.img|Tif Files(*.tif)|*.tif|All Files(*.*)|*.*“;
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
cmbInputFile.Text = openFileDialog.FileName;
}
try
{
IRasterDataset rd = ReadRasterDataset.OpenFileRasterDataset(openFileDialog.FileName);
IRasterBandCollection rbc = (IRasterBandCollection)rd;
for (int j = 0; j < rbc.Count; j++)
{
IRasterBand band = rbc.Item(j);
listBox1.Items.Add(band.Bandname);
}
lbSelectedBand.Text = “0//“ + listBox1.Items.Count;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-11-06 21:41 遥感影像分类\
目录 0 2013-10-02 22:55 遥感影像分类\RSImageClassification\
目录 0 2013-10-02 22:55 遥感影像分类\RSImageClassification\RSImageClassification\
文件 905 2013-08-15 22:47 遥感影像分类\RSImageClassification\RSImageClassification.sln
文件 58368 2014-02-23 10:45 遥感影像分类\RSImageClassification\RSImageClassification.suo
目录 0 2013-10-02 22:55 遥感影像分类\RSImageClassification\RSImageClassification\bin\
文件 8884 2013-10-01 16:08 遥感影像分类\RSImageClassification\RSImageClassification\BinaryEncoding.cs
文件 18283 2013-10-01 16:03 遥感影像分类\RSImageClassification\RSImageClassification\BinaryEncoding.Designer.cs
文件 5817 2013-10-01 16:03 遥感影像分类\RSImageClassification\RSImageClassification\BinaryEncoding.resx
目录 0 2013-10-02 22:55 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\
文件 1406 2012-10-09 21:34 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\047.ico
文件 1283 2010-04-26 00:00 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\10977.png
文件 43520 2013-12-04 11:24 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\CreateROI.dll
文件 38400 2013-12-04 11:24 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\CreateROI.pdb
文件 2142 2013-12-04 11:24 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\CreateROI.xm
文件 2007 2013-08-11 23:29 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\createroi_polygon.pro
文件 824 2012-10-09 21:34 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\FullExtent.bmp
文件 865 2013-08-15 22:02 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\new files.png
文件 125952 2014-02-23 10:35 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImageClassification.exe
文件 241152 2014-02-23 10:35 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImageClassification.pdb
文件 11600 2014-02-23 10:46 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImageClassification.vshost.exe
文件 490 2010-03-17 22:39 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImageClassification.vshost.exe.manifest
文件 2137 2013-10-01 16:01 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImage_BinaryEncoding.pro
文件 893 2013-09-28 13:23 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImage_Isodata.pro
文件 604 2013-09-29 23:16 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImage_KMeans.pro
文件 2124 2013-09-30 23:20 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImage_MahalanobisDistance.pro
文件 2058 2013-09-30 23:26 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImage_MaximunLikelihood.pro
文件 2020 2013-09-30 22:31 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImage_MinimumDistance.pro
文件 1908 2013-10-01 21:01 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImage_NeuralNet.pro
文件 2292 2013-09-30 22:03 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImage_parallelepiped.pro
文件 2115 2013-10-01 15:40 遥感影像分类\RSImageClassification\RSImageClassification\bin\Debug\RSImage_SAM.pro
............此处省略136个文件信息
- 上一篇:重复文件清理工具含源代码C#
- 下一篇:c# 16进制转字符串 字符串转16进制
相关资源
- C# TIP文件生成和拆解
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
评论
共有 条评论