资源简介
用c语言写的K君子算法,调用GDAL库,可以打开任意格式的图像,自定义分类书目,实现遥感图像监督分类。

代码片段和文件信息
// GDALImageProcess.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “GDALImageProcess.h“
#include “MainFrm.h“
#include “GDALImageProcessDoc.h“
#include “GDALImageProcessView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGDALImageProcessApp
BEGIN_MESSAGE_MAP(CGDALImageProcessApp CWinApp)
//{{AFX_MSG_MAP(CGDALImageProcessApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGDALImageProcessApp construction
CGDALImageProcessApp::CGDALImageProcessApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CGDALImageProcessApp object
CGDALImageProcessApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CGDALImageProcessApp initialization
BOOL CGDALImageProcessApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CGDALImageProcessDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CGDALImageProcessView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1154 2012-10-25 19:46 Image.h
文件 1901 2012-10-22 12:41 ImageInfoDlg.cpp
文件 1288 2012-10-22 12:41 ImageInfoDlg.h
文件 4059 2012-10-24 22:21 ImageOpenDlg.cpp
文件 1642 2012-10-24 13:20 ImageOpenDlg.h
文件 4855 2012-10-22 18:48 ImgInfoDlg.cpp
文件 1772 2012-10-22 12:56 ImgInfoDlg.h
文件 2965 2012-08-27 16:41 MainFrm.cpp
文件 1440 2012-08-27 16:40 MainFrm.h
文件 961 2012-10-29 19:10 NClassDlg.cpp
文件 1211 2012-10-29 19:10 NClassDlg.h
文件 4551 2012-07-15 11:13 ReadMe.txt
文件 2544 2012-10-29 19:10 resource.h
文件 218 2012-07-15 11:13 StdAfx.cpp
文件 1054 2012-07-15 11:13 StdAfx.h
文件 1078 2012-07-15 11:13 res\GDALImageProcess.ico
文件 408 2012-07-15 11:13 res\GDALImageProcess.rc2
文件 1078 2012-07-15 11:13 res\GDALImageProcessDoc.ico
文件 1078 2012-07-15 11:13 res\Toolbar.bmp
文件 1578452 2012-10-29 20:55 sample\5类.tif
文件 984439 2012-10-15 20:02 sample\6波段.tif
文件 1599325 2012-10-20 13:01 sample\6波段TIFF.tif
文件 1578452 2012-10-29 20:56 sample\8类.tif
文件 31960 2012-10-30 19:19 GDALImageProcess.aps
文件 4580 2012-11-01 18:05 GDALImageProcess.clw
文件 4389 2012-07-15 11:13 GDALImageProcess.cpp
文件 5189 2012-10-29 19:12 GDALImageProcess.dsp
文件 540 2012-07-15 11:13 GDALImageProcess.dsw
文件 1466 2012-07-15 11:13 GDALImageProcess.h
文件 336896 2012-11-01 18:05 GDALImageProcess.ncb
............此处省略13个文件信息
相关资源
- C++纯文字DOS超小RPG游戏
- stc8g1k08特性.doc
- Quectel_EC200xEG912YEC600NEC600S系列_TCP(I
- GD32F103例程
- GD32F103 在线串口Ymodem协议升级IAP
- 基于STM32F103ZET6控制舵机旋转(ts90a/
- 安卓c语言开发SDL2+opengles
- qt进度条(RoundProgressBar)
- 漂亮的仪表盘(widget.cpp)
- Qt画图工具源码(qgraphics draw)
- qt cmd实现ping
- 使用wxWidgets进行跨平台程序开发
- QT视频播放器(基于FFmpeg)
- 公交车GPS报站系统设计
- gd32的单通道adc用dma采集
- LC-PWM-RGB(RGB LED灯 调色调光器 PWM控制
- 物联网GPS跟踪器demo程序
- stc-isp-15xx-v6.86G
- LVGL 7.0 开发手册
- STC8G1K08A红外遥控点灯
- atmega128 串口通讯(RS485.c)
- stm32 +w5500 裸机 远程升级 自动dns pi
- 基于STM32F407ZG的监控摄像头及FATFS文件
- cheat engine 7.2源码
- 自动GetShell
- 易语言png 多行多列切图
- 交互式计算机图形学 第六版 OpenGL源代
- VC++基于OpenGL模拟的一个3维空间模型
- 经典外汇智能交易程序Amazing3.1源码(
- GCC与汇编保护模式编程三
评论
共有 条评论