资 源 简 介
int main()
{
char infilename[20];
char outfilename[20];
printf("请输入图像文件名:
");
scanf("%s",infilename);
if( ReadInfo(infilename) )
{
if(Histogram())
{
printf("请输入输出图像名,以.bmp结束
");
scanf("%s",outfilename);
WriteToFile(outfilename);
}
}
else
{
printf("读取文件出错
");
return 0;
}
return 1;
}