数字图像处理实习灰度图像统计

zhouyingge43775 22 0 CPP 2020-08-08 09:08:06

#include "stdio.h" #include "windows.h" void main() { int a[512]={0}; FILE *fp; if((fp=fopen("lena.raw","r"))==NULL) printf( "The file 'lena.raw' was not opened\n" ); else printf("The file 'lena.raw' has been opened\n" ); BYTE pData[512*512]; fread(pData,1,512*512,fp); for (int n=0;n

用户评论
请输入评论内容
评分:
暂无评论