Location:
Search - HDIB
Search list
Description: 照片修复程序的实现
根据上述算法就可以对照片进行均衡化处理了。对于照片一般是将其当作DIB(设备无关位图)来处理的,在将其装载到内存并获取到其HDIB 型句柄 hDIB后,需要预先获取该位图的一些相关参数以便后续使用:-Photo restoration procedures to achieve the above algorithm can be based on a balanced picture addressed. The photos are generally deemed to be DIB (device-independent bitmap) to deal with, in its loading into memory and access to its hDIB handle HDIB type, the need to access some of the bitmap in order to follow the use of the relevant parameters:
Platform: |
Size: 4096 |
Author: 刘春 |
Hits:
Description: * 函数名称:
* Convert256toGray()
*
* 参数:
* HDIB hDIB -图像的句柄
*
* 返回值:
* 无
*
* 功能:
* 将256色位图转化为灰度图-* Function Name:* Convert256toGray ()** Parameters:* HDIB hDIB- the image handle** Returns:* None** Function:* 256-color bitmap will be converted to grayscale
Platform: |
Size: 1024 |
Author: 陈超超 |
Hits:
Description: * HDIB hDIB -原图像的句柄
*
* 返回值:
* CRectLink -存放被分割的各个字符位置信息的链表
*
* 功能:
* 将图像中待识别的字符逐个分离出来并返回存放各个字符的位置信息的链表
*
* 说明:
* 此函数只能对2值化后的图像进行处理-* HDIB hDIB- the original image handle** Returns:* CRectLink- divided storage location information of the various characters in the list** Function:* the image of characters to be recognized one by one to separate and return to store the location of the various characters in Information list** Note:* This function is only for two values of the image after the processing
Platform: |
Size: 2048 |
Author: 陈超超 |
Hits:
Description: 基于VC环境下人量检测系统
HDIB DIB::ReadDIBFile(HANDLE hFile)
{
BITMAPFILEHEADER bmfHeader
DWORD dwBitsSize
HANDLE hDIB
HANDLE hDIBtmp
LPBITMAPINFOHEADER lpbi
DWORD dwRead
//得到文件大小
dwBitsSize = GetFileSize(hFile,NULL)
hDIB = GlobalAlloc(GMEM_MOVEABLE,(DWORD)(sizeof(BITMAPINFOHEADER)))
if(!hDIB)
return NULL -Human capacity-based VC environment detection system HDIB DIB:: ReadDIBFile (HANDLE hFile) (BITMAPFILEHEADER bmfHeader DWORD dwBitsSize HANDLE hDIB HANDLE hDIBtmp LPBITMAPINFOHEADER lpbi DWORD dwRead // get the file size dwBitsSize = GetFileSize (hFile, NULL) hDIB = GlobalAlloc (GMEM_MOVEABLE, (DWORD) (sizeof (BITMAPINFOHEADER))) if (! hDIB) return NULL
Platform: |
Size: 384000 |
Author: jad |
Hits: