mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-04-01 22:56:40 +08:00
1、添加手眼标定工具,可选择4点或者9点标定,输出标定矩阵
2、修正Halcon引擎运行工具 3、添加相机SDK工具,但需完善 4、HalconTool取图工具增加选择文件夹功能 5、实现Job窗体可添加多个流程
This commit is contained in:
@@ -10,6 +10,7 @@ using HalconDotNet;
|
||||
using ToolBase;
|
||||
using System.Diagnostics;
|
||||
using ViewROI;
|
||||
using System.IO;
|
||||
|
||||
namespace HalconTool
|
||||
{
|
||||
@@ -91,7 +92,23 @@ namespace HalconTool
|
||||
Stopwatch sw = new Stopwatch();
|
||||
sw.Restart();
|
||||
softwareRunState = softwareState;
|
||||
DispImage();
|
||||
if(workMode == WorkMode.ReadOneImage)
|
||||
{
|
||||
DispImage();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (currentImageIndex <= L_imageFile.Count)
|
||||
{
|
||||
currentImageIndex = currentImageIndex == L_imageFile.Count ? 0 : currentImageIndex;
|
||||
outputImageFilePath = L_imageFile[currentImageIndex];
|
||||
DispImage();
|
||||
currentImageName = Path.GetFileName(L_imageFile[currentImageIndex]);
|
||||
if(softwareState == SoftwareRunState.Release)
|
||||
currentImageIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
SetToolStatusDisp();
|
||||
sw.Stop();
|
||||
runTime = $"工具运行时间:{sw.ElapsedMilliseconds.ToString()} ms";
|
||||
|
||||
Reference in New Issue
Block a user