Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Imagepointprocesses.h
Package: vc图像处理比较全面的程序.rar [view]
Upload User: alisonmail
Upload Date: 2013-02-28
Package Size: 500k
Code Size: 2k
Category:
Picture Viewer
Development Platform:
Visual C++
- // ImagePointProcesses.h
- #ifndef __IMAGEPOINTPROCESSES_H__
- #define __IMAGEPOINTPROCESSES_H__
- #include "ImageObject.h"
- #define SOBEL 0
- #define PREWITT 1
- #define LAPLACE 2
- #define ZHENGJIAO 3
- class CImagePointProcesses
- {
- public: BOOL ExtractRiver(CPoint *pStartPoint, CImageObject *pImageObject);
- BOOL AddNoise(CImageObject * pImageObject, int nRatio);
- CPoint RiverTrack[1024*100];
- BOOL Embossed;
- int EdgeDetectType;
- BOOL EdgeDetect(CImageObject * pImageObject);
- BOOL DCTTrans(CImageObject *pImageObject=NULL);
- //flag = 1 fft; flag = 0 ifft;
- BOOL FFTTrans(CImageObject *pImageObject = NULL);
- CImagePointProcesses();
- CImagePointProcesses( CImageObject * );
- BOOL ChangeBrightness( int, int nX1 = -1, int nY1 = -1, int nX2 = -1, int nY2 = -1, CImageObject *pImageObject = NULL );
- BOOL ReverseColors( int nX1 = -1, int nY1 = -1, int nX2 = -1, int nY2 = -1, CImageObject *pImageObject = NULL );
- BOOL MakeGray( BOOL bSetPalette = TRUE, CImageObject *pImageObject = NULL );
- BOOL Colorize( int, int, int, int, COLORREF, CImageObject *pImageObject = NULL );
- int *GetHistogram( int nX1 = -1, int nY1 = -1, int nX2 = -1, int nY2 = -1, CImageObject *pImageObject = NULL );
- void SetImageObjectClass( CImageObject * );
- int *CreateHistogram( int, int, int, int, unsigned char *, RGBQUAD *, int, CImageObject *pImageObject = NULL );
- protected:
- void BrightnessValues( int, unsigned char, unsigned char, unsigned char, unsigned char *, unsigned char *, unsigned char * );
- CImageObject *m_pImageObject;
- };
- #endif