//获取可见光文件 public Object GetVisualFile(string filename) { if (filename == null) { return("请确认参数名完整正确!"); } string path = Path.Combine(FileManage.GetSaveFolderPath(), filename);//文件结果路径; if (!System.IO.File.Exists(path)) { return(filename + ":文件不存在!"); } return(Analysis_Image.GetOnlyMode(path)); }
public Object GetDetailInfo(string filename) { if (filename == null) { return("请确认参数名完整正确!"); } string path = Path.Combine(FileManage.GetSaveFolderPath(), filename);//文件结果路径; if (!System.IO.File.Exists(path)) { return(path + ":文件不存在!"); } return(Analysis_Image.DetailInfoFromPic(path)); }