|
@@ -780,7 +780,7 @@ namespace OTSModelSharp.ServiceCenter
|
|
ImageParam imageParam = Fun_Match(newImg2, mStitch);
|
|
ImageParam imageParam = Fun_Match(newImg2, mStitch);
|
|
imageParam.im = newImg2;
|
|
imageParam.im = newImg2;
|
|
|
|
|
|
- Mat result = type == 2 ? Fun_Stitch(imageParam) : Fun_StitchRGB(imageParam);
|
|
|
|
|
|
+ Mat result = type == 3 ? Fun_Stitch(imageParam) : Fun_StitchRGB(imageParam);
|
|
|
|
|
|
Cv2.Transpose(result, result);
|
|
Cv2.Transpose(result, result);
|
|
Cv2.Flip(result, result, FlipMode.Y);
|
|
Cv2.Flip(result, result, FlipMode.Y);
|
|
@@ -805,7 +805,7 @@ namespace OTSModelSharp.ServiceCenter
|
|
ImageParam imageParam = Fun_Match(newImg2, mStitch);
|
|
ImageParam imageParam = Fun_Match(newImg2, mStitch);
|
|
imageParam.im = newImg2;
|
|
imageParam.im = newImg2;
|
|
|
|
|
|
- if (type == 2)
|
|
|
|
|
|
+ if (type == 3)
|
|
{
|
|
{
|
|
return Fun_Stitch(imageParam);
|
|
return Fun_Stitch(imageParam);
|
|
}
|
|
}
|