Cell_sysbbk

所属分类:图形图象
开发工具:Visual C++
文件大小:6984KB
下载次数:58
上传日期:2008-12-13 18:00:44
上 传 者大枫枫
说明:  这是本人开发的一个课题软件,主要用于点细胞识别与轨迹追踪! 具有 很好的研究价值,里面运用 图像处理(很多种)函数的 编写与调用!! 估计仅此一个项目代码,版主就应该给我特殊鼓励的!
(err)

文件列表:
Cell_sys\Cell.aps (751888, 2006-01-10)
Cell_sys\cell.bmp (263222, 2003-04-24)
Cell_sys\Cell.clw (13897, 2006-01-10)
Cell_sys\Cell.cpp (4367, 2006-01-10)
Cell_sys\Cell.dsp (7433, 2006-01-20)
Cell_sys\Cell.dsw (533, 2003-04-24)
Cell_sys\Cell.h (1573, 2003-04-24)
Cell_sys\Cell.ncb (492544, 2006-03-19)
Cell_sys\Cell.opt (48640, 2006-03-19)
Cell_sys\Cell.plg (1420, 2006-03-19)
Cell_sys\Cell.rc (22962, 2006-01-10)
Cell_sys\CellDoc.cpp (1704, 2006-01-18)
Cell_sys\CellDoc.h (1453, 2003-04-24)
Cell_sys\CellView.cpp (70840, 2006-01-10)
Cell_sys\CellView.h (3922, 2006-01-20)
Cell_sys\ColorTable.h (65099, 2006-01-19)
Cell_sys\Debug (0, 2006-03-19)
Cell_sys\DIB.cpp (42661, 2006-01-09)
Cell_sys\DIB.h (3665, 2006-01-19)
Cell_sys\DIBPrcs.cpp (17029, 2006-01-15)
Cell_sys\ellDuibi.cpp (1007, 2006-01-07)
Cell_sys\ellDuibi.h (1245, 2006-01-07)
Cell_sys\Find_Picture.cpp (31154, 2006-01-19)
Cell_sys\Find_Picture.h (2341, 2006-01-17)
Cell_sys\GlobalApi.h (9177, 2006-03-19)
Cell_sys\HistogramDlg.cpp (11910, 2006-01-19)
Cell_sys\HistogramDlg.h (1971, 2006-01-08)
Cell_sys\HSI.cpp (2008, 2003-04-24)
Cell_sys\HSI.h (628, 2003-04-24)
Cell_sys\HSIDlg.cpp (3520, 2006-01-19)
Cell_sys\HSIDlg.h (1280, 2003-04-24)
Cell_sys\LogoShow.cpp (997, 2006-01-19)
Cell_sys\LogoShow.h (1236, 2006-01-19)
Cell_sys\MainFrm.cpp (2776, 2006-01-19)
Cell_sys\MainFrm.h (1499, 2006-01-18)
Cell_sys\RCa00880 (35938, 2006-01-07)
Cell_sys\Recong_Result.cpp (1671, 2006-01-18)
Cell_sys\Recong_Result.h (1301, 2006-01-18)
... ...

float m_rate=1.0; float ddd=1; //¨¨°?¨? ?¨?¨¨ ?¨ if (nWidthbiWidth && nHeight>m_pBIH->biHeight) { m_rate=(float)m_pBIH->biHeight/(float)m_pBIH->biWidth; StretchDIBits( pDC->m_hDC, nX, nY, nWidth,nWidth*0.6 , 0, 0, m_pBIH->biWidth,m_pBIH->biHeight, m_pDibBits, (BITMAPINFO *) m_pBIH, BI_RGB, SRCCOPY ); }else { //¨?t¨? ???¨¨ ?¨ if (nWidth>m_pBIH->biWidth && nHeightbiHeight) { m_rate=(float)m_pBIH->biWidth/(float)m_pBIH->biHeight; StretchDIBits( pDC->m_hDC, nX, nY, nHeight*m_rate, nHeight, 0, 0, m_pBIH->biWidth, m_pBIH->biHeight, m_pDibBits, (BITMAPINFO *) m_pBIH, BI_RGB, SRCCOPY ); } else // ?¨?¨¨ o¨???¨¨ ??¨? if (nWidthbiWidth && nHeightbiHeight) { if (nWidth>nHeight) // ??¨? ?¨?¨¨ ¨¨¨ ???¨¨? ?¨?? { ddd=(float)nWidth/ (float)nHeight; m_rate= (float) m_pBIH->biWidth/((float)m_pBIH->biHeight); if( m_rate>ddd ) { m_rate=(float)m_pBIH->biHeight/(float)m_pBIH->biWidth; StretchDIBits( pDC->m_hDC, nX, nY, nWidth, nWidth* m_rate, 0, 0, m_pBIH->biWidth, m_pBIH->biHeight, m_pDibBits, (BITMAPINFO *) m_pBIH, BI_RGB, SRCCOPY ); }else { m_rate=(float)m_pBIH->biWidth/(float)m_pBIH->biHeight; StretchDIBits( pDC->m_hDC, nX, nY, nHeight* m_rate, nHeight , 0, 0, m_pBIH->biWidth, m_pBIH->biHeight, m_pDibBits, (BITMAPINFO *) m_pBIH, BI_RGB, SRCCOPY ); } } else // ??¨? ?¨?¨¨ D?¨¨ ???¨¨? ?¨?? { ddd=(float)nHeight/(float)nWidth ; m_rate= (float)m_pBIH->biHeight/((float) m_pBIH->biWidth); if( m_rate> ddd) { m_rate=(float)m_pBIH->biWidth/(float)m_pBIH->biHeight; StretchDIBits( pDC->m_hDC, nX, nY, nHeight* m_rate, nHeight, 0, 0, m_pBIH->biWidth, m_pBIH->biHeight, m_pDibBits, (BITMAPINFO *) m_pBIH, BI_RGB, SRCCOPY ); }else { m_rate=(float)m_pBIH->biHeight/(float)m_pBIH->biWidth; StretchDIBits( pDC->m_hDC, nX, nY, nWidth , nWidth* m_rate , 0, 0, m_pBIH->biWidth, m_pBIH->biHeight, m_pDibBits, (BITMAPINFO *) m_pBIH, BI_RGB, SRCCOPY ); } } }else // ?¨?¨¨ o¨???¨¨ ??D?? StretchDIBits( pDC->m_hDC, nX, nY, m_pBIH->biWidth, m_pBIH->biHeight, 0, 0, m_pBIH->biWidth, m_pBIH->biHeight, m_pDibBits, (BITMAPINFO *) m_pBIH, BI_RGB, SRCCOPY ); }

近期下载者

相关文件


收藏者