admin
2022-08-02 c699b06ff750003b81315009e80617041748d799
ConsoleApplication/kernel.cl
@@ -194,7 +194,8 @@
         nps[9] = -1;
         nps[10] = -1;
         nps[11] = -1;
      }else {
      }
      else {
         //3个时间的坐标
         nps[0] = startx;
         nps[1] = starty;
@@ -334,7 +335,8 @@
         nps[5] = -1;
         nps[6] = -1;
         nps[7] = -1;
      }else {
      }
      else {
         nps[0] = startx;
         nps[1] = starty;
         nps[2] = startx + m_s - 1;
@@ -429,8 +431,8 @@
      }
   }
   //代码
   else if (type == 3) {
   //代码与数字
   else if (type == 3 || type == 4) {
      //手数
      nps[0] = startx;
      nps[1] = starty;
@@ -950,8 +952,8 @@
      }
   }
   //代码
   else if (type == 3) {
   //代码与数字
   else if (type == 3 || type == 4) {
      //手数
      nps[0] = startx;
      nps[1] = starty;
@@ -2085,12 +2087,17 @@
      }
   }
   //printf("index:%d unit_start:%d\n", index, unit_start);
   int count = 0;
   if (unit_start > -1)
   {
   for (int c = unit_start;c <= endx;c++) {
      for (int y = starty;y <= endy;y++) {
         count+=(get_binary_value(imgs[get_one_level_position(width, c, y)]) > 0 ? 1 : 0);
      }
   }
   }
   if (count >= 48) {
      result[index] = 0;
   }