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

  • 大小: 13.52MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-02
  • 語言: C/C++
  • 標簽: Visual??C++??MATLAB??

資源簡介

Visual C++/MATLAB圖像處理與識別實用案例精選電子書+源碼Visual C++/MATLAB圖像處理與識別實用案例精選電子書+源碼Visual C++/MATLAB圖像處理與識別實用案例精選電子書+源碼

資源截圖

代碼片段和文件信息

//??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

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

?????文件?????????28??2004-08-04?21:12??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\readme.txt

?????文件???????1169??2004-04-05?02:50??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\P0901.m

?????文件????????754??2004-04-05?02:52??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\P0902.m

?????文件???????1497??2004-04-05?02:53??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\P0903.m

?????文件????????719??2004-04-05?02:58??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\P0904.m

?????文件????????185??2004-04-05?03:04??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\P0905.m

?????文件????????165??2004-07-21?21:46??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\readme.txt

?????文件??????55560??2004-01-13?03:27??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\RoadG1.jpg

?????文件??????36241??2003-12-15?22:18??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\RoadG2.jpg

?????文件??????36241??2003-12-15?22:18??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\z12.jpg

?????文件???????7303??2004-01-15?22:48??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap9\z12R.jpg

?????文件????????565??2003-12-15?21:21??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\0.jpg

?????文件????????528??2003-12-17?02:20??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\1.jpg

?????文件???????2084??2003-11-22?21:15??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\19-3-02.jpg

?????文件????????568??2003-12-17?01:48??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\2.jpg

?????文件???????7647??2003-09-23?06:36??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\22-2.jpg

?????文件??????10807??2003-09-21?04:56??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\24-1.jpg

?????文件????????568??2003-12-26?00:48??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\3.jpg

?????文件????????613??2003-12-25?22:19??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\4.jpg

?????文件????????564??2003-12-26?00:51??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\5-1.jpg

?????文件????????700??2003-12-25?21:54??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\5.jpg

?????文件????????579??2003-12-26?01:01??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\6.jpg

?????文件????????541??2003-12-15?21:13??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\7.jpg

?????文件????????575??2003-12-17?01:49??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\8.jpg

?????文件????????684??2003-12-24?06:30??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\9.jpg

?????文件??????12588??2004-02-07?20:28??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\brand02.jpg

?????文件?????159529??2003-09-25?05:19??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\Car.JPG

?????文件???????3600??2004-04-05?06:20??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\P0801.m

?????文件???????5887??2004-04-05?06:23??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\P0802.m

?????文件???????3468??2004-04-05?07:02??Visual?C++_MATLAB圖像處理與識別實用案例精選\《visual?c++matlab圖像處理與識別實用案例精選》源碼\chap8\P0803.m

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

評論

共有 條評論