C3204
2025-12-29 fec341de45f4b3fd1825807f0b3261143fa13caa
LB_VisionProcesses/Alogrithms/BaseAlgorithm/TAlgorithm.cs
@@ -521,13 +521,13 @@
                return value;
        }
        public static HImage Bitmap2HObject(Bitmap bmp)
        public static HImage Bitmap2HImage(Bitmap bmp)
        {
            BitmapData srcBmpData;
            HImage image = null;
            try
            {
                if (bmp.Tag != null && bmp == null || bmp.Width == 0 || bmp.Height == 0)
                if (bmp.Tag == null || bmp == null || bmp.Width == 0 || bmp.Height == 0)
                {
                    image = null;
                    return image;
@@ -601,7 +601,7 @@
            }
        }
        public static unsafe void HObject2Bitmap(HImage hImage, out Bitmap bmp)
        public static unsafe void HImage2Bitmap(HImage hImage, out Bitmap bmp)
        {
            try
            {
@@ -685,7 +685,7 @@
            }
        }
        public static HImage Mat2HObject(Mat mat)
        public static HImage Mat2HImage(Mat mat)
        {
            HImage image = null;
            try