• 大小: 5.40M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2024-04-18
  • 语言: C/C++
  • 标签:

资源简介

mfc利用pylon库进行basler相机图像采集和显示

资源截图

代码片段和文件信息

// BaslerCamera_Test.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “BaslerCamera_Test.h“
#include “BaslerCamera_TestDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CBaslerCamera_TestApp

BEGIN_MESSAGE_MAP(CBaslerCamera_TestApp CWinApp)
//{{AFX_MSG_MAP(CBaslerCamera_TestApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CBaslerCamera_TestApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CBaslerCamera_TestApp object

CBaslerCamera_TestApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CBaslerCamera_TestApp initialization

BOOL CBaslerCamera_TestApp::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

CBaslerCamera_TestDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

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

     文件      35712  2020-09-01 10:22  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.aps

     文件       1228  2020-09-01 20:20  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.clw

     文件       2217  2020-09-01 08:30  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.cpp

     文件       4563  2020-09-01 17:26  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.dsp

     文件        557  2020-09-01 08:30  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.dsw

     文件       1445  2020-09-01 08:30  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.h

     文件      41984  2020-09-01 08:32  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.ncb

     文件      48640  2020-09-01 08:32  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.opt

     文件       1277  2020-09-01 20:29  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.plg

     文件       5372  2020-09-01 10:22  pylon2Demo\BaslerCamera_Test\BaslerCamera_Test.rc

     文件       8142  2020-09-01 18:13  pylon2Demo\BaslerCamera_Test\BaslerCamera_TestDlg.cpp

     文件       2089  2020-09-01 16:37  pylon2Demo\BaslerCamera_Test\BaslerCamera_TestDlg.h

     文件       7093  2020-09-01 10:58  pylon2Demo\BaslerCamera_Test\CvvImage.cpp

     文件       2008  2020-09-01 10:59  pylon2Demo\BaslerCamera_Test\CvvImage.h

     文件       3777  2020-09-01 08:30  pylon2Demo\BaslerCamera_Test\ReadMe.txt

     文件       1078  2020-09-01 08:30  pylon2Demo\BaslerCamera_Test\res\BaslerCamera_Test.ico

     文件        409  2020-09-01 08:30  pylon2Demo\BaslerCamera_Test\res\BaslerCamera_Test.rc2

     文件        695  2020-09-01 10:22  pylon2Demo\BaslerCamera_Test\resource.h

     文件        219  2020-09-01 08:30  pylon2Demo\BaslerCamera_Test\StdAfx.cpp

     文件       1254  2020-09-01 20:23  pylon2Demo\BaslerCamera_Test\StdAfx.h

     文件        557  2020-09-01 08:30  pylon2Demo\BaslerCamera_Test.dsw

     文件      58368  2020-09-01 20:32  pylon2Demo\BaslerCamera_Test.ncb

     文件      49664  2020-09-01 20:23  pylon2Demo\BaslerCamera_Test.opt

     文件     843824  2006-10-18 21:49  pylon2Demo\Commlib\opencv\dll\cv100.dll

     文件     598067  2006-10-18 21:50  pylon2Demo\Commlib\opencv\dll\cvaux100.dll

     文件      49152  2006-10-19 17:16  pylon2Demo\Commlib\opencv\dll\cvcam100.dll

     文件    1011764  2006-10-18 21:49  pylon2Demo\Commlib\opencv\dll\cxcore100.dll

     文件     131133  2006-10-18 21:50  pylon2Demo\Commlib\opencv\dll\cxts001.dll

     文件     626741  2006-10-18 21:50  pylon2Demo\Commlib\opencv\dll\highgui100.dll

     文件     196608  2006-02-28 18:04  pylon2Demo\Commlib\opencv\dll\libguide40.dll

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

评论

共有 条评论