资源简介

RGB转换IHS IHS转换RGB 彩色图像灰度化 利用DIB读取BMP文件 可运行 结果很好 代码清晰 遥感实习作业

资源截图

代码片段和文件信息

// 2010302590183cyl.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “2010302590183cyl.h“

#include “MainFrm.h“
#include “ChildFrm.h“
#include “2010302590183cylDoc.h“
#include “2010302590183cylView.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMy2010302590183cylApp

BEGIN_MESSAGE_MAP(CMy2010302590183cylApp CWinApp)
//{{AFX_MSG_MAP(CMy2010302590183cylApp)
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()

/////////////////////////////////////////////////////////////////////////////
// CMy2010302590183cylApp construction

CMy2010302590183cylApp::CMy2010302590183cylApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CMy2010302590183cylApp object

CMy2010302590183cylApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CMy2010302590183cylApp initialization

BOOL CMy2010302590183cylApp::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.

CMultiDocTemplate* pDocTemplate;
pDocTemplate = new CMultiDocTemplate(
IDR_MY2010TYPE
RUNTIME_CLASS(CMy2010302590183cylDoc)
RUNTIME_CLASS(CChildframe) // custom MDI child frame
RUNTIME_CLASS(CMy2010302590183cylView));
AddDocTemplate(pDocTemplate);

// create main MDI frame window
CMainframe* pMainframe = new CMainframe;
if (!pMainframe->Loadframe(IDR_MAINframe))
return FALSE;
m_pMainWnd = pMainframe;

// Parse command line

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      31316  2013-04-11 09:39  22222\2010302590183cyl.aps

     文件       3180  2013-04-11 10:08  22222\2010302590183cyl.clw

     文件       4598  2013-03-05 15:15  22222\2010302590183cyl.cpp

     文件       4926  2013-03-05 16:28  22222\2010302590183cyl.dsp

     文件        555  2013-03-05 15:15  22222\2010302590183cyl.dsw

     文件       1476  2013-03-05 15:15  22222\2010302590183cyl.h

     文件      99328  2013-04-11 10:32  22222\2010302590183cyl.ncb

     文件      54784  2013-03-10 16:32  22222\2010302590183cyl.opt

     文件        266  2013-04-11 09:39  22222\2010302590183cyl.plg

     文件      13984  2013-03-07 15:59  22222\2010302590183cyl.rc

     文件       2226  2013-03-05 15:23  22222\2010302590183cylDoc.cpp

     文件       1715  2013-03-05 16:27  22222\2010302590183cylDoc.h

     文件      12880  2013-03-10 16:23  22222\2010302590183cylView.cpp

     文件       2193  2013-03-07 14:32  22222\2010302590183cylView.h

     文件       1543  2013-03-05 15:15  22222\ChildFrm.cpp

     文件       1397  2013-03-05 15:15  22222\ChildFrm.h

     文件     127056  2013-03-10 16:23  22222\Debug\2010302590183cyl.exe

     文件     415680  2013-03-10 16:23  22222\Debug\2010302590183cyl.ilk

     文件      24128  2013-03-07 14:32  22222\Debug\2010302590183cyl.obj

     文件    5499772  2013-03-05 15:18  22222\Debug\2010302590183cyl.pch

     文件     508928  2013-03-10 16:23  22222\Debug\2010302590183cyl.pdb

     文件       8992  2013-03-07 15:59  22222\Debug\2010302590183cyl.res

     文件      16069  2013-03-05 16:27  22222\Debug\2010302590183cylDoc.obj

     文件      43394  2013-03-10 16:23  22222\Debug\2010302590183cylView.obj

     文件      16231  2013-03-05 15:18  22222\Debug\ChildFrm.obj

     文件     106539  2009-02-19 21:33  22222\Debug\DIB.dll

     文件      18998  2013-03-05 15:18  22222\Debug\MainFrm.obj

     文件     105646  2013-03-05 15:18  22222\Debug\StdAfx.obj

     文件     222208  2013-04-11 09:39  22222\Debug\vc60.idb

     文件     372736  2013-03-10 16:23  22222\Debug\vc60.pdb

............此处省略17个文件信息

评论

共有 条评论