Esempio n. 1
0
        public static void TestShow(string imgName, int i)
        {
            Bitmap orgBmp;

            orgBmp = Globles.NewReleasedBitmap(path + imgName + ".bmp");
            if (orgBmp == null)
            {
                Console.WriteLine("NULL");
                return;
            }
            CppColorRange[] cr = new CppColorRange[1];
            cr[0] = Init();
            //cr[1] = Init();
            ImageProcess.BinaryzationShow__GPU(orgBmp, cr, false);
            orgBmp.Save(path + imgName + "_______ShowGPU+" + i + ".bmp");
        }