试试基于C/C++语言的开源图像处理函数库OpenCV吧:include "cv.h"include "highgui.h"int main( int argc, char** argv ){ IplImage* pImg; //声明IplImage指针 //载入图像 if( argc == 2 && (pImg = cvLoadImage( argv[1], 1)) != 0 ){ cvNamedWindow( "Image", 1 );//创建窗...