91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 582KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-16
  • 語言: C/C++
  • 標簽: harris??角點檢測??C++??

資源簡介

harris角點檢測算子實現,平臺VC++ 6.0

資源截圖

代碼片段和文件信息

//??dibapi.cpp
//
//??Source?file?for?Device-Independent?Bitmap?(DIB)?API.??Provides
//??the?following?functions:
//
//??PaintDIB()??????????-?Painting?routine?for?a?DIB
//??CreateDIBPalette()??-?Creates?a?palette?from?a?DIB
//??FindDIBBits()???????-?Returns?a?pointer?to?the?DIB?bits
//??DIBWidth()??????????-?Gets?the?width?of?the?DIB
//??DIBHeight()?????????-?Gets?the?height?of?the?DIB
//??PaletteSize()???????-?Gets?the?size?required?to?store?the?DIB‘s?palette
//??DIBNumColors()??????-?Calculates?the?number?of?colors
//????????????????????????in?the?DIB‘s?color?table
//??CopyHandle()????????-?Makes?a?copy?of?the?given?global?memory?block
//
//?This?is?a?part?of?the?Microsoft?Foundation?Classes?C++?library.
//?Copyright?(C)?1992-1997?Microsoft?Corporation
//?All?rights?reserved.
//
//?This?source?code?is?only?intended?as?a?supplement?to?the
//?Microsoft?Foundation?Classes?Reference?and?related
//?electronic?documentation?provided?with?the?library.
//?See?these?sources?for?detailed?information?regarding?the
//?Microsoft?Foundation?Classes?product.

#include?“stdafx.h“
#include?“dibapi.h“
#include?
#include?
#include?

#define?DIB_HEADER_MARKER???((WORD)?(‘M‘?<
#ifdef?_MAC
#define?SWAPWORD(x)?MAKEWORD(HIBYTE(x)?LOBYTE(x))
#define?SWAPLONG(x)?MAKELONG(SWAPWORD(HIWORD(x))?SWAPWORD(LOWORD(x)))
void?ByteSwapHeader(BITMAPFILEHEADER*?bmiHeader);
void?ByteSwapInfo(LPSTR?lpHeader?BOOL?fWin30Header);
#endif

/*************************************************************************
?*
?*?PaintDIB()
?*
?*?Parameters:
?*
?*?HDC?hDC??????????-?DC?to?do?output?to
?*
?*?LPRECT?lpDCRect??-?rectangle?on?DC?to?do?output?to
?*
?*?HDIB?hDIB????????-?handle?to?global?memory?with?a?DIB?spec
?*????????????????????in?it?followed?by?the?DIB?bits
?*
?*?LPRECT?lpDIBRect?-?rectangle?of?DIB?to?output?into?lpDCRect
?*
?*?CPalette*?pPal???-?pointer?to?CPalette?containing?DIB‘s?palette
?*
?*?Return?Value:
?*
?*?BOOL?????????????-?TRUE?if?DIB?was?drawn?FALSE?otherwise
?*
?*?Description:
?*???Painting?routine?for?a?DIB.??Calls?StretchDIBits()?or
?*???SetDIBitsToDevice()?to?paint?the?DIB.??The?DIB?is
?*???output?to?the?specified?DC?at?the?coordinates?given
?*???in?lpDCRect.??The?area?of?the?DIB?to?be?output?is
?*???given?by?lpDIBRect.
?*
?************************************************************************/

BOOL?WINAPI?PaintDIB(HDC?????hDC
LPRECT??lpDCRect
HDIB????hDIB
LPRECT??lpDIBRect
CPalette*?pPal)
{
LPSTR????lpDIBHdr;????????????//?Pointer?to?BITMAPINFOHEADER
LPSTR????lpDIBBits;???????????//?Pointer?to?DIB?bits
BOOL?????bSuccess=FALSE;??????//?Success/fail?flag
HPALETTE?hPal=NULL;???????????//?Our?DIB‘s?palette
HPALETTE?hOldPal=NULL;????????//?Previous?palette

/*?Check?for?valid?DIB?handle?*/
if?(hDIB?==?NULL)
return?FALSE;

/*?Lock?down?the?DIB?and?get?a?pointer?to?the?beginning?of?the?bit
?*??buffer
?*/
l

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????66614??2005-11-15?01:28??Harris?Corner\a.bmp

?????文件??????66614??2005-11-15?15:19??Harris?Corner\b_star.BMP

?????文件??????66614??2005-01-28?17:37??Harris?Corner\c.BMP

?????文件??????66614??2005-03-09?17:48??Harris?Corner\c加噪.bmp

?????文件??????66614??2005-03-10?01:48??Harris?Corner\d積木.bmp

?????文件??????66614??2005-03-10?01:49??Harris?Corner\e房屋.bmp

?????文件??????23782??2004-03-07?17:05??Harris?Corner\Harris?Corner\dibapi.cpp

?????文件???????1876??2000-02-03?07:29??Harris?Corner\Harris?Corner\dibapi.h

?????文件??????48460??2005-11-15?15:59??Harris?Corner\Harris?Corner\imagetest.aps

?????文件???????4092??2005-11-15?15:59??Harris?Corner\Harris?Corner\imagetest.clw

?????文件???????4230??2005-09-22?21:51??Harris?Corner\Harris?Corner\imagetest.cpp

?????文件???????4999??2005-11-15?16:02??Harris?Corner\Harris?Corner\imagetest.dsp

?????文件????????541??2005-09-22?21:51??Harris?Corner\Harris?Corner\imagetest.dsw

?????文件???????1389??2005-09-22?21:51??Harris?Corner\Harris?Corner\imagetest.h

?????文件??????14723??2005-11-15?15:59??Harris?Corner\Harris?Corner\imagetest.rc

?????文件??????14874??2005-11-15?16:01??Harris?Corner\Harris?Corner\imagetestDoc.cpp

?????文件???????1757??2005-11-15?04:27??Harris?Corner\Harris?Corner\imagetestDoc.h

?????文件???????4748??2005-11-15?15:21??Harris?Corner\Harris?Corner\imagetestView.cpp

?????文件???????1912??2005-11-15?04:29??Harris?Corner\Harris?Corner\imagetestView.h

?????文件???????1251??2005-11-15?15:56??Harris?Corner\Harris?Corner\Input2.cpp

?????文件???????1235??2005-11-15?15:56??Harris?Corner\Harris?Corner\Input2.h

?????文件???????2510??2005-09-22?21:51??Harris?Corner\Harris?Corner\MainFrm.cpp

?????文件???????1581??2005-09-22?21:51??Harris?Corner\Harris?Corner\MainFrm.h

?????文件???????1006??2005-09-23?04:35??Harris?Corner\Harris?Corner\ParaInput1.cpp

?????文件???????1221??2005-09-23?04:35??Harris?Corner\Harris?Corner\ParaInput1.h

?????文件???????4383??2005-09-22?21:51??Harris?Corner\Harris?Corner\ReadMe.txt

?????文件??????40960??2005-11-15?16:48??Harris?Corner\Harris?Corner\Release\imagetest.exe

?????文件???????1078??2005-09-22?21:51??Harris?Corner\Harris?Corner\res\imagetest.ico

?????文件????????401??2005-09-22?21:51??Harris?Corner\Harris?Corner\res\imagetest.rc2

?????文件???????1078??2005-09-22?21:51??Harris?Corner\Harris?Corner\res\imagetestDoc.ico

............此處省略13個文件信息

評論

共有 條評論