数字图像的腐蚀,膨胀,开,闭运算及细化

时间:2014-01-28 14:19:51
【文件属性】:
文件名称:数字图像的腐蚀,膨胀,开,闭运算及细化
文件大小:20KB
文件格式:CPP
更新时间:2014-01-28 14:19:51
数字图像 bool Thining(BYTE *pImg,int width,int height) { BYTE *pImgSrc=new BYTE[width*height]; BYTE *p=new BYTE[width*height]; memcpy(pImgSrc,pImg,sizeof(BYTE)*width*height); long i,j,n,m,y=1,C; int Count; int neighbour[3][3]; BYTE *pSrc,*pDst; p=pImg; while(y){ y=0; pDst=p; for(j=1;j 立即下载

网友评论