2.2 WriteImage保存圖像
public void WitiaiMain() //Fixed Entry, 所有函數(shù)名開頭均以[public void]命名
{
??? DispText("hello WitiaiCv World!!!");
??? string ImagePath =@"C:\WITIAIIDE\ProgramsSamples\testimages\F18.JPG";? // 變量的賦值,單獨成行
? ??ReadImage(out Image, ImagePath);
??? DevDisplay(Image);
???
??? WriteImage(Image, "png", -1, "C:\WITIAIIDE\ProgramsSamples\testimages\F18_JPG.png")
??? ReadImage(out Image1, "C:\WITIAIIDE\ProgramsSamples\testimages\F18_JPG.png");
??? DevClearWindow();
??? DevDisplay(Image1);
}
標(biāo)簽: