资 源 简 介
void CDlgMosaics::MergeDIB(CDib *bmp1, CDib *bmp2)
{
BYTE* unitbuff;
unitbuff=NULL;
unsigned int w1=bmp1->m_lpBMIH->biHeight;
unsigned int w2=bmp2->m_lpBMIH->biHeight;
//新图象的宽
unsigned int unit_w=bmp2->m_lpBMIH->biWidth+left_starX;
//重叠部分的上部高度
unsigned int unit_up=(left_starY>right_starY)?left_starY:right_starY;
//重叠部分的下部高度
unsigned int unit_down=((w1-left_endY)>(w2-right_endY))?(w1-left_endY):(w2-right_endY);
//新图象的高
uns