From fec341de45f4b3fd1825807f0b3261143fa13caa Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期一, 29 十二月 2025 17:03:45 +0800
Subject: [PATCH] 修复部分显示工具为面向对象。

---
 LB_VisionProcesses/Alogrithms/OpenCvSharp/FindLineTool/FindLineToolEdit.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/LB_VisionProcesses/Alogrithms/OpenCvSharp/FindLineTool/FindLineToolEdit.cs b/LB_VisionProcesses/Alogrithms/OpenCvSharp/FindLineTool/FindLineToolEdit.cs
index d84fcbd..f914bb9 100644
--- a/LB_VisionProcesses/Alogrithms/OpenCvSharp/FindLineTool/FindLineToolEdit.cs
+++ b/LB_VisionProcesses/Alogrithms/OpenCvSharp/FindLineTool/FindLineToolEdit.cs
@@ -144,7 +144,7 @@
 
                 if (Subject.InputImage != null && Subject.InputImage is Mat)
                 {
-                    using (HImage image = TAlgorithm.Mat2HObject((Mat)Subject.InputImage))
+                    using (HImage image = TAlgorithm.Mat2HImage((Mat)Subject.InputImage))
                     {
                         inputImageHSmartWindowControl.ShowHoImage(image);
                         Type type = Subject.Params.ROI?.GetType();
@@ -259,7 +259,7 @@
 
                 if (Subject.InputImage != null && Subject.InputImage is Mat)
                 {
-                    using (HImage image = TAlgorithm.Mat2HObject((Mat)Subject.InputImage))
+                    using (HImage image = TAlgorithm.Mat2HImage((Mat)Subject.InputImage))
                     {
                         image.GetImageSize(out HTuple ho_ImageWidth, out HTuple ho_ImageHeight);
                         recordImageHSmartWindowControl.ShowHoImage(image);
@@ -346,7 +346,7 @@
                     HTuple hv_imageHeight = 0;
                     if (InputImage != null && InputImage is Mat)
                     {
-                        using (HImage image=TAlgorithm.Mat2HObject((Mat)InputImage))
+                        using (HImage image=TAlgorithm.Mat2HImage((Mat)InputImage))
                         {
                             image.GetImageSize(out hv_imageWidth, out hv_imageHeight);
                             switch (type)
@@ -400,7 +400,7 @@
 
                     if (InputImage != null && InputImage is Mat)
                     {
-                        using (HImage image = TAlgorithm.Mat2HObject((Mat)InputImage))
+                        using (HImage image = TAlgorithm.Mat2HImage((Mat)InputImage))
                         {
                             inputImageHSmartWindowControl.ShowHoImage(image);
                             int hv_Elements = Convert.ToInt16(itxtCaliperCount.Text);

--
Gitblit v1.9.3